Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
This data source provides details about a specific Api Platform Instance resource in Oracle Cloud Infrastructure Api Platform service.
Gets information about an API Platform Instance
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testApiPlatformInstance = oci.oci.getApiPlatformApiPlatformInstance({
apiPlatformInstanceId: testApiPlatformInstanceOciApiPlatformApiPlatformInstance.id,
});
import pulumi
import pulumi_oci as oci
test_api_platform_instance = oci.oci.get_api_platform_api_platform_instance(api_platform_instance_id=test_api_platform_instance_oci_api_platform_api_platform_instance["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.LookupApiPlatformApiPlatformInstance(ctx, &oci.LookupApiPlatformApiPlatformInstanceArgs{
ApiPlatformInstanceId: testApiPlatformInstanceOciApiPlatformApiPlatformInstance.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testApiPlatformInstance = Oci.Oci.GetApiPlatformApiPlatformInstance.Invoke(new()
{
ApiPlatformInstanceId = testApiPlatformInstanceOciApiPlatformApiPlatformInstance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetApiPlatformApiPlatformInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testApiPlatformInstance = OciFunctions.getApiPlatformApiPlatformInstance(GetApiPlatformApiPlatformInstanceArgs.builder()
.apiPlatformInstanceId(testApiPlatformInstanceOciApiPlatformApiPlatformInstance.id())
.build());
}
}
variables:
testApiPlatformInstance:
fn::invoke:
function: oci:oci:getApiPlatformApiPlatformInstance
arguments:
apiPlatformInstanceId: ${testApiPlatformInstanceOciApiPlatformApiPlatformInstance.id}
Using getApiPlatformApiPlatformInstance
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 getApiPlatformApiPlatformInstance(args: GetApiPlatformApiPlatformInstanceArgs, opts?: InvokeOptions): Promise<GetApiPlatformApiPlatformInstanceResult>
function getApiPlatformApiPlatformInstanceOutput(args: GetApiPlatformApiPlatformInstanceOutputArgs, opts?: InvokeOptions): Output<GetApiPlatformApiPlatformInstanceResult>def get_api_platform_api_platform_instance(api_platform_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiPlatformApiPlatformInstanceResult
def get_api_platform_api_platform_instance_output(api_platform_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiPlatformApiPlatformInstanceResult]func LookupApiPlatformApiPlatformInstance(ctx *Context, args *LookupApiPlatformApiPlatformInstanceArgs, opts ...InvokeOption) (*LookupApiPlatformApiPlatformInstanceResult, error)
func LookupApiPlatformApiPlatformInstanceOutput(ctx *Context, args *LookupApiPlatformApiPlatformInstanceOutputArgs, opts ...InvokeOption) LookupApiPlatformApiPlatformInstanceResultOutput> Note: This function is named LookupApiPlatformApiPlatformInstance in the Go SDK.
public static class GetApiPlatformApiPlatformInstance
{
public static Task<GetApiPlatformApiPlatformInstanceResult> InvokeAsync(GetApiPlatformApiPlatformInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetApiPlatformApiPlatformInstanceResult> Invoke(GetApiPlatformApiPlatformInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiPlatformApiPlatformInstanceResult> getApiPlatformApiPlatformInstance(GetApiPlatformApiPlatformInstanceArgs args, InvokeOptions options)
public static Output<GetApiPlatformApiPlatformInstanceResult> getApiPlatformApiPlatformInstance(GetApiPlatformApiPlatformInstanceArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getApiPlatformApiPlatformInstance:getApiPlatformApiPlatformInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Api
Platform stringInstance Id - The OCID of the instance
- Api
Platform stringInstance Id - The OCID of the instance
- api
Platform StringInstance Id - The OCID of the instance
- api
Platform stringInstance Id - The OCID of the instance
- api_
platform_ strinstance_ id - The OCID of the instance
- api
Platform StringInstance Id - The OCID of the instance
getApiPlatformApiPlatformInstance Result
The following output properties are available:
- Api
Platform stringInstance Id - Compartment
Id string - The OCID of the compartment
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- User-provided changeable and non-unique description of the instance
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the instance
- Idcs
Apps List<GetApi Platform Api Platform Instance Idcs App> - IDCS app associated with the instance, that can be used to manage the roles of the users
- Lifecycle
Details string - A message that describes the current state of the instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state
- Name string
- A regionally unique, non-changeable instance name provided by the user during instance creation
- State string
- The current state of the instance
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the instance was created, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the instance was updated, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - Uris
List<Get
Api Platform Api Platform Instance Uri> - Service URIs pertaining to the instance
- Api
Platform stringInstance Id - Compartment
Id string - The OCID of the compartment
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- User-provided changeable and non-unique description of the instance
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The OCID of the instance
- Idcs
Apps []GetApi Platform Api Platform Instance Idcs App - IDCS app associated with the instance, that can be used to manage the roles of the users
- Lifecycle
Details string - A message that describes the current state of the instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state
- Name string
- A regionally unique, non-changeable instance name provided by the user during instance creation
- State string
- The current state of the instance
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time the instance was created, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the instance was updated, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - Uris
[]Get
Api Platform Api Platform Instance Uri - Service URIs pertaining to the instance
- api
Platform StringInstance Id - compartment
Id String - The OCID of the compartment
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- User-provided changeable and non-unique description of the instance
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the instance
- idcs
Apps List<GetApi Platform Api Platform Instance Idcs App> - IDCS app associated with the instance, that can be used to manage the roles of the users
- lifecycle
Details String - A message that describes the current state of the instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state
- name String
- A regionally unique, non-changeable instance name provided by the user during instance creation
- state String
- The current state of the instance
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the instance was created, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the instance was updated, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - uris
List<Get
Api Platform Api Platform Instance Uri> - Service URIs pertaining to the instance
- api
Platform stringInstance Id - compartment
Id string - The OCID of the compartment
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- User-provided changeable and non-unique description of the instance
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The OCID of the instance
- idcs
Apps GetApi Platform Api Platform Instance Idcs App[] - IDCS app associated with the instance, that can be used to manage the roles of the users
- lifecycle
Details string - A message that describes the current state of the instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state
- name string
- A regionally unique, non-changeable instance name provided by the user during instance creation
- state string
- The current state of the instance
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time the instance was created, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the instance was updated, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - uris
Get
Api Platform Api Platform Instance Uri[] - Service URIs pertaining to the instance
- api_
platform_ strinstance_ id - compartment_
id str - The OCID of the compartment
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- User-provided changeable and non-unique description of the instance
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- The OCID of the instance
- idcs_
apps Sequence[GetApi Platform Api Platform Instance Idcs App] - IDCS app associated with the instance, that can be used to manage the roles of the users
- lifecycle_
details str - A message that describes the current state of the instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state
- name str
- A regionally unique, non-changeable instance name provided by the user during instance creation
- state str
- The current state of the instance
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time the instance was created, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the instance was updated, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - uris
Sequence[Get
Api Platform Api Platform Instance Uri] - Service URIs pertaining to the instance
- api
Platform StringInstance Id - compartment
Id String - The OCID of the compartment
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- User-provided changeable and non-unique description of the instance
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The OCID of the instance
- idcs
Apps List<Property Map> - IDCS app associated with the instance, that can be used to manage the roles of the users
- lifecycle
Details String - A message that describes the current state of the instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state
- name String
- A regionally unique, non-changeable instance name provided by the user during instance creation
- state String
- The current state of the instance
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time the instance was created, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the instance was updated, in the format defined by RFC 3339 Example:
2016-08-25T21:10:29.600Z - uris List<Property Map>
- Service URIs pertaining to the instance
Supporting Types
GetApiPlatformApiPlatformInstanceIdcsApp
- Url string
- IDCS URL of the app
- Url string
- IDCS URL of the app
- url String
- IDCS URL of the app
- url string
- IDCS URL of the app
- url str
- IDCS URL of the app
- url String
- IDCS URL of the app
GetApiPlatformApiPlatformInstanceUri
- Developers
Portal stringUri - Developer's Portal URI of the instance (/developers)
- Management
Portal stringUri - Management Portal URI of the instance (/apiplatform)
- Developers
Portal stringUri - Developer's Portal URI of the instance (/developers)
- Management
Portal stringUri - Management Portal URI of the instance (/apiplatform)
- developers
Portal StringUri - Developer's Portal URI of the instance (/developers)
- management
Portal StringUri - Management Portal URI of the instance (/apiplatform)
- developers
Portal stringUri - Developer's Portal URI of the instance (/developers)
- management
Portal stringUri - Management Portal URI of the instance (/apiplatform)
- developers_
portal_ struri - Developer's Portal URI of the instance (/developers)
- management_
portal_ struri - Management Portal URI of the instance (/apiplatform)
- developers
Portal StringUri - Developer's Portal URI of the instance (/developers)
- management
Portal StringUri - Management Portal URI of the instance (/apiplatform)
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
