1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1alpha
  6. getBinding

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

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.gkehub/v1alpha.getBinding

Explore with Pulumi AI

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

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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>
Copy
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]
Copy
func LookupBinding(ctx *Context, args *LookupBindingArgs, opts ...InvokeOption) (*LookupBindingResult, error)
func LookupBindingOutput(ctx *Context, args *LookupBindingOutputArgs, opts ...InvokeOption) LookupBindingResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetBindingResult> getBinding(GetBindingArgs args, InvokeOptions options)
public static Output<GetBindingResult> getBinding(GetBindingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:gkehub/v1alpha:getBinding
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BindingId This property is required. string
Location This property is required. string
MembershipId This property is required. string
Project string
BindingId This property is required. string
Location This property is required. string
MembershipId This property is required. string
Project string
bindingId This property is required. String
location This property is required. String
membershipId This property is required. String
project String
bindingId This property is required. string
location This property is required. string
membershipId This property is required. string
project string
binding_id This property is required. str
location This property is required. str
membership_id This property is required. str
project str
bindingId This property is required. String
location This property is required. String
membershipId This property is required. String
project String

getBinding Result

The following output properties are available:

CreateTime string
When the membership binding was created.
DeleteTime 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.GoogleNative.GKEHub.V1Alpha.Outputs.MembershipBindingLifecycleStateResponse
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.
UpdateTime string
When the membership binding was last updated.
CreateTime string
When the membership binding was created.
DeleteTime 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 MembershipBindingLifecycleStateResponse
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.
UpdateTime string
When the membership binding was last updated.
createTime String
When the membership binding was created.
deleteTime 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 MembershipBindingLifecycleStateResponse
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.
updateTime String
When the membership binding was last updated.
createTime string
When the membership binding was created.
deleteTime 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 MembershipBindingLifecycleStateResponse
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.
updateTime 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 MembershipBindingLifecycleStateResponse
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.
createTime String
When the membership binding was created.
deleteTime 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.
updateTime String
When the membership binding was last updated.

Supporting Types

MembershipBindingLifecycleStateResponse

Code This property is required. string
The current state of the MembershipBinding resource.
Code This property is required. string
The current state of the MembershipBinding resource.
code This property is required. String
The current state of the MembershipBinding resource.
code This property is required. string
The current state of the MembershipBinding resource.
code This property is required. str
The current state of the MembershipBinding resource.
code This property is required. 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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi