google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.servicemanagement/v1.getRollout

Explore with Pulumi AI

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:

RolloutId string
ServiceName string
RolloutId string
ServiceName string
rolloutId String
serviceName String
rolloutId string
serviceName string
rolloutId String
serviceName String

getRollout Result

The following output properties are available:

CreateTime string

Creation time of the rollout. Readonly.

CreatedBy string

The user who created the Rollout. Readonly.

DeleteServiceStrategy Pulumi.GoogleNative.ServiceManagement.V1.Outputs.DeleteServiceStrategyResponse

The strategy associated with a rollout to delete a ManagedService. Readonly.

RolloutId 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'

ServiceName 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.

TrafficPercentStrategy Pulumi.GoogleNative.ServiceManagement.V1.Outputs.TrafficPercentStrategyResponse

Google Service Control selects service configurations based on traffic percentage.

CreateTime string

Creation time of the rollout. Readonly.

CreatedBy string

The user who created the Rollout. Readonly.

DeleteServiceStrategy DeleteServiceStrategyResponse

The strategy associated with a rollout to delete a ManagedService. Readonly.

RolloutId 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'

ServiceName 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.

TrafficPercentStrategy TrafficPercentStrategyResponse

Google Service Control selects service configurations based on traffic percentage.

createTime String

Creation time of the rollout. Readonly.

createdBy String

The user who created the Rollout. Readonly.

deleteServiceStrategy DeleteServiceStrategyResponse

The strategy associated with a rollout to delete a ManagedService. Readonly.

rolloutId 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'

serviceName 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.

trafficPercentStrategy TrafficPercentStrategyResponse

Google Service Control selects service configurations based on traffic percentage.

createTime string

Creation time of the rollout. Readonly.

createdBy string

The user who created the Rollout. Readonly.

deleteServiceStrategy DeleteServiceStrategyResponse

The strategy associated with a rollout to delete a ManagedService. Readonly.

rolloutId 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'

serviceName 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.

trafficPercentStrategy TrafficPercentStrategyResponse

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_strategy DeleteServiceStrategyResponse

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_strategy TrafficPercentStrategyResponse

Google Service Control selects service configurations based on traffic percentage.

createTime String

Creation time of the rollout. Readonly.

createdBy String

The user who created the Rollout. Readonly.

deleteServiceStrategy Property Map

The strategy associated with a rollout to delete a ManagedService. Readonly.

rolloutId 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'

serviceName 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.

trafficPercentStrategy Property Map

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