1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1
  6. Binding

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/v1.Binding

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

    Creates a MembershipBinding. Auto-naming is currently not supported for this resource.

    Create Binding Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Binding(name: string, args: BindingArgs, opts?: CustomResourceOptions);
    @overload
    def Binding(resource_name: str,
                args: BindingInitArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Binding(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                membership_binding_id: Optional[str] = None,
                membership_id: Optional[str] = None,
                labels: Optional[Mapping[str, str]] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                scope: Optional[str] = None)
    func NewBinding(ctx *Context, name string, args BindingArgs, opts ...ResourceOption) (*Binding, error)
    public Binding(string name, BindingArgs args, CustomResourceOptions? opts = null)
    public Binding(String name, BindingArgs args)
    public Binding(String name, BindingArgs args, CustomResourceOptions options)
    
    type: google-native:gkehub/v1:Binding
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BindingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BindingInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BindingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BindingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BindingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var bindingResource = new GoogleNative.GKEHub.V1.Binding("bindingResource", new()
    {
        MembershipBindingId = "string",
        MembershipId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Name = "string",
        Project = "string",
        Scope = "string",
    });
    
    example, err := gkehub.NewBinding(ctx, "bindingResource", &gkehub.BindingArgs{
    	MembershipBindingId: pulumi.String("string"),
    	MembershipId:        pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Project:  pulumi.String("string"),
    	Scope:    pulumi.String("string"),
    })
    
    var bindingResource = new Binding("bindingResource", BindingArgs.builder()
        .membershipBindingId("string")
        .membershipId("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .name("string")
        .project("string")
        .scope("string")
        .build());
    
    binding_resource = google_native.gkehub.v1.Binding("bindingResource",
        membership_binding_id="string",
        membership_id="string",
        labels={
            "string": "string",
        },
        location="string",
        name="string",
        project="string",
        scope="string")
    
    const bindingResource = new google_native.gkehub.v1.Binding("bindingResource", {
        membershipBindingId: "string",
        membershipId: "string",
        labels: {
            string: "string",
        },
        location: "string",
        name: "string",
        project: "string",
        scope: "string",
    });
    
    type: google-native:gkehub/v1:Binding
    properties:
        labels:
            string: string
        location: string
        membershipBindingId: string
        membershipId: string
        name: string
        project: string
        scope: string
    

    Binding Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Binding resource accepts the following input properties:

    MembershipBindingId string
    Required. The ID to use for the MembershipBinding.
    MembershipId string
    Labels Dictionary<string, string>
    Optional. Labels for this MembershipBinding.
    Location string
    Name string
    The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
    Project string
    Scope string
    A Scope resource name in the format projects/*/locations/*/scopes/*.
    MembershipBindingId string
    Required. The ID to use for the MembershipBinding.
    MembershipId string
    Labels map[string]string
    Optional. Labels for this MembershipBinding.
    Location string
    Name string
    The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
    Project string
    Scope string
    A Scope resource name in the format projects/*/locations/*/scopes/*.
    membershipBindingId String
    Required. The ID to use for the MembershipBinding.
    membershipId String
    labels Map<String,String>
    Optional. Labels for this MembershipBinding.
    location String
    name String
    The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
    project String
    scope String
    A Scope resource name in the format projects/*/locations/*/scopes/*.
    membershipBindingId string
    Required. The ID to use for the MembershipBinding.
    membershipId string
    labels {[key: string]: string}
    Optional. Labels for this MembershipBinding.
    location string
    name string
    The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
    project string
    scope string
    A Scope resource name in the format projects/*/locations/*/scopes/*.
    membership_binding_id str
    Required. The ID to use for the MembershipBinding.
    membership_id str
    labels Mapping[str, str]
    Optional. Labels for this MembershipBinding.
    location str
    name str
    The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
    project str
    scope str
    A Scope resource name in the format projects/*/locations/*/scopes/*.
    membershipBindingId String
    Required. The ID to use for the MembershipBinding.
    membershipId String
    labels Map<String>
    Optional. Labels for this MembershipBinding.
    location String
    name String
    The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
    project String
    scope String
    A Scope resource name in the format projects/*/locations/*/scopes/*.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Binding resource produces the following output properties:

    CreateTime string
    When the membership binding was created.
    DeleteTime string
    When the membership binding was deleted.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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, MembershipBindingLifecycleStateResponseArgs

    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