1. Registry
  2. Packages
  3. Cloudfoundry Provider
  4. API Docs
  5. getServiceCredentialBindings
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry
cloudfoundry
Viewing docs for cloudfoundry 1.19.0
published on Friday, Nov 13, 2026 by cloudfoundry

    Gets information on Service Credential Bindings for a given service instance.

    Using getServiceCredentialBindings

    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 getServiceCredentialBindings(args: GetServiceCredentialBindingsArgs, opts?: InvokeOptions): Promise<GetServiceCredentialBindingsResult>
    function getServiceCredentialBindingsOutput(args: GetServiceCredentialBindingsOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceCredentialBindingsResult>
    def get_service_credential_bindings(app: Optional[str] = None,
                                        name: Optional[str] = None,
                                        service_instance: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetServiceCredentialBindingsResult
    def get_service_credential_bindings_output(app: pulumi.Input[Optional[str]] = None,
                                        name: pulumi.Input[Optional[str]] = None,
                                        service_instance: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceCredentialBindingsResult]
    func GetServiceCredentialBindings(ctx *Context, args *GetServiceCredentialBindingsArgs, opts ...InvokeOption) (*GetServiceCredentialBindingsResult, error)
    func GetServiceCredentialBindingsOutput(ctx *Context, args *GetServiceCredentialBindingsOutputArgs, opts ...InvokeOption) GetServiceCredentialBindingsResultOutput

    > Note: This function is named GetServiceCredentialBindings in the Go SDK.

    public static class GetServiceCredentialBindings 
    {
        public static Task<GetServiceCredentialBindingsResult> InvokeAsync(GetServiceCredentialBindingsArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceCredentialBindingsResult> Invoke(GetServiceCredentialBindingsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceCredentialBindingsResult> Invoke(GetServiceCredentialBindingsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetServiceCredentialBindingsResult> getServiceCredentialBindings(GetServiceCredentialBindingsArgs args, InvokeOptions options)
    public static Output<GetServiceCredentialBindingsResult> getServiceCredentialBindings(GetServiceCredentialBindingsArgs args, InvokeOptions options)
    public static Output<GetServiceCredentialBindingsResult> getServiceCredentialBindings(GetServiceCredentialBindingsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudfoundry:index/getServiceCredentialBindings:getServiceCredentialBindings
      arguments:
        # arguments dictionary
    data "cloudfoundry_get_service_credential_bindings" "name" {
        # arguments
    }

    The following arguments are supported:

    ServiceInstance string
    The GUID of the service instance
    App string
    The GUID of the app which is bound to be query for
    Name string
    Name of the service credential binding to query for
    ServiceInstance string
    The GUID of the service instance
    App string
    The GUID of the app which is bound to be query for
    Name string
    Name of the service credential binding to query for
    service_instance string
    The GUID of the service instance
    app string
    The GUID of the app which is bound to be query for
    name string
    Name of the service credential binding to query for
    serviceInstance String
    The GUID of the service instance
    app String
    The GUID of the app which is bound to be query for
    name String
    Name of the service credential binding to query for
    serviceInstance string
    The GUID of the service instance
    app string
    The GUID of the app which is bound to be query for
    name string
    Name of the service credential binding to query for
    service_instance str
    The GUID of the service instance
    app str
    The GUID of the app which is bound to be query for
    name str
    Name of the service credential binding to query for
    serviceInstance String
    The GUID of the service instance
    app String
    The GUID of the app which is bound to be query for
    name String
    Name of the service credential binding to query for

    getServiceCredentialBindings Result

    The following output properties are available:

    CredentialBindings List<GetServiceCredentialBindingsCredentialBinding>
    The list of credential bindings for the given service instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceInstance string
    The GUID of the service instance
    App string
    The GUID of the app which is bound to be query for
    Name string
    Name of the service credential binding to query for
    CredentialBindings []GetServiceCredentialBindingsCredentialBinding
    The list of credential bindings for the given service instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceInstance string
    The GUID of the service instance
    App string
    The GUID of the app which is bound to be query for
    Name string
    Name of the service credential binding to query for
    credential_bindings list(object)
    The list of credential bindings for the given service instance.
    id string
    The provider-assigned unique ID for this managed resource.
    service_instance string
    The GUID of the service instance
    app string
    The GUID of the app which is bound to be query for
    name string
    Name of the service credential binding to query for
    credentialBindings List<GetServiceCredentialBindingsCredentialBinding>
    The list of credential bindings for the given service instance.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceInstance String
    The GUID of the service instance
    app String
    The GUID of the app which is bound to be query for
    name String
    Name of the service credential binding to query for
    credentialBindings GetServiceCredentialBindingsCredentialBinding[]
    The list of credential bindings for the given service instance.
    id string
    The provider-assigned unique ID for this managed resource.
    serviceInstance string
    The GUID of the service instance
    app string
    The GUID of the app which is bound to be query for
    name string
    Name of the service credential binding to query for
    credential_bindings Sequence[GetServiceCredentialBindingsCredentialBinding]
    The list of credential bindings for the given service instance.
    id str
    The provider-assigned unique ID for this managed resource.
    service_instance str
    The GUID of the service instance
    app str
    The GUID of the app which is bound to be query for
    name str
    Name of the service credential binding to query for
    credentialBindings List<Property Map>
    The list of credential bindings for the given service instance.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceInstance String
    The GUID of the service instance
    app String
    The GUID of the app which is bound to be query for
    name String
    Name of the service credential binding to query for

    Supporting Types

    GetServiceCredentialBindingsCredentialBinding

    Annotations Dictionary<string, string>
    The annotations associated with Cloud Foundry resources.
    App string
    The GUID of the app which is bound
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    CredentialBinding string
    The service credential binding details as JSON.
    Id string
    The GUID of the object.
    Labels Dictionary<string, string>
    The labels associated with Cloud Foundry resources.
    LastOperation GetServiceCredentialBindingsCredentialBindingLastOperation
    The details of the last operation performed on the resource
    Name string
    Name of the service credential binding
    Parameters string
    A JSON object that is passed to the service broker.
    ServiceInstance string
    The GUID of the service instance
    Type string
    Type of the service credential binding
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    Annotations map[string]string
    The annotations associated with Cloud Foundry resources.
    App string
    The GUID of the app which is bound
    CreatedAt string
    The date and time when the resource was created in RFC3339 format.
    CredentialBinding string
    The service credential binding details as JSON.
    Id string
    The GUID of the object.
    Labels map[string]string
    The labels associated with Cloud Foundry resources.
    LastOperation GetServiceCredentialBindingsCredentialBindingLastOperation
    The details of the last operation performed on the resource
    Name string
    Name of the service credential binding
    Parameters string
    A JSON object that is passed to the service broker.
    ServiceInstance string
    The GUID of the service instance
    Type string
    Type of the service credential binding
    UpdatedAt string
    The date and time when the resource was updated in RFC3339 format.
    annotations map(string)
    The annotations associated with Cloud Foundry resources.
    app string
    The GUID of the app which is bound
    created_at string
    The date and time when the resource was created in RFC3339 format.
    credential_binding string
    The service credential binding details as JSON.
    id string
    The GUID of the object.
    labels map(string)
    The labels associated with Cloud Foundry resources.
    last_operation object
    The details of the last operation performed on the resource
    name string
    Name of the service credential binding
    parameters string
    A JSON object that is passed to the service broker.
    service_instance string
    The GUID of the service instance
    type string
    Type of the service credential binding
    updated_at string
    The date and time when the resource was updated in RFC3339 format.
    annotations Map<String,String>
    The annotations associated with Cloud Foundry resources.
    app String
    The GUID of the app which is bound
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    credentialBinding String
    The service credential binding details as JSON.
    id String
    The GUID of the object.
    labels Map<String,String>
    The labels associated with Cloud Foundry resources.
    lastOperation GetServiceCredentialBindingsCredentialBindingLastOperation
    The details of the last operation performed on the resource
    name String
    Name of the service credential binding
    parameters String
    A JSON object that is passed to the service broker.
    serviceInstance String
    The GUID of the service instance
    type String
    Type of the service credential binding
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.
    annotations {[key: string]: string}
    The annotations associated with Cloud Foundry resources.
    app string
    The GUID of the app which is bound
    createdAt string
    The date and time when the resource was created in RFC3339 format.
    credentialBinding string
    The service credential binding details as JSON.
    id string
    The GUID of the object.
    labels {[key: string]: string}
    The labels associated with Cloud Foundry resources.
    lastOperation GetServiceCredentialBindingsCredentialBindingLastOperation
    The details of the last operation performed on the resource
    name string
    Name of the service credential binding
    parameters string
    A JSON object that is passed to the service broker.
    serviceInstance string
    The GUID of the service instance
    type string
    Type of the service credential binding
    updatedAt string
    The date and time when the resource was updated in RFC3339 format.
    annotations Mapping[str, str]
    The annotations associated with Cloud Foundry resources.
    app str
    The GUID of the app which is bound
    created_at str
    The date and time when the resource was created in RFC3339 format.
    credential_binding str
    The service credential binding details as JSON.
    id str
    The GUID of the object.
    labels Mapping[str, str]
    The labels associated with Cloud Foundry resources.
    last_operation GetServiceCredentialBindingsCredentialBindingLastOperation
    The details of the last operation performed on the resource
    name str
    Name of the service credential binding
    parameters str
    A JSON object that is passed to the service broker.
    service_instance str
    The GUID of the service instance
    type str
    Type of the service credential binding
    updated_at str
    The date and time when the resource was updated in RFC3339 format.
    annotations Map<String>
    The annotations associated with Cloud Foundry resources.
    app String
    The GUID of the app which is bound
    createdAt String
    The date and time when the resource was created in RFC3339 format.
    credentialBinding String
    The service credential binding details as JSON.
    id String
    The GUID of the object.
    labels Map<String>
    The labels associated with Cloud Foundry resources.
    lastOperation Property Map
    The details of the last operation performed on the resource
    name String
    Name of the service credential binding
    parameters String
    A JSON object that is passed to the service broker.
    serviceInstance String
    The GUID of the service instance
    type String
    Type of the service credential binding
    updatedAt String
    The date and time when the resource was updated in RFC3339 format.

    GetServiceCredentialBindingsCredentialBindingLastOperation

    CreatedAt string
    The time at which the last operation was created
    Description string
    A description of the last operation
    State string
    The state of the last operation
    Type string
    The type of the last operation
    UpdatedAt string
    The time at which the last operation was updated
    CreatedAt string
    The time at which the last operation was created
    Description string
    A description of the last operation
    State string
    The state of the last operation
    Type string
    The type of the last operation
    UpdatedAt string
    The time at which the last operation was updated
    created_at string
    The time at which the last operation was created
    description string
    A description of the last operation
    state string
    The state of the last operation
    type string
    The type of the last operation
    updated_at string
    The time at which the last operation was updated
    createdAt String
    The time at which the last operation was created
    description String
    A description of the last operation
    state String
    The state of the last operation
    type String
    The type of the last operation
    updatedAt String
    The time at which the last operation was updated
    createdAt string
    The time at which the last operation was created
    description string
    A description of the last operation
    state string
    The state of the last operation
    type string
    The type of the last operation
    updatedAt string
    The time at which the last operation was updated
    created_at str
    The time at which the last operation was created
    description str
    A description of the last operation
    state str
    The state of the last operation
    type str
    The type of the last operation
    updated_at str
    The time at which the last operation was updated
    createdAt String
    The time at which the last operation was created
    description String
    A description of the last operation
    state String
    The state of the last operation
    type String
    The type of the last operation
    updatedAt String
    The time at which the last operation was updated

    Package Details

    Repository
    cloudfoundry cloudfoundry/terraform-provider-cloudfoundry
    License
    Notes
    This Pulumi package is based on the cloudfoundry Terraform Provider.
    cloudfoundry
    Viewing docs for cloudfoundry 1.19.0
    published on Friday, Nov 13, 2026 by cloudfoundry

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial