Google Native
GameServerCluster
Creates a new game server cluster in a given project and location.
Create a GameServerCluster Resource
new GameServerCluster(name: string, args: GameServerClusterArgs, opts?: CustomResourceOptions);
@overload
def GameServerCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_info: Optional[GameServerClusterConnectionInfoArgs] = None,
description: Optional[str] = None,
etag: Optional[str] = None,
game_server_cluster_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
realm_id: Optional[str] = None)
@overload
def GameServerCluster(resource_name: str,
args: GameServerClusterArgs,
opts: Optional[ResourceOptions] = None)
func NewGameServerCluster(ctx *Context, name string, args GameServerClusterArgs, opts ...ResourceOption) (*GameServerCluster, error)
public GameServerCluster(string name, GameServerClusterArgs args, CustomResourceOptions? opts = null)
public GameServerCluster(String name, GameServerClusterArgs args)
public GameServerCluster(String name, GameServerClusterArgs args, CustomResourceOptions options)
type: google-native:gameservices/v1:GameServerCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GameServerClusterArgs
- 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 GameServerClusterArgs
- 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 GameServerClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GameServerClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GameServerClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GameServerCluster 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 GameServerCluster resource accepts the following input properties:
- Game
Server stringCluster Id Required. The ID of the game server cluster resource to create.
- Realm
Id string - Connection
Info Pulumi.Google Native. Game Services. V1. Inputs. Game Server Cluster Connection Info Args The game server cluster connection information. This information is used to manage game server clusters.
- Description string
Human readable description of the cluster.
- Etag string
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- Labels Dictionary<string, string>
The labels associated with this game server cluster. Each label is a key-value pair.
- Location string
- Name string
The resource name of the game server cluster, in the following form:
projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}
. For example,projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster
.- Project string
- Game
Server stringCluster Id Required. The ID of the game server cluster resource to create.
- Realm
Id string - Connection
Info GameServer Cluster Connection Info Args The game server cluster connection information. This information is used to manage game server clusters.
- Description string
Human readable description of the cluster.
- Etag string
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- Labels map[string]string
The labels associated with this game server cluster. Each label is a key-value pair.
- Location string
- Name string
The resource name of the game server cluster, in the following form:
projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}
. For example,projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster
.- Project string
- game
Server StringCluster Id Required. The ID of the game server cluster resource to create.
- realm
Id String - connection
Info GameServer Cluster Connection Info Args The game server cluster connection information. This information is used to manage game server clusters.
- description String
Human readable description of the cluster.
- etag String
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels Map<String,String>
The labels associated with this game server cluster. Each label is a key-value pair.
- location String
- name String
The resource name of the game server cluster, in the following form:
projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}
. For example,projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster
.- project String
- game
Server stringCluster Id Required. The ID of the game server cluster resource to create.
- realm
Id string - connection
Info GameServer Cluster Connection Info Args The game server cluster connection information. This information is used to manage game server clusters.
- description string
Human readable description of the cluster.
- etag string
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels {[key: string]: string}
The labels associated with this game server cluster. Each label is a key-value pair.
- location string
- name string
The resource name of the game server cluster, in the following form:
projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}
. For example,projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster
.- project string
- game_
server_ strcluster_ id Required. The ID of the game server cluster resource to create.
- realm_
id str - connection_
info GameServer Cluster Connection Info Args The game server cluster connection information. This information is used to manage game server clusters.
- description str
Human readable description of the cluster.
- etag str
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels Mapping[str, str]
The labels associated with this game server cluster. Each label is a key-value pair.
- location str
- name str
The resource name of the game server cluster, in the following form:
projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}
. For example,projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster
.- project str
- game
Server StringCluster Id Required. The ID of the game server cluster resource to create.
- realm
Id String - connection
Info Property Map The game server cluster connection information. This information is used to manage game server clusters.
- description String
Human readable description of the cluster.
- etag String
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
- labels Map<String>
The labels associated with this game server cluster. Each label is a key-value pair.
- location String
- name String
The resource name of the game server cluster, in the following form:
projects/{project}/locations/{locationId}/realms/{realmId}/gameServerClusters/{gameServerClusterId}
. For example,projects/my-project/locations/global/realms/zanzibar/gameServerClusters/my-gke-cluster
.- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the GameServerCluster resource produces the following output properties:
- Cluster
State Pulumi.Google Native. Game Services. V1. Outputs. Kubernetes Cluster State Response The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
- Create
Time string The creation time.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string The last-modified time.
- Cluster
State KubernetesCluster State Response The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
- Create
Time string The creation time.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string The last-modified time.
- cluster
State KubernetesCluster State Response The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
- create
Time String The creation time.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String The last-modified time.
- cluster
State KubernetesCluster State Response The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
- create
Time string The creation time.
- id string
The provider-assigned unique ID for this managed resource.
- update
Time string The last-modified time.
- cluster_
state KubernetesCluster State Response The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
- create_
time str The creation time.
- id str
The provider-assigned unique ID for this managed resource.
- update_
time str The last-modified time.
- cluster
State Property Map The state of the Kubernetes cluster in preview. This will be available if view is set to FULL in the relevant list/get/preview request.
- create
Time String The creation time.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String The last-modified time.
Supporting Types
GameServerClusterConnectionInfo
- Gke
Cluster Pulumi.Reference Google Native. Game Services. V1. Inputs. Gke Cluster Reference Reference to the GKE cluster where the game servers are installed.
- Namespace string
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- Gke
Cluster GkeReference Cluster Reference Reference to the GKE cluster where the game servers are installed.
- Namespace string
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke
Cluster GkeReference Cluster Reference Reference to the GKE cluster where the game servers are installed.
- namespace String
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke
Cluster GkeReference Cluster Reference Reference to the GKE cluster where the game servers are installed.
- namespace string
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke_
cluster_ Gkereference Cluster Reference Reference to the GKE cluster where the game servers are installed.
- namespace str
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke
Cluster Property MapReference Reference to the GKE cluster where the game servers are installed.
- namespace String
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
GameServerClusterConnectionInfoResponse
- Gke
Cluster Pulumi.Reference Google Native. Game Services. V1. Inputs. Gke Cluster Reference Response Reference to the GKE cluster where the game servers are installed.
- Namespace string
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- Gke
Cluster GkeReference Cluster Reference Response Reference to the GKE cluster where the game servers are installed.
- Namespace string
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke
Cluster GkeReference Cluster Reference Response Reference to the GKE cluster where the game servers are installed.
- namespace String
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke
Cluster GkeReference Cluster Reference Response Reference to the GKE cluster where the game servers are installed.
- namespace string
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke_
cluster_ Gkereference Cluster Reference Response Reference to the GKE cluster where the game servers are installed.
- namespace str
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
- gke
Cluster Property MapReference Reference to the GKE cluster where the game servers are installed.
- namespace String
Namespace designated on the game server cluster where the Agones game server instances will be created. Existence of the namespace will be validated during creation.
GkeClusterReference
- Cluster string
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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 str
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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.
GkeClusterReferenceResponse
- Cluster string
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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 str
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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
The full or partial name of a GKE cluster, using one of the following forms: *
projects/{project}/locations/{locationId}/clusters/{cluster}
*locations/{locationId}/clusters/{cluster}
*{cluster}
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.
KubernetesClusterStateResponse
- Agones
Version stringInstalled The version of Agones currently installed in the registered Kubernetes cluster.
- Agones
Version stringTargeted The version of Agones that is targeted to be installed in the cluster.
- Installation
State string The state for the installed versions of Agones/Kubernetes.
- Kubernetes
Version stringInstalled The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- Provider string
The cloud provider type reported by the first node's
providerID
in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.- Version
Installed stringError Message The detailed error message for the installed versions of Agones/Kubernetes.
- Agones
Version stringInstalled The version of Agones currently installed in the registered Kubernetes cluster.
- Agones
Version stringTargeted The version of Agones that is targeted to be installed in the cluster.
- Installation
State string The state for the installed versions of Agones/Kubernetes.
- Kubernetes
Version stringInstalled The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- Provider string
The cloud provider type reported by the first node's
providerID
in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.- Version
Installed stringError Message The detailed error message for the installed versions of Agones/Kubernetes.
- agones
Version StringInstalled The version of Agones currently installed in the registered Kubernetes cluster.
- agones
Version StringTargeted The version of Agones that is targeted to be installed in the cluster.
- installation
State String The state for the installed versions of Agones/Kubernetes.
- kubernetes
Version StringInstalled The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- provider String
The cloud provider type reported by the first node's
providerID
in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.- version
Installed StringError Message The detailed error message for the installed versions of Agones/Kubernetes.
- agones
Version stringInstalled The version of Agones currently installed in the registered Kubernetes cluster.
- agones
Version stringTargeted The version of Agones that is targeted to be installed in the cluster.
- installation
State string The state for the installed versions of Agones/Kubernetes.
- kubernetes
Version stringInstalled The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- provider string
The cloud provider type reported by the first node's
providerID
in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.- version
Installed stringError Message The detailed error message for the installed versions of Agones/Kubernetes.
- agones_
version_ strinstalled The version of Agones currently installed in the registered Kubernetes cluster.
- agones_
version_ strtargeted The version of Agones that is targeted to be installed in the cluster.
- installation_
state str The state for the installed versions of Agones/Kubernetes.
- kubernetes_
version_ strinstalled The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- provider str
The cloud provider type reported by the first node's
providerID
in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.- version_
installed_ strerror_ message The detailed error message for the installed versions of Agones/Kubernetes.
- agones
Version StringInstalled The version of Agones currently installed in the registered Kubernetes cluster.
- agones
Version StringTargeted The version of Agones that is targeted to be installed in the cluster.
- installation
State String The state for the installed versions of Agones/Kubernetes.
- kubernetes
Version StringInstalled The version of Kubernetes that is currently used in the registered Kubernetes cluster (as detected by the Cloud Game Servers service).
- provider String
The cloud provider type reported by the first node's
providerID
in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the provider type will be empty.- version
Installed StringError Message The detailed error message for the installed versions of Agones/Kubernetes.
Package Details
- Repository
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0