1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1beta
  6. getScope

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.gkehub/v1beta.getScope

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    Returns the details of a Scope.

    Using getScope

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getScope(args: GetScopeArgs, opts?: InvokeOptions): Promise<GetScopeResult>
    function getScopeOutput(args: GetScopeOutputArgs, opts?: InvokeOptions): Output<GetScopeResult>
    def get_scope(location: Optional[str] = None,
                  project: Optional[str] = None,
                  scope_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetScopeResult
    def get_scope_output(location: Optional[pulumi.Input[str]] = None,
                  project: Optional[pulumi.Input[str]] = None,
                  scope_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetScopeResult]
    func LookupScope(ctx *Context, args *LookupScopeArgs, opts ...InvokeOption) (*LookupScopeResult, error)
    func LookupScopeOutput(ctx *Context, args *LookupScopeOutputArgs, opts ...InvokeOption) LookupScopeResultOutput

    > Note: This function is named LookupScope in the Go SDK.

    public static class GetScope 
    {
        public static Task<GetScopeResult> InvokeAsync(GetScopeArgs args, InvokeOptions? opts = null)
        public static Output<GetScopeResult> Invoke(GetScopeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetScopeResult> getScope(GetScopeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:gkehub/v1beta:getScope
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    ScopeId string
    Project string
    Location string
    ScopeId string
    Project string
    location String
    scopeId String
    project String
    location string
    scopeId string
    project string
    location String
    scopeId String
    project String

    getScope Result

    The following output properties are available:

    AllMemberships bool

    If true, all Memberships in the Fleet bind to this Scope.

    CreateTime string

    When the scope was created.

    DeleteTime string

    When the scope was deleted.

    Name string

    The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

    State Pulumi.GoogleNative.GKEHub.V1Beta.Outputs.ScopeLifecycleStateResponse

    State of the scope resource.

    Uid string

    Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

    UpdateTime string

    When the scope was last updated.

    AllMemberships bool

    If true, all Memberships in the Fleet bind to this Scope.

    CreateTime string

    When the scope was created.

    DeleteTime string

    When the scope was deleted.

    Name string

    The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

    State ScopeLifecycleStateResponse

    State of the scope resource.

    Uid string

    Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

    UpdateTime string

    When the scope was last updated.

    allMemberships Boolean

    If true, all Memberships in the Fleet bind to this Scope.

    createTime String

    When the scope was created.

    deleteTime String

    When the scope was deleted.

    name String

    The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

    state ScopeLifecycleStateResponse

    State of the scope resource.

    uid String

    Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

    updateTime String

    When the scope was last updated.

    allMemberships boolean

    If true, all Memberships in the Fleet bind to this Scope.

    createTime string

    When the scope was created.

    deleteTime string

    When the scope was deleted.

    name string

    The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

    state ScopeLifecycleStateResponse

    State of the scope resource.

    uid string

    Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

    updateTime string

    When the scope was last updated.

    all_memberships bool

    If true, all Memberships in the Fleet bind to this Scope.

    create_time str

    When the scope was created.

    delete_time str

    When the scope was deleted.

    name str

    The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

    state ScopeLifecycleStateResponse

    State of the scope resource.

    uid str

    Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

    update_time str

    When the scope was last updated.

    allMemberships Boolean

    If true, all Memberships in the Fleet bind to this Scope.

    createTime String

    When the scope was created.

    deleteTime String

    When the scope was deleted.

    name String

    The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

    state Property Map

    State of the scope resource.

    uid String

    Google-generated UUID for this resource. This is unique across all scope resources. If a scope resource is deleted and another resource with the same name is created, it gets a different uid.

    updateTime String

    When the scope was last updated.

    Supporting Types

    ScopeLifecycleStateResponse

    Code string

    The current state of the scope resource.

    Code string

    The current state of the scope resource.

    code String

    The current state of the scope resource.

    code string

    The current state of the scope resource.

    code str

    The current state of the scope resource.

    code String

    The current state of the scope resource.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi