import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * 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 * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class Rollout extends pulumi.CustomResource { /** * Get an existing Rollout 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): Rollout; /** * Returns true if the given object is an instance of Rollout. 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 Rollout; /** * Creation time of the rollout. Readonly. */ readonly createTime: pulumi.Output; /** * The user who created the Rollout. Readonly. */ 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; 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 Rollout 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: RolloutArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Rollout resource. */ export interface RolloutArgs { /** * Creation time of the rollout. Readonly. */ createTime?: pulumi.Input; /** * The user who created the Rollout. Readonly. */ createdBy?: pulumi.Input; /** * The strategy associated with a rollout to delete a `ManagedService`. 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' */ rolloutId?: pulumi.Input; /** * The name of the service associated with this Rollout. */ serviceName: pulumi.Input; /** * Google Service Control selects service configurations based on traffic percentage. */ trafficPercentStrategy?: pulumi.Input; }