GameServerDeploymentRollout

This represents the rollout state. This is part of the game server deployment.

To get more information about GameServerDeploymentRollout, see:

Example Usage

Game Service Deployment Rollout Basic

using System.Collections.Generic;
using System.Text.Json;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var defaultGameServerDeployment = new Gcp.GameServices.GameServerDeployment("defaultGameServerDeployment", new()
    {
        DeploymentId = "tf-test-deployment",
        Description = "a deployment description",
    });

    var defaultGameServerConfig = new Gcp.GameServices.GameServerConfig("defaultGameServerConfig", new()
    {
        ConfigId = "tf-test-config",
        DeploymentId = defaultGameServerDeployment.DeploymentId,
        Description = "a config description",
        FleetConfigs = new[]
        {
            new Gcp.GameServices.Inputs.GameServerConfigFleetConfigArgs
            {
                Name = "some-non-guid",
                FleetSpec = JsonSerializer.Serialize(new Dictionary<string, object?>
                {
                    ["replicas"] = 1,
                    ["scheduling"] = "Packed",
                    ["template"] = new Dictionary<string, object?>
                    {
                        ["metadata"] = new Dictionary<string, object?>
                        {
                            ["name"] = "tf-test-game-server-template",
                        },
                        ["spec"] = new Dictionary<string, object?>
                        {
                            ["ports"] = new[]
                            {
                                new Dictionary<string, object?>
                                {
                                    ["name"] = "default",
                                    ["portPolicy"] = "Dynamic",
                                    ["containerPort"] = 7654,
                                    ["protocol"] = "UDP",
                                },
                            },
                            ["template"] = new Dictionary<string, object?>
                            {
                                ["spec"] = new Dictionary<string, object?>
                                {
                                    ["containers"] = new[]
                                    {
                                        new Dictionary<string, object?>
                                        {
                                            ["name"] = "simple-udp-server",
                                            ["image"] = "gcr.io/agones-images/udp-server:0.14",
                                        },
                                    },
                                },
                            },
                        },
                    },
                }),
            },
        },
    });

    var defaultGameServerDeploymentRollout = new Gcp.GameServices.GameServerDeploymentRollout("defaultGameServerDeploymentRollout", new()
    {
        DeploymentId = defaultGameServerDeployment.DeploymentId,
        DefaultGameServerConfig = defaultGameServerConfig.Name,
    });

});
package main

