Realm

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

Properties

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

Human readable description of the realm.

Link copied to clipboard
val etag: Output<String>

ETag of the resource.

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

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

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

Location of the Realm.

Link copied to clipboard
val name: Output<String>

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.

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 realmId: Output<String>

GCP region of the Realm.

Link copied to clipboard
val timeZone: Output<String>

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.

Link copied to clipboard
val urn: Output<String>