Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1alpha.Binding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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/v1alpha: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 google_nativeBindingResource = new GoogleNative.GKEHub.V1Alpha.Binding("google-nativeBindingResource", new()
{
MembershipBindingId = "string",
MembershipId = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Name = "string",
Project = "string",
Scope = "string",
});
example, err := gkehubv1alpha.NewBinding(ctx, "google-nativeBindingResource", &gkehubv1alpha.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 google_nativeBindingResource = new Binding("google-nativeBindingResource", BindingArgs.builder()
.membershipBindingId("string")
.membershipId("string")
.labels(Map.of("string", "string"))
.location("string")
.name("string")
.project("string")
.scope("string")
.build());
google_native_binding_resource = google_native.gkehub.v1alpha.Binding("google-nativeBindingResource",
membership_binding_id="string",
membership_id="string",
labels={
"string": "string",
},
location="string",
name="string",
project="string",
scope="string")
const google_nativeBindingResource = new google_native.gkehub.v1alpha.Binding("google-nativeBindingResource", {
membershipBindingId: "string",
membershipId: "string",
labels: {
string: "string",
},
location: "string",
name: "string",
project: "string",
scope: "string",
});
type: google-native:gkehub/v1alpha: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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Binding resource accepts the following input properties:
- Membership
Binding stringId - Required. The ID to use for the MembershipBinding.
- Membership
Id 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/*
.
- Membership
Binding stringId - Required. The ID to use for the MembershipBinding.
- Membership
Id 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/*
.
- membership
Binding StringId - Required. The ID to use for the MembershipBinding.
- membership
Id 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/*
.
- membership
Binding stringId - Required. The ID to use for the MembershipBinding.
- membership
Id 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_ strid - 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/*
.
- membership
Binding StringId - Required. The ID to use for the MembershipBinding.
- membership
Id 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:
- Create
Time string - When the membership binding was created.
- Delete
Time string - When the membership binding was deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- 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.
- update
Time 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 Cloud Native is in preview. Google Cloud Classic is fully supported.