import (
	"encoding/json"

	"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 {
		defaultGameServerDeployment, err := gameservices.NewGameServerDeployment(ctx, "defaultGameServerDeployment", &gameservices.GameServerDeploymentArgs{
			DeploymentId: pulumi.String("tf-test-deployment"),
			Description:  pulumi.String("a deployment description"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"replicas":   1,
			"scheduling": "Packed",
			"template": map[string]interface{}{
				"metadata": map[string]interface{}{
					"name": "tf-test-game-server-template",
				},
				"spec": map[string]interface{}{
					"ports": []map[string]interface{}{
						map[string]interface{}{
							"name":          "default",
							"portPolicy":    "Dynamic",
							"containerPort": 7654,
							"protocol":      "UDP",
						},
					},
					"template": map[string]interface{}{
						"spec": map[string]interface{}{
							"containers": []map[string]interface{}{
								map[string]interface{}{
									"name":  "simple-udp-server",
									"image": "gcr.io/agones-images/udp-server:0.14",
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		defaultGameServerConfig, err := gameservices.NewGameServerConfig(ctx, "defaultGameServerConfig", &gameservices.GameServerConfigArgs{
			ConfigId:     pulumi.String("tf-test-config"),
			DeploymentId: defaultGameServerDeployment.DeploymentId,
			Description:  pulumi.String("a config description"),
			FleetConfigs: gameservices.GameServerConfigFleetConfigArray{
				&gameservices.GameServerConfigFleetConfigArgs{
					Name:      pulumi.String("some-non-guid"),
					FleetSpec: pulumi.String(json0),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = gameservices.NewGameServerDeploymentRollout(ctx, "defaultGameServerDeploymentRollout", &gameservices.GameServerDeploymentRolloutArgs{
			DeploymentId:            defaultGameServerDeployment.DeploymentId,
			DefaultGameServerConfig: defaultGameServerConfig.Name,
		})
		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.GameServerDeployment;
import com.pulumi.gcp.gameservices.GameServerDeploymentArgs;
import com.pulumi.gcp.gameservices.GameServerConfig;
import com.pulumi.gcp.gameservices.GameServerConfigArgs;
import com.pulumi.gcp.gameservices.inputs.GameServerConfigFleetConfigArgs;
import com.pulumi.gcp.gameservices.GameServerDeploymentRollout;
import com.pulumi.gcp.gameservices.GameServerDeploymentRolloutArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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) {
        var defaultGameServerDeployment = new GameServerDeployment("defaultGameServerDeployment", GameServerDeploymentArgs.builder()        
            .deploymentId("tf-test-deployment")
            .description("a deployment description")
            .build());

        var defaultGameServerConfig = new GameServerConfig("defaultGameServerConfig", GameServerConfigArgs.builder()        
            .configId("tf-test-config")
            .deploymentId(defaultGameServerDeployment.deploymentId())
            .description("a config description")
            .fleetConfigs(GameServerConfigFleetConfigArgs.builder()
                .name("some-non-guid")
                .fleetSpec(serializeJson(
                    jsonObject(
                        jsonProperty("replicas", 1),
                        jsonProperty("scheduling", "Packed"),
                        jsonProperty("template", jsonObject(
                            jsonProperty("metadata", jsonObject(
                                jsonProperty("name", "tf-test-game-server-template")
                            )),
                            jsonProperty("spec", jsonObject(
                                jsonProperty("ports", jsonArray(jsonObject(
                                    jsonProperty("name", "default"),
                                    jsonProperty("portPolicy", "Dynamic"),
                                    jsonProperty("containerPort", 7654),
                                    jsonProperty("protocol", "UDP")
                                ))),
                                jsonProperty("template", jsonObject(
                                    jsonProperty("spec", jsonObject(
                                        jsonProperty("containers", jsonArray(jsonObject(
                                            jsonProperty("name", "simple-udp-server"),
                                            jsonProperty("image", "gcr.io/agones-images/udp-server:0.14")
                                        )))
                                    ))
                                ))
                            ))
                        ))
                    )))
                .build())
            .build());

        var defaultGameServerDeploymentRollout = new GameServerDeploymentRollout("defaultGameServerDeploymentRollout", GameServerDeploymentRolloutArgs.builder()        
            .deploymentId(defaultGameServerDeployment.deploymentId())
            .defaultGameServerConfig(defaultGameServerConfig.name())
            .build());

    }
}
import pulumi
import json
import pulumi_gcp as gcp

default_game_server_deployment = gcp.gameservices.GameServerDeployment("defaultGameServerDeployment",
    deployment_id="tf-test-deployment",
    description="a deployment description")
default_game_server_config = gcp.gameservices.GameServerConfig("defaultGameServerConfig",
    config_id="tf-test-config",
    deployment_id=default_game_server_deployment.deployment_id,
    description="a config description",
    fleet_configs=[gcp.gameservices.GameServerConfigFleetConfigArgs(
        name="some-non-guid",
        fleet_spec=json.dumps({
            "replicas": 1,
            "scheduling": "Packed",
            "template": {
                "metadata": {
                    "name": "tf-test-game-server-template",
                },
                "spec": {
                    "ports": [{
                        "name": "default",
                        "portPolicy": "Dynamic",
                        "containerPort": 7654,
                        "protocol": "UDP",
                    }],
                    "template": {
                        "spec": {
                            "containers": [{
                                "name": "simple-udp-server",
                                "image": "gcr.io/agones-images/udp-server:0.14",
                            }],
                        },
                    },
                },
            },
        }),
    )])
default_game_server_deployment_rollout = gcp.gameservices.GameServerDeploymentRollout("defaultGameServerDeploymentRollout",
    deployment_id=default_game_server_deployment.deployment_id,
    default_game_server_config=default_game_server_config.name)
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const defaultGameServerDeployment = new gcp.gameservices.GameServerDeployment("defaultGameServerDeployment", {
    deploymentId: "tf-test-deployment",
    description: "a deployment description",
});
const defaultGameServerConfig = new gcp.gameservices.GameServerConfig("defaultGameServerConfig", {
    configId: "tf-test-config",
    deploymentId: defaultGameServerDeployment.deploymentId,
    description: "a config description",
    fleetConfigs: [{
        name: "some-non-guid",
        fleetSpec: JSON.stringify({
            replicas: 1,
            scheduling: "Packed",
            template: {
                metadata: {
                    name: "tf-test-game-server-template",
                },
                spec: {
                    ports: [{
                        name: "default",
                        portPolicy: "Dynamic",
                        containerPort: 7654,
                        protocol: "UDP",
                    }],
                    template: {
                        spec: {
                            containers: [{
                                name: "simple-udp-server",
                                image: "gcr.io/agones-images/udp-server:0.14",
                            }],
                        },
                    },
                },
            },
        }),
    }],
});
const defaultGameServerDeploymentRollout = new gcp.gameservices.GameServerDeploymentRollout("defaultGameServerDeploymentRollout", {
    deploymentId: defaultGameServerDeployment.deploymentId,
    defaultGameServerConfig: defaultGameServerConfig.name,
});
resources:
  defaultGameServerDeployment:
    type: gcp:gameservices:GameServerDeployment
    properties:
      deploymentId: tf-test-deployment
      description: a deployment description
  defaultGameServerConfig:
    type: gcp:gameservices:GameServerConfig
    properties:
      configId: tf-test-config
      deploymentId: ${defaultGameServerDeployment.deploymentId}
      description: a config description
      fleetConfigs:
        - name: some-non-guid
          fleetSpec:
            fn::toJSON:
              replicas: 1
              scheduling: Packed
              template:
                metadata:
                  name: tf-test-game-server-template
                spec:
                  ports:
                    - name: default
                      portPolicy: Dynamic
                      containerPort: 7654
                      protocol: UDP
                  template:
                    spec:
                      containers:
                        - name: simple-udp-server
                          image: gcr.io/agones-images/udp-server:0.14
  defaultGameServerDeploymentRollout:
    type: gcp:gameservices:GameServerDeploymentRollout
    properties:
      deploymentId: ${defaultGameServerDeployment.deploymentId}
      defaultGameServerConfig: ${defaultGameServerConfig.name}

Create GameServerDeploymentRollout Resource

new GameServerDeploymentRollout(name: string, args: GameServerDeploymentRolloutArgs, opts?: CustomResourceOptions);
@overload
def GameServerDeploymentRollout(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                default_game_server_config: Optional[str] = None,
                                deployment_id: Optional[str] = None,
                                game_server_config_overrides: Optional[Sequence[GameServerDeploymentRolloutGameServerConfigOverrideArgs]] = None,
                                project: Optional[str] = None)
@overload
def GameServerDeploymentRollout(resource_name: str,
                                args: GameServerDeploymentRolloutArgs,
                                opts: Optional[ResourceOptions] = None)
func NewGameServerDeploymentRollout(ctx *Context, name string, args GameServerDeploymentRolloutArgs, opts ...ResourceOption) (*GameServerDeploymentRollout, error)
public GameServerDeploymentRollout(string name, GameServerDeploymentRolloutArgs args, CustomResourceOptions? opts = null)
public GameServerDeploymentRollout(String name, GameServerDeploymentRolloutArgs args)
public GameServerDeploymentRollout(String name, GameServerDeploymentRolloutArgs args, CustomResourceOptions options)
type: gcp:gameservices:GameServerDeploymentRollout
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args GameServerDeploymentRolloutArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args GameServerDeploymentRolloutArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args GameServerDeploymentRolloutArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GameServerDeploymentRolloutArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GameServerDeploymentRolloutArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

GameServerDeploymentRollout Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The GameServerDeploymentRollout resource accepts the following input properties:

DefaultGameServerConfig string

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.

DeploymentId string

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

GameServerConfigOverrides List<GameServerDeploymentRolloutGameServerConfigOverrideArgs>

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.

Project string

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

DefaultGameServerConfig string

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.

DeploymentId string

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

GameServerConfigOverrides []GameServerDeploymentRolloutGameServerConfigOverrideArgs

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.

Project string

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

defaultGameServerConfig String

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.

deploymentId String

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

gameServerConfigOverrides List<GameServerDeploymentRolloutGameServerConfigOverrideArgs>

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.

project String

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

defaultGameServerConfig string

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.

deploymentId string

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

gameServerConfigOverrides GameServerDeploymentRolloutGameServerConfigOverrideArgs[]

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.

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

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

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

game_server_config_overrides Sequence[GameServerDeploymentRolloutGameServerConfigOverrideArgs]

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.

project str

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

defaultGameServerConfig String

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.

deploymentId String

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

gameServerConfigOverrides List<Property Map>

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.

project String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the GameServerDeploymentRollout resource produces the following output properties:

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

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

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

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

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

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

Look up Existing GameServerDeploymentRollout Resource

Get an existing GameServerDeploymentRollout resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GameServerDeploymentRolloutState, opts?: CustomResourceOptions): GameServerDeploymentRollout
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default_game_server_config: Optional[str] = None,
        deployment_id: Optional[str] = None,
        game_server_config_overrides: Optional[Sequence[GameServerDeploymentRolloutGameServerConfigOverrideArgs]] = None,
        name: Optional[str] = None,
        project: Optional[str] = None) -> GameServerDeploymentRollout
func GetGameServerDeploymentRollout(ctx *Context, name string, id IDInput, state *GameServerDeploymentRolloutState, opts ...ResourceOption) (*GameServerDeploymentRollout, error)
public static GameServerDeploymentRollout Get(string name, Input<string> id, GameServerDeploymentRolloutState? state, CustomResourceOptions? opts = null)
public static GameServerDeploymentRollout get(String name, Output<String> id, GameServerDeploymentRolloutState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DefaultGameServerConfig string

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.

DeploymentId string

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

GameServerConfigOverrides List<GameServerDeploymentRolloutGameServerConfigOverrideArgs>

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.

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.

DefaultGameServerConfig string

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.

DeploymentId string

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

GameServerConfigOverrides []GameServerDeploymentRolloutGameServerConfigOverrideArgs

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.

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.

defaultGameServerConfig String

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.

deploymentId String

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

gameServerConfigOverrides List<GameServerDeploymentRolloutGameServerConfigOverrideArgs>

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.

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.

defaultGameServerConfig string

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.

deploymentId string

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

gameServerConfigOverrides GameServerDeploymentRolloutGameServerConfigOverrideArgs[]

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.

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_server_config str

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

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

game_server_config_overrides Sequence[GameServerDeploymentRolloutGameServerConfigOverrideArgs]

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.

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.

defaultGameServerConfig String

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.

deploymentId String

The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.

gameServerConfigOverrides List<Property Map>

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.

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

GameServerDeploymentRolloutGameServerConfigOverride

ConfigVersion string

Version of the configuration.

RealmsSelector GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

Selection by realms. Structure is documented below.

ConfigVersion string

Version of the configuration.

RealmsSelector GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

Selection by realms. Structure is documented below.

configVersion String

Version of the configuration.

realmsSelector GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

Selection by realms. Structure is documented below.

configVersion string

Version of the configuration.

realmsSelector GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

Selection by realms. Structure is documented below.

config_version str

Version of the configuration.

realms_selector GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

Selection by realms. Structure is documented below.

configVersion String

Version of the configuration.

realmsSelector Property Map

Selection by realms. Structure is documented below.

GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

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.

Import

GameServerDeploymentRollout can be imported using any of these accepted formats

 $ pulumi import gcp:gameservices/gameServerDeploymentRollout:GameServerDeploymentRollout default projects/{{project}}/locations/global/gameServerDeployments/{{deployment_id}}/rollout
 $ pulumi import gcp:gameservices/gameServerDeploymentRollout:GameServerDeploymentRollout default {{project}}/{{deployment_id}}
 $ pulumi import gcp:gameservices/gameServerDeploymentRollout:GameServerDeploymentRollout default {{deployment_id}}

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.