google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.gkehub/v1.getBinding

Explore with Pulumi AI

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/v1:getBinding
  arguments:
    # arguments dictionary

The following arguments are supported:

BindingId string
Location string
MembershipId string
Project string
BindingId string
Location string
MembershipId string
Project string
bindingId String
location String
membershipId String
project String
bindingId string
location string
membershipId string
project string
bindingId String
location String
membershipId 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.

Fleet bool

Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.

Name string

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

Scope string

A Workspace resource name in the format projects/*/locations/*/scopes/*.

State Pulumi.GoogleNative.GKEHub.V1.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.

Fleet bool

Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.

Name string

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

Scope string

A Workspace 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.

fleet Boolean

Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.

name String

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

scope String

A Workspace 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.

fleet boolean

Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.

name string

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

scope string

A Workspace 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.

fleet bool

Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.

name str

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

scope str

A Workspace 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.

fleet Boolean

Whether the membershipbinding is Fleet-wide; true means that this Membership should be bound to all Namespaces in this entire Fleet.

name String

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

scope String

A Workspace 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 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