google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.networkservices/v1.getServiceBinding

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
ServiceBindingId string
Project string
Location string
ServiceBindingId string
Project string
location String
serviceBindingId String
project String
location string
serviceBindingId string
project string
location String
serviceBindingId String
project String

getServiceBinding Result

The following output properties are available:

CreateTime 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/

UpdateTime string

The timestamp when the resource was updated.

CreateTime 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/

UpdateTime string

The timestamp when the resource was updated.

createTime 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/

updateTime String

The timestamp when the resource was updated.

createTime 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/

updateTime 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.

createTime 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/

updateTime String

The timestamp when the resource was updated.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0