1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1beta
  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/v1beta.getBinding

Explore with Pulumi AI

google-native logo

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>
    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/v1beta: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.
    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.V1Beta.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 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-native logo

    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