1. Packages
  2. Google Cloud Native
  3. API Docs
  4. clouddeploy
  5. clouddeploy/v1
  6. getAutomation

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.clouddeploy/v1.getAutomation

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets details of a single Automation.

    Using getAutomation

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAutomation(args: GetAutomationArgs, opts?: InvokeOptions): Promise<GetAutomationResult>
    function getAutomationOutput(args: GetAutomationOutputArgs, opts?: InvokeOptions): Output<GetAutomationResult>
    def get_automation(automation_id: Optional[str] = None,
                       delivery_pipeline_id: Optional[str] = None,
                       location: Optional[str] = None,
                       project: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAutomationResult
    def get_automation_output(automation_id: Optional[pulumi.Input[str]] = None,
                       delivery_pipeline_id: Optional[pulumi.Input[str]] = None,
                       location: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAutomationResult]
    func LookupAutomation(ctx *Context, args *LookupAutomationArgs, opts ...InvokeOption) (*LookupAutomationResult, error)
    func LookupAutomationOutput(ctx *Context, args *LookupAutomationOutputArgs, opts ...InvokeOption) LookupAutomationResultOutput

    > Note: This function is named LookupAutomation in the Go SDK.

    public static class GetAutomation 
    {
        public static Task<GetAutomationResult> InvokeAsync(GetAutomationArgs args, InvokeOptions? opts = null)
        public static Output<GetAutomationResult> Invoke(GetAutomationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutomationResult> getAutomation(GetAutomationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:clouddeploy/v1:getAutomation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getAutomation Result

    The following output properties are available:

    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.
    CreateTime string
    Time at which the automation was created.
    Description string
    Optional. Description of the Automation. Max length is 255 characters.
    Etag string
    Optional. The weak etag of the Automation resource. 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.
    Name string
    Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
    Rules List<Pulumi.GoogleNative.CloudDeploy.V1.Outputs.AutomationRuleResponse>
    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.GoogleNative.CloudDeploy.V1.Outputs.AutomationResourceSelectorResponse
    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.
    Suspended bool
    Optional. When Suspended, automation is deactivated from execution.
    Uid string
    Unique identifier of the Automation.
    UpdateTime string
    Time at which the automation was updated.
    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.
    CreateTime string
    Time at which the automation was created.
    Description string
    Optional. Description of the Automation. Max length is 255 characters.
    Etag string
    Optional. The weak etag of the Automation resource. 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.
    Name string
    Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
    Rules []AutomationRuleResponse
    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 AutomationResourceSelectorResponse
    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.
    Suspended bool
    Optional. When Suspended, automation is deactivated from execution.
    Uid string
    Unique identifier of the Automation.
    UpdateTime string
    Time at which the automation was updated.
    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.
    createTime String
    Time at which the automation was created.
    description String
    Optional. Description of the Automation. Max length is 255 characters.
    etag String
    Optional. The weak etag of the Automation resource. 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.
    name String
    Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
    rules List<AutomationRuleResponse>
    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 AutomationResourceSelectorResponse
    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.
    suspended Boolean
    Optional. When Suspended, automation is deactivated from execution.
    uid String
    Unique identifier of the Automation.
    updateTime String
    Time at which the automation was updated.
    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.
    createTime string
    Time at which the automation was created.
    description string
    Optional. Description of the Automation. Max length is 255 characters.
    etag string
    Optional. The weak etag of the Automation resource. 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.
    name string
    Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
    rules AutomationRuleResponse[]
    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 AutomationResourceSelectorResponse
    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.
    suspended boolean
    Optional. When Suspended, automation is deactivated from execution.
    uid string
    Unique identifier of the Automation.
    updateTime string
    Time at which the automation was updated.
    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.
    create_time str
    Time at which the automation was created.
    description str
    Optional. Description of the Automation. Max length is 255 characters.
    etag str
    Optional. The weak etag of the Automation resource. 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.
    name str
    Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
    rules Sequence[AutomationRuleResponse]
    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 AutomationResourceSelectorResponse
    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.
    suspended bool
    Optional. When Suspended, automation is deactivated from execution.
    uid str
    Unique identifier of the Automation.
    update_time str
    Time at which the automation was updated.
    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.
    createTime String
    Time at which the automation was created.
    description String
    Optional. Description of the Automation. Max length is 255 characters.
    etag String
    Optional. The weak etag of the Automation resource. 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.
    name String
    Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.
    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.
    suspended Boolean
    Optional. When Suspended, automation is deactivated from execution.
    uid String
    Unique identifier of the Automation.
    updateTime String
    Time at which the automation was updated.

    Supporting Types

    AdvanceRolloutRuleResponse

    Condition Pulumi.GoogleNative.CloudDeploy.V1.Inputs.AutomationRuleConditionResponse
    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 AutomationRuleConditionResponse
    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 AutomationRuleConditionResponse
    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 AutomationRuleConditionResponse
    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 AutomationRuleConditionResponse
    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.

    AutomationResourceSelectorResponse

    Targets []TargetAttributeResponse
    Contains attributes about a target.
    targets List<TargetAttributeResponse>
    Contains attributes about a target.
    targets TargetAttributeResponse[]
    Contains attributes about a target.
    targets Sequence[TargetAttributeResponse]
    Contains attributes about a target.
    targets List<Property Map>
    Contains attributes about a target.

    AutomationRuleConditionResponse

    TargetsPresentCondition TargetsPresentConditionResponse
    Optional. Details around targets enumerated in the rule.
    targetsPresentCondition TargetsPresentConditionResponse
    Optional. Details around targets enumerated in the rule.
    targetsPresentCondition TargetsPresentConditionResponse
    Optional. Details around targets enumerated in the rule.
    targets_present_condition TargetsPresentConditionResponse
    Optional. Details around targets enumerated in the rule.
    targetsPresentCondition Property Map
    Optional. Details around targets enumerated in the rule.

    AutomationRuleResponse

    AdvanceRolloutRule Pulumi.GoogleNative.CloudDeploy.V1.Inputs.AdvanceRolloutRuleResponse
    Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
    PromoteReleaseRule Pulumi.GoogleNative.CloudDeploy.V1.Inputs.PromoteReleaseRuleResponse
    Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
    RepairRolloutRule Pulumi.GoogleNative.CloudDeploy.V1.Inputs.RepairRolloutRuleResponse
    Optional. The RepairRolloutRule will automatically repair a failed rollout.
    AdvanceRolloutRule AdvanceRolloutRuleResponse
    Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
    PromoteReleaseRule PromoteReleaseRuleResponse
    Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
    RepairRolloutRule RepairRolloutRuleResponse
    Optional. The RepairRolloutRule will automatically repair a failed rollout.
    advanceRolloutRule AdvanceRolloutRuleResponse
    Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
    promoteReleaseRule PromoteReleaseRuleResponse
    Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
    repairRolloutRule RepairRolloutRuleResponse
    Optional. The RepairRolloutRule will automatically repair a failed rollout.
    advanceRolloutRule AdvanceRolloutRuleResponse
    Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
    promoteReleaseRule PromoteReleaseRuleResponse
    Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
    repairRolloutRule RepairRolloutRuleResponse
    Optional. The RepairRolloutRule will automatically repair a failed rollout.
    advance_rollout_rule AdvanceRolloutRuleResponse
    Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
    promote_release_rule PromoteReleaseRuleResponse
    Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
    repair_rollout_rule RepairRolloutRuleResponse
    Optional. The RepairRolloutRule will automatically repair a failed rollout.
    advanceRolloutRule Property Map
    Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.
    promoteReleaseRule Property Map
    Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.
    repairRolloutRule Property Map
    Optional. The RepairRolloutRule will automatically repair a failed rollout.

    PromoteReleaseRuleResponse

    Condition Pulumi.GoogleNative.CloudDeploy.V1.Inputs.AutomationRuleConditionResponse
    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.
    DestinationTargetId string
    Optional. The ID of the stage in the pipeline to which this Release is 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 AutomationRuleConditionResponse
    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.
    DestinationTargetId string
    Optional. The ID of the stage in the pipeline to which this Release is 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 AutomationRuleConditionResponse
    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.
    destinationTargetId String
    Optional. The ID of the stage in the pipeline to which this Release is 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 AutomationRuleConditionResponse
    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.
    destinationTargetId string
    Optional. The ID of the stage in the pipeline to which this Release is 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 AutomationRuleConditionResponse
    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_id str
    Optional. The ID of the stage in the pipeline to which this Release is 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.
    destinationTargetId String
    Optional. The ID of the stage in the pipeline to which this Release is 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.

    RepairModeResponse

    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.

    RepairRolloutRuleResponse

    Condition Pulumi.GoogleNative.CloudDeploy.V1.Inputs.AutomationRuleConditionResponse
    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.GoogleNative.CloudDeploy.V1.Inputs.RepairModeResponse>
    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 AutomationRuleConditionResponse
    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 []RepairModeResponse
    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 AutomationRuleConditionResponse
    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<RepairModeResponse>
    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 AutomationRuleConditionResponse
    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 RepairModeResponse[]
    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 AutomationRuleConditionResponse
    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[RepairModeResponse]
    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])?$.

    RetryResponse

    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 wait is 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 wait is 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 wait is 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 wait is 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 wait is 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 wait is 0.
    wait String
    Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.

    RollbackResponse

    DestinationPhase string
    Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.
    DestinationPhase string
    Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.
    destinationPhase String
    Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.
    destinationPhase string
    Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.
    destination_phase str
    Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.
    destinationPhase String
    Optional. The starting phase ID for the Rollout. If unspecified, the Rollout will start in the stable phase.

    TargetAttributeResponse

    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

    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi