Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1alpha.getBinding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the details of a MembershipBinding.
Using getBinding
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 getBinding(args: GetBindingArgs, opts?: InvokeOptions): Promise<GetBindingResult>
function getBindingOutput(args: GetBindingOutputArgs, opts?: InvokeOptions): Output<GetBindingResult>
def get_binding(binding_id: Optional[str] = None,
location: Optional[str] = None,
membership_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBindingResult
def get_binding_output(binding_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
membership_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBindingResult]
func LookupBinding(ctx *Context, args *LookupBindingArgs, opts ...InvokeOption) (*LookupBindingResult, error)
func LookupBindingOutput(ctx *Context, args *LookupBindingOutputArgs, opts ...InvokeOption) LookupBindingResultOutput
> Note: This function is named LookupBinding
in the Go SDK.
public static class GetBinding
{
public static Task<GetBindingResult> InvokeAsync(GetBindingArgs args, InvokeOptions? opts = null)
public static Output<GetBindingResult> Invoke(GetBindingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBindingResult> getBinding(GetBindingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:gkehub/v1alpha:getBinding
arguments:
# arguments dictionary
The following arguments are supported:
- Binding
Id string - Location string
- Membership
Id string - Project string
- Binding
Id string - Location string
- Membership
Id string - Project string
- binding
Id String - location String
- membership
Id String - project String
- binding
Id string - location string
- membership
Id string - project string
- binding_
id str - location str
- membership_
id str - project str
- binding
Id String - location String
- membership
Id String - project String
getBinding Result
The following output properties are available:
- Create
Time string When the membership binding was created.
- Delete
Time string When the membership binding was deleted.
- Labels Dictionary<string, string>
Optional. Labels for this MembershipBinding.
- Name string
The resource name for the membershipbinding itself
projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
- Scope string
A Scope resource name in the format
projects/*/locations/*/scopes/*
.- State
Pulumi.
Google Native. GKEHub. V1Alpha. Outputs. Membership Binding Lifecycle State Response State of the membership binding resource.
- Uid string
Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.
- Update
Time string When the membership binding was last updated.
- Create
Time string When the membership binding was created.
- Delete
Time string When the membership binding was deleted.
- Labels map[string]string
Optional. Labels for this MembershipBinding.
- Name string
The resource name for the membershipbinding itself
projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
- Scope string
A Scope resource name in the format
projects/*/locations/*/scopes/*
.- State
Membership
Binding Lifecycle State Response State of the membership binding resource.
- Uid string
Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.
- Update
Time string When the membership binding was last updated.
- create
Time String When the membership binding was created.
- delete
Time String When the membership binding was deleted.
- labels Map<String,String>
Optional. Labels for this MembershipBinding.
- name String
The resource name for the membershipbinding itself
projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
- scope String
A Scope resource name in the format
projects/*/locations/*/scopes/*
.- state
Membership
Binding Lifecycle State Response State of the membership binding resource.
- uid String
Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.
- update
Time String When the membership binding was last updated.
- create
Time string When the membership binding was created.
- delete
Time string When the membership binding was deleted.
- labels {[key: string]: string}
Optional. Labels for this MembershipBinding.
- name string
The resource name for the membershipbinding itself
projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
- scope string
A Scope resource name in the format
projects/*/locations/*/scopes/*
.- state
Membership
Binding Lifecycle State Response State of the membership binding resource.
- uid string
Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.
- update
Time string When the membership binding was last updated.
- create_
time str When the membership binding was created.
- delete_
time str When the membership binding was deleted.
- labels Mapping[str, str]
Optional. Labels for this MembershipBinding.
- name str
The resource name for the membershipbinding itself
projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
- scope str
A Scope resource name in the format
projects/*/locations/*/scopes/*
.- state
Membership
Binding Lifecycle State Response State of the membership binding resource.
- uid str
Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.
- update_
time str When the membership binding was last updated.
- create
Time String When the membership binding was created.
- delete
Time String When the membership binding was deleted.
- labels Map<String>
Optional. Labels for this MembershipBinding.
- name String
The resource name for the membershipbinding itself
projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
- scope String
A Scope resource name in the format
projects/*/locations/*/scopes/*
.- state Property Map
State of the membership binding resource.
- uid String
Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.
- update
Time String When the membership binding was last updated.
Supporting Types
MembershipBindingLifecycleStateResponse
- Code string
The current state of the MembershipBinding resource.
- Code string
The current state of the MembershipBinding resource.
- code String
The current state of the MembershipBinding resource.
- code string
The current state of the MembershipBinding resource.
- code str
The current state of the MembershipBinding resource.
- code String
The current state of the MembershipBinding 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.