Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.oci.getApiaccesscontrolApiMetadatas
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
This data source provides the list of Api Metadatas in Oracle Cloud Infrastructure Apiaccesscontrol service.
Gets a list of ApiMetadata.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testApiMetadatas = oci.oci.getApiaccesscontrolApiMetadatas({
compartmentId: compartmentId,
displayName: apiMetadataDisplayName,
resourceType: apiMetadataResourceType,
state: apiMetadataState,
});
import pulumi
import pulumi_oci as oci
test_api_metadatas = oci.oci.get_apiaccesscontrol_api_metadatas(compartment_id=compartment_id,
display_name=api_metadata_display_name,
resource_type=api_metadata_resource_type,
state=api_metadata_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetApiaccesscontrolApiMetadatas(ctx, &oci.GetApiaccesscontrolApiMetadatasArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(apiMetadataDisplayName),
ResourceType: pulumi.StringRef(apiMetadataResourceType),
State: pulumi.StringRef(apiMetadataState),
}, 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 testApiMetadatas = Oci.Oci.GetApiaccesscontrolApiMetadatas.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = apiMetadataDisplayName,
ResourceType = apiMetadataResourceType,
State = apiMetadataState,
});
});
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.GetApiaccesscontrolApiMetadatasArgs;
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 testApiMetadatas = OciFunctions.getApiaccesscontrolApiMetadatas(GetApiaccesscontrolApiMetadatasArgs.builder()
.compartmentId(compartmentId)
.displayName(apiMetadataDisplayName)
.resourceType(apiMetadataResourceType)
.state(apiMetadataState)
.build());
}
}
variables:
testApiMetadatas:
fn::invoke:
function: oci:oci:getApiaccesscontrolApiMetadatas
arguments:
compartmentId: ${compartmentId}
displayName: ${apiMetadataDisplayName}
resourceType: ${apiMetadataResourceType}
state: ${apiMetadataState}
Using getApiaccesscontrolApiMetadatas
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 getApiaccesscontrolApiMetadatas(args: GetApiaccesscontrolApiMetadatasArgs, opts?: InvokeOptions): Promise<GetApiaccesscontrolApiMetadatasResult>
function getApiaccesscontrolApiMetadatasOutput(args: GetApiaccesscontrolApiMetadatasOutputArgs, opts?: InvokeOptions): Output<GetApiaccesscontrolApiMetadatasResult>def get_apiaccesscontrol_api_metadatas(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetApiaccesscontrolApiMetadatasFilter]] = None,
resource_type: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiaccesscontrolApiMetadatasResult
def get_apiaccesscontrol_api_metadatas_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetApiaccesscontrolApiMetadatasFilterArgs]]]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiaccesscontrolApiMetadatasResult]func GetApiaccesscontrolApiMetadatas(ctx *Context, args *GetApiaccesscontrolApiMetadatasArgs, opts ...InvokeOption) (*GetApiaccesscontrolApiMetadatasResult, error)
func GetApiaccesscontrolApiMetadatasOutput(ctx *Context, args *GetApiaccesscontrolApiMetadatasOutputArgs, opts ...InvokeOption) GetApiaccesscontrolApiMetadatasResultOutput> Note: This function is named GetApiaccesscontrolApiMetadatas in the Go SDK.
public static class GetApiaccesscontrolApiMetadatas
{
public static Task<GetApiaccesscontrolApiMetadatasResult> InvokeAsync(GetApiaccesscontrolApiMetadatasArgs args, InvokeOptions? opts = null)
public static Output<GetApiaccesscontrolApiMetadatasResult> Invoke(GetApiaccesscontrolApiMetadatasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetApiaccesscontrolApiMetadatasResult> getApiaccesscontrolApiMetadatas(GetApiaccesscontrolApiMetadatasArgs args, InvokeOptions options)
public static Output<GetApiaccesscontrolApiMetadatasResult> getApiaccesscontrolApiMetadatas(GetApiaccesscontrolApiMetadatasArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getApiaccesscontrolApiMetadatas:getApiaccesscontrolApiMetadatas
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Apiaccesscontrol Api Metadatas Filter> - Resource
Type string - A filter to return only lists of resources that match the entire given service type.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Apiaccesscontrol Api Metadatas Filter - Resource
Type string - A filter to return only lists of resources that match the entire given service type.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Apiaccesscontrol Api Metadatas Filter> - resource
Type String - A filter to return only lists of resources that match the entire given service type.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Apiaccesscontrol Api Metadatas Filter[] - resource
Type string - A filter to return only lists of resources that match the entire given service type.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Apiaccesscontrol Api Metadatas Filter] - resource_
type str - A filter to return only lists of resources that match the entire given service type.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- resource
Type String - A filter to return only lists of resources that match the entire given service type.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getApiaccesscontrolApiMetadatas Result
The following output properties are available:
- Api
Metadata List<GetCollections Apiaccesscontrol Api Metadatas Api Metadata Collection> - The list of api_metadata_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Display
Name string - The operation Name of the api. The name must be unique.
- Filters
List<Get
Apiaccesscontrol Api Metadatas Filter> - Resource
Type string - State string
- The current state of the ApiMetadata.
- Api
Metadata []GetCollections Apiaccesscontrol Api Metadatas Api Metadata Collection - The list of api_metadata_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Display
Name string - The operation Name of the api. The name must be unique.
- Filters
[]Get
Apiaccesscontrol Api Metadatas Filter - Resource
Type string - State string
- The current state of the ApiMetadata.
- api
Metadata List<GetCollections Apiaccesscontrol Api Metadatas Api Metadata Collection> - The list of api_metadata_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - display
Name String - The operation Name of the api. The name must be unique.
- filters
List<Get
Apiaccesscontrol Api Metadatas Filter> - resource
Type String - state String
- The current state of the ApiMetadata.
- api
Metadata GetCollections Apiaccesscontrol Api Metadatas Api Metadata Collection[] - The list of api_metadata_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id string - display
Name string - The operation Name of the api. The name must be unique.
- filters
Get
Apiaccesscontrol Api Metadatas Filter[] - resource
Type string - state string
- The current state of the ApiMetadata.
- api_
metadata_ Sequence[Getcollections Apiaccesscontrol Api Metadatas Api Metadata Collection] - The list of api_metadata_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_
id str - display_
name str - The operation Name of the api. The name must be unique.
- filters
Sequence[Get
Apiaccesscontrol Api Metadatas Filter] - resource_
type str - state str
- The current state of the ApiMetadata.
- api
Metadata List<Property Map>Collections - The list of api_metadata_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - display
Name String - The operation Name of the api. The name must be unique.
- filters List<Property Map>
- resource
Type String - state String
- The current state of the ApiMetadata.
Supporting Types
GetApiaccesscontrolApiMetadatasApiMetadataCollection
GetApiaccesscontrolApiMetadatasApiMetadataCollectionItem
- Api
Name string - The name of the api to execute the api request.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- Entity
Type string - ResourceType to which the apiMetadata belongs to.
- Fields List<string>
- List of the fields that is use while calling post or put for the data.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the ApiDetail.
- Lifecycle
Details string - A message that describes the current state of the ApiMetadata in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Path string
- rest path of the api.
- Service
Name string - The service Name to which the api belongs to.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Deleted string - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Api
Name string - The name of the api to execute the api request.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- Entity
Type string - ResourceType to which the apiMetadata belongs to.
- Fields []string
- List of the fields that is use while calling post or put for the data.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the ApiDetail.
- Lifecycle
Details string - A message that describes the current state of the ApiMetadata in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Path string
- rest path of the api.
- Service
Name string - The service Name to which the api belongs to.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Deleted string - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- api
Name String - The name of the api to execute the api request.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given display name exactly.
- entity
Type String - ResourceType to which the apiMetadata belongs to.
- fields List<String>
- List of the fields that is use while calling post or put for the data.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the ApiDetail.
- lifecycle
Details String - A message that describes the current state of the ApiMetadata in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- path String
- rest path of the api.
- service
Name String - The service Name to which the api belongs to.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Deleted String - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- api
Name string - The name of the api to execute the api request.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - A filter to return only resources that match the given display name exactly.
- entity
Type string - ResourceType to which the apiMetadata belongs to.
- fields string[]
- List of the fields that is use while calling post or put for the data.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the ApiDetail.
- lifecycle
Details string - A message that describes the current state of the ApiMetadata in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- path string
- rest path of the api.
- service
Name string - The service Name to which the api belongs to.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[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 PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Deleted string - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- api_
name str - The name of the api to execute the api request.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - A filter to return only resources that match the given display name exactly.
- entity_
type str - ResourceType to which the apiMetadata belongs to.
- fields Sequence[str]
- List of the fields that is use while calling post or put for the data.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the ApiDetail.
- lifecycle_
details str - A message that describes the current state of the ApiMetadata in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- path str
- rest path of the api.
- service_
name str - The service Name to which the api belongs to.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
deleted str - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- api
Name String - The name of the api to execute the api request.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given display name exactly.
- entity
Type String - ResourceType to which the apiMetadata belongs to.
- fields List<String>
- List of the fields that is use while calling post or put for the data.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the ApiDetail.
- lifecycle
Details String - A message that describes the current state of the ApiMetadata in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- path String
- rest path of the api.
- service
Name String - The service Name to which the api belongs to.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- 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 PrivilegedApiControl was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Deleted String - The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
GetApiaccesscontrolApiMetadatasFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
