Google Cloud Classic v6.57.0, May 30 23
Google Cloud Classic v6.57.0, May 30 23
gcp.gameservices.getGameServerDeploymentRollout
Explore with Pulumi AI
Use this data source to get the rollout state.
https://cloud.google.com/game-servers/docs/reference/rest/v1beta/GameServerDeploymentRollout
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var qa = Gcp.GameServices.GetGameServerDeploymentRollout.Invoke(new()
{
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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gameservices.GameservicesFunctions;
import com.pulumi.gcp.gameservices.inputs.GetGameServerDeploymentRolloutArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var qa = 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 = 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 This field points to the game server config that is applied by default to all realms and clusters. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- Deployment
Id string - Game
Server List<GetConfig Overrides Game Server Deployment Rollout Game Server Config Override> The game_server_config_overrides contains the per game server config overrides. The overrides are processed in the order they are listed. As soon as a match is found for a cluster, the rest of the list is not processed. Structure is documented below.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource id of the game server deployment eg:
projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout
.- 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 This field points to the game server config that is applied by default to all realms and clusters. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- Deployment
Id string - Game
Server []GetConfig Overrides Game Server Deployment Rollout Game Server Config Override The game_server_config_overrides contains the per game server config overrides. The overrides are processed in the order they are listed. As soon as a match is found for a cluster, the rest of the list is not processed. Structure is documented below.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource id of the game server deployment eg:
projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout
.- 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 This field points to the game server config that is applied by default to all realms and clusters. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- deployment
Id String - game
Server List<GetConfig Overrides Game Server Deployment Rollout Game Server Config Override> The game_server_config_overrides contains the per game server config overrides. The overrides are processed in the order they are listed. As soon as a match is found for a cluster, the rest of the list is not processed. Structure is documented below.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource id of the game server deployment eg:
projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout
.- 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 This field points to the game server config that is applied by default to all realms and clusters. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- deployment
Id string - game
Server GetConfig Overrides Game Server Deployment Rollout Game Server Config Override[] The game_server_config_overrides contains the per game server config overrides. The overrides are processed in the order they are listed. As soon as a match is found for a cluster, the rest of the list is not processed. Structure is documented below.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The resource id of the game server deployment eg:
projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout
.- 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 This field points to the game server config that is applied by default to all realms and clusters. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- deployment_
id str - game_
server_ Sequence[Getconfig_ overrides Game Server Deployment Rollout Game Server Config Override] The game_server_config_overrides contains the per game server config overrides. The overrides are processed in the order they are listed. As soon as a match is found for a cluster, the rest of the list is not processed. Structure is documented below.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The resource id of the game server deployment eg:
projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout
.- 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 This field points to the game server config that is applied by default to all realms and clusters. For example,
projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config
.- deployment
Id String - game
Server List<Property Map>Config Overrides The game_server_config_overrides contains the per game server config overrides. The overrides are processed in the order they are listed. As soon as a match is found for a cluster, the rest of the list is not processed. Structure is documented below.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource id of the game server deployment eg:
projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout
.- 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 Version of the configuration.
- Realms
Selectors List<GetGame Server Deployment Rollout Game Server Config Override Realms Selector> Selection by realms. Structure is documented below.
- Config
Version string Version of the configuration.
- Realms
Selectors []GetGame Server Deployment Rollout Game Server Config Override Realms Selector Selection by realms. Structure is documented below.
- config
Version String Version of the configuration.
- realms
Selectors List<GetGame Server Deployment Rollout Game Server Config Override Realms Selector> Selection by realms. Structure is documented below.
- config
Version string Version of the configuration.
- realms
Selectors GetGame Server Deployment Rollout Game Server Config Override Realms Selector[] Selection by realms. Structure is documented below.
- config_
version str Version of the configuration.
- realms_
selectors Sequence[GetGame Server Deployment Rollout Game Server Config Override Realms Selector] Selection by realms. Structure is documented below.
- config
Version String Version of the configuration.
- realms
Selectors List<Property Map> Selection by realms. Structure is documented below.
GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector
- Realms List<string>
List of realms to match against.
- Realms []string
List of realms to match against.
- realms List<String>
List of realms to match against.
- realms string[]
List of realms to match against.
- realms Sequence[str]
List of realms to match against.
- realms List<String>
List of realms to match against.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.