GameServerDeploymentArgs

data class GameServerDeploymentArgs(val deploymentId: Output<String>? = null, val description: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<GameServerDeploymentArgs>

A game server deployment resource. To get more information about GameServerDeployment, see:

Example Usage

Game Service Deployment Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gameservices.GameServerDeployment;
import com.pulumi.gcp.gameservices.GameServerDeploymentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new GameServerDeployment("default", GameServerDeploymentArgs.builder()
.deploymentId("tf-test-deployment")
.description("a deployment description")
.build());
}
}

Import

GameServerDeployment can be imported using any of these accepted formats

$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default projects/{{project}}/locations/{{location}}/gameServerDeployments/{{deployment_id}}
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default {{project}}/{{location}}/{{deployment_id}}
$ pulumi import gcp:gameservices/gameServerDeployment:GameServerDeployment default {{location}}/{{deployment_id}}

Constructors

Link copied to clipboard
constructor(deploymentId: Output<String>? = null, description: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, project: Output<String>? = null)

Properties

Link copied to clipboard
val deploymentId: Output<String>? = null

A unique id for the deployment.

Link copied to clipboard
val description: Output<String>? = null

Human readable description of the game server deployment.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

The labels associated with this game server deployment. Each label is a key-value pair.

Link copied to clipboard
val location: Output<String>? = null

Location of the Deployment.

Link copied to clipboard
val project: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): GameServerDeploymentArgs