Google Cloud (GCP) Classic
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:
- Deployment
Id string The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.
- Deployment
Id string The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.
- deployment
Id String The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.
- deployment
Id 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.
- deployment
Id 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:
- Default
Game stringServer Config - Deployment
Id string - Game
Server List<GetConfig Overrides Game Server Deployment Rollout Game Server Config Override> - 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 stringServer Config - Deployment
Id string - Game
Server []GetConfig Overrides Game Server Deployment Rollout Game Server Config Override - 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 StringServer Config - deployment
Id String - game
Server ListConfig Overrides Game Server Deployment Rollout Game Server Config Override> - 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 stringServer Config - deployment
Id string - game
Server GetConfig Overrides Game Server Deployment Rollout Game Server Config Override[] - 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_ strserver_ config - deployment_
id str - game_
server_ Sequence[Getconfig_ overrides Game Server Deployment Rollout Game Server Config Override] - 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.
- default
Game StringServer Config - deployment
Id String - game
Server ListConfig Overrides - 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
- config
Version String - realms
Selectors List
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.