Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.24.0 published on Tuesday, May 17, 2022 by Pulumi

getGameServerDeploymentRollout

Use this data source to get the rollout state.

https://cloud.google.com/game-servers/docs/reference/rest/v1beta/GameServerDeploymentRollout

Example Usage

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var qa = Output.Create(Gcp.GameServices.GetGameServerDeploymentRollout.InvokeAsync(new Gcp.GameServices.GetGameServerDeploymentRolloutArgs
        {
            DeploymentId = "tf-test-deployment-s8sn12jt2c",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/gameservices"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gameservices.LookupGameServerDeploymentRollout(ctx, &gameservices.LookupGameServerDeploymentRolloutArgs{
			DeploymentId: "tf-test-deployment-s8sn12jt2c",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var qa = Output.of(GameservicesFunctions.getGameServerDeploymentRollout(GetGameServerDeploymentRolloutArgs.builder()
            .deploymentId("tf-test-deployment-s8sn12jt2c")
            .build()));

        }
}
import pulumi
import pulumi_gcp as gcp

qa = gcp.gameservices.get_game_server_deployment_rollout(deployment_id="tf-test-deployment-s8sn12jt2c")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const qa = pulumi.output(gcp.gameservices.getGameServerDeploymentRollout({
    deploymentId: "tf-test-deployment-s8sn12jt2c",
}));
variables:
  qa:
    Fn::Invoke:
      Function: gcp:gameservices:getGameServerDeploymentRollout
      Arguments:
        deploymentId: tf-test-deployment-s8sn12jt2c

Using getGameServerDeploymentRollout

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 getGameServerDeploymentRollout(args: GetGameServerDeploymentRolloutArgs, opts?: InvokeOptions): Promise<GetGameServerDeploymentRolloutResult>
function getGameServerDeploymentRolloutOutput(args: GetGameServerDeploymentRolloutOutputArgs, opts?: InvokeOptions): Output<GetGameServerDeploymentRolloutResult>
def get_game_server_deployment_rollout(deployment_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetGameServerDeploymentRolloutResult
def get_game_server_deployment_rollout_output(deployment_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetGameServerDeploymentRolloutResult]
func LookupGameServerDeploymentRollout(ctx *Context, args *LookupGameServerDeploymentRolloutArgs, opts ...InvokeOption) (*LookupGameServerDeploymentRolloutResult, error)
func LookupGameServerDeploymentRolloutOutput(ctx *Context, args *LookupGameServerDeploymentRolloutOutputArgs, opts ...InvokeOption) LookupGameServerDeploymentRolloutResultOutput

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

public static class GetGameServerDeploymentRollout 
{
    public static Task<GetGameServerDeploymentRolloutResult> InvokeAsync(GetGameServerDeploymentRolloutArgs args, InvokeOptions? opts = null)
    public static Output<GetGameServerDeploymentRolloutResult> Invoke(GetGameServerDeploymentRolloutInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGameServerDeploymentRolloutResult> getGameServerDeploymentRollout(GetGameServerDeploymentRolloutArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: gcp:gameservices/getGameServerDeploymentRollout:getGameServerDeploymentRollout
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DeploymentId string

The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.

DeploymentId string

The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.

deploymentId String

The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.

deploymentId string

The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.

deployment_id str

The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.

deploymentId String

The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.

getGameServerDeploymentRollout Result

The following output properties are available:

DefaultGameServerConfig string
DeploymentId string
GameServerConfigOverrides List<GetGameServerDeploymentRolloutGameServerConfigOverride>
Id string

The provider-assigned unique ID for this managed resource.

Name string
Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

DefaultGameServerConfig string
DeploymentId string
GameServerConfigOverrides []GetGameServerDeploymentRolloutGameServerConfigOverride
Id string

The provider-assigned unique ID for this managed resource.

Name string
Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

defaultGameServerConfig String
deploymentId String
gameServerConfigOverrides ListGameServerDeploymentRolloutGameServerConfigOverride>
id String

The provider-assigned unique ID for this managed resource.

name String
project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

defaultGameServerConfig string
deploymentId string
gameServerConfigOverrides GetGameServerDeploymentRolloutGameServerConfigOverride[]
id string

The provider-assigned unique ID for this managed resource.

name string
project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

default_game_server_config str
deployment_id str
game_server_config_overrides Sequence[GetGameServerDeploymentRolloutGameServerConfigOverride]
id str

The provider-assigned unique ID for this managed resource.

name str
project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

defaultGameServerConfig String
deploymentId String
gameServerConfigOverrides List
id String

The provider-assigned unique ID for this managed resource.

name String
project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Supporting Types

GetGameServerDeploymentRolloutGameServerConfigOverride

GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

Realms List<string>
Realms []string
realms List
realms string[]
realms Sequence[str]
realms List

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.