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=[google_native.clouddeploy.v1.AutomationRuleArgs(
advance_rollout_rule=google_native.clouddeploy.v1.AdvanceRolloutRuleArgs(
id="string",
source_phases=["string"],
wait="string",
),
promote_release_rule=google_native.clouddeploy.v1.PromoteReleaseRuleArgs(
id="string",
destination_phase="string",
destination_target_id="string",
wait="string",
),
repair_rollout_rule=google_native.clouddeploy.v1.RepairRolloutRuleArgs(
id="string",
repair_modes=[google_native.clouddeploy.v1.RepairModeArgs(
retry=google_native.clouddeploy.v1.RetryArgs(
attempts="string",
backoff_mode=google_native.clouddeploy.v1.RetryBackoffMode.BACKOFF_MODE_UNSPECIFIED,
wait="string",
),
rollback=google_native.clouddeploy.v1.RollbackArgs(
destination_phase="string",
),
)],
jobs=["string"],
source_phases=["string"],
),
)],
automation_id="string",
delivery_pipeline_id="string",
service_account="string",
selector=google_native.clouddeploy.v1.AutomationResourceSelectorArgs(
targets=[google_native.clouddeploy.v1.TargetAttributeArgs(
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
The Automation resource accepts the following input properties:
- Automation
Id string - Required. ID of the
Automation
. - Delivery
Pipeline 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.
- Service
Account 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
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.
- Location string
- Project string
- Request
Id 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.
- Automation
Id string - Required. ID of the
Automation
. - Delivery
Pipeline stringId - Rules
[]Automation
Rule 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
Automation
Resource Selector Args - Selected resources to which the automation will be applied.
- Service
Account 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
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.
- Location string
- Project string
- Request
Id 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.
- automation
Id String - Required. ID of the
Automation
. - delivery
Pipeline StringId - rules
List<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
Automation
Resource Selector - Selected resources to which the automation will be applied.
- service
Account 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
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.
- location String
- project String
- request
Id 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 string - Required. ID of the
Automation
. - delivery
Pipeline stringId - rules
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
Automation
Resource Selector - Selected resources to which the automation will be applied.
- service
Account 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
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.
- location string
- project string
- request
Id 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[Automation
Rule 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
Automation
Resource 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
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.
- 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.
- automation
Id String - Required. ID of the
Automation
. - delivery
Pipeline 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.
- service
Account 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
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.
- location String
- project String
- request
Id 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:
- Create
Time 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
. - Update
Time string - Time at which the automation was updated.
- Create
Time 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
. - Update
Time string - Time at which the automation was updated.
- create
Time 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
. - update
Time String - Time at which the automation was updated.
- create
Time 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
. - update
Time 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.
- create
Time 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
. - update
Time 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - Source
Phases 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - Source
Phases []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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - source
Phases 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - source
Phases 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
Automation
resource 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - source
Phases 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.
- Source
Phases 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
Automation
Rule Condition Response - Information around the state of the Automation rule.
- Source
Phases []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
Automation
Rule Condition Response - Information around the state of the Automation rule.
- source
Phases 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
Automation
Rule Condition Response - Information around the state of the Automation rule.
- source
Phases 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
Automation
Rule 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.
- source
Phases 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
[]Target
Attribute - Contains attributes about a target.
- targets
List<Target
Attribute> - Contains attributes about a target.
- targets
Target
Attribute[] - Contains attributes about a target.
- targets
Sequence[Target
Attribute] - 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
[]Target
Attribute Response - Contains attributes about a target.
- targets
List<Target
Attribute Response> - Contains attributes about a target.
- targets
Target
Attribute Response[] - Contains attributes about a target.
- targets
Sequence[Target
Attribute Response] - Contains attributes about a target.
- targets List<Property Map>
- Contains attributes about a target.
AutomationRule, AutomationRuleArgs
- Advance
Rollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Advance Rollout Rule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - Promote
Release Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Promote Release Rule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - Repair
Rollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Repair Rollout Rule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- Advance
Rollout AdvanceRule Rollout Rule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - Promote
Release PromoteRule Release Rule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - Repair
Rollout RepairRule Rollout Rule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance
Rollout AdvanceRule Rollout Rule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote
Release PromoteRule Release Rule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair
Rollout RepairRule Rollout Rule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance
Rollout AdvanceRule Rollout Rule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote
Release PromoteRule Release Rule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair
Rollout RepairRule Rollout Rule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance_
rollout_ Advancerule Rollout Rule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote_
release_ Promoterule Release Rule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair_
rollout_ Repairrule Rollout Rule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance
Rollout Property MapRule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote
Release Property MapRule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair
Rollout Property MapRule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
AutomationRuleConditionResponse, AutomationRuleConditionResponseArgs
- Targets
Present Pulumi.Condition Google Native. Cloud Deploy. V1. Inputs. Targets 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.
- targets
Present 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.
- targets_
present_ Targetscondition Present Condition Response - Optional. Details around targets enumerated in the rule.
- targets
Present Property MapCondition - Optional. Details around targets enumerated in the rule.
AutomationRuleResponse, AutomationRuleResponseArgs
- Advance
Rollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Advance Rollout Rule Response - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - Promote
Release Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Promote Release Rule Response - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - Repair
Rollout Pulumi.Rule Google Native. Cloud Deploy. V1. Inputs. Repair Rollout Rule Response - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- Advance
Rollout AdvanceRule Rollout Rule Response - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - Promote
Release PromoteRule Release Rule Response - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - Repair
Rollout RepairRule Rollout Rule Response - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance
Rollout AdvanceRule Rollout Rule Response - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote
Release PromoteRule Release Rule Response - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair
Rollout RepairRule Rollout Rule Response - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance
Rollout AdvanceRule Rollout Rule Response - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote
Release PromoteRule Release Rule Response - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair
Rollout RepairRule Rollout Rule Response - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance_
rollout_ Advancerule Rollout Rule Response - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote_
release_ Promoterule Release Rule Response - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair_
rollout_ Repairrule Rollout Rule Response - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
- advance
Rollout Property MapRule - Optional. The
AdvanceRolloutRule
will automatically advance a successful Rollout. - promote
Release Property MapRule - Optional.
PromoteReleaseRule
will automatically promote a release from the current target to a specified target. - repair
Rollout Property MapRule - Optional. The
RepairRolloutRule
will automatically repair a failed rollout.
PromoteReleaseRule, PromoteReleaseRuleArgs
- Id string
- ID of the rule. This id must be unique in the
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - Destination
Phase string - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- Destination
Target stringId - 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.
- Id string
- ID of the rule. This id must be unique in the
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - Destination
Phase string - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- Destination
Target stringId - 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.
- id String
- ID of the rule. This id must be unique in the
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - destination
Phase String - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination
Target StringId - 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.
- id string
- ID of the rule. This id must be unique in the
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - destination
Phase string - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination
Target stringId - 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.
- id str
- ID of the rule. This id must be unique in the
Automation
resource 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
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.
- id String
- ID of the rule. This id must be unique in the
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - destination
Phase String - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination
Target StringId - 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.
PromoteReleaseRuleResponse, PromoteReleaseRuleResponseArgs
- Condition
Pulumi.
Google Native. Cloud Deploy. V1. Inputs. Automation Rule Condition Response - Information around the state of the Automation rule.
- Destination
Phase string - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- Destination
Target stringId - 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
Automation
Rule Condition Response - Information around the state of the Automation rule.
- Destination
Phase string - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- Destination
Target stringId - 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
Automation
Rule Condition Response - Information around the state of the Automation rule.
- destination
Phase String - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination
Target StringId - 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
Automation
Rule Condition Response - Information around the state of the Automation rule.
- destination
Phase string - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination
Target stringId - 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
Automation
Rule 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
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.
- destination
Phase String - Optional. The starting phase of the rollout created by this operation. Default to the first phase.
- destination
Target StringId - 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.
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
Retry
Response - Optional. Retries a failed job.
- Rollback
Rollback
Response - Optional. Rolls back a
Rollout
.
- retry
Retry
Response - Optional. Retries a failed job.
- rollback
Rollback
Response - Optional. Rolls back a
Rollout
.
- retry
Retry
Response - Optional. Retries a failed job.
- rollback
Rollback
Response - Optional. Rolls back a
Rollout
.
- retry
Retry
Response - Optional. Retries a failed job.
- rollback
Rollback
Response - 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - Repair
Modes 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])?$
. - Source
Phases 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - Repair
Modes []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])?$
. - Source
Phases []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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - repair
Modes 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])?$
. - source
Phases 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - repair
Modes 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])?$
. - source
Phases 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
Automation
resource 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
Automation
resource to which this rule belongs. The format isa-z{0,62}
. - repair
Modes 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])?$
. - source
Phases 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])?$
. - Repair
Modes List<Pulumi.Google Native. Cloud Deploy. V1. Inputs. Repair Mode Response> - Defines the types of automatic repair actions for failed jobs.
- Source
Phases 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
Automation
Rule 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])?$
. - Repair
Modes []RepairMode Response - Defines the types of automatic repair actions for failed jobs.
- Source
Phases []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
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])?$
. - repair
Modes List<RepairMode Response> - Defines the types of automatic repair actions for failed jobs.
- source
Phases 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
Automation
Rule 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])?$
. - repair
Modes RepairMode Response[] - Defines the types of automatic repair actions for failed jobs.
- source
Phases 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
Automation
Rule 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])?$
. - repair
Modes List<Property Map> - Defines the types of automatic repair actions for failed jobs.
- source
Phases 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.
- Backoff
Mode 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
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.
- Backoff
Mode RetryBackoff Mode - 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.
- backoff
Mode RetryBackoff Mode - 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.
- backoff
Mode RetryBackoff Mode - 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 RetryBackoff Mode - 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.
- backoff
Mode "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
wait
is 0. - wait String
- Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
RetryBackoffMode, RetryBackoffModeArgs
- 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.
- Retry
Backoff Mode Backoff Mode Unspecified - BACKOFF_MODE_UNSPECIFIEDNo WaitMode is specified.
- Retry
Backoff Mode Backoff Mode Linear - BACKOFF_MODE_LINEARIncreases the wait time linearly.
- Retry
Backoff Mode 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.
- 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.
- "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.
- Backoff
Mode 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.
- Backoff
Mode 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.
- backoff
Mode 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.
- backoff
Mode 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.
- backoff
Mode 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.
Rollback, RollbackArgs
- Destination
Phase string - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- Destination
Phase string - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination
Phase String - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination
Phase string - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination_
phase str - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination
Phase String - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
RollbackResponse, RollbackResponseArgs
- Destination
Phase string - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- Destination
Phase string - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination
Phase String - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination
Phase string - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination_
phase str - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will start in the stable phase.
- destination
Phase String - Optional. The starting phase ID for the
Rollout
. If unspecified, theRollout
will 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
- Missing
Targets 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.
- Update
Time string - Last time the condition was updated.
- Missing
Targets []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.
- Update
Time string - Last time the condition was updated.
- missing
Targets 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.
- update
Time String - Last time the condition was updated.
- missing
Targets 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.
- update
Time 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.
- missing
Targets 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.
- update
Time 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.