Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1beta.getScope
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
getScope Result
The following output properties are available:
- All
Memberships bool If true, all Memberships in the Fleet bind to this Scope.
- Create
Time string When the scope was created.
- Delete
Time string When the scope was deleted.
- Name string
The resource name for the scope
projects/{project}/locations/{location}/scopes/{scope}
- State
Pulumi.
Google Native. GKEHub. V1Beta. Outputs. Scope Lifecycle State Response 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.
- Update
Time string When the scope was last updated.
- All
Memberships bool If true, all Memberships in the Fleet bind to this Scope.
- Create
Time string When the scope was created.
- Delete
Time string When the scope was deleted.
- Name string
The resource name for the scope
projects/{project}/locations/{location}/scopes/{scope}
- State
Scope
Lifecycle State Response 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.
- Update
Time string When the scope was last updated.
- all
Memberships Boolean If true, all Memberships in the Fleet bind to this Scope.
- create
Time String When the scope was created.
- delete
Time String When the scope was deleted.
- name String
The resource name for the scope
projects/{project}/locations/{location}/scopes/{scope}
- state
Scope
Lifecycle State Response 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.
- update
Time String When the scope was last updated.
- all
Memberships boolean If true, all Memberships in the Fleet bind to this Scope.
- create
Time string When the scope was created.
- delete
Time string When the scope was deleted.
- name string
The resource name for the scope
projects/{project}/locations/{location}/scopes/{scope}
- state
Scope
Lifecycle State Response 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.
- update
Time 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
Scope
Lifecycle State Response 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.
- all
Memberships Boolean If true, all Memberships in the Fleet bind to this Scope.
- create
Time String When the scope was created.
- delete
Time 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.
- update
Time 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 Cloud Native is in preview. Google Cloud Classic is fully supported.