Scope

class Scope : KotlinCustomResource

Scope represents a Scope in a Fleet. To get more information about Scope, see:

Example Usage

Gkehub Scope Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gkehub.Scope;
import com.pulumi.gcp.gkehub.ScopeArgs;
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 scope = new Scope("scope", ScopeArgs.builder()
.labels(Map.ofEntries(
Map.entry("keya", "valuea"),
Map.entry("keyb", "valueb"),
Map.entry("keyc", "valuec")
))
.scopeId("tf-test-scope%{random_suffix}")
.build());
}
}

Import

Scope can be imported using any of these accepted formats

$ pulumi import gcp:gkehub/scope:Scope default projects/{{project}}/locations/global/scopes/{{scope_id}}
$ pulumi import gcp:gkehub/scope:Scope default {{project}}/{{scope_id}}
$ pulumi import gcp:gkehub/scope:Scope default {{scope_id}}

Properties

Link copied to clipboard
val createTime: Output<String>

Time the Scope was created in UTC.

Link copied to clipboard
val deleteTime: Output<String>

Time the Scope was deleted in UTC.

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

Labels for this Scope.

Link copied to clipboard
val name: Output<String>

The unique identifier of the scope

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
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scopeId: Output<String>

The client-provided identifier of the scope.

Link copied to clipboard
val states: Output<List<ScopeState>>

State of the scope resource. Structure is documented below.

Link copied to clipboard
val uid: Output<String>

Google-generated UUID for this resource.

Link copied to clipboard
val updateTime: Output<String>

Time the Scope was updated in UTC.

Link copied to clipboard
val urn: Output<String>