oci.Database.getCloudVmClusterIormConfig
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCloudVmClusterIormConfig = oci.Database.getCloudVmClusterIormConfig({
cloudVmClusterId: testCloudVmCluster.id,
});
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=test_cloud_vm_cluster["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.GetCloudVmClusterIormConfig(ctx, &database.GetCloudVmClusterIormConfigArgs{
CloudVmClusterId: testCloudVmCluster.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 testCloudVmClusterIormConfig = Oci.Database.GetCloudVmClusterIormConfig.Invoke(new()
{
CloudVmClusterId = testCloudVmCluster.Id,
});
});
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(testCloudVmCluster.id())
.build());
}
}
variables:
testCloudVmClusterIormConfig:
fn::invoke:
Function: oci:Database:getCloudVmClusterIormConfig
Arguments:
cloudVmClusterId: ${testCloudVmCluster.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:
- Cloud
Vm stringCluster Id - The cluster OCID.
- Cloud
Vm stringCluster Id - The cluster OCID.
- cloud
Vm StringCluster Id - The cluster OCID.
- cloud
Vm stringCluster Id - The cluster OCID.
- cloud_
vm_ strcluster_ id - The cluster OCID.
- cloud
Vm StringCluster Id - The cluster OCID.
getCloudVmClusterIormConfig Result
The following output properties are available:
- Cloud
Vm stringCluster Id - Db
Plans List<GetCloud Vm Cluster Iorm Config Db Plan> - An array of IORM settings for all the database in the cloud vm cluster.
- Id string
- Lifecycle
Details 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 stringCluster Id - Db
Plans []GetCloud Vm Cluster Iorm Config Db Plan - An array of IORM settings for all the database in the cloud vm cluster.
- Id string
- Lifecycle
Details 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 StringCluster Id - db
Plans List<GetCloud Vm Cluster Iorm Config Db Plan> - An array of IORM settings for all the database in the cloud vm cluster.
- id String
- lifecycle
Details 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 stringCluster Id - db
Plans GetCloud Vm Cluster Iorm Config Db Plan[] - An array of IORM settings for all the database in the cloud vm cluster.
- id string
- lifecycle
Details 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_ strcluster_ id - db_
plans Sequence[database.Get Cloud Vm Cluster Iorm Config Db Plan] - 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.
- cloud
Vm StringCluster Id - db
Plans List<Property Map> - An array of IORM settings for all the database in the cloud vm cluster.
- id String
- lifecycle
Details 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
- Db
Name string - The database name. For the default
DbPlan
, thedbName
isdefault
. - Flash
Cache stringLimit - The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
- int
- The relative priority of this database.
- Db
Name string - The database name. For the default
DbPlan
, thedbName
isdefault
. - Flash
Cache stringLimit - The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
- int
- The relative priority of this database.
- db
Name String - The database name. For the default
DbPlan
, thedbName
isdefault
. - flash
Cache StringLimit - The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
- Integer
- The relative priority of this database.
- db
Name string - The database name. For the default
DbPlan
, thedbName
isdefault
. - flash
Cache stringLimit - The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
- number
- The relative priority of this database.
- db_
name str - The database name. For the default
DbPlan
, thedbName
isdefault
. - flash_
cache_ strlimit - The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
- int
- The relative priority of this database.
- db
Name String - The database name. For the default
DbPlan
, thedbName
isdefault
. - flash
Cache StringLimit - The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
- Number
- The relative priority of this database.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.