Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.clouddeploy/v1.Automation
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new Automation in a given project and location. Auto-naming is currently not supported for this resource.
Create Automation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Automation(name: string, args: AutomationArgs, opts?: CustomResourceOptions);@overload
def Automation(resource_name: str,
               args: AutomationArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def Automation(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               rules: Optional[Sequence[AutomationRuleArgs]] = None,
               automation_id: Optional[str] = None,
               delivery_pipeline_id: Optional[str] = None,
               service_account: Optional[str] = None,
               selector: Optional[AutomationResourceSelectorArgs] = None,
               description: Optional[str] = None,
               location: Optional[str] = None,
               project: Optional[str] = None,
               request_id: Optional[str] = None,
               labels: Optional[Mapping[str, str]] = None,
               etag: Optional[str] = None,
               annotations: Optional[Mapping[str, str]] = None,
               suspended: Optional[bool] = None)func NewAutomation(ctx *Context, name string, args AutomationArgs, opts ...ResourceOption) (*Automation, error)public Automation(string name, AutomationArgs args, CustomResourceOptions? opts = null)
public Automation(String name, AutomationArgs args)
public Automation(String name, AutomationArgs args, CustomResourceOptions options)
type: google-native:clouddeploy/v1:Automation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutomationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutomationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutomationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutomationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutomationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var automationResource = new GoogleNative.CloudDeploy.V1.Automation("automationResource", new()
{
    Rules = new[]
    {
        new GoogleNative.CloudDeploy.V1.Inputs.AutomationRuleArgs
        {
            AdvanceRolloutRule = new GoogleNative.CloudDeploy.V1.Inputs.AdvanceRolloutRuleArgs
            {
                Id = "string",
                SourcePhases = new[]
                {
                    "string",
                },
                Wait = "string",
            },
            PromoteReleaseRule = new GoogleNative.CloudDeploy.V1.Inputs.PromoteReleaseRuleArgs
            {
                Id = "string",
                DestinationPhase = "string",
                DestinationTargetId = "string",
                Wait = "string",
            },
            RepairRolloutRule = new GoogleNative.CloudDeploy.V1.Inputs.RepairRolloutRuleArgs
            {
                Id = "string",
                RepairModes = new[]
                {
                    new GoogleNative.CloudDeploy.V1.Inputs.RepairModeArgs
                    {
                        Retry = new GoogleNative.CloudDeploy.V1.Inputs.RetryArgs
                        {
                            Attempts = "string",
                            BackoffMode = GoogleNative.CloudDeploy.V1.RetryBackoffMode.BackoffModeUnspecified,
                            Wait = "string",
                        },
                        Rollback = new GoogleNative.CloudDeploy.V1.Inputs.RollbackArgs
                        {
                            DestinationPhase = "string",
                        },
                    },
                },
                Jobs = new[]
                {
                    "string",
                },
                SourcePhases = new[]
                {
                    "string",
                },
            },
        },
    },
    AutomationId = "string",
    DeliveryPipelineId = "string",
    ServiceAccount = "string",
    Selector = new GoogleNative.CloudDeploy.V1.Inputs.AutomationResourceSelectorArgs
    {
        Targets = new[]
        {
            new GoogleNative.CloudDeploy.V1.Inputs.TargetAttributeArgs
            {
                Id = "string",
                Labels = 
                {
                    { "string", "string" },
                },
            },
        },
    },
    Description = "string",
    Location = "string",
    Project = "string",
    RequestId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Etag = "string",
    Annotations = 
    {
        { "string", "string" },
    },
    Suspended = false,
});
example, err := clouddeploy.NewAutomation(ctx, "automationResource", &clouddeploy.AutomationArgs{
	Rules: clouddeploy.AutomationRuleArray{
		&clouddeploy.AutomationRuleArgs{
			AdvanceRolloutRule: &clouddeploy.AdvanceRolloutRuleArgs{
				Id: pulumi.String("string"),
				SourcePhases: pulumi.StringArray{
					pulumi.String("string"),
				},
				Wait: pulumi.String("string"),
			},
			PromoteReleaseRule: &clouddeploy.PromoteReleaseRuleArgs{
				Id:                  pulumi.String("string"),
				DestinationPhase:    pulumi.String("string"),
				DestinationTargetId: pulumi.String("string"),
				Wait:                pulumi.String("string"),
			},
			RepairRolloutRule: &clouddeploy.RepairRolloutRuleArgs{
				Id: pulumi.String("string"),
				RepairModes: clouddeploy.RepairModeArray{
					&clouddeploy.RepairModeArgs{
						Retry: &clouddeploy.RetryArgs{
							Attempts:    pulumi.String("string"),
							BackoffMode: clouddeploy.RetryBackoffModeBackoffModeUnspecified,
							Wait:        pulumi.String("string"),
						},
						Rollback: &clouddeploy.RollbackArgs{
							DestinationPhase: pulumi.String("string"),
						},
					},
				},
				Jobs: pulumi.StringArray{
					pulumi.String("string"),
				},
				SourcePhases: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
	},
	AutomationId:       pulumi.String("string"),
	DeliveryPipelineId: pulumi.String("string"),
	ServiceAccount:     pulumi.String("string"),
	Selector: &clouddeploy.AutomationResourceSelectorArgs{
		Targets: clouddeploy.TargetAttributeArray{
			&clouddeploy.TargetAttributeArgs{
				Id: pulumi.String("string"),
				Labels: pulumi.StringMap{
					"string": pulumi.String("string"),
				},
			},
		},
	},
	Description: pulumi.String("string"),
	Location:    pulumi.String("string"),
	Project:     pulumi.String("string"),
	RequestId:   pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Etag: pulumi.String("string"),
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Suspended: pulumi.Bool(false),
})
var automationResource = new Automation("automationResource", AutomationArgs.builder()
    .rules(AutomationRuleArgs.builder()
        .advanceRolloutRule(AdvanceRolloutRuleArgs.builder()
            .id("string")
            .sourcePhases("string")
            .wait("string")
            .build())
        .promoteReleaseRule(PromoteReleaseRuleArgs.builder()
            .id("string")
            .destinationPhase("string")
            .destinationTargetId("string")
            .wait("string")
            .build())
        .repairRolloutRule(RepairRolloutRuleArgs.builder()
            .id("string")
            .repairModes(RepairModeArgs.builder()
                .retry(RetryArgs.builder()
                    .attempts("string")
                    .backoffMode("BACKOFF_MODE_UNSPECIFIED")
                    .wait("string")
                    .build())
                .rollback(RollbackArgs.builder()
                    .destinationPhase("string")
                    .build())
                .build())
            .jobs("string")
            .sourcePhases("string")
            .build())
        .build())
    .automationId("string")
    .deliveryPipelineId("string")
    .serviceAccount("string")
    .selector(AutomationResourceSelectorArgs.builder()
        .targets(TargetAttributeArgs.builder()
            .id("string")
            .labels(Map.of("string", "string"))
            .build())
        .build())
    .description("string")
    .location("string")
    .project("string")
    .requestId("string")
    .labels(Map.of("string", "string"))
    .etag("string")
    .annotations(Map.of("string", "string"))
    .suspended(false)
    .build());
automation_resource = google_native.clouddeploy.v1.Automation("automationResource",
    rules=[{
        "advance_rollout_rule": {
            "id": "string",
            "source_phases": ["string"],
            "wait": "string",
        },
        "promote_release_rule": {
            "id": "string",
            "destination_phase": "string",
            "destination_target_id": "string",
            "wait": "string",
        },
        "repair_rollout_rule": {
            "id": "string",
            "repair_modes": [{
                "retry": {
                    "attempts": "string",
                    "backoff_mode": google_native.clouddeploy.v1.RetryBackoffMode.BACKOFF_MODE_UNSPECIFIED,
                    "wait": "string",
                },
                "rollback": {
                    "destination_phase": "string",
                },
            }],
            "jobs": ["string"],
            "source_phases": ["string"],
        },
    }],
    automation_id="string",
    delivery_pipeline_id="string",
    service_account="string",
    selector={
        "targets": [{
            "id": "string",
            "labels": {
                "string": "string",
            },
        }],
    },
    description="string",
    location="string",
    project="string",
    request_id="string",
    labels={
        "string": "string",
    },
    etag="string",
    annotations={
        "string": "string",
    },
    suspended=False)
const automationResource = new google_native.clouddeploy.v1.Automation("automationResource", {
    rules: [{
        advanceRolloutRule: {
            id: "string",
            sourcePhases: ["string"],
            wait: "string",
        },
        promoteReleaseRule: {
            id: "string",
            destinationPhase: "string",
            destinationTargetId: "string",
            wait: "string",
        },
        repairRolloutRule: {
            id: "string",
            repairModes: [{
                retry: {
                    attempts: "string",
                    backoffMode: google_native.clouddeploy.v1.RetryBackoffMode.BackoffModeUnspecified,
                    wait: "string",
                },
                rollback: {
                    destinationPhase: "string",
                },
            }],
            jobs: ["string"],
            sourcePhases: ["string"],
        },
    }],
    automationId: "string",
    deliveryPipelineId: "string",
    serviceAccount: "string",
    selector: {
        targets: [{
            id: "string",
            labels: {
                string: "string",
            },
        }],
    },
    description: "string",
    location: "string",
    project: "string",
    requestId: "string",
    labels: {
        string: "string",
    },
    etag: "string",
    annotations: {
        string: "string",
    },
    suspended: false,
});
type: google-native:clouddeploy/v1:Automation
properties:
    annotations:
        string: string
    automationId: string
    deliveryPipelineId: string
    description: string
    etag: string
    labels:
        string: string
    location: string
    project: string
    requestId: string
    rules:
        - advanceRolloutRule:
            id: string
            sourcePhases:
                - string
            wait: string
          promoteReleaseRule:
            destinationPhase: string
            destinationTargetId: string
            id: string
            wait: string
          repairRolloutRule:
            id: string
            jobs:
                - string
            repairModes:
                - retry:
                    attempts: string
                    backoffMode: BACKOFF_MODE_UNSPECIFIED
                    wait: string
                  rollback:
                    destinationPhase: string
            sourcePhases:
                - string
    selector:
        targets:
            - id: string
              labels:
                string: string
    serviceAccount: string
    suspended: false
Automation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Automation resource accepts the following input properties:
- AutomationId string
- Required. ID of the Automation.
- DeliveryPipeline stringId 
- Rules
List<Pulumi.Google Native. Cloud Deploy. V1. Inputs. Automation Rule> 
- List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
- Selector
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Automation Resource Selector 
- Selected resources to which the automation will be applied.
- ServiceAccount string
- Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
- Annotations Dictionary<string, string>
- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
- Description string
- Optional. Description of the Automation. Max length is 255 characters.
- Etag string
- Optional. The weak etag of the Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Labels Dictionary<string, string>
- Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
- Location string
- Project string
- RequestId string
- Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Suspended bool
- Optional. When Suspended, automation is deactivated from execution.
- AutomationId string
- Required. ID of the Automation.
- DeliveryPipeline stringId 
- Rules
[]AutomationRule Args 
- List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
- Selector
AutomationResource Selector Args 
- Selected resources to which the automation will be applied.
- ServiceAccount string
- Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
- Annotations map[string]string
- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
- Description string
- Optional. Description of the Automation. Max length is 255 characters.
- Etag string
- Optional. The weak etag of the Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Labels map[string]string
- Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
- Location string
- Project string
- RequestId string
- Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Suspended bool
- Optional. When Suspended, automation is deactivated from execution.
- automationId String
- Required. ID of the Automation.
- deliveryPipeline StringId 
- rules
List<AutomationRule> 
- List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
- selector
AutomationResource Selector 
- Selected resources to which the automation will be applied.
- serviceAccount String
- Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
- annotations Map<String,String>
- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
- description String
- Optional. Description of the Automation. Max length is 255 characters.
- etag String
- Optional. The weak etag of the Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Map<String,String>
- Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
- location String
- project String
- requestId String
- Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- suspended Boolean
- Optional. When Suspended, automation is deactivated from execution.
- automationId string
- Required. ID of the Automation.
- deliveryPipeline stringId 
- rules
AutomationRule[] 
- List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
- selector
AutomationResource Selector 
- Selected resources to which the automation will be applied.
- serviceAccount string
- Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
- annotations {[key: string]: string}
- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
- description string
- Optional. Description of the Automation. Max length is 255 characters.
- etag string
- Optional. The weak etag of the Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels {[key: string]: string}
- Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
- location string
- project string
- requestId string
- Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- suspended boolean
- Optional. When Suspended, automation is deactivated from execution.
- automation_id str
- Required. ID of the Automation.
- delivery_pipeline_ strid 
- rules
Sequence[AutomationRule Args] 
- List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
- selector
AutomationResource Selector Args 
- Selected resources to which the automation will be applied.
- service_account str
- Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
- annotations Mapping[str, str]
- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
- description str
- Optional. Description of the Automation. Max length is 255 characters.
- etag str
- Optional. The weak etag of the Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Mapping[str, str]
- Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
- location str
- project str
- request_id str
- Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- suspended bool
- Optional. When Suspended, automation is deactivated from execution.
- automationId String
- Required. ID of the Automation.
- deliveryPipeline StringId 
- rules List<Property Map>
- List of Automation rules associated with the Automation resource. Must have at least one rule and limited to 250 rules per Delivery Pipeline. Note: the order of the rules here is not the same as the order of execution.
- selector Property Map
- Selected resources to which the automation will be applied.
- serviceAccount String
- Email address of the user-managed IAM service account that creates Cloud Deploy release and rollout resources.
- annotations Map<String>
- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. Annotations must meet the following constraints: * Annotations are key/value pairs. * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). * The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. * The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots(.), not longer than 253 characters in total, followed by a slash (/). See https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set for more details.
- description String
- Optional. Description of the Automation. Max length is 255 characters.
- etag String
- Optional. The weak etag of the Automationresource. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Map<String>
- Optional. Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 63 characters.
- location String
- project String
- requestId String
- Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- suspended Boolean
- Optional. When Suspended, automation is deactivated from execution.
Outputs
All input properties are implicitly available as output properties. Additionally, the Automation resource produces the following output properties:
- CreateTime string
- Time at which the automation was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
- Uid string
- Unique identifier of the Automation.
- UpdateTime string
- Time at which the automation was updated.
- CreateTime string
- Time at which the automation was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
- Uid string
- Unique identifier of the Automation.
- UpdateTime string
- Time at which the automation was updated.
- createTime String
- Time at which the automation was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
- uid String
- Unique identifier of the Automation.
- updateTime String
- Time at which the automation was updated.
- createTime string
- Time at which the automation was created.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
- uid string
- Unique identifier of the Automation.
- updateTime string
- Time at which the automation was updated.
- create_time str
- Time at which the automation was created.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
- uid str
- Unique identifier of the Automation.
- update_time str
- Time at which the automation was updated.
- createTime String
- Time at which the automation was created.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Automation. Format isprojects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
- uid String
- Unique identifier of the Automation.
- updateTime String
- Time at which the automation was updated.
Supporting Types
AdvanceRolloutRule, AdvanceRolloutRuleArgs      
- Id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- SourcePhases List<string>
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- Wait string
- Optional. How long to wait after a rollout is finished.
- Id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- SourcePhases []string
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- Wait string
- Optional. How long to wait after a rollout is finished.
- id String
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- sourcePhases List<String>
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait_ String
- Optional. How long to wait after a rollout is finished.
- id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- sourcePhases string[]
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait string
- Optional. How long to wait after a rollout is finished.
- id str
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- source_phases Sequence[str]
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait str
- Optional. How long to wait after a rollout is finished.
- id String
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- sourcePhases List<String>
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait String
- Optional. How long to wait after a rollout is finished.
AdvanceRolloutRuleResponse, AdvanceRolloutRuleResponseArgs        
- Condition
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Automation Rule Condition Response 
- Information around the state of the Automation rule.
- SourcePhases List<string>
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- Wait string
- Optional. How long to wait after a rollout is finished.
- Condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- SourcePhases []string
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- Wait string
- Optional. How long to wait after a rollout is finished.
- condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- sourcePhases List<String>
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait_ String
- Optional. How long to wait after a rollout is finished.
- condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- sourcePhases string[]
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait string
- Optional. How long to wait after a rollout is finished.
- condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- source_phases Sequence[str]
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait str
- Optional. How long to wait after a rollout is finished.
- condition Property Map
- Information around the state of the Automation rule.
- sourcePhases List<String>
- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- wait String
- Optional. How long to wait after a rollout is finished.
AutomationResourceSelector, AutomationResourceSelectorArgs      
- Targets
List<Pulumi.Google Native. Cloud Deploy. V1. Inputs. Target Attribute> 
- Contains attributes about a target.
- Targets
[]TargetAttribute 
- Contains attributes about a target.
- targets
List<TargetAttribute> 
- Contains attributes about a target.
- targets
TargetAttribute[] 
- Contains attributes about a target.
- targets
Sequence[TargetAttribute] 
- Contains attributes about a target.
- targets List<Property Map>
- Contains attributes about a target.
AutomationResourceSelectorResponse, AutomationResourceSelectorResponseArgs        
- Targets
List<Pulumi.Google Native. Cloud Deploy. V1. Inputs. Target Attribute Response> 
- Contains attributes about a target.
- Targets
[]TargetAttribute Response 
- Contains attributes about a target.
- targets
List<TargetAttribute Response> 
- Contains attributes about a target.
- targets
TargetAttribute Response[] 
- Contains attributes about a target.
- targets
Sequence[TargetAttribute Response] 
- Contains attributes about a target.
- targets List<Property Map>
- Contains attributes about a target.
AutomationRule, AutomationRuleArgs    
- AdvanceRollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Advance Rollout Rule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- PromoteRelease Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Promote Release Rule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- RepairRollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Repair Rollout Rule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- AdvanceRollout AdvanceRule Rollout Rule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- PromoteRelease PromoteRule Release Rule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- RepairRollout RepairRule Rollout Rule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advanceRollout AdvanceRule Rollout Rule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promoteRelease PromoteRule Release Rule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repairRollout RepairRule Rollout Rule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advanceRollout AdvanceRule Rollout Rule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promoteRelease PromoteRule Release Rule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repairRollout RepairRule Rollout Rule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advance_rollout_ Advancerule Rollout Rule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promote_release_ Promoterule Release Rule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repair_rollout_ Repairrule Rollout Rule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advanceRollout Property MapRule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promoteRelease Property MapRule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repairRollout Property MapRule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
AutomationRuleConditionResponse, AutomationRuleConditionResponseArgs        
- TargetsPresent Pulumi.Condition Google Native. Cloud Deploy. V1. Inputs. Targets Present Condition Response 
- Optional. Details around targets enumerated in the rule.
- TargetsPresent TargetsCondition Present Condition Response 
- Optional. Details around targets enumerated in the rule.
- targetsPresent TargetsCondition Present Condition Response 
- Optional. Details around targets enumerated in the rule.
- targetsPresent TargetsCondition Present Condition Response 
- Optional. Details around targets enumerated in the rule.
- targets_present_ Targetscondition Present Condition Response 
- Optional. Details around targets enumerated in the rule.
- targetsPresent Property MapCondition 
- Optional. Details around targets enumerated in the rule.
AutomationRuleResponse, AutomationRuleResponseArgs      
- AdvanceRollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Advance Rollout Rule Response 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- PromoteRelease Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Promote Release Rule Response 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- RepairRollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Repair Rollout Rule Response 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- AdvanceRollout AdvanceRule Rollout Rule Response 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- PromoteRelease PromoteRule Release Rule Response 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- RepairRollout RepairRule Rollout Rule Response 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advanceRollout AdvanceRule Rollout Rule Response 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promoteRelease PromoteRule Release Rule Response 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repairRollout RepairRule Rollout Rule Response 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advanceRollout AdvanceRule Rollout Rule Response 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promoteRelease PromoteRule Release Rule Response 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repairRollout RepairRule Rollout Rule Response 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advance_rollout_ Advancerule Rollout Rule Response 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promote_release_ Promoterule Release Rule Response 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repair_rollout_ Repairrule Rollout Rule Response 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
- advanceRollout Property MapRule 
- Optional. The AdvanceRolloutRulewill automatically advance a successful Rollout.
- promoteRelease Property MapRule 
- Optional. PromoteReleaseRulewill automatically promote a release from the current target to a specified target.
- repairRollout Property MapRule 
- Optional. The RepairRolloutRulewill automatically repair a failed rollout.
PromoteReleaseRule, PromoteReleaseRuleArgs      
- Id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- DestinationPhase string
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- DestinationTarget stringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- Wait string
- Optional. How long the release need to be paused until being promoted to the next target.
- Id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- DestinationPhase string
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- DestinationTarget stringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- Wait string
- Optional. How long the release need to be paused until being promoted to the next target.
- id String
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- destinationPhase String
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destinationTarget StringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait_ String
- Optional. How long the release need to be paused until being promoted to the next target.
- id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- destinationPhase string
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destinationTarget stringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait string
- Optional. How long the release need to be paused until being promoted to the next target.
- id str
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- destination_phase str
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination_target_ strid 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait str
- Optional. How long the release need to be paused until being promoted to the next target.
- id String
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- destinationPhase String
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destinationTarget StringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait String
- Optional. How long the release need to be paused until being promoted to the next target.
PromoteReleaseRuleResponse, PromoteReleaseRuleResponseArgs        
- Condition
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Automation Rule Condition Response 
- Information around the state of the Automation rule.
- DestinationPhase string
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- DestinationTarget stringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- Wait string
- Optional. How long the release need to be paused until being promoted to the next target.
- Condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- DestinationPhase string
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- DestinationTarget stringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- Wait string
- Optional. How long the release need to be paused until being promoted to the next target.
- condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- destinationPhase String
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destinationTarget StringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait_ String
- Optional. How long the release need to be paused until being promoted to the next target.
- condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- destinationPhase string
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destinationTarget stringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait string
- Optional. How long the release need to be paused until being promoted to the next target.
- condition
AutomationRule Condition Response 
- Information around the state of the Automation rule.
- destination_phase str
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination_target_ strid 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait str
- Optional. How long the release need to be paused until being promoted to the next target.
- condition Property Map
- Information around the state of the Automation rule.
- destinationPhase String
- Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destinationTarget StringId 
- Optional. The ID of the stage in the pipeline to which this Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.
- wait String
- Optional. How long the release need to be paused until being promoted to the next target.
RepairMode, RepairModeArgs    
- Retry
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Retry 
- Optional. Retries a failed job.
- Rollback
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Rollback 
- Optional. Rolls back a Rollout.
- retry Property Map
- Optional. Retries a failed job.
- rollback Property Map
- Optional. Rolls back a Rollout.
RepairModeResponse, RepairModeResponseArgs      
- Retry
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Retry Response 
- Optional. Retries a failed job.
- Rollback
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Rollback Response 
- Optional. Rolls back a Rollout.
- Retry
RetryResponse 
- Optional. Retries a failed job.
- Rollback
RollbackResponse 
- Optional. Rolls back a Rollout.
- retry
RetryResponse 
- Optional. Retries a failed job.
- rollback
RollbackResponse 
- Optional. Rolls back a Rollout.
- retry
RetryResponse 
- Optional. Retries a failed job.
- rollback
RollbackResponse 
- Optional. Rolls back a Rollout.
- retry
RetryResponse 
- Optional. Retries a failed job.
- rollback
RollbackResponse 
- Optional. Rolls back a Rollout.
- retry Property Map
- Optional. Retries a failed job.
- rollback Property Map
- Optional. Rolls back a Rollout.
RepairRolloutRule, RepairRolloutRuleArgs      
- Id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- RepairModes List<Pulumi.Google Native. Cloud Deploy. V1. Inputs. Repair Mode> 
- Defines the types of automatic repair actions for failed jobs.
- Jobs List<string>
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- SourcePhases List<string>
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- Id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- RepairModes []RepairMode 
- Defines the types of automatic repair actions for failed jobs.
- Jobs []string
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- SourcePhases []string
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- id String
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- repairModes List<RepairMode> 
- Defines the types of automatic repair actions for failed jobs.
- jobs List<String>
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- sourcePhases List<String>
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- id string
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- repairModes RepairMode[] 
- Defines the types of automatic repair actions for failed jobs.
- jobs string[]
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- sourcePhases string[]
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- id str
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- repair_modes Sequence[RepairMode] 
- Defines the types of automatic repair actions for failed jobs.
- jobs Sequence[str]
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- source_phases Sequence[str]
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- id String
- ID of the rule. This id must be unique in the Automationresource to which this rule belongs. The format isa-z{0,62}.
- repairModes List<Property Map>
- Defines the types of automatic repair actions for failed jobs.
- jobs List<String>
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- sourcePhases List<String>
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
RepairRolloutRuleResponse, RepairRolloutRuleResponseArgs        
- Condition
Pulumi.Google Native. Cloud Deploy. V1. Inputs. Automation Rule Condition Response 
- Information around the state of the 'Automation' rule.
- Jobs List<string>
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- RepairModes List<Pulumi.Google Native. Cloud Deploy. V1. Inputs. Repair Mode Response> 
- Defines the types of automatic repair actions for failed jobs.
- SourcePhases List<string>
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- Condition
AutomationRule Condition Response 
- Information around the state of the 'Automation' rule.
- Jobs []string
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- RepairModes []RepairMode Response 
- Defines the types of automatic repair actions for failed jobs.
- SourcePhases []string
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- condition
AutomationRule Condition Response 
- Information around the state of the 'Automation' rule.
- jobs List<String>
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- repairModes List<RepairMode Response> 
- Defines the types of automatic repair actions for failed jobs.
- sourcePhases List<String>
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- condition
AutomationRule Condition Response 
- Information around the state of the 'Automation' rule.
- jobs string[]
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- repairModes RepairMode Response[] 
- Defines the types of automatic repair actions for failed jobs.
- sourcePhases string[]
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- condition
AutomationRule Condition Response 
- Information around the state of the 'Automation' rule.
- jobs Sequence[str]
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- repair_modes Sequence[RepairMode Response] 
- Defines the types of automatic repair actions for failed jobs.
- source_phases Sequence[str]
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- condition Property Map
- Information around the state of the 'Automation' rule.
- jobs List<String>
- Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in source_phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex:^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
- repairModes List<Property Map>
- Defines the types of automatic repair actions for failed jobs.
- sourcePhases List<String>
- Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.
Retry, RetryArgs  
- Attempts string
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- BackoffMode Pulumi.Google Native. Cloud Deploy. V1. Retry Backoff Mode 
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- Wait string
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- Attempts string
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- BackoffMode RetryBackoff Mode 
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- Wait string
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts String
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoffMode RetryBackoff Mode 
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait_ String
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts string
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoffMode RetryBackoff Mode 
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait string
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts str
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoff_mode RetryBackoff Mode 
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait str
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts String
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoffMode "BACKOFF_MODE_UNSPECIFIED" | "BACKOFF_MODE_LINEAR" | "BACKOFF_MODE_EXPONENTIAL"
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait String
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
RetryBackoffMode, RetryBackoffModeArgs      
- BackoffMode Unspecified 
- BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- BackoffMode Linear 
- BACKOFF_MODE_LINEARIncreases the wait time linearly.
- BackoffMode Exponential 
- BACKOFF_MODE_EXPONENTIALIncreases the wait time exponentially.
- RetryBackoff Mode Backoff Mode Unspecified 
- BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- RetryBackoff Mode Backoff Mode Linear 
- BACKOFF_MODE_LINEARIncreases the wait time linearly.
- RetryBackoff Mode Backoff Mode Exponential 
- BACKOFF_MODE_EXPONENTIALIncreases the wait time exponentially.
- BackoffMode Unspecified 
- BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- BackoffMode Linear 
- BACKOFF_MODE_LINEARIncreases the wait time linearly.
- BackoffMode Exponential 
- BACKOFF_MODE_EXPONENTIALIncreases the wait time exponentially.
- BackoffMode Unspecified 
- BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- BackoffMode Linear 
- BACKOFF_MODE_LINEARIncreases the wait time linearly.
- BackoffMode Exponential 
- BACKOFF_MODE_EXPONENTIALIncreases the wait time exponentially.
- BACKOFF_MODE_UNSPECIFIED
- BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- BACKOFF_MODE_LINEAR
- BACKOFF_MODE_LINEARIncreases the wait time linearly.
- BACKOFF_MODE_EXPONENTIAL
- BACKOFF_MODE_EXPONENTIALIncreases the wait time exponentially.
- "BACKOFF_MODE_UNSPECIFIED"
- BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- "BACKOFF_MODE_LINEAR"
- BACKOFF_MODE_LINEARIncreases the wait time linearly.
- "BACKOFF_MODE_EXPONENTIAL"
- BACKOFF_MODE_EXPONENTIALIncreases the wait time exponentially.
RetryResponse, RetryResponseArgs    
- Attempts string
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- BackoffMode string
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- Wait string
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- Attempts string
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- BackoffMode string
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- Wait string
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts String
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoffMode String
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait_ String
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts string
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoffMode string
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait string
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts str
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoff_mode str
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait str
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
- attempts String
- Total number of retries. Retry will skipped if set to 0; The minimum value is 1, and the maximum value is 10.
- backoffMode String
- Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if waitis 0.
- wait String
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
Rollback, RollbackArgs  
- DestinationPhase string
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- DestinationPhase string
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destinationPhase String
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destinationPhase string
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destination_phase str
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destinationPhase String
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
RollbackResponse, RollbackResponseArgs    
- DestinationPhase string
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- DestinationPhase string
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destinationPhase String
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destinationPhase string
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destination_phase str
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
- destinationPhase String
- Optional. The starting phase ID for the Rollout. If unspecified, theRolloutwill start in the stable phase.
TargetAttribute, TargetAttributeArgs    
TargetAttributeResponse, TargetAttributeResponseArgs      
- Labels Dictionary<string, string>
- Target labels.
- Labels map[string]string
- Target labels.
- labels Map<String,String>
- Target labels.
- labels {[key: string]: string}
- Target labels.
- labels Mapping[str, str]
- Target labels.
- labels Map<String>
- Target labels.
TargetsPresentConditionResponse, TargetsPresentConditionResponseArgs        
- MissingTargets List<string>
- The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- Status bool
- True if there aren't any missing Targets.
- UpdateTime string
- Last time the condition was updated.
- MissingTargets []string
- The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- Status bool
- True if there aren't any missing Targets.
- UpdateTime string
- Last time the condition was updated.
- missingTargets List<String>
- The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status Boolean
- True if there aren't any missing Targets.
- updateTime String
- Last time the condition was updated.
- missingTargets string[]
- The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status boolean
- True if there aren't any missing Targets.
- updateTime string
- Last time the condition was updated.
- missing_targets Sequence[str]
- The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status bool
- True if there aren't any missing Targets.
- update_time str
- Last time the condition was updated.
- missingTargets List<String>
- The list of Target names that do not exist. For example, projects/{project_id}/locations/{location_name}/targets/{target_name}.
- status Boolean
- True if there aren't any missing Targets.
- updateTime String
- Last time the condition was updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.