import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation */ export declare class ServiceRollout extends pulumi.CustomResource { /** * Get an existing ServiceRollout resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ServiceRollout; /** * Returns true if the given object is an instance of ServiceRollout. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ServiceRollout; /** * Creation time of the rollout. Readonly. */ readonly createTime: pulumi.Output; /** * This field is deprecated and will be deleted. Please remove usage of this field. */ readonly createdBy: pulumi.Output; /** * The strategy associated with a rollout to delete a `ManagedService`. Readonly. */ readonly deleteServiceStrategy: pulumi.Output; /** * Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1' */ readonly rolloutId: pulumi.Output; /** * The name of the service associated with this Rollout. */ readonly serviceName: pulumi.Output; /** * The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. */ readonly status: pulumi.Output; /** * Google Service Control selects service configurations based on traffic percentage. */ readonly trafficPercentStrategy: pulumi.Output; /** * Create a ServiceRollout resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ServiceRolloutArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ServiceRollout resource. */ export interface ServiceRolloutArgs { /** * Creation time of the rollout. Readonly. */ readonly createTime?: pulumi.Input; /** * This field is deprecated and will be deleted. Please remove usage of this field. */ readonly createdBy?: pulumi.Input; /** * The strategy associated with a rollout to delete a `ManagedService`. Readonly. */ readonly deleteServiceStrategy?: pulumi.Input; /** * Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1' */ readonly rolloutId: pulumi.Input; /** * The name of the service associated with this Rollout. */ readonly serviceName: pulumi.Input; /** * The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. */ readonly status?: pulumi.Input; /** * Google Service Control selects service configurations based on traffic percentage. */ readonly trafficPercentStrategy?: pulumi.Input; }