GameServerDeployment

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}}

Properties

Link copied to clipboard
val deploymentId: Output<String>

A unique id for the deployment.

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

Human readable description of the game server deployment.

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

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

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

Location of the Deployment.

Link copied to clipboard
val name: Output<String>

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.

Link copied to clipboard
val project: Output<String>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>