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.servicemanagement/v1.getRollout
Explore with Pulumi AI
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 a service configuration rollout.
Using getRollout
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 getRollout(args: GetRolloutArgs, opts?: InvokeOptions): Promise<GetRolloutResult>
function getRolloutOutput(args: GetRolloutOutputArgs, opts?: InvokeOptions): Output<GetRolloutResult>
def get_rollout(rollout_id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRolloutResult
def get_rollout_output(rollout_id: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRolloutResult]
func LookupRollout(ctx *Context, args *LookupRolloutArgs, opts ...InvokeOption) (*LookupRolloutResult, error)
func LookupRolloutOutput(ctx *Context, args *LookupRolloutOutputArgs, opts ...InvokeOption) LookupRolloutResultOutput
> Note: This function is named LookupRollout
in the Go SDK.
public static class GetRollout
{
public static Task<GetRolloutResult> InvokeAsync(GetRolloutArgs args, InvokeOptions? opts = null)
public static Output<GetRolloutResult> Invoke(GetRolloutInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRolloutResult> getRollout(GetRolloutArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:servicemanagement/v1:getRollout
arguments:
# arguments dictionary
The following arguments are supported:
- Rollout
Id string - Service
Name string
- Rollout
Id string - Service
Name string
- rollout
Id String - service
Name String
- rollout
Id string - service
Name string
- rollout_
id str - service_
name str
- rollout
Id String - service
Name String
getRollout Result
The following output properties are available:
- Create
Time string - Creation time of the rollout. Readonly.
- Created
By string - The user who created the Rollout. Readonly.
- Delete
Service Pulumi.Strategy Google Native. Service Management. V1. Outputs. Delete Service Strategy Response - The strategy associated with a rollout to delete a
ManagedService
. Readonly. - Rollout
Id string - Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- Service
Name string - The name of the service associated with this Rollout.
- Status string
- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
- Traffic
Percent Pulumi.Strategy Google Native. Service Management. V1. Outputs. Traffic Percent Strategy Response - Google Service Control selects service configurations based on traffic percentage.
- Create
Time string - Creation time of the rollout. Readonly.
- Created
By string - The user who created the Rollout. Readonly.
- Delete
Service DeleteStrategy Service Strategy Response - The strategy associated with a rollout to delete a
ManagedService
. Readonly. - Rollout
Id string - Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- Service
Name string - The name of the service associated with this Rollout.
- Status string
- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
- Traffic
Percent TrafficStrategy Percent Strategy Response - Google Service Control selects service configurations based on traffic percentage.
- create
Time String - Creation time of the rollout. Readonly.
- created
By String - The user who created the Rollout. Readonly.
- delete
Service DeleteStrategy Service Strategy Response - The strategy associated with a rollout to delete a
ManagedService
. Readonly. - rollout
Id String - Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- service
Name String - The name of the service associated with this Rollout.
- status String
- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
- traffic
Percent TrafficStrategy Percent Strategy Response - Google Service Control selects service configurations based on traffic percentage.
- create
Time string - Creation time of the rollout. Readonly.
- created
By string - The user who created the Rollout. Readonly.
- delete
Service DeleteStrategy Service Strategy Response - The strategy associated with a rollout to delete a
ManagedService
. Readonly. - rollout
Id string - Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- service
Name string - The name of the service associated with this Rollout.
- status string
- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
- traffic
Percent TrafficStrategy Percent Strategy Response - Google Service Control selects service configurations based on traffic percentage.
- create_
time str - Creation time of the rollout. Readonly.
- created_
by str - The user who created the Rollout. Readonly.
- delete_
service_ Deletestrategy Service Strategy Response - The strategy associated with a rollout to delete a
ManagedService
. Readonly. - rollout_
id str - Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- service_
name str - The name of the service associated with this Rollout.
- status str
- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
- traffic_
percent_ Trafficstrategy Percent Strategy Response - Google Service Control selects service configurations based on traffic percentage.
- create
Time String - Creation time of the rollout. Readonly.
- created
By String - The user who created the Rollout. Readonly.
- delete
Service Property MapStrategy - The strategy associated with a rollout to delete a
ManagedService
. Readonly. - rollout
Id String - Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1'
- service
Name String - The name of the service associated with this Rollout.
- status String
- The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly.
- traffic
Percent Property MapStrategy - Google Service Control selects service configurations based on traffic percentage.
Supporting Types
TrafficPercentStrategyResponse
- Percentages Dictionary<string, string>
- Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
- Percentages map[string]string
- Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
- percentages Map<String,String>
- Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
- percentages {[key: string]: string}
- Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
- percentages Mapping[str, str]
- Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
- percentages Map<String>
- Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi