1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. gkehub
  5. Scope
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.gkehub.Scope

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Scope represents a Scope in a Fleet.

    To get more information about Scope, see:

    Example Usage

    Gkehub Scope Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const scope = new gcp.gkehub.Scope("scope", {
        scopeId: "my-scope",
        namespaceLabels: {
            keyb: "valueb",
            keya: "valuea",
            keyc: "valuec",
        },
        labels: {
            keyb: "valueb",
            keya: "valuea",
            keyc: "valuec",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    scope = gcp.gkehub.Scope("scope",
        scope_id="my-scope",
        namespace_labels={
            "keyb": "valueb",
            "keya": "valuea",
            "keyc": "valuec",
        },
        labels={
            "keyb": "valueb",
            "keya": "valuea",
            "keyc": "valuec",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewScope(ctx, "scope", &gkehub.ScopeArgs{
    			ScopeId: pulumi.String("my-scope"),
    			NamespaceLabels: pulumi.StringMap{
    				"keyb": pulumi.String("valueb"),
    				"keya": pulumi.String("valuea"),
    				"keyc": pulumi.String("valuec"),
    			},
    			Labels: pulumi.StringMap{
    				"keyb": pulumi.String("valueb"),
    				"keya": pulumi.String("valuea"),
    				"keyc": pulumi.String("valuec"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var scope = new Gcp.GkeHub.Scope("scope", new()
        {
            ScopeId = "my-scope",
            NamespaceLabels = 
            {
                { "keyb", "valueb" },
                { "keya", "valuea" },
                { "keyc", "valuec" },
            },
            Labels = 
            {
                { "keyb", "valueb" },
                { "keya", "valuea" },
                { "keyc", "valuec" },
            },
        });
    
    });
    
    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()
                .scopeId("my-scope")
                .namespaceLabels(Map.ofEntries(
                    Map.entry("keyb", "valueb"),
                    Map.entry("keya", "valuea"),
                    Map.entry("keyc", "valuec")
                ))
                .labels(Map.ofEntries(
                    Map.entry("keyb", "valueb"),
                    Map.entry("keya", "valuea"),
                    Map.entry("keyc", "valuec")
                ))
                .build());
    
        }
    }
    
    resources:
      scope:
        type: gcp:gkehub:Scope
        properties:
          scopeId: my-scope
          namespaceLabels:
            keyb: valueb
            keya: valuea
            keyc: valuec
          labels:
            keyb: valueb
            keya: valuea
            keyc: valuec
    

    Create Scope Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Scope(name: string, args: ScopeArgs, opts?: CustomResourceOptions);
    @overload
    def Scope(resource_name: str,
              args: ScopeArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Scope(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              scope_id: Optional[str] = None,
              labels: Optional[Mapping[str, str]] = None,
              namespace_labels: Optional[Mapping[str, str]] = None,
              project: Optional[str] = None)
    func NewScope(ctx *Context, name string, args ScopeArgs, opts ...ResourceOption) (*Scope, error)
    public Scope(string name, ScopeArgs args, CustomResourceOptions? opts = null)
    public Scope(String name, ScopeArgs args)
    public Scope(String name, ScopeArgs args, CustomResourceOptions options)
    
    type: gcp:gkehub:Scope
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ScopeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ScopeArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ScopeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScopeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScopeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var scopeResource = new Gcp.GkeHub.Scope("scopeResource", new()
    {
        ScopeId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        NamespaceLabels = 
        {
            { "string", "string" },
        },
        Project = "string",
    });
    
    example, err := gkehub.NewScope(ctx, "scopeResource", &gkehub.ScopeArgs{
    	ScopeId: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	NamespaceLabels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    })
    
    var scopeResource = new Scope("scopeResource", ScopeArgs.builder()
        .scopeId("string")
        .labels(Map.of("string", "string"))
        .namespaceLabels(Map.of("string", "string"))
        .project("string")
        .build());
    
    scope_resource = gcp.gkehub.Scope("scopeResource",
        scope_id="string",
        labels={
            "string": "string",
        },
        namespace_labels={
            "string": "string",
        },
        project="string")
    
    const scopeResource = new gcp.gkehub.Scope("scopeResource", {
        scopeId: "string",
        labels: {
            string: "string",
        },
        namespaceLabels: {
            string: "string",
        },
        project: "string",
    });
    
    type: gcp:gkehub:Scope
    properties:
        labels:
            string: string
        namespaceLabels:
            string: string
        project: string
        scopeId: string
    

    Scope Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Scope resource accepts the following input properties:

    ScopeId string
    The client-provided identifier of the scope.


    Labels Dictionary<string, string>

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    NamespaceLabels Dictionary<string, string>
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    ScopeId string
    The client-provided identifier of the scope.


    Labels map[string]string

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    NamespaceLabels map[string]string
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    scopeId String
    The client-provided identifier of the scope.


    labels Map<String,String>

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    namespaceLabels Map<String,String>
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    scopeId string
    The client-provided identifier of the scope.


    labels {[key: string]: string}

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    namespaceLabels {[key: string]: string}
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    scope_id str
    The client-provided identifier of the scope.


    labels Mapping[str, str]

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    namespace_labels Mapping[str, str]
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    scopeId String
    The client-provided identifier of the scope.


    labels Map<String>

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    namespaceLabels Map<String>
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Scope resource produces the following output properties:

    CreateTime string
    Time the Scope was created in UTC.
    DeleteTime string
    Time the Scope was deleted in UTC.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique identifier of the scope
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States List<ScopeState>
    State of the scope resource. Structure is documented below.
    Uid string
    Google-generated UUID for this resource.
    UpdateTime string
    Time the Scope was updated in UTC.
    CreateTime string
    Time the Scope was created in UTC.
    DeleteTime string
    Time the Scope was deleted in UTC.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The unique identifier of the scope
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States []ScopeStateType
    State of the scope resource. Structure is documented below.
    Uid string
    Google-generated UUID for this resource.
    UpdateTime string
    Time the Scope was updated in UTC.
    createTime String
    Time the Scope was created in UTC.
    deleteTime String
    Time the Scope was deleted in UTC.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique identifier of the scope
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<ScopeState>
    State of the scope resource. Structure is documented below.
    uid String
    Google-generated UUID for this resource.
    updateTime String
    Time the Scope was updated in UTC.
    createTime string
    Time the Scope was created in UTC.
    deleteTime string
    Time the Scope was deleted in UTC.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The unique identifier of the scope
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states ScopeState[]
    State of the scope resource. Structure is documented below.
    uid string
    Google-generated UUID for this resource.
    updateTime string
    Time the Scope was updated in UTC.
    create_time str
    Time the Scope was created in UTC.
    delete_time str
    Time the Scope was deleted in UTC.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The unique identifier of the scope
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states Sequence[ScopeState]
    State of the scope resource. Structure is documented below.
    uid str
    Google-generated UUID for this resource.
    update_time str
    Time the Scope was updated in UTC.
    createTime String
    Time the Scope was created in UTC.
    deleteTime String
    Time the Scope was deleted in UTC.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The unique identifier of the scope
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<Property Map>
    State of the scope resource. Structure is documented below.
    uid String
    Google-generated UUID for this resource.
    updateTime String
    Time the Scope was updated in UTC.

    Look up Existing Scope Resource

    Get an existing Scope resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ScopeState, opts?: CustomResourceOptions): Scope
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            delete_time: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            namespace_labels: Optional[Mapping[str, str]] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            scope_id: Optional[str] = None,
            states: Optional[Sequence[ScopeStateArgs]] = None,
            uid: Optional[str] = None,
            update_time: Optional[str] = None) -> Scope
    func GetScope(ctx *Context, name string, id IDInput, state *ScopeState, opts ...ResourceOption) (*Scope, error)
    public static Scope Get(string name, Input<string> id, ScopeState? state, CustomResourceOptions? opts = null)
    public static Scope get(String name, Output<String> id, ScopeState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    Time the Scope was created in UTC.
    DeleteTime string
    Time the Scope was deleted in UTC.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels Dictionary<string, string>

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Name string
    The unique identifier of the scope
    NamespaceLabels Dictionary<string, string>
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ScopeId string
    The client-provided identifier of the scope.


    States List<ScopeState>
    State of the scope resource. Structure is documented below.
    Uid string
    Google-generated UUID for this resource.
    UpdateTime string
    Time the Scope was updated in UTC.
    CreateTime string
    Time the Scope was created in UTC.
    DeleteTime string
    Time the Scope was deleted in UTC.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels map[string]string

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    Name string
    The unique identifier of the scope
    NamespaceLabels map[string]string
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ScopeId string
    The client-provided identifier of the scope.


    States []ScopeStateTypeArgs
    State of the scope resource. Structure is documented below.
    Uid string
    Google-generated UUID for this resource.
    UpdateTime string
    Time the Scope was updated in UTC.
    createTime String
    Time the Scope was created in UTC.
    deleteTime String
    Time the Scope was deleted in UTC.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String,String>

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name String
    The unique identifier of the scope
    namespaceLabels Map<String,String>
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    scopeId String
    The client-provided identifier of the scope.


    states List<ScopeState>
    State of the scope resource. Structure is documented below.
    uid String
    Google-generated UUID for this resource.
    updateTime String
    Time the Scope was updated in UTC.
    createTime string
    Time the Scope was created in UTC.
    deleteTime string
    Time the Scope was deleted in UTC.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels {[key: string]: string}

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name string
    The unique identifier of the scope
    namespaceLabels {[key: string]: string}
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    scopeId string
    The client-provided identifier of the scope.


    states ScopeState[]
    State of the scope resource. Structure is documented below.
    uid string
    Google-generated UUID for this resource.
    updateTime string
    Time the Scope was updated in UTC.
    create_time str
    Time the Scope was created in UTC.
    delete_time str
    Time the Scope was deleted in UTC.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Mapping[str, str]

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name str
    The unique identifier of the scope
    namespace_labels Mapping[str, str]
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    scope_id str
    The client-provided identifier of the scope.


    states Sequence[ScopeStateArgs]
    State of the scope resource. Structure is documented below.
    uid str
    Google-generated UUID for this resource.
    update_time str
    Time the Scope was updated in UTC.
    createTime String
    Time the Scope was created in UTC.
    deleteTime String
    Time the Scope was deleted in UTC.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String>

    Labels for this Scope.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

    name String
    The unique identifier of the scope
    namespaceLabels Map<String>
    Scope-level cluster namespace labels. For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels (namespace_labels in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    scopeId String
    The client-provided identifier of the scope.


    states List<Property Map>
    State of the scope resource. Structure is documented below.
    uid String
    Google-generated UUID for this resource.
    updateTime String
    Time the Scope was updated in UTC.

    Supporting Types

    ScopeState, ScopeStateArgs

    Code string
    (Output) Code describes the state of a Scope resource.
    Code string
    (Output) Code describes the state of a Scope resource.
    code String
    (Output) Code describes the state of a Scope resource.
    code string
    (Output) Code describes the state of a Scope resource.
    code str
    (Output) Code describes the state of a Scope resource.
    code String
    (Output) Code describes the state of a Scope resource.

    Import

    Scope can be imported using any of these accepted formats:

    • projects/{{project}}/locations/global/scopes/{{scope_id}}

    • {{project}}/{{scope_id}}

    • {{scope_id}}

    When using the pulumi import command, Scope can be imported using one of the formats above. For example:

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi