1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getAutonomousVmClusterAcdResourceUsages
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Database.getAutonomousVmClusterAcdResourceUsages

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Autonomous Vm Cluster Acd Resource Usages in Oracle Cloud Infrastructure Database service.

    Gets the list of resource usage details for all the Autonomous Container Database in the specified Autonomous Exadata VM cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutonomousVmClusterAcdResourceUsages = oci.Database.getAutonomousVmClusterAcdResourceUsages({
        autonomousVmClusterId: testAutonomousVmCluster.id,
        compartmentId: compartmentId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_autonomous_vm_cluster_acd_resource_usages = oci.Database.get_autonomous_vm_cluster_acd_resource_usages(autonomous_vm_cluster_id=test_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.GetAutonomousVmClusterAcdResourceUsages(ctx, &database.GetAutonomousVmClusterAcdResourceUsagesArgs{
    			AutonomousVmClusterId: testAutonomousVmCluster.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 testAutonomousVmClusterAcdResourceUsages = Oci.Database.GetAutonomousVmClusterAcdResourceUsages.Invoke(new()
        {
            AutonomousVmClusterId = testAutonomousVmCluster.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.GetAutonomousVmClusterAcdResourceUsagesArgs;
    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 testAutonomousVmClusterAcdResourceUsages = DatabaseFunctions.getAutonomousVmClusterAcdResourceUsages(GetAutonomousVmClusterAcdResourceUsagesArgs.builder()
                .autonomousVmClusterId(testAutonomousVmCluster.id())
                .compartmentId(compartmentId)
                .build());
    
        }
    }
    
    variables:
      testAutonomousVmClusterAcdResourceUsages:
        fn::invoke:
          Function: oci:Database:getAutonomousVmClusterAcdResourceUsages
          Arguments:
            autonomousVmClusterId: ${testAutonomousVmCluster.id}
            compartmentId: ${compartmentId}
    

    Using getAutonomousVmClusterAcdResourceUsages

    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 getAutonomousVmClusterAcdResourceUsages(args: GetAutonomousVmClusterAcdResourceUsagesArgs, opts?: InvokeOptions): Promise<GetAutonomousVmClusterAcdResourceUsagesResult>
    function getAutonomousVmClusterAcdResourceUsagesOutput(args: GetAutonomousVmClusterAcdResourceUsagesOutputArgs, opts?: InvokeOptions): Output<GetAutonomousVmClusterAcdResourceUsagesResult>
    def get_autonomous_vm_cluster_acd_resource_usages(autonomous_vm_cluster_id: Optional[str] = None,
                                                      compartment_id: Optional[str] = None,
                                                      filters: Optional[Sequence[_database.GetAutonomousVmClusterAcdResourceUsagesFilter]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetAutonomousVmClusterAcdResourceUsagesResult
    def get_autonomous_vm_cluster_acd_resource_usages_output(autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                                      compartment_id: Optional[pulumi.Input[str]] = None,
                                                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousVmClusterAcdResourceUsagesFilterArgs]]]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousVmClusterAcdResourceUsagesResult]
    func GetAutonomousVmClusterAcdResourceUsages(ctx *Context, args *GetAutonomousVmClusterAcdResourceUsagesArgs, opts ...InvokeOption) (*GetAutonomousVmClusterAcdResourceUsagesResult, error)
    func GetAutonomousVmClusterAcdResourceUsagesOutput(ctx *Context, args *GetAutonomousVmClusterAcdResourceUsagesOutputArgs, opts ...InvokeOption) GetAutonomousVmClusterAcdResourceUsagesResultOutput

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

    public static class GetAutonomousVmClusterAcdResourceUsages 
    {
        public static Task<GetAutonomousVmClusterAcdResourceUsagesResult> InvokeAsync(GetAutonomousVmClusterAcdResourceUsagesArgs args, InvokeOptions? opts = null)
        public static Output<GetAutonomousVmClusterAcdResourceUsagesResult> Invoke(GetAutonomousVmClusterAcdResourceUsagesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutonomousVmClusterAcdResourceUsagesResult> getAutonomousVmClusterAcdResourceUsages(GetAutonomousVmClusterAcdResourceUsagesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getAutonomousVmClusterAcdResourceUsages:getAutonomousVmClusterAcdResourceUsages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    autonomousVmClusterId String
    The autonomous VM cluster OCID.
    compartmentId String
    The compartment OCID.
    filters List<Property Map>

    getAutonomousVmClusterAcdResourceUsages Result

    The following output properties are available:

    autonomousContainerDatabaseResourceUsages List<Property Map>
    The list of autonomous_container_database_resource_usages.
    autonomousVmClusterId String
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentId String
    filters List<Property Map>

    Supporting Types

    GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsage

    AutonomousContainerDatabaseVmUsages List<GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage>
    list of autonomous container database resource usage per autonomous virtual machine.
    AvailableCpus double
    CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
    FreeformTags 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.
    LargestProvisionableAutonomousDatabaseInCpus double
    Largest provisionable ADB in the Autonomous Container Database.
    ProvisionableCpuses List<double>
    Valid list of provisionable CPUs for Autonomous Database.
    ProvisionedCpus double
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    ReclaimableCpus double
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    ReservedCpus double
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    UsedCpus double
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    AutonomousContainerDatabaseVmUsages []GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage
    list of autonomous container database resource usage per autonomous virtual machine.
    AvailableCpus float64
    CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    DisplayName string
    The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
    FreeformTags 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.
    LargestProvisionableAutonomousDatabaseInCpus float64
    Largest provisionable ADB in the Autonomous Container Database.
    ProvisionableCpuses []float64
    Valid list of provisionable CPUs for Autonomous Database.
    ProvisionedCpus float64
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    ReclaimableCpus float64
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    ReservedCpus float64
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    UsedCpus float64
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    autonomousContainerDatabaseVmUsages List<GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerResourceUsageAutonomousContainerVmUsage>
    list of autonomous container database resource usage per autonomous virtual machine.
    availableCpus Double
    CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
    freeformTags 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.
    largestProvisionableAutonomousDatabaseInCpus Double
    Largest provisionable ADB in the Autonomous Container Database.
    provisionableCpuses List<Double>
    Valid list of provisionable CPUs for Autonomous Database.
    provisionedCpus Double
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    reclaimableCpus Double
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    reservedCpus Double
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    usedCpus Double
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    autonomousContainerDatabaseVmUsages GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage[]
    list of autonomous container database resource usage per autonomous virtual machine.
    availableCpus number
    CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName string
    The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
    freeformTags {[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.
    largestProvisionableAutonomousDatabaseInCpus number
    Largest provisionable ADB in the Autonomous Container Database.
    provisionableCpuses number[]
    Valid list of provisionable CPUs for Autonomous Database.
    provisionedCpus number
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    reclaimableCpus number
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    reservedCpus number
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    usedCpus number
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    autonomous_container_database_vm_usages Sequence[database.GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage]
    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.
    defined_tags 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.
    freeform_tags 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_autonomous_database_in_cpus float
    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.
    autonomousContainerDatabaseVmUsages List<Property Map>
    list of autonomous container database resource usage per autonomous virtual machine.
    availableCpus Number
    CPUs available for provisioning or scaling an Autonomous Database in the Autonomous Container Database.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
    displayName String
    The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
    freeformTags 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.
    largestProvisionableAutonomousDatabaseInCpus Number
    Largest provisionable ADB in the Autonomous Container Database.
    provisionableCpuses List<Number>
    Valid list of provisionable CPUs for Autonomous Database.
    provisionedCpus Number
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    reclaimableCpus Number
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    reservedCpus Number
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    usedCpus Number
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.

    GetAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsage

    DisplayName 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.
    ProvisionedCpus double
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    ReclaimableCpus double
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    ReservedCpus double
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    UsedCpus double
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    DisplayName 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.
    ProvisionedCpus float64
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    ReclaimableCpus float64
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    ReservedCpus float64
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    UsedCpus float64
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    displayName 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.
    provisionedCpus Double
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    reclaimableCpus Double
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    reservedCpus Double
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    usedCpus Double
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.
    displayName 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.
    provisionedCpus number
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    reclaimableCpus number
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    reservedCpus number
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    usedCpus 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.
    displayName 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.
    provisionedCpus Number
    CPUs / cores assigned to ADBs in the Autonomous Container Database.
    reclaimableCpus Number
    Number of CPUs that are reclaimable or released to the AVMC on Autonomous Container Database restart.
    reservedCpus Number
    CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead.
    usedCpus Number
    CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores.

    GetAutonomousVmClusterAcdResourceUsagesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi