Scope
Scope represents a Scope in a Fleet. To get more information about Scope, see:
How-to Guides
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());
}
}
Content copied to clipboard
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}}
Content copied to clipboard
$ pulumi import gcp:gkehub/scope:Scope default {{project}}/{{scope_id}}
Content copied to clipboard
$ pulumi import gcp:gkehub/scope:Scope default {{scope_id}}
Content copied to clipboard
Properties
Link copied to clipboard
Time the Scope was created in UTC.
Link copied to clipboard
Time the Scope was deleted in UTC.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
State of the scope resource. Structure is documented below.
Link copied to clipboard
Time the Scope was updated in UTC.