Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1beta1.ServiceBinding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new ServiceBinding in a given project and location.
Create ServiceBinding Resource
new ServiceBinding(name: string, args: ServiceBindingArgs, opts?: CustomResourceOptions);
@overload
def ServiceBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
service: Optional[str] = None,
service_binding_id: Optional[str] = None)
@overload
def ServiceBinding(resource_name: str,
args: ServiceBindingArgs,
opts: Optional[ResourceOptions] = None)
func NewServiceBinding(ctx *Context, name string, args ServiceBindingArgs, opts ...ResourceOption) (*ServiceBinding, error)
public ServiceBinding(string name, ServiceBindingArgs args, CustomResourceOptions? opts = null)
public ServiceBinding(String name, ServiceBindingArgs args)
public ServiceBinding(String name, ServiceBindingArgs args, CustomResourceOptions options)
type: google-native:networkservices/v1beta1:ServiceBinding
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceBindingArgs
- 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 ServiceBindingArgs
- 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 ServiceBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceBindingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServiceBinding 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 ServiceBinding resource accepts the following input properties:
- Service string
The full Service Directory Service name of the format projects//locations//namespaces//services/
- Service
Binding stringId Required. Short name of the ServiceBinding resource to be created.
- Description string
Optional. A free-text description of the resource. Max length 1024 characters.
- Labels Dictionary<string, string>
Optional. Set of label tags associated with the ServiceBinding resource.
- Location string
- Name string
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- Project string
- Service string
The full Service Directory Service name of the format projects//locations//namespaces//services/
- Service
Binding stringId Required. Short name of the ServiceBinding resource to be created.
- Description string
Optional. A free-text description of the resource. Max length 1024 characters.
- Labels map[string]string
Optional. Set of label tags associated with the ServiceBinding resource.
- Location string
- Name string
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- Project string
- service String
The full Service Directory Service name of the format projects//locations//namespaces//services/
- service
Binding StringId Required. Short name of the ServiceBinding resource to be created.
- description String
Optional. A free-text description of the resource. Max length 1024 characters.
- labels Map<String,String>
Optional. Set of label tags associated with the ServiceBinding resource.
- location String
- name String
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- project String
- service string
The full Service Directory Service name of the format projects//locations//namespaces//services/
- service
Binding stringId Required. Short name of the ServiceBinding resource to be created.
- description string
Optional. A free-text description of the resource. Max length 1024 characters.
- labels {[key: string]: string}
Optional. Set of label tags associated with the ServiceBinding resource.
- location string
- name string
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- project string
- service str
The full Service Directory Service name of the format projects//locations//namespaces//services/
- service_
binding_ strid Required. Short name of the ServiceBinding resource to be created.
- description str
Optional. A free-text description of the resource. Max length 1024 characters.
- labels Mapping[str, str]
Optional. Set of label tags associated with the ServiceBinding resource.
- location str
- name str
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- project str
- service String
The full Service Directory Service name of the format projects//locations//namespaces//services/
- service
Binding StringId Required. Short name of the ServiceBinding resource to be created.
- description String
Optional. A free-text description of the resource. Max length 1024 characters.
- labels Map<String>
Optional. Set of label tags associated with the ServiceBinding resource.
- location String
- name String
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceBinding resource produces the following output properties:
- Create
Time string The timestamp when the resource was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string The timestamp when the resource was updated.
- Create
Time string The timestamp when the resource was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was created.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String The timestamp when the resource was updated.
- create
Time string The timestamp when the resource was created.
- id string
The provider-assigned unique ID for this managed resource.
- update
Time string The timestamp when the resource was updated.
- create_
time str The timestamp when the resource was created.
- id str
The provider-assigned unique ID for this managed resource.
- update_
time str The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was created.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String The timestamp when the resource was updated.
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.