Oracle Cloud Infrastructure v2.12.0 published on Friday, Oct 11, 2024 by Pulumi
oci.Database.getCloudAutonomousVmClusterAcdResourceUsages
Explore with Pulumi AI
This data source provides the list of Cloud Autonomous Vm Cluster Acd Resource Usages in Oracle Cloud Infrastructure Database service.
Gets the list of resource usage details for all the Cloud Autonomous Container Database in the specified Cloud Autonomous Exadata VM cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCloudAutonomousVmClusterAcdResourceUsages = oci.Database.getCloudAutonomousVmClusterAcdResourceUsages({
cloudAutonomousVmClusterId: testCloudAutonomousVmCluster.id,
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_cloud_autonomous_vm_cluster_acd_resource_usages = oci.Database.get_cloud_autonomous_vm_cluster_acd_resource_usages(cloud_autonomous_vm_cluster_id=test_cloud_autonomous_vm_cluster["id"],
compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.GetCloudAutonomousVmClusterAcdResourceUsages(ctx, &database.GetCloudAutonomousVmClusterAcdResourceUsagesArgs{
CloudAutonomousVmClusterId: testCloudAutonomousVmCluster.Id,
CompartmentId: pulumi.StringRef(compartmentId),
}, 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 testCloudAutonomousVmClusterAcdResourceUsages = Oci.Database.GetCloudAutonomousVmClusterAcdResourceUsages.Invoke(new()
{
CloudAutonomousVmClusterId = testCloudAutonomousVmCluster.Id,
CompartmentId = compartmentId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetCloudAutonomousVmClusterAcdResourceUsagesArgs;
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 testCloudAutonomousVmClusterAcdResourceUsages = DatabaseFunctions.getCloudAutonomousVmClusterAcdResourceUsages(GetCloudAutonomousVmClusterAcdResourceUsagesArgs.builder()
.cloudAutonomousVmClusterId(testCloudAutonomousVmCluster.id())
.compartmentId(compartmentId)
.build());
}
}
variables:
testCloudAutonomousVmClusterAcdResourceUsages:
fn::invoke:
Function: oci:Database:getCloudAutonomousVmClusterAcdResourceUsages
Arguments:
cloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}
compartmentId: ${compartmentId}
Using getCloudAutonomousVmClusterAcdResourceUsages
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 getCloudAutonomousVmClusterAcdResourceUsages(args: GetCloudAutonomousVmClusterAcdResourceUsagesArgs, opts?: InvokeOptions): Promise<GetCloudAutonomousVmClusterAcdResourceUsagesResult>
function getCloudAutonomousVmClusterAcdResourceUsagesOutput(args: GetCloudAutonomousVmClusterAcdResourceUsagesOutputArgs, opts?: InvokeOptions): Output<GetCloudAutonomousVmClusterAcdResourceUsagesResult>
def get_cloud_autonomous_vm_cluster_acd_resource_usages(cloud_autonomous_vm_cluster_id: Optional[str] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[_database.GetCloudAutonomousVmClusterAcdResourceUsagesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudAutonomousVmClusterAcdResourceUsagesResult
def get_cloud_autonomous_vm_cluster_acd_resource_usages_output(cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetCloudAutonomousVmClusterAcdResourceUsagesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudAutonomousVmClusterAcdResourceUsagesResult]
func GetCloudAutonomousVmClusterAcdResourceUsages(ctx *Context, args *GetCloudAutonomousVmClusterAcdResourceUsagesArgs, opts ...InvokeOption) (*GetCloudAutonomousVmClusterAcdResourceUsagesResult, error)
func GetCloudAutonomousVmClusterAcdResourceUsagesOutput(ctx *Context, args *GetCloudAutonomousVmClusterAcdResourceUsagesOutputArgs, opts ...InvokeOption) GetCloudAutonomousVmClusterAcdResourceUsagesResultOutput
> Note: This function is named GetCloudAutonomousVmClusterAcdResourceUsages
in the Go SDK.
public static class GetCloudAutonomousVmClusterAcdResourceUsages
{
public static Task<GetCloudAutonomousVmClusterAcdResourceUsagesResult> InvokeAsync(GetCloudAutonomousVmClusterAcdResourceUsagesArgs args, InvokeOptions? opts = null)
public static Output<GetCloudAutonomousVmClusterAcdResourceUsagesResult> Invoke(GetCloudAutonomousVmClusterAcdResourceUsagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudAutonomousVmClusterAcdResourceUsagesResult> getCloudAutonomousVmClusterAcdResourceUsages(GetCloudAutonomousVmClusterAcdResourceUsagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getCloudAutonomousVmClusterAcdResourceUsages:getCloudAutonomousVmClusterAcdResourceUsages
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Autonomous stringVm Cluster Id - The Cloud VM cluster OCID.
- Compartment
Id string - The compartment OCID.
- Filters
List<Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter>
- Cloud
Autonomous stringVm Cluster Id - The Cloud VM cluster OCID.
- Compartment
Id string - The compartment OCID.
- Filters
[]Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter
- cloud
Autonomous StringVm Cluster Id - The Cloud VM cluster OCID.
- compartment
Id String - The compartment OCID.
- filters
List<Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter>
- cloud
Autonomous stringVm Cluster Id - The Cloud VM cluster OCID.
- compartment
Id string - The compartment OCID.
- filters
Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter[]
- cloud_
autonomous_ strvm_ cluster_ id - The Cloud VM cluster OCID.
- compartment_
id str - The compartment OCID.
- filters
Sequence[database.
Get Cloud Autonomous Vm Cluster Acd Resource Usages Filter]
- cloud
Autonomous StringVm Cluster Id - The Cloud VM cluster OCID.
- compartment
Id String - The compartment OCID.
- filters List<Property Map>
getCloudAutonomousVmClusterAcdResourceUsages Result
The following output properties are available:
- Autonomous
Container List<GetDatabase Resource Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage> - The list of autonomous_container_database_resource_usages.
- Cloud
Autonomous stringVm Cluster Id - Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Filters
List<Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter>
- Autonomous
Container []GetDatabase Resource Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage - The list of autonomous_container_database_resource_usages.
- Cloud
Autonomous stringVm Cluster Id - Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - Filters
[]Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter
- autonomous
Container List<GetDatabase Resource Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Resource Usage> - The list of autonomous_container_database_resource_usages.
- cloud
Autonomous StringVm Cluster Id - id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - filters
List<Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter>
- autonomous
Container GetDatabase Resource Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage[] - The list of autonomous_container_database_resource_usages.
- cloud
Autonomous stringVm Cluster Id - id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id string - filters
Get
Cloud Autonomous Vm Cluster Acd Resource Usages Filter[]
- autonomous_
container_ Sequence[database.database_ resource_ usages Get Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage] - The list of autonomous_container_database_resource_usages.
- cloud_
autonomous_ strvm_ cluster_ id - id str
- The provider-assigned unique ID for this managed resource.
- compartment_
id str - filters
Sequence[database.
Get Cloud Autonomous Vm Cluster Acd Resource Usages Filter]
- autonomous
Container List<Property Map>Database Resource Usages - The list of autonomous_container_database_resource_usages.
- cloud
Autonomous StringVm Cluster Id - id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - filters List<Property Map>
Supporting Types
GetCloudAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsage
- Autonomous
Container List<GetDatabase Vm Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage Autonomous Container Database Vm Usage> - List of autonomous container database resource usage per autonomous virtual machine.
- Available
Cpus double - CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- 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 Autonomous Container Database.
- Largest
Provisionable doubleAutonomous Database In Cpus - Largest provisionable ADB in the Autonomous Container Database.
- Provisionable
Cpuses List<double> - Valid list of provisionable CPUs for Autonomous Database.
- Provisioned
Cpus double - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- Reclaimable
Cpus double - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- Reserved
Cpus double - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- Used
Cpus double - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- Autonomous
Container []GetDatabase Vm Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage Autonomous Container Database Vm Usage - List of autonomous container database resource usage per autonomous virtual machine.
- Available
Cpus float64 - CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Display
Name string - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- 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 Autonomous Container Database.
- Largest
Provisionable float64Autonomous Database In Cpus - Largest provisionable ADB in the Autonomous Container Database.
- Provisionable
Cpuses []float64 - Valid list of provisionable CPUs for Autonomous Database.
- Provisioned
Cpus float64 - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- Reclaimable
Cpus float64 - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- Reserved
Cpus float64 - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- Used
Cpus float64 - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- autonomous
Container List<GetDatabase Vm Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Resource Usage Autonomous Container Vm Usage> - List of autonomous container database resource usage per autonomous virtual machine.
- available
Cpus Double - CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- 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 Autonomous Container Database.
- largest
Provisionable DoubleAutonomous Database In Cpus - Largest provisionable ADB in the Autonomous Container Database.
- provisionable
Cpuses List<Double> - Valid list of provisionable CPUs for Autonomous Database.
- provisioned
Cpus Double - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable
Cpus Double - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved
Cpus Double - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used
Cpus Double - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- autonomous
Container GetDatabase Vm Usages Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage Autonomous Container Database Vm Usage[] - List of autonomous container database resource usage per autonomous virtual machine.
- available
Cpus number - CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name string - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- {[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 Autonomous Container Database.
- largest
Provisionable numberAutonomous Database In Cpus - Largest provisionable ADB in the Autonomous Container Database.
- provisionable
Cpuses number[] - Valid list of provisionable CPUs for Autonomous Database.
- provisioned
Cpus number - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable
Cpus number - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved
Cpus number - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used
Cpus number - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- autonomous_
container_ Sequence[database.database_ vm_ usages Get Cloud Autonomous Vm Cluster Acd Resource Usages Autonomous Container Database Resource Usage Autonomous Container Database Vm Usage] - List of autonomous container database resource usage per autonomous virtual machine.
- available_
cpus float - CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_
name str - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- 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 Autonomous Container Database.
- largest_
provisionable_ floatautonomous_ database_ in_ cpus - Largest provisionable ADB in the Autonomous Container Database.
- provisionable_
cpuses Sequence[float] - Valid list of provisionable CPUs for Autonomous Database.
- provisioned_
cpus float - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable_
cpus float - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved_
cpus float - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used_
cpus float - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- autonomous
Container List<Property Map>Database Vm Usages - List of autonomous container database resource usage per autonomous virtual machine.
- available
Cpus Number - CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display
Name String - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- 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 Autonomous Container Database.
- largest
Provisionable NumberAutonomous Database In Cpus - Largest provisionable ADB in the Autonomous Container Database.
- provisionable
Cpuses List<Number> - Valid list of provisionable CPUs for Autonomous Database.
- provisioned
Cpus Number - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable
Cpus Number - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved
Cpus Number - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used
Cpus Number - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
GetCloudAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage
- Display
Name string - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- Id string
- The OCID of the Autonomous Container Database.
- Provisioned
Cpus double - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- Reclaimable
Cpus double - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- Reserved
Cpus double - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- Used
Cpus double - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- Display
Name string - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- Id string
- The OCID of the Autonomous Container Database.
- Provisioned
Cpus float64 - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- Reclaimable
Cpus float64 - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- Reserved
Cpus float64 - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- Used
Cpus float64 - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- display
Name String - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- id String
- The OCID of the Autonomous Container Database.
- provisioned
Cpus Double - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable
Cpus Double - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved
Cpus Double - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used
Cpus Double - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- display
Name string - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- id string
- The OCID of the Autonomous Container Database.
- provisioned
Cpus number - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable
Cpus number - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved
Cpus number - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used
Cpus number - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- display_
name str - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- id str
- The OCID of the Autonomous Container Database.
- provisioned_
cpus float - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable_
cpus float - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved_
cpus float - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used_
cpus float - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
- display
Name String - The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
- id String
- The OCID of the Autonomous Container Database.
- provisioned
Cpus Number - CPUs / cores assigned to ADBs in the Autonomous Container Database.
- reclaimable
Cpus Number - Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
- reserved
Cpus Number - CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
- used
Cpus Number - CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
GetCloudAutonomousVmClusterAcdResourceUsagesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.