gameservices

package
v3.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameServerCluster

type GameServerCluster struct {
	pulumi.CustomResourceState

	// Required. The resource name of the game server cluster
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Game server cluster connection information. This information is used to
	// manage game server clusters.
	// Structure is documented below.
	ConnectionInfo GameServerClusterConnectionInfoOutput `pulumi:"connectionInfo"`
	// Human readable description of the cluster.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The labels associated with this game server cluster. Each label is a
	// key-value pair.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Location of the Cluster.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The resource id of the game server cluster, eg:
	// 'projects/{project_id}/locations/{location}/realms/{realm_id}/gameServerClusters/{cluster_id}'. For example,
	// 'projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster'.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The realm id of the game server realm.
	RealmId pulumi.StringOutput `pulumi:"realmId"`
}

A game server cluster resource.

To get more information about GameServerCluster, see:

* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/projects.locations.realms.gameServerClusters) * How-to Guides

## Example Usage

func GetGameServerCluster

func GetGameServerCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GameServerClusterState, opts ...pulumi.ResourceOption) (*GameServerCluster, error)

GetGameServerCluster gets an existing GameServerCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGameServerCluster

func NewGameServerCluster(ctx *pulumi.Context,
	name string, args *GameServerClusterArgs, opts ...pulumi.ResourceOption) (*GameServerCluster, error)

NewGameServerCluster registers a new resource with the given unique name, arguments, and options.

type GameServerClusterArgs

type GameServerClusterArgs struct {
	// Required. The resource name of the game server cluster
	ClusterId pulumi.StringInput
	// Game server cluster connection information. This information is used to
	// manage game server clusters.
	// Structure is documented below.
	ConnectionInfo GameServerClusterConnectionInfoInput
	// Human readable description of the cluster.
	Description pulumi.StringPtrInput
	// The labels associated with this game server cluster. Each label is a
	// key-value pair.
	Labels pulumi.StringMapInput
	// Location of the Cluster.
	Location pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The realm id of the game server realm.
	RealmId pulumi.StringInput
}

The set of arguments for constructing a GameServerCluster resource.

func (GameServerClusterArgs) ElementType

func (GameServerClusterArgs) ElementType() reflect.Type

type GameServerClusterConnectionInfo

type GameServerClusterConnectionInfo struct {
	// Reference of the GKE cluster where the game servers are installed.
	// Structure is documented below.
	GkeClusterReference GameServerClusterConnectionInfoGkeClusterReference `pulumi:"gkeClusterReference"`
	// Namespace designated on the game server cluster where the game server
	// instances will be created. The namespace existence will be validated
	// during creation.
	Namespace string `pulumi:"namespace"`
}

type GameServerClusterConnectionInfoArgs

type GameServerClusterConnectionInfoArgs struct {
	// Reference of the GKE cluster where the game servers are installed.
	// Structure is documented below.
	GkeClusterReference GameServerClusterConnectionInfoGkeClusterReferenceInput `pulumi:"gkeClusterReference"`
	// Namespace designated on the game server cluster where the game server
	// instances will be created. The namespace existence will be validated
	// during creation.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

func (GameServerClusterConnectionInfoArgs) ElementType

func (GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoOutput

func (i GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoOutput() GameServerClusterConnectionInfoOutput

func (GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoOutputWithContext

func (i GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoOutput

func (GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoPtrOutput

func (i GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoPtrOutput() GameServerClusterConnectionInfoPtrOutput

func (GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoPtrOutputWithContext

func (i GameServerClusterConnectionInfoArgs) ToGameServerClusterConnectionInfoPtrOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoPtrOutput

type GameServerClusterConnectionInfoGkeClusterReference

type GameServerClusterConnectionInfoGkeClusterReference struct {
	// The full or partial name of a GKE cluster, using one of the following
	// forms:
	// * `projects/{project_id}/locations/{location}/clusters/{cluster_id}`
	// * `locations/{location}/clusters/{cluster_id}`
	// * `{cluster_id}`
	//   If project and location are not specified, the project and location of the
	//   GameServerCluster resource are used to generate the full name of the
	//   GKE cluster.
	Cluster string `pulumi:"cluster"`
}

type GameServerClusterConnectionInfoGkeClusterReferenceArgs

type GameServerClusterConnectionInfoGkeClusterReferenceArgs struct {
	// The full or partial name of a GKE cluster, using one of the following
	// forms:
	// * `projects/{project_id}/locations/{location}/clusters/{cluster_id}`
	// * `locations/{location}/clusters/{cluster_id}`
	// * `{cluster_id}`
	//   If project and location are not specified, the project and location of the
	//   GameServerCluster resource are used to generate the full name of the
	//   GKE cluster.
	Cluster pulumi.StringInput `pulumi:"cluster"`
}

func (GameServerClusterConnectionInfoGkeClusterReferenceArgs) ElementType

func (GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferenceOutput

func (GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferenceOutputWithContext

func (i GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferenceOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoGkeClusterReferenceOutput

func (GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutput added in v3.2.0

func (i GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutput() GameServerClusterConnectionInfoGkeClusterReferencePtrOutput

func (GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext added in v3.2.0

func (i GameServerClusterConnectionInfoGkeClusterReferenceArgs) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoGkeClusterReferencePtrOutput

type GameServerClusterConnectionInfoGkeClusterReferenceInput

type GameServerClusterConnectionInfoGkeClusterReferenceInput interface {
	pulumi.Input

	ToGameServerClusterConnectionInfoGkeClusterReferenceOutput() GameServerClusterConnectionInfoGkeClusterReferenceOutput
	ToGameServerClusterConnectionInfoGkeClusterReferenceOutputWithContext(context.Context) GameServerClusterConnectionInfoGkeClusterReferenceOutput
}

GameServerClusterConnectionInfoGkeClusterReferenceInput is an input type that accepts GameServerClusterConnectionInfoGkeClusterReferenceArgs and GameServerClusterConnectionInfoGkeClusterReferenceOutput values. You can construct a concrete instance of `GameServerClusterConnectionInfoGkeClusterReferenceInput` via:

GameServerClusterConnectionInfoGkeClusterReferenceArgs{...}

type GameServerClusterConnectionInfoGkeClusterReferenceOutput

type GameServerClusterConnectionInfoGkeClusterReferenceOutput struct{ *pulumi.OutputState }

func (GameServerClusterConnectionInfoGkeClusterReferenceOutput) Cluster

The full or partial name of a GKE cluster, using one of the following forms:

  • `projects/{project_id}/locations/{location}/clusters/{cluster_id}`
  • `locations/{location}/clusters/{cluster_id}`
  • `{cluster_id}` If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.

func (GameServerClusterConnectionInfoGkeClusterReferenceOutput) ElementType

func (GameServerClusterConnectionInfoGkeClusterReferenceOutput) ToGameServerClusterConnectionInfoGkeClusterReferenceOutput

func (GameServerClusterConnectionInfoGkeClusterReferenceOutput) ToGameServerClusterConnectionInfoGkeClusterReferenceOutputWithContext

func (o GameServerClusterConnectionInfoGkeClusterReferenceOutput) ToGameServerClusterConnectionInfoGkeClusterReferenceOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoGkeClusterReferenceOutput

func (GameServerClusterConnectionInfoGkeClusterReferenceOutput) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutput added in v3.2.0

func (GameServerClusterConnectionInfoGkeClusterReferenceOutput) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext added in v3.2.0

func (o GameServerClusterConnectionInfoGkeClusterReferenceOutput) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoGkeClusterReferencePtrOutput

type GameServerClusterConnectionInfoGkeClusterReferencePtrInput added in v3.2.0

type GameServerClusterConnectionInfoGkeClusterReferencePtrInput interface {
	pulumi.Input

	ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutput() GameServerClusterConnectionInfoGkeClusterReferencePtrOutput
	ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext(context.Context) GameServerClusterConnectionInfoGkeClusterReferencePtrOutput
}

GameServerClusterConnectionInfoGkeClusterReferencePtrInput is an input type that accepts GameServerClusterConnectionInfoGkeClusterReferenceArgs, GameServerClusterConnectionInfoGkeClusterReferencePtr and GameServerClusterConnectionInfoGkeClusterReferencePtrOutput values. You can construct a concrete instance of `GameServerClusterConnectionInfoGkeClusterReferencePtrInput` via:

        GameServerClusterConnectionInfoGkeClusterReferenceArgs{...}

or:

        nil

type GameServerClusterConnectionInfoGkeClusterReferencePtrOutput added in v3.2.0

type GameServerClusterConnectionInfoGkeClusterReferencePtrOutput struct{ *pulumi.OutputState }

func (GameServerClusterConnectionInfoGkeClusterReferencePtrOutput) Cluster added in v3.2.0

The full or partial name of a GKE cluster, using one of the following forms:

  • `projects/{project_id}/locations/{location}/clusters/{cluster_id}`
  • `locations/{location}/clusters/{cluster_id}`
  • `{cluster_id}` If project and location are not specified, the project and location of the GameServerCluster resource are used to generate the full name of the GKE cluster.

func (GameServerClusterConnectionInfoGkeClusterReferencePtrOutput) Elem added in v3.2.0

func (GameServerClusterConnectionInfoGkeClusterReferencePtrOutput) ElementType added in v3.2.0

func (GameServerClusterConnectionInfoGkeClusterReferencePtrOutput) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutput added in v3.2.0

func (GameServerClusterConnectionInfoGkeClusterReferencePtrOutput) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext added in v3.2.0

func (o GameServerClusterConnectionInfoGkeClusterReferencePtrOutput) ToGameServerClusterConnectionInfoGkeClusterReferencePtrOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoGkeClusterReferencePtrOutput

type GameServerClusterConnectionInfoInput

type GameServerClusterConnectionInfoInput interface {
	pulumi.Input

	ToGameServerClusterConnectionInfoOutput() GameServerClusterConnectionInfoOutput
	ToGameServerClusterConnectionInfoOutputWithContext(context.Context) GameServerClusterConnectionInfoOutput
}

GameServerClusterConnectionInfoInput is an input type that accepts GameServerClusterConnectionInfoArgs and GameServerClusterConnectionInfoOutput values. You can construct a concrete instance of `GameServerClusterConnectionInfoInput` via:

GameServerClusterConnectionInfoArgs{...}

type GameServerClusterConnectionInfoOutput

type GameServerClusterConnectionInfoOutput struct{ *pulumi.OutputState }

func (GameServerClusterConnectionInfoOutput) ElementType

func (GameServerClusterConnectionInfoOutput) GkeClusterReference

Reference of the GKE cluster where the game servers are installed. Structure is documented below.

func (GameServerClusterConnectionInfoOutput) Namespace

Namespace designated on the game server cluster where the game server instances will be created. The namespace existence will be validated during creation.

func (GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoOutput

func (o GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoOutput() GameServerClusterConnectionInfoOutput

func (GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoOutputWithContext

func (o GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoOutput

func (GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoPtrOutput

func (o GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoPtrOutput() GameServerClusterConnectionInfoPtrOutput

func (GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoPtrOutputWithContext

func (o GameServerClusterConnectionInfoOutput) ToGameServerClusterConnectionInfoPtrOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoPtrOutput

type GameServerClusterConnectionInfoPtrInput

type GameServerClusterConnectionInfoPtrInput interface {
	pulumi.Input

	ToGameServerClusterConnectionInfoPtrOutput() GameServerClusterConnectionInfoPtrOutput
	ToGameServerClusterConnectionInfoPtrOutputWithContext(context.Context) GameServerClusterConnectionInfoPtrOutput
}

GameServerClusterConnectionInfoPtrInput is an input type that accepts GameServerClusterConnectionInfoArgs, GameServerClusterConnectionInfoPtr and GameServerClusterConnectionInfoPtrOutput values. You can construct a concrete instance of `GameServerClusterConnectionInfoPtrInput` via:

        GameServerClusterConnectionInfoArgs{...}

or:

        nil

type GameServerClusterConnectionInfoPtrOutput

type GameServerClusterConnectionInfoPtrOutput struct{ *pulumi.OutputState }

func (GameServerClusterConnectionInfoPtrOutput) Elem

func (GameServerClusterConnectionInfoPtrOutput) ElementType

func (GameServerClusterConnectionInfoPtrOutput) GkeClusterReference

Reference of the GKE cluster where the game servers are installed. Structure is documented below.

func (GameServerClusterConnectionInfoPtrOutput) Namespace

Namespace designated on the game server cluster where the game server instances will be created. The namespace existence will be validated during creation.

func (GameServerClusterConnectionInfoPtrOutput) ToGameServerClusterConnectionInfoPtrOutput

func (o GameServerClusterConnectionInfoPtrOutput) ToGameServerClusterConnectionInfoPtrOutput() GameServerClusterConnectionInfoPtrOutput

func (GameServerClusterConnectionInfoPtrOutput) ToGameServerClusterConnectionInfoPtrOutputWithContext

func (o GameServerClusterConnectionInfoPtrOutput) ToGameServerClusterConnectionInfoPtrOutputWithContext(ctx context.Context) GameServerClusterConnectionInfoPtrOutput

type GameServerClusterState

type GameServerClusterState struct {
	// Required. The resource name of the game server cluster
	ClusterId pulumi.StringPtrInput
	// Game server cluster connection information. This information is used to
	// manage game server clusters.
	// Structure is documented below.
	ConnectionInfo GameServerClusterConnectionInfoPtrInput
	// Human readable description of the cluster.
	Description pulumi.StringPtrInput
	// The labels associated with this game server cluster. Each label is a
	// key-value pair.
	Labels pulumi.StringMapInput
	// Location of the Cluster.
	Location pulumi.StringPtrInput
	// The resource id of the game server cluster, eg:
	// 'projects/{project_id}/locations/{location}/realms/{realm_id}/gameServerClusters/{cluster_id}'. For example,
	// 'projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster'.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The realm id of the game server realm.
	RealmId pulumi.StringPtrInput
}

func (GameServerClusterState) ElementType

func (GameServerClusterState) ElementType() reflect.Type

type GameServerConfig

type GameServerConfig struct {
	pulumi.CustomResourceState

	// A unique id for the deployment config.
	ConfigId pulumi.StringOutput `pulumi:"configId"`
	// A unique id for the deployment.
	DeploymentId pulumi.StringOutput `pulumi:"deploymentId"`
	// The description of the game server config.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The fleet config contains list of fleet specs. In the Single Cloud, there
	// will be only one.
	// Structure is documented below.
	FleetConfigs GameServerConfigFleetConfigArrayOutput `pulumi:"fleetConfigs"`
	// Set of labels to group by.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Location of the Deployment.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The name of the ScalingConfig
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Optional. This contains the autoscaling settings.
	// Structure is documented below.
	ScalingConfigs GameServerConfigScalingConfigArrayOutput `pulumi:"scalingConfigs"`
}

A game server config resource. Configs are global and immutable.

To get more information about GameServerConfig, see:

* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/projects.locations.gameServerDeployments.configs) * How-to Guides

## Example Usage

func GetGameServerConfig

func GetGameServerConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GameServerConfigState, opts ...pulumi.ResourceOption) (*GameServerConfig, error)

GetGameServerConfig gets an existing GameServerConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGameServerConfig

func NewGameServerConfig(ctx *pulumi.Context,
	name string, args *GameServerConfigArgs, opts ...pulumi.ResourceOption) (*GameServerConfig, error)

NewGameServerConfig registers a new resource with the given unique name, arguments, and options.

type GameServerConfigArgs

type GameServerConfigArgs struct {
	// A unique id for the deployment config.
	ConfigId pulumi.StringInput
	// A unique id for the deployment.
	DeploymentId pulumi.StringInput
	// The description of the game server config.
	Description pulumi.StringPtrInput
	// The fleet config contains list of fleet specs. In the Single Cloud, there
	// will be only one.
	// Structure is documented below.
	FleetConfigs GameServerConfigFleetConfigArrayInput
	// Set of labels to group by.
	Labels pulumi.StringMapInput
	// Location of the Deployment.
	Location pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Optional. This contains the autoscaling settings.
	// Structure is documented below.
	ScalingConfigs GameServerConfigScalingConfigArrayInput
}

The set of arguments for constructing a GameServerConfig resource.

func (GameServerConfigArgs) ElementType

func (GameServerConfigArgs) ElementType() reflect.Type

type GameServerConfigFleetConfig

type GameServerConfigFleetConfig struct {
	// The fleet spec, which is sent to Agones to configure fleet.
	// The spec can be passed as inline json but it is recommended to use a file reference
	// instead. File references can contain the json or yaml format of the fleet spec. Eg:
	// * fleetSpec = jsonencode(yamldecode(file("fleet_configs.yaml")))
	// * fleetSpec = file("fleet_configs.json")
	//   The format of the spec can be found :
	//   `https://agones.dev/site/docs/reference/fleet/`.
	FleetSpec string `pulumi:"fleetSpec"`
	// The name of the ScalingConfig
	Name *string `pulumi:"name"`
}

type GameServerConfigFleetConfigArgs

type GameServerConfigFleetConfigArgs struct {
	// The fleet spec, which is sent to Agones to configure fleet.
	// The spec can be passed as inline json but it is recommended to use a file reference
	// instead. File references can contain the json or yaml format of the fleet spec. Eg:
	// * fleetSpec = jsonencode(yamldecode(file("fleet_configs.yaml")))
	// * fleetSpec = file("fleet_configs.json")
	//   The format of the spec can be found :
	//   `https://agones.dev/site/docs/reference/fleet/`.
	FleetSpec pulumi.StringInput `pulumi:"fleetSpec"`
	// The name of the ScalingConfig
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (GameServerConfigFleetConfigArgs) ElementType

func (GameServerConfigFleetConfigArgs) ToGameServerConfigFleetConfigOutput

func (i GameServerConfigFleetConfigArgs) ToGameServerConfigFleetConfigOutput() GameServerConfigFleetConfigOutput

func (GameServerConfigFleetConfigArgs) ToGameServerConfigFleetConfigOutputWithContext

func (i GameServerConfigFleetConfigArgs) ToGameServerConfigFleetConfigOutputWithContext(ctx context.Context) GameServerConfigFleetConfigOutput

type GameServerConfigFleetConfigArray

type GameServerConfigFleetConfigArray []GameServerConfigFleetConfigInput

func (GameServerConfigFleetConfigArray) ElementType

func (GameServerConfigFleetConfigArray) ToGameServerConfigFleetConfigArrayOutput

func (i GameServerConfigFleetConfigArray) ToGameServerConfigFleetConfigArrayOutput() GameServerConfigFleetConfigArrayOutput

func (GameServerConfigFleetConfigArray) ToGameServerConfigFleetConfigArrayOutputWithContext

func (i GameServerConfigFleetConfigArray) ToGameServerConfigFleetConfigArrayOutputWithContext(ctx context.Context) GameServerConfigFleetConfigArrayOutput

type GameServerConfigFleetConfigArrayInput

type GameServerConfigFleetConfigArrayInput interface {
	pulumi.Input

	ToGameServerConfigFleetConfigArrayOutput() GameServerConfigFleetConfigArrayOutput
	ToGameServerConfigFleetConfigArrayOutputWithContext(context.Context) GameServerConfigFleetConfigArrayOutput
}

GameServerConfigFleetConfigArrayInput is an input type that accepts GameServerConfigFleetConfigArray and GameServerConfigFleetConfigArrayOutput values. You can construct a concrete instance of `GameServerConfigFleetConfigArrayInput` via:

GameServerConfigFleetConfigArray{ GameServerConfigFleetConfigArgs{...} }

type GameServerConfigFleetConfigArrayOutput

type GameServerConfigFleetConfigArrayOutput struct{ *pulumi.OutputState }

func (GameServerConfigFleetConfigArrayOutput) ElementType

func (GameServerConfigFleetConfigArrayOutput) Index

func (GameServerConfigFleetConfigArrayOutput) ToGameServerConfigFleetConfigArrayOutput

func (o GameServerConfigFleetConfigArrayOutput) ToGameServerConfigFleetConfigArrayOutput() GameServerConfigFleetConfigArrayOutput

func (GameServerConfigFleetConfigArrayOutput) ToGameServerConfigFleetConfigArrayOutputWithContext

func (o GameServerConfigFleetConfigArrayOutput) ToGameServerConfigFleetConfigArrayOutputWithContext(ctx context.Context) GameServerConfigFleetConfigArrayOutput

type GameServerConfigFleetConfigInput

type GameServerConfigFleetConfigInput interface {
	pulumi.Input

	ToGameServerConfigFleetConfigOutput() GameServerConfigFleetConfigOutput
	ToGameServerConfigFleetConfigOutputWithContext(context.Context) GameServerConfigFleetConfigOutput
}

GameServerConfigFleetConfigInput is an input type that accepts GameServerConfigFleetConfigArgs and GameServerConfigFleetConfigOutput values. You can construct a concrete instance of `GameServerConfigFleetConfigInput` via:

GameServerConfigFleetConfigArgs{...}

type GameServerConfigFleetConfigOutput

type GameServerConfigFleetConfigOutput struct{ *pulumi.OutputState }

func (GameServerConfigFleetConfigOutput) ElementType

func (GameServerConfigFleetConfigOutput) FleetSpec

The fleet spec, which is sent to Agones to configure fleet. The spec can be passed as inline json but it is recommended to use a file reference instead. File references can contain the json or yaml format of the fleet spec. Eg:

func (GameServerConfigFleetConfigOutput) Name

The name of the ScalingConfig

func (GameServerConfigFleetConfigOutput) ToGameServerConfigFleetConfigOutput

func (o GameServerConfigFleetConfigOutput) ToGameServerConfigFleetConfigOutput() GameServerConfigFleetConfigOutput

func (GameServerConfigFleetConfigOutput) ToGameServerConfigFleetConfigOutputWithContext

func (o GameServerConfigFleetConfigOutput) ToGameServerConfigFleetConfigOutputWithContext(ctx context.Context) GameServerConfigFleetConfigOutput

type GameServerConfigScalingConfig

type GameServerConfigScalingConfig struct {
	// Fleet autoscaler spec, which is sent to Agones.
	// Example spec can be found :
	// https://agones.dev/site/docs/reference/fleetautoscaler/
	FleetAutoscalerSpec string `pulumi:"fleetAutoscalerSpec"`
	// The name of the ScalingConfig
	Name string `pulumi:"name"`
	// The schedules to which this scaling config applies.
	// Structure is documented below.
	Schedules []GameServerConfigScalingConfigSchedule `pulumi:"schedules"`
	// Labels used to identify the clusters to which this scaling config
	// applies. A cluster is subject to this scaling config if its labels match
	// any of the selector entries.
	// Structure is documented below.
	Selectors []GameServerConfigScalingConfigSelector `pulumi:"selectors"`
}

type GameServerConfigScalingConfigArgs

type GameServerConfigScalingConfigArgs struct {
	// Fleet autoscaler spec, which is sent to Agones.
	// Example spec can be found :
	// https://agones.dev/site/docs/reference/fleetautoscaler/
	FleetAutoscalerSpec pulumi.StringInput `pulumi:"fleetAutoscalerSpec"`
	// The name of the ScalingConfig
	Name pulumi.StringInput `pulumi:"name"`
	// The schedules to which this scaling config applies.
	// Structure is documented below.
	Schedules GameServerConfigScalingConfigScheduleArrayInput `pulumi:"schedules"`
	// Labels used to identify the clusters to which this scaling config
	// applies. A cluster is subject to this scaling config if its labels match
	// any of the selector entries.
	// Structure is documented below.
	Selectors GameServerConfigScalingConfigSelectorArrayInput `pulumi:"selectors"`
}

func (GameServerConfigScalingConfigArgs) ElementType

func (GameServerConfigScalingConfigArgs) ToGameServerConfigScalingConfigOutput

func (i GameServerConfigScalingConfigArgs) ToGameServerConfigScalingConfigOutput() GameServerConfigScalingConfigOutput

func (GameServerConfigScalingConfigArgs) ToGameServerConfigScalingConfigOutputWithContext

func (i GameServerConfigScalingConfigArgs) ToGameServerConfigScalingConfigOutputWithContext(ctx context.Context) GameServerConfigScalingConfigOutput

type GameServerConfigScalingConfigArray

type GameServerConfigScalingConfigArray []GameServerConfigScalingConfigInput

func (GameServerConfigScalingConfigArray) ElementType

func (GameServerConfigScalingConfigArray) ToGameServerConfigScalingConfigArrayOutput

func (i GameServerConfigScalingConfigArray) ToGameServerConfigScalingConfigArrayOutput() GameServerConfigScalingConfigArrayOutput

func (GameServerConfigScalingConfigArray) ToGameServerConfigScalingConfigArrayOutputWithContext

func (i GameServerConfigScalingConfigArray) ToGameServerConfigScalingConfigArrayOutputWithContext(ctx context.Context) GameServerConfigScalingConfigArrayOutput

type GameServerConfigScalingConfigArrayInput

type GameServerConfigScalingConfigArrayInput interface {
	pulumi.Input

	ToGameServerConfigScalingConfigArrayOutput() GameServerConfigScalingConfigArrayOutput
	ToGameServerConfigScalingConfigArrayOutputWithContext(context.Context) GameServerConfigScalingConfigArrayOutput
}

GameServerConfigScalingConfigArrayInput is an input type that accepts GameServerConfigScalingConfigArray and GameServerConfigScalingConfigArrayOutput values. You can construct a concrete instance of `GameServerConfigScalingConfigArrayInput` via:

GameServerConfigScalingConfigArray{ GameServerConfigScalingConfigArgs{...} }

type GameServerConfigScalingConfigArrayOutput

type GameServerConfigScalingConfigArrayOutput struct{ *pulumi.OutputState }

func (GameServerConfigScalingConfigArrayOutput) ElementType

func (GameServerConfigScalingConfigArrayOutput) Index

func (GameServerConfigScalingConfigArrayOutput) ToGameServerConfigScalingConfigArrayOutput

func (o GameServerConfigScalingConfigArrayOutput) ToGameServerConfigScalingConfigArrayOutput() GameServerConfigScalingConfigArrayOutput

func (GameServerConfigScalingConfigArrayOutput) ToGameServerConfigScalingConfigArrayOutputWithContext

func (o GameServerConfigScalingConfigArrayOutput) ToGameServerConfigScalingConfigArrayOutputWithContext(ctx context.Context) GameServerConfigScalingConfigArrayOutput

type GameServerConfigScalingConfigInput

type GameServerConfigScalingConfigInput interface {
	pulumi.Input

	ToGameServerConfigScalingConfigOutput() GameServerConfigScalingConfigOutput
	ToGameServerConfigScalingConfigOutputWithContext(context.Context) GameServerConfigScalingConfigOutput
}

GameServerConfigScalingConfigInput is an input type that accepts GameServerConfigScalingConfigArgs and GameServerConfigScalingConfigOutput values. You can construct a concrete instance of `GameServerConfigScalingConfigInput` via:

GameServerConfigScalingConfigArgs{...}

type GameServerConfigScalingConfigOutput

type GameServerConfigScalingConfigOutput struct{ *pulumi.OutputState }

func (GameServerConfigScalingConfigOutput) ElementType

func (GameServerConfigScalingConfigOutput) FleetAutoscalerSpec

Fleet autoscaler spec, which is sent to Agones. Example spec can be found : https://agones.dev/site/docs/reference/fleetautoscaler/

func (GameServerConfigScalingConfigOutput) Name

The name of the ScalingConfig

func (GameServerConfigScalingConfigOutput) Schedules

The schedules to which this scaling config applies. Structure is documented below.

func (GameServerConfigScalingConfigOutput) Selectors

Labels used to identify the clusters to which this scaling config applies. A cluster is subject to this scaling config if its labels match any of the selector entries. Structure is documented below.

func (GameServerConfigScalingConfigOutput) ToGameServerConfigScalingConfigOutput

func (o GameServerConfigScalingConfigOutput) ToGameServerConfigScalingConfigOutput() GameServerConfigScalingConfigOutput

func (GameServerConfigScalingConfigOutput) ToGameServerConfigScalingConfigOutputWithContext

func (o GameServerConfigScalingConfigOutput) ToGameServerConfigScalingConfigOutputWithContext(ctx context.Context) GameServerConfigScalingConfigOutput

type GameServerConfigScalingConfigSchedule

type GameServerConfigScalingConfigSchedule struct {
	// The duration for the cron job event. The duration of the event is effective
	// after the cron job's start time.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	CronJobDuration *string `pulumi:"cronJobDuration"`
	// The cron definition of the scheduled event. See
	// https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
	// defined by the realm.
	CronSpec *string `pulumi:"cronSpec"`
	// The end time of the event.
	// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
	EndTime *string `pulumi:"endTime"`
	// The start time of the event.
	// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
	StartTime *string `pulumi:"startTime"`
}

type GameServerConfigScalingConfigScheduleArgs

type GameServerConfigScalingConfigScheduleArgs struct {
	// The duration for the cron job event. The duration of the event is effective
	// after the cron job's start time.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	CronJobDuration pulumi.StringPtrInput `pulumi:"cronJobDuration"`
	// The cron definition of the scheduled event. See
	// https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
	// defined by the realm.
	CronSpec pulumi.StringPtrInput `pulumi:"cronSpec"`
	// The end time of the event.
	// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// The start time of the event.
	// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

func (GameServerConfigScalingConfigScheduleArgs) ElementType

func (GameServerConfigScalingConfigScheduleArgs) ToGameServerConfigScalingConfigScheduleOutput

func (i GameServerConfigScalingConfigScheduleArgs) ToGameServerConfigScalingConfigScheduleOutput() GameServerConfigScalingConfigScheduleOutput

func (GameServerConfigScalingConfigScheduleArgs) ToGameServerConfigScalingConfigScheduleOutputWithContext

func (i GameServerConfigScalingConfigScheduleArgs) ToGameServerConfigScalingConfigScheduleOutputWithContext(ctx context.Context) GameServerConfigScalingConfigScheduleOutput

type GameServerConfigScalingConfigScheduleArray

type GameServerConfigScalingConfigScheduleArray []GameServerConfigScalingConfigScheduleInput

func (GameServerConfigScalingConfigScheduleArray) ElementType

func (GameServerConfigScalingConfigScheduleArray) ToGameServerConfigScalingConfigScheduleArrayOutput

func (i GameServerConfigScalingConfigScheduleArray) ToGameServerConfigScalingConfigScheduleArrayOutput() GameServerConfigScalingConfigScheduleArrayOutput

func (GameServerConfigScalingConfigScheduleArray) ToGameServerConfigScalingConfigScheduleArrayOutputWithContext

func (i GameServerConfigScalingConfigScheduleArray) ToGameServerConfigScalingConfigScheduleArrayOutputWithContext(ctx context.Context) GameServerConfigScalingConfigScheduleArrayOutput

type GameServerConfigScalingConfigScheduleArrayInput

type GameServerConfigScalingConfigScheduleArrayInput interface {
	pulumi.Input

	ToGameServerConfigScalingConfigScheduleArrayOutput() GameServerConfigScalingConfigScheduleArrayOutput
	ToGameServerConfigScalingConfigScheduleArrayOutputWithContext(context.Context) GameServerConfigScalingConfigScheduleArrayOutput
}

GameServerConfigScalingConfigScheduleArrayInput is an input type that accepts GameServerConfigScalingConfigScheduleArray and GameServerConfigScalingConfigScheduleArrayOutput values. You can construct a concrete instance of `GameServerConfigScalingConfigScheduleArrayInput` via:

GameServerConfigScalingConfigScheduleArray{ GameServerConfigScalingConfigScheduleArgs{...} }

type GameServerConfigScalingConfigScheduleArrayOutput

type GameServerConfigScalingConfigScheduleArrayOutput struct{ *pulumi.OutputState }

func (GameServerConfigScalingConfigScheduleArrayOutput) ElementType

func (GameServerConfigScalingConfigScheduleArrayOutput) Index

func (GameServerConfigScalingConfigScheduleArrayOutput) ToGameServerConfigScalingConfigScheduleArrayOutput

func (o GameServerConfigScalingConfigScheduleArrayOutput) ToGameServerConfigScalingConfigScheduleArrayOutput() GameServerConfigScalingConfigScheduleArrayOutput

func (GameServerConfigScalingConfigScheduleArrayOutput) ToGameServerConfigScalingConfigScheduleArrayOutputWithContext

func (o GameServerConfigScalingConfigScheduleArrayOutput) ToGameServerConfigScalingConfigScheduleArrayOutputWithContext(ctx context.Context) GameServerConfigScalingConfigScheduleArrayOutput

type GameServerConfigScalingConfigScheduleInput

type GameServerConfigScalingConfigScheduleInput interface {
	pulumi.Input

	ToGameServerConfigScalingConfigScheduleOutput() GameServerConfigScalingConfigScheduleOutput
	ToGameServerConfigScalingConfigScheduleOutputWithContext(context.Context) GameServerConfigScalingConfigScheduleOutput
}

GameServerConfigScalingConfigScheduleInput is an input type that accepts GameServerConfigScalingConfigScheduleArgs and GameServerConfigScalingConfigScheduleOutput values. You can construct a concrete instance of `GameServerConfigScalingConfigScheduleInput` via:

GameServerConfigScalingConfigScheduleArgs{...}

type GameServerConfigScalingConfigScheduleOutput

type GameServerConfigScalingConfigScheduleOutput struct{ *pulumi.OutputState }

func (GameServerConfigScalingConfigScheduleOutput) CronJobDuration

The duration for the cron job event. The duration of the event is effective after the cron job's start time. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (GameServerConfigScalingConfigScheduleOutput) CronSpec

The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as defined by the realm.

func (GameServerConfigScalingConfigScheduleOutput) ElementType

func (GameServerConfigScalingConfigScheduleOutput) EndTime

The end time of the event. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

func (GameServerConfigScalingConfigScheduleOutput) StartTime

The start time of the event. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

func (GameServerConfigScalingConfigScheduleOutput) ToGameServerConfigScalingConfigScheduleOutput

func (o GameServerConfigScalingConfigScheduleOutput) ToGameServerConfigScalingConfigScheduleOutput() GameServerConfigScalingConfigScheduleOutput

func (GameServerConfigScalingConfigScheduleOutput) ToGameServerConfigScalingConfigScheduleOutputWithContext

func (o GameServerConfigScalingConfigScheduleOutput) ToGameServerConfigScalingConfigScheduleOutputWithContext(ctx context.Context) GameServerConfigScalingConfigScheduleOutput

type GameServerConfigScalingConfigSelector

type GameServerConfigScalingConfigSelector struct {
	// Set of labels to group by.
	Labels map[string]string `pulumi:"labels"`
}

type GameServerConfigScalingConfigSelectorArgs

type GameServerConfigScalingConfigSelectorArgs struct {
	// Set of labels to group by.
	Labels pulumi.StringMapInput `pulumi:"labels"`
}

func (GameServerConfigScalingConfigSelectorArgs) ElementType

func (GameServerConfigScalingConfigSelectorArgs) ToGameServerConfigScalingConfigSelectorOutput

func (i GameServerConfigScalingConfigSelectorArgs) ToGameServerConfigScalingConfigSelectorOutput() GameServerConfigScalingConfigSelectorOutput

func (GameServerConfigScalingConfigSelectorArgs) ToGameServerConfigScalingConfigSelectorOutputWithContext

func (i GameServerConfigScalingConfigSelectorArgs) ToGameServerConfigScalingConfigSelectorOutputWithContext(ctx context.Context) GameServerConfigScalingConfigSelectorOutput

type GameServerConfigScalingConfigSelectorArray

type GameServerConfigScalingConfigSelectorArray []GameServerConfigScalingConfigSelectorInput

func (GameServerConfigScalingConfigSelectorArray) ElementType

func (GameServerConfigScalingConfigSelectorArray) ToGameServerConfigScalingConfigSelectorArrayOutput

func (i GameServerConfigScalingConfigSelectorArray) ToGameServerConfigScalingConfigSelectorArrayOutput() GameServerConfigScalingConfigSelectorArrayOutput

func (GameServerConfigScalingConfigSelectorArray) ToGameServerConfigScalingConfigSelectorArrayOutputWithContext

func (i GameServerConfigScalingConfigSelectorArray) ToGameServerConfigScalingConfigSelectorArrayOutputWithContext(ctx context.Context) GameServerConfigScalingConfigSelectorArrayOutput

type GameServerConfigScalingConfigSelectorArrayInput

type GameServerConfigScalingConfigSelectorArrayInput interface {
	pulumi.Input

	ToGameServerConfigScalingConfigSelectorArrayOutput() GameServerConfigScalingConfigSelectorArrayOutput
	ToGameServerConfigScalingConfigSelectorArrayOutputWithContext(context.Context) GameServerConfigScalingConfigSelectorArrayOutput
}

GameServerConfigScalingConfigSelectorArrayInput is an input type that accepts GameServerConfigScalingConfigSelectorArray and GameServerConfigScalingConfigSelectorArrayOutput values. You can construct a concrete instance of `GameServerConfigScalingConfigSelectorArrayInput` via:

GameServerConfigScalingConfigSelectorArray{ GameServerConfigScalingConfigSelectorArgs{...} }

type GameServerConfigScalingConfigSelectorArrayOutput

type GameServerConfigScalingConfigSelectorArrayOutput struct{ *pulumi.OutputState }

func (GameServerConfigScalingConfigSelectorArrayOutput) ElementType

func (GameServerConfigScalingConfigSelectorArrayOutput) Index

func (GameServerConfigScalingConfigSelectorArrayOutput) ToGameServerConfigScalingConfigSelectorArrayOutput

func (o GameServerConfigScalingConfigSelectorArrayOutput) ToGameServerConfigScalingConfigSelectorArrayOutput() GameServerConfigScalingConfigSelectorArrayOutput

func (GameServerConfigScalingConfigSelectorArrayOutput) ToGameServerConfigScalingConfigSelectorArrayOutputWithContext

func (o GameServerConfigScalingConfigSelectorArrayOutput) ToGameServerConfigScalingConfigSelectorArrayOutputWithContext(ctx context.Context) GameServerConfigScalingConfigSelectorArrayOutput

type GameServerConfigScalingConfigSelectorInput

type GameServerConfigScalingConfigSelectorInput interface {
	pulumi.Input

	ToGameServerConfigScalingConfigSelectorOutput() GameServerConfigScalingConfigSelectorOutput
	ToGameServerConfigScalingConfigSelectorOutputWithContext(context.Context) GameServerConfigScalingConfigSelectorOutput
}

GameServerConfigScalingConfigSelectorInput is an input type that accepts GameServerConfigScalingConfigSelectorArgs and GameServerConfigScalingConfigSelectorOutput values. You can construct a concrete instance of `GameServerConfigScalingConfigSelectorInput` via:

GameServerConfigScalingConfigSelectorArgs{...}

type GameServerConfigScalingConfigSelectorOutput

type GameServerConfigScalingConfigSelectorOutput struct{ *pulumi.OutputState }

func (GameServerConfigScalingConfigSelectorOutput) ElementType

func (GameServerConfigScalingConfigSelectorOutput) Labels

Set of labels to group by.

func (GameServerConfigScalingConfigSelectorOutput) ToGameServerConfigScalingConfigSelectorOutput

func (o GameServerConfigScalingConfigSelectorOutput) ToGameServerConfigScalingConfigSelectorOutput() GameServerConfigScalingConfigSelectorOutput

func (GameServerConfigScalingConfigSelectorOutput) ToGameServerConfigScalingConfigSelectorOutputWithContext

func (o GameServerConfigScalingConfigSelectorOutput) ToGameServerConfigScalingConfigSelectorOutputWithContext(ctx context.Context) GameServerConfigScalingConfigSelectorOutput

type GameServerConfigState

type GameServerConfigState struct {
	// A unique id for the deployment config.
	ConfigId pulumi.StringPtrInput
	// A unique id for the deployment.
	DeploymentId pulumi.StringPtrInput
	// The description of the game server config.
	Description pulumi.StringPtrInput
	// The fleet config contains list of fleet specs. In the Single Cloud, there
	// will be only one.
	// Structure is documented below.
	FleetConfigs GameServerConfigFleetConfigArrayInput
	// Set of labels to group by.
	Labels pulumi.StringMapInput
	// Location of the Deployment.
	Location pulumi.StringPtrInput
	// The name of the ScalingConfig
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Optional. This contains the autoscaling settings.
	// Structure is documented below.
	ScalingConfigs GameServerConfigScalingConfigArrayInput
}

func (GameServerConfigState) ElementType

func (GameServerConfigState) ElementType() reflect.Type

type GameServerDeployment

type GameServerDeployment struct {
	pulumi.CustomResourceState

	// A unique id for the deployment.
	DeploymentId pulumi.StringOutput `pulumi:"deploymentId"`
	// Human readable description of the game server deployment.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The labels associated with this game server deployment. Each label is a
	// key-value pair.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Location of the Deployment.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The resource id of the game server deployment, eg:
	// 'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'. For example,
	// 'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

A game server deployment resource.

To get more information about GameServerDeployment, see:

* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/projects.locations.gameServerDeployments) * How-to Guides

## Example Usage

func GetGameServerDeployment

func GetGameServerDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GameServerDeploymentState, opts ...pulumi.ResourceOption) (*GameServerDeployment, error)

GetGameServerDeployment gets an existing GameServerDeployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGameServerDeployment

func NewGameServerDeployment(ctx *pulumi.Context,
	name string, args *GameServerDeploymentArgs, opts ...pulumi.ResourceOption) (*GameServerDeployment, error)

NewGameServerDeployment registers a new resource with the given unique name, arguments, and options.

type GameServerDeploymentArgs

type GameServerDeploymentArgs struct {
	// A unique id for the deployment.
	DeploymentId pulumi.StringInput
	// Human readable description of the game server deployment.
	Description pulumi.StringPtrInput
	// The labels associated with this game server deployment. Each label is a
	// key-value pair.
	Labels pulumi.StringMapInput
	// Location of the Deployment.
	Location pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a GameServerDeployment resource.

func (GameServerDeploymentArgs) ElementType

func (GameServerDeploymentArgs) ElementType() reflect.Type

type GameServerDeploymentRollout

type GameServerDeploymentRollout struct {
	pulumi.CustomResourceState

	// 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`.
	DefaultGameServerConfig pulumi.StringOutput `pulumi:"defaultGameServerConfig"`
	// The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.
	DeploymentId pulumi.StringOutput `pulumi:"deploymentId"`
	// The gameServerConfigOverrides 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.
	GameServerConfigOverrides GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput `pulumi:"gameServerConfigOverrides"`
	// The resource id of the game server deployment eg:
	// 'projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout'.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

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

To get more information about GameServerDeploymentRollout, see:

* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/GameServerDeploymentRollout) * How-to Guides

## Example Usage

func GetGameServerDeploymentRollout

func GetGameServerDeploymentRollout(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GameServerDeploymentRolloutState, opts ...pulumi.ResourceOption) (*GameServerDeploymentRollout, error)

GetGameServerDeploymentRollout gets an existing GameServerDeploymentRollout resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGameServerDeploymentRollout

func NewGameServerDeploymentRollout(ctx *pulumi.Context,
	name string, args *GameServerDeploymentRolloutArgs, opts ...pulumi.ResourceOption) (*GameServerDeploymentRollout, error)

NewGameServerDeploymentRollout registers a new resource with the given unique name, arguments, and options.

type GameServerDeploymentRolloutArgs

type GameServerDeploymentRolloutArgs struct {
	// 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`.
	DefaultGameServerConfig pulumi.StringInput
	// The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.
	DeploymentId pulumi.StringInput
	// The gameServerConfigOverrides 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.
	GameServerConfigOverrides GameServerDeploymentRolloutGameServerConfigOverrideArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a GameServerDeploymentRollout resource.

func (GameServerDeploymentRolloutArgs) ElementType

type GameServerDeploymentRolloutGameServerConfigOverride

type GameServerDeploymentRolloutGameServerConfigOverride struct {
	// Version of the configuration.
	ConfigVersion *string `pulumi:"configVersion"`
	// Selection by realms.
	// Structure is documented below.
	RealmsSelector *GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector `pulumi:"realmsSelector"`
}

type GameServerDeploymentRolloutGameServerConfigOverrideArgs

type GameServerDeploymentRolloutGameServerConfigOverrideArgs struct {
	// Version of the configuration.
	ConfigVersion pulumi.StringPtrInput `pulumi:"configVersion"`
	// Selection by realms.
	// Structure is documented below.
	RealmsSelector GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrInput `pulumi:"realmsSelector"`
}

func (GameServerDeploymentRolloutGameServerConfigOverrideArgs) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext

func (i GameServerDeploymentRolloutGameServerConfigOverrideArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideOutput

type GameServerDeploymentRolloutGameServerConfigOverrideArray

type GameServerDeploymentRolloutGameServerConfigOverrideArray []GameServerDeploymentRolloutGameServerConfigOverrideInput

func (GameServerDeploymentRolloutGameServerConfigOverrideArray) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideArray) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

func (i GameServerDeploymentRolloutGameServerConfigOverrideArray) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput() GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideArray) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext

func (i GameServerDeploymentRolloutGameServerConfigOverrideArray) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

type GameServerDeploymentRolloutGameServerConfigOverrideArrayInput

type GameServerDeploymentRolloutGameServerConfigOverrideArrayInput interface {
	pulumi.Input

	ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput() GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput
	ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext(context.Context) GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput
}

GameServerDeploymentRolloutGameServerConfigOverrideArrayInput is an input type that accepts GameServerDeploymentRolloutGameServerConfigOverrideArray and GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput values. You can construct a concrete instance of `GameServerDeploymentRolloutGameServerConfigOverrideArrayInput` via:

GameServerDeploymentRolloutGameServerConfigOverrideArray{ GameServerDeploymentRolloutGameServerConfigOverrideArgs{...} }

type GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

type GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput struct{ *pulumi.OutputState }

func (GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) Index

func (GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext

func (o GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

type GameServerDeploymentRolloutGameServerConfigOverrideInput

type GameServerDeploymentRolloutGameServerConfigOverrideInput interface {
	pulumi.Input

	ToGameServerDeploymentRolloutGameServerConfigOverrideOutput() GameServerDeploymentRolloutGameServerConfigOverrideOutput
	ToGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext(context.Context) GameServerDeploymentRolloutGameServerConfigOverrideOutput
}

GameServerDeploymentRolloutGameServerConfigOverrideInput is an input type that accepts GameServerDeploymentRolloutGameServerConfigOverrideArgs and GameServerDeploymentRolloutGameServerConfigOverrideOutput values. You can construct a concrete instance of `GameServerDeploymentRolloutGameServerConfigOverrideInput` via:

GameServerDeploymentRolloutGameServerConfigOverrideArgs{...}

type GameServerDeploymentRolloutGameServerConfigOverrideOutput

type GameServerDeploymentRolloutGameServerConfigOverrideOutput struct{ *pulumi.OutputState }

func (GameServerDeploymentRolloutGameServerConfigOverrideOutput) ConfigVersion

Version of the configuration.

func (GameServerDeploymentRolloutGameServerConfigOverrideOutput) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideOutput) RealmsSelector

Selection by realms. Structure is documented below.

func (GameServerDeploymentRolloutGameServerConfigOverrideOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext

func (o GameServerDeploymentRolloutGameServerConfigOverrideOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideOutput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector struct {
	// List of realms to match against.
	Realms []string `pulumi:"realms"`
}

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs struct {
	// List of realms to match against.
	Realms pulumi.StringArrayInput `pulumi:"realms"`
}

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext

func (i GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutputWithContext

func (i GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput interface {
	pulumi.Input

	ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput() GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput
	ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext(context.Context) GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput
}

GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput is an input type that accepts GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs and GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput values. You can construct a concrete instance of `GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput` via:

GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs{...}

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput struct{ *pulumi.OutputState }

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) Realms

List of realms to match against.

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext

func (o GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutputWithContext

func (o GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutputWithContext(ctx context.Context) GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrInput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrInput interface {
	pulumi.Input

	ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput() GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput
	ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutputWithContext(context.Context) GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput
}

GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrInput is an input type that accepts GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs, GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtr and GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput values. You can construct a concrete instance of `GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrInput` via:

        GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs{...}

or:

        nil

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput

type GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput struct{ *pulumi.OutputState }

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput) Elem

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput) ElementType

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput) Realms

List of realms to match against.

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput

func (GameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutput) ToGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorPtrOutputWithContext

type GameServerDeploymentRolloutState

type GameServerDeploymentRolloutState struct {
	// 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`.
	DefaultGameServerConfig pulumi.StringPtrInput
	// The deployment to rollout the new config to. Only 1 rollout must be associated with each deployment.
	DeploymentId pulumi.StringPtrInput
	// The gameServerConfigOverrides 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.
	GameServerConfigOverrides GameServerDeploymentRolloutGameServerConfigOverrideArrayInput
	// The resource id of the game server deployment eg:
	// 'projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout'.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (GameServerDeploymentRolloutState) ElementType

type GameServerDeploymentState

type GameServerDeploymentState struct {
	// A unique id for the deployment.
	DeploymentId pulumi.StringPtrInput
	// Human readable description of the game server deployment.
	Description pulumi.StringPtrInput
	// The labels associated with this game server deployment. Each label is a
	// key-value pair.
	Labels pulumi.StringMapInput
	// Location of the Deployment.
	Location pulumi.StringPtrInput
	// The resource id of the game server deployment, eg:
	// 'projects/{project_id}/locations/{location}/gameServerDeployments/{deployment_id}'. For example,
	// 'projects/my-project/locations/{location}/gameServerDeployments/my-deployment'.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (GameServerDeploymentState) ElementType

func (GameServerDeploymentState) ElementType() reflect.Type

type GetGameServerDeploymentRolloutGameServerConfigOverride added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverride struct {
	ConfigVersion   string                                                                 `pulumi:"configVersion"`
	RealmsSelectors []GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector `pulumi:"realmsSelectors"`
}

type GetGameServerDeploymentRolloutGameServerConfigOverrideArgs added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideArgs struct {
	ConfigVersion   pulumi.StringInput                                                             `pulumi:"configVersion"`
	RealmsSelectors GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayInput `pulumi:"realmsSelectors"`
}

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArgs) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArgs) ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArgs) ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext added in v3.14.0

func (i GetGameServerDeploymentRolloutGameServerConfigOverrideArgs) ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext(ctx context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideOutput

type GetGameServerDeploymentRolloutGameServerConfigOverrideArray added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideArray []GetGameServerDeploymentRolloutGameServerConfigOverrideInput

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArray) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArray) ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArray) ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext added in v3.14.0

func (i GetGameServerDeploymentRolloutGameServerConfigOverrideArray) ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext(ctx context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

type GetGameServerDeploymentRolloutGameServerConfigOverrideArrayInput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideArrayInput interface {
	pulumi.Input

	ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput() GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput
	ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext(context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput
}

GetGameServerDeploymentRolloutGameServerConfigOverrideArrayInput is an input type that accepts GetGameServerDeploymentRolloutGameServerConfigOverrideArray and GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput values. You can construct a concrete instance of `GetGameServerDeploymentRolloutGameServerConfigOverrideArrayInput` via:

GetGameServerDeploymentRolloutGameServerConfigOverrideArray{ GetGameServerDeploymentRolloutGameServerConfigOverrideArgs{...} }

type GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput struct{ *pulumi.OutputState }

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) Index added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext added in v3.14.0

func (o GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutputWithContext(ctx context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideArrayOutput

type GetGameServerDeploymentRolloutGameServerConfigOverrideInput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideInput interface {
	pulumi.Input

	ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutput() GetGameServerDeploymentRolloutGameServerConfigOverrideOutput
	ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext(context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideOutput
}

GetGameServerDeploymentRolloutGameServerConfigOverrideInput is an input type that accepts GetGameServerDeploymentRolloutGameServerConfigOverrideArgs and GetGameServerDeploymentRolloutGameServerConfigOverrideOutput values. You can construct a concrete instance of `GetGameServerDeploymentRolloutGameServerConfigOverrideInput` via:

GetGameServerDeploymentRolloutGameServerConfigOverrideArgs{...}

type GetGameServerDeploymentRolloutGameServerConfigOverrideOutput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideOutput struct{ *pulumi.OutputState }

func (GetGameServerDeploymentRolloutGameServerConfigOverrideOutput) ConfigVersion added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideOutput) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideOutput) RealmsSelectors added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext added in v3.14.0

func (o GetGameServerDeploymentRolloutGameServerConfigOverrideOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideOutputWithContext(ctx context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideOutput

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelector struct {
	Realms []string `pulumi:"realms"`
}

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs struct {
	Realms pulumi.StringArrayInput `pulumi:"realms"`
}

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext added in v3.14.0

func (i GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext(ctx context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray []GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutputWithContext added in v3.14.0

func (i GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutputWithContext(ctx context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayInput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayInput interface {
	pulumi.Input

	ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput() GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput
	ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutputWithContext(context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput
}

GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayInput is an input type that accepts GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray and GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput values. You can construct a concrete instance of `GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayInput` via:

GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArray{ GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs{...} }

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput struct{ *pulumi.OutputState }

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput) Index added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArrayOutputWithContext added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput interface {
	pulumi.Input

	ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput() GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput
	ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext(context.Context) GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput
}

GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput is an input type that accepts GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs and GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput values. You can construct a concrete instance of `GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorInput` via:

GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorArgs{...}

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput added in v3.14.0

type GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput struct{ *pulumi.OutputState }

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ElementType added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) Realms added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput added in v3.14.0

func (GetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutput) ToGetGameServerDeploymentRolloutGameServerConfigOverrideRealmsSelectorOutputWithContext added in v3.14.0

type LookupGameServerDeploymentRolloutArgs added in v3.14.0

type LookupGameServerDeploymentRolloutArgs struct {
	// The deployment to get the rollout state from. Only 1 rollout must be associated with each deployment.
	DeploymentId string `pulumi:"deploymentId"`
}

A collection of arguments for invoking getGameServerDeploymentRollout.

type LookupGameServerDeploymentRolloutResult added in v3.14.0

type LookupGameServerDeploymentRolloutResult struct {
	DefaultGameServerConfig   string                                                   `pulumi:"defaultGameServerConfig"`
	DeploymentId              string                                                   `pulumi:"deploymentId"`
	GameServerConfigOverrides []GetGameServerDeploymentRolloutGameServerConfigOverride `pulumi:"gameServerConfigOverrides"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project string `pulumi:"project"`
}

A collection of values returned by getGameServerDeploymentRollout.

type Realm

type Realm struct {
	pulumi.CustomResourceState

	// Human readable description of the realm.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// ETag of the resource.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The labels associated with this realm. Each label is a key-value pair.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Location of the Realm.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The resource id of the realm, of the form: 'projects/{project_id}/locations/{location}/realms/{realm_id}'. For example,
	// 'projects/my-project/locations/{location}/realms/my-realm'.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// GCP region of the Realm.
	RealmId pulumi.StringOutput `pulumi:"realmId"`
	// Required. Time zone where all realm-specific policies are evaluated. The value of
	// this field must be from the IANA time zone database:
	// https://www.iana.org/time-zones.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
}

A Realm resource.

To get more information about Realm, see:

* [API documentation](https://cloud.google.com/game-servers/docs/reference/rest/v1beta/projects.locations.realms) * How-to Guides

## Example Usage

func GetRealm

func GetRealm(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RealmState, opts ...pulumi.ResourceOption) (*Realm, error)

GetRealm gets an existing Realm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRealm

func NewRealm(ctx *pulumi.Context,
	name string, args *RealmArgs, opts ...pulumi.ResourceOption) (*Realm, error)

NewRealm registers a new resource with the given unique name, arguments, and options.

type RealmArgs

type RealmArgs struct {
	// Human readable description of the realm.
	Description pulumi.StringPtrInput
	// The labels associated with this realm. Each label is a key-value pair.
	Labels pulumi.StringMapInput
	// Location of the Realm.
	Location pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// GCP region of the Realm.
	RealmId pulumi.StringInput
	// Required. Time zone where all realm-specific policies are evaluated. The value of
	// this field must be from the IANA time zone database:
	// https://www.iana.org/time-zones.
	TimeZone pulumi.StringInput
}

The set of arguments for constructing a Realm resource.

func (RealmArgs) ElementType

func (RealmArgs) ElementType() reflect.Type

type RealmState

type RealmState struct {
	// Human readable description of the realm.
	Description pulumi.StringPtrInput
	// ETag of the resource.
	Etag pulumi.StringPtrInput
	// The labels associated with this realm. Each label is a key-value pair.
	Labels pulumi.StringMapInput
	// Location of the Realm.
	Location pulumi.StringPtrInput
	// The resource id of the realm, of the form: 'projects/{project_id}/locations/{location}/realms/{realm_id}'. For example,
	// 'projects/my-project/locations/{location}/realms/my-realm'.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// GCP region of the Realm.
	RealmId pulumi.StringPtrInput
	// Required. Time zone where all realm-specific policies are evaluated. The value of
	// this field must be from the IANA time zone database:
	// https://www.iana.org/time-zones.
	TimeZone pulumi.StringPtrInput
}

func (RealmState) ElementType

func (RealmState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL