1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1beta1
  6. getServiceBinding

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.networkservices/v1beta1.getServiceBinding

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

    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/v1beta1: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/
    ServiceId string
    The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
    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/
    ServiceId string
    The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
    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/
    serviceId String
    The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
    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/
    serviceId string
    The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
    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/
    service_id str
    The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
    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/
    serviceId String
    The unique identifier of the Service Directory Service against which the Service Binding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format.
    updateTime String
    The timestamp when the resource was updated.

    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