Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getCloudVmClusterIormConfig

This data source provides details about a specific Cloud Vm Cluster Iorm Config resource in Oracle Cloud Infrastructure Database service.

Gets the IORM configuration settings for the specified Cloud Vm Cluster. All Exadata service instances have default IORM settings.

The GetCloudVmClusterIormConfig API is used for this operation with Cloud Vm Cluster.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testCloudVmClusterIormConfig = Oci.Database.GetCloudVmClusterIormConfig.Invoke(new()
    {
        CloudVmClusterId = oci_database_cloud_vm_cluster.Test_cloud_vm_cluster.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.GetCloudVmClusterIormConfig(ctx, &database.GetCloudVmClusterIormConfigArgs{
			CloudVmClusterId: oci_database_cloud_vm_cluster.Test_cloud_vm_cluster.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetCloudVmClusterIormConfigArgs;
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 testCloudVmClusterIormConfig = DatabaseFunctions.getCloudVmClusterIormConfig(GetCloudVmClusterIormConfigArgs.builder()
            .cloudVmClusterId(oci_database_cloud_vm_cluster.test_cloud_vm_cluster().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_cloud_vm_cluster_iorm_config = oci.Database.get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id=oci_database_cloud_vm_cluster["test_cloud_vm_cluster"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCloudVmClusterIormConfig = oci.Database.getCloudVmClusterIormConfig({
    cloudVmClusterId: oci_database_cloud_vm_cluster.test_cloud_vm_cluster.id,
});
variables:
  testCloudVmClusterIormConfig:
    Fn::Invoke:
      Function: oci:Database:getCloudVmClusterIormConfig
      Arguments:
        cloudVmClusterId: ${oci_database_cloud_vm_cluster.test_cloud_vm_cluster.id}

Using getCloudVmClusterIormConfig

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 getCloudVmClusterIormConfig(args: GetCloudVmClusterIormConfigArgs, opts?: InvokeOptions): Promise<GetCloudVmClusterIormConfigResult>
function getCloudVmClusterIormConfigOutput(args: GetCloudVmClusterIormConfigOutputArgs, opts?: InvokeOptions): Output<GetCloudVmClusterIormConfigResult>
def get_cloud_vm_cluster_iorm_config(cloud_vm_cluster_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetCloudVmClusterIormConfigResult
def get_cloud_vm_cluster_iorm_config_output(cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetCloudVmClusterIormConfigResult]
func GetCloudVmClusterIormConfig(ctx *Context, args *GetCloudVmClusterIormConfigArgs, opts ...InvokeOption) (*GetCloudVmClusterIormConfigResult, error)
func GetCloudVmClusterIormConfigOutput(ctx *Context, args *GetCloudVmClusterIormConfigOutputArgs, opts ...InvokeOption) GetCloudVmClusterIormConfigResultOutput

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

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

The following arguments are supported:

CloudVmClusterId string

The cluster OCID.

CloudVmClusterId string

The cluster OCID.

cloudVmClusterId String

The cluster OCID.

cloudVmClusterId string

The cluster OCID.

cloud_vm_cluster_id str

The cluster OCID.

cloudVmClusterId String

The cluster OCID.

getCloudVmClusterIormConfig Result

The following output properties are available:

CloudVmClusterId string
DbPlans List<GetCloudVmClusterIormConfigDbPlan>

An array of IORM settings for all the database in the cloud vm cluster.

Id string
LifecycleDetails string

Additional information about the current lifecycleState.

Objective string

The current value for the IORM objective. The default is AUTO.

State string

The current state of IORM configuration for the cloud vm cluster.

CloudVmClusterId string
DbPlans []GetCloudVmClusterIormConfigDbPlan

An array of IORM settings for all the database in the cloud vm cluster.

Id string
LifecycleDetails string

Additional information about the current lifecycleState.

Objective string

The current value for the IORM objective. The default is AUTO.

State string

The current state of IORM configuration for the cloud vm cluster.

cloudVmClusterId String
dbPlans List<GetCloudVmClusterIormConfigDbPlan>

An array of IORM settings for all the database in the cloud vm cluster.

id String
lifecycleDetails String

Additional information about the current lifecycleState.

objective String

The current value for the IORM objective. The default is AUTO.

state String

The current state of IORM configuration for the cloud vm cluster.

cloudVmClusterId string
dbPlans GetCloudVmClusterIormConfigDbPlan[]

An array of IORM settings for all the database in the cloud vm cluster.

id string
lifecycleDetails string

Additional information about the current lifecycleState.

objective string

The current value for the IORM objective. The default is AUTO.

state string

The current state of IORM configuration for the cloud vm cluster.

cloud_vm_cluster_id str
db_plans GetCloudVmClusterIormConfigDbPlan]

An array of IORM settings for all the database in the cloud vm cluster.

id str
lifecycle_details str

Additional information about the current lifecycleState.

objective str

The current value for the IORM objective. The default is AUTO.

state str

The current state of IORM configuration for the cloud vm cluster.

cloudVmClusterId String
dbPlans List<Property Map>

An array of IORM settings for all the database in the cloud vm cluster.

id String
lifecycleDetails String

Additional information about the current lifecycleState.

objective String

The current value for the IORM objective. The default is AUTO.

state String

The current state of IORM configuration for the cloud vm cluster.

Supporting Types

GetCloudVmClusterIormConfigDbPlan

DbName string

The database name. For the default DbPlan, the dbName is default.

FlashCacheLimit string

The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

Share int

The relative priority of this database.

DbName string

The database name. For the default DbPlan, the dbName is default.

FlashCacheLimit string

The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

Share int

The relative priority of this database.

dbName String

The database name. For the default DbPlan, the dbName is default.

flashCacheLimit String

The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

share Integer

The relative priority of this database.

dbName string

The database name. For the default DbPlan, the dbName is default.

flashCacheLimit string

The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

share number

The relative priority of this database.

db_name str

The database name. For the default DbPlan, the dbName is default.

flash_cache_limit str

The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

share int

The relative priority of this database.

dbName String

The database name. For the default DbPlan, the dbName is default.

flashCacheLimit String

The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

share Number

The relative priority of this database.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.