RealmArgs

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

A Realm resource. To get more information about Realm, see:

Example Usage

Game Service Realm Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gameservices.Realm;
import com.pulumi.gcp.gameservices.RealmArgs;
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 Realm("default", RealmArgs.builder()
.description("one of the nine")
.location("global")
.realmId("tf-test-realm")
.timeZone("EST")
.build());
}
}

Import

Realm can be imported using any of these accepted formats

$ pulumi import gcp:gameservices/realm:Realm default projects/{{project}}/locations/{{location}}/realms/{{realm_id}}
$ pulumi import gcp:gameservices/realm:Realm default {{project}}/{{location}}/{{realm_id}}
$ pulumi import gcp:gameservices/realm:Realm default {{location}}/{{realm_id}}

Constructors

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

Properties

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

Human readable description of the realm.

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

The labels associated with this realm. Each label is a key-value pair.

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

Location of the Realm.

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.

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

GCP region of the Realm.

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

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.

Functions

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