ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getServiceInstance
Start a Neo task
Explain and create an ibm.getServiceInstance resource
Using getServiceInstance
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 getServiceInstance(args: GetServiceInstanceArgs, opts?: InvokeOptions): Promise<GetServiceInstanceResult>
function getServiceInstanceOutput(args: GetServiceInstanceOutputArgs, opts?: InvokeOptions): Output<GetServiceInstanceResult>def get_service_instance(id: Optional[str] = None,
name: Optional[str] = None,
space_guid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceInstanceResult
def get_service_instance_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
space_guid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceInstanceResult]func LookupServiceInstance(ctx *Context, args *LookupServiceInstanceArgs, opts ...InvokeOption) (*LookupServiceInstanceResult, error)
func LookupServiceInstanceOutput(ctx *Context, args *LookupServiceInstanceOutputArgs, opts ...InvokeOption) LookupServiceInstanceResultOutput> Note: This function is named LookupServiceInstance in the Go SDK.
public static class GetServiceInstance
{
public static Task<GetServiceInstanceResult> InvokeAsync(GetServiceInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceInstanceResult> Invoke(GetServiceInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceInstanceResult> getServiceInstance(GetServiceInstanceArgs args, InvokeOptions options)
public static Output<GetServiceInstanceResult> getServiceInstance(GetServiceInstanceArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getServiceInstance:getServiceInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- name str
- space_
guid str - id str
getServiceInstance Result
The following output properties are available:
- Credentials Dictionary<string, string>
- Id string
- Name string
- Service
Keys List<GetService Instance Service Key> - Service
Plan stringGuid - Space
Guid string
- Credentials map[string]string
- Id string
- Name string
- Service
Keys []GetService Instance Service Key - Service
Plan stringGuid - Space
Guid string
- credentials Map<String,String>
- id String
- name String
- service
Keys List<GetService Instance Service Key> - service
Plan StringGuid - space
Guid String
- credentials {[key: string]: string}
- id string
- name string
- service
Keys GetService Instance Service Key[] - service
Plan stringGuid - space
Guid string
- credentials Mapping[str, str]
- id str
- name str
- service_
keys Sequence[GetService Instance Service Key] - service_
plan_ strguid - space_
guid str
- credentials Map<String>
- id String
- name String
- service
Keys List<Property Map> - service
Plan StringGuid - space
Guid String
Supporting Types
GetServiceInstanceServiceKey
- Credentials Dictionary<string, string>
- Name string
- Credentials map[string]string
- Name string
- credentials Map<String,String>
- name String
- credentials {[key: string]: string}
- name string
- credentials Mapping[str, str]
- name str
- credentials Map<String>
- name String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
