Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networkservices/v1.getServiceBinding
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets details of a single ServiceBinding.
Using getServiceBinding
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 getServiceBinding(args: GetServiceBindingArgs, opts?: InvokeOptions): Promise<GetServiceBindingResult>
function getServiceBindingOutput(args: GetServiceBindingOutputArgs, opts?: InvokeOptions): Output<GetServiceBindingResult>
def get_service_binding(location: Optional[str] = None,
project: Optional[str] = None,
service_binding_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceBindingResult
def get_service_binding_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
service_binding_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceBindingResult]
func LookupServiceBinding(ctx *Context, args *LookupServiceBindingArgs, opts ...InvokeOption) (*LookupServiceBindingResult, error)
func LookupServiceBindingOutput(ctx *Context, args *LookupServiceBindingOutputArgs, opts ...InvokeOption) LookupServiceBindingResultOutput
> Note: This function is named LookupServiceBinding
in the Go SDK.
public static class GetServiceBinding
{
public static Task<GetServiceBindingResult> InvokeAsync(GetServiceBindingArgs args, InvokeOptions? opts = null)
public static Output<GetServiceBindingResult> Invoke(GetServiceBindingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceBindingResult> getServiceBinding(GetServiceBindingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:networkservices/v1:getServiceBinding
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Service
Binding stringId - Project string
- Location string
- Service
Binding stringId - Project string
- location String
- service
Binding StringId - project String
- location string
- service
Binding stringId - project string
- location str
- service_
binding_ strid - project str
- location String
- service
Binding StringId - project String
getServiceBinding Result
The following output properties are available:
- Create
Time string The timestamp when the resource was 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.
- Name string
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- Service string
The full Service Directory Service name of the format projects//locations//namespaces//services/
- Update
Time string The timestamp when the resource was updated.
- Create
Time string The timestamp when the resource was 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.
- Name string
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- Service string
The full Service Directory Service name of the format projects//locations//namespaces//services/
- Update
Time string The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was 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.
- name String
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- service String
The full Service Directory Service name of the format projects//locations//namespaces//services/
- update
Time String The timestamp when the resource was updated.
- create
Time string The timestamp when the resource was 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.
- name string
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- service string
The full Service Directory Service name of the format projects//locations//namespaces//services/
- update
Time string The timestamp when the resource was updated.
- create_
time str The timestamp when the resource was 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.
- name str
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- service str
The full Service Directory Service name of the format projects//locations//namespaces//services/
- update_
time str The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was 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.
- name String
Name of the ServiceBinding resource. It matches pattern
projects/*/locations/global/serviceBindings/service_binding_name
.- service String
The full Service Directory Service name of the format projects//locations//namespaces//services/
- 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.