oci.Core.VolumeGroup
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVolumeGroup = new oci.core.VolumeGroup("test_volume_group", {
    availabilityDomain: volumeGroupAvailabilityDomain,
    compartmentId: compartmentId,
    sourceDetails: {
        type: "volumeIds",
        volumeIds: [volumeGroupSourceId],
    },
    backupPolicyId: testVolumeBackupPolicies.volumeBackupPolicies[0].id,
    clusterPlacementGroupId: testGroup.id,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: volumeGroupDisplayName,
    freeformTags: {
        Department: "Finance",
    },
    volumeGroupReplicas: [{
        availabilityDomain: volumeGroupVolumeGroupReplicasAvailabilityDomain,
        displayName: volumeGroupVolumeGroupReplicasDisplayName,
        xrrKmsKeyId: testKey.id,
    }],
    volumeIds: [volumeGroupSourceId],
    xrcKmsKeyId: testKey.id,
});
import pulumi
import pulumi_oci as oci
test_volume_group = oci.core.VolumeGroup("test_volume_group",
    availability_domain=volume_group_availability_domain,
    compartment_id=compartment_id,
    source_details={
        "type": "volumeIds",
        "volume_ids": [volume_group_source_id],
    },
    backup_policy_id=test_volume_backup_policies["volumeBackupPolicies"][0]["id"],
    cluster_placement_group_id=test_group["id"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=volume_group_display_name,
    freeform_tags={
        "Department": "Finance",
    },
    volume_group_replicas=[{
        "availability_domain": volume_group_volume_group_replicas_availability_domain,
        "display_name": volume_group_volume_group_replicas_display_name,
        "xrr_kms_key_id": test_key["id"],
    }],
    volume_ids=[volume_group_source_id],
    xrc_kms_key_id=test_key["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.NewVolumeGroup(ctx, "test_volume_group", &core.VolumeGroupArgs{
			AvailabilityDomain: pulumi.Any(volumeGroupAvailabilityDomain),
			CompartmentId:      pulumi.Any(compartmentId),
			SourceDetails: &core.VolumeGroupSourceDetailsArgs{
				Type: pulumi.String("volumeIds"),
				VolumeIds: pulumi.StringArray{
					volumeGroupSourceId,
				},
			},
			BackupPolicyId:          pulumi.Any(testVolumeBackupPolicies.VolumeBackupPolicies[0].Id),
			ClusterPlacementGroupId: pulumi.Any(testGroup.Id),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			DisplayName: pulumi.Any(volumeGroupDisplayName),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			VolumeGroupReplicas: core.VolumeGroupVolumeGroupReplicaArray{
				&core.VolumeGroupVolumeGroupReplicaArgs{
					AvailabilityDomain: pulumi.Any(volumeGroupVolumeGroupReplicasAvailabilityDomain),
					DisplayName:        pulumi.Any(volumeGroupVolumeGroupReplicasDisplayName),
					XrrKmsKeyId:        pulumi.Any(testKey.Id),
				},
			},
			VolumeIds: pulumi.StringArray{
				volumeGroupSourceId,
			},
			XrcKmsKeyId: pulumi.Any(testKey.Id),
		})
		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 testVolumeGroup = new Oci.Core.VolumeGroup("test_volume_group", new()
    {
        AvailabilityDomain = volumeGroupAvailabilityDomain,
        CompartmentId = compartmentId,
        SourceDetails = new Oci.Core.Inputs.VolumeGroupSourceDetailsArgs
        {
            Type = "volumeIds",
            VolumeIds = new[]
            {
                volumeGroupSourceId,
            },
        },
        BackupPolicyId = testVolumeBackupPolicies.VolumeBackupPolicies[0].Id,
        ClusterPlacementGroupId = testGroup.Id,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = volumeGroupDisplayName,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        VolumeGroupReplicas = new[]
        {
            new Oci.Core.Inputs.VolumeGroupVolumeGroupReplicaArgs
            {
                AvailabilityDomain = volumeGroupVolumeGroupReplicasAvailabilityDomain,
                DisplayName = volumeGroupVolumeGroupReplicasDisplayName,
                XrrKmsKeyId = testKey.Id,
            },
        },
        VolumeIds = new[]
        {
            volumeGroupSourceId,
        },
        XrcKmsKeyId = testKey.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.VolumeGroup;
import com.pulumi.oci.Core.VolumeGroupArgs;
import com.pulumi.oci.Core.inputs.VolumeGroupSourceDetailsArgs;
import com.pulumi.oci.Core.inputs.VolumeGroupVolumeGroupReplicaArgs;
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) {
        var testVolumeGroup = new VolumeGroup("testVolumeGroup", VolumeGroupArgs.builder()
            .availabilityDomain(volumeGroupAvailabilityDomain)
            .compartmentId(compartmentId)
            .sourceDetails(VolumeGroupSourceDetailsArgs.builder()
                .type("volumeIds")
                .volumeIds(volumeGroupSourceId)
                .build())
            .backupPolicyId(testVolumeBackupPolicies.volumeBackupPolicies()[0].id())
            .clusterPlacementGroupId(testGroup.id())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(volumeGroupDisplayName)
            .freeformTags(Map.of("Department", "Finance"))
            .volumeGroupReplicas(VolumeGroupVolumeGroupReplicaArgs.builder()
                .availabilityDomain(volumeGroupVolumeGroupReplicasAvailabilityDomain)
                .displayName(volumeGroupVolumeGroupReplicasDisplayName)
                .xrrKmsKeyId(testKey.id())
                .build())
            .volumeIds(volumeGroupSourceId)
            .xrcKmsKeyId(testKey.id())
            .build());
    }
}
resources:
  testVolumeGroup:
    type: oci:Core:VolumeGroup
    name: test_volume_group
    properties:
      availabilityDomain: ${volumeGroupAvailabilityDomain}
      compartmentId: ${compartmentId}
      sourceDetails:
        type: volumeIds
        volumeIds:
          - ${volumeGroupSourceId}
      backupPolicyId: ${testVolumeBackupPolicies.volumeBackupPolicies[0].id}
      clusterPlacementGroupId: ${testGroup.id}
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${volumeGroupDisplayName}
      freeformTags:
        Department: Finance
      volumeGroupReplicas:
        - availabilityDomain: ${volumeGroupVolumeGroupReplicasAvailabilityDomain}
          displayName: ${volumeGroupVolumeGroupReplicasDisplayName}
          xrrKmsKeyId: ${testKey.id}
      volumeIds:
        - ${volumeGroupSourceId}
      xrcKmsKeyId: ${testKey.id}
Create VolumeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VolumeGroup(name: string, args: VolumeGroupArgs, opts?: CustomResourceOptions);@overload
def VolumeGroup(resource_name: str,
                args: VolumeGroupArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def VolumeGroup(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                compartment_id: Optional[str] = None,
                source_details: Optional[VolumeGroupSourceDetailsArgs] = None,
                availability_domain: Optional[str] = None,
                freeform_tags: Optional[Mapping[str, str]] = None,
                defined_tags: Optional[Mapping[str, str]] = None,
                display_name: Optional[str] = None,
                cluster_placement_group_id: Optional[str] = None,
                preserve_volume_replica: Optional[bool] = None,
                backup_policy_id: Optional[str] = None,
                volume_group_replicas: Optional[Sequence[VolumeGroupVolumeGroupReplicaArgs]] = None,
                volume_group_replicas_deletion: Optional[bool] = None,
                volume_ids: Optional[Sequence[str]] = None,
                xrc_kms_key_id: Optional[str] = None)func NewVolumeGroup(ctx *Context, name string, args VolumeGroupArgs, opts ...ResourceOption) (*VolumeGroup, error)public VolumeGroup(string name, VolumeGroupArgs args, CustomResourceOptions? opts = null)
public VolumeGroup(String name, VolumeGroupArgs args)
public VolumeGroup(String name, VolumeGroupArgs args, CustomResourceOptions options)
type: oci:Core:VolumeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VolumeGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VolumeGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VolumeGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VolumeGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VolumeGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var volumeGroupResource = new Oci.Core.VolumeGroup("volumeGroupResource", new()
{
    CompartmentId = "string",
    SourceDetails = new Oci.Core.Inputs.VolumeGroupSourceDetailsArgs
    {
        Type = "string",
        VolumeGroupBackupId = "string",
        VolumeGroupId = "string",
        VolumeGroupReplicaId = "string",
        VolumeIds = new[]
        {
            "string",
        },
    },
    AvailabilityDomain = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    DisplayName = "string",
    ClusterPlacementGroupId = "string",
    PreserveVolumeReplica = false,
    VolumeGroupReplicas = new[]
    {
        new Oci.Core.Inputs.VolumeGroupVolumeGroupReplicaArgs
        {
            AvailabilityDomain = "string",
            DisplayName = "string",
            VolumeGroupReplicaId = "string",
            XrrKmsKeyId = "string",
        },
    },
    VolumeGroupReplicasDeletion = false,
    VolumeIds = new[]
    {
        "string",
    },
    XrcKmsKeyId = "string",
});
example, err := core.NewVolumeGroup(ctx, "volumeGroupResource", &core.VolumeGroupArgs{
	CompartmentId: pulumi.String("string"),
	SourceDetails: &core.VolumeGroupSourceDetailsArgs{
		Type:                 pulumi.String("string"),
		VolumeGroupBackupId:  pulumi.String("string"),
		VolumeGroupId:        pulumi.String("string"),
		VolumeGroupReplicaId: pulumi.String("string"),
		VolumeIds: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	AvailabilityDomain: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DisplayName:             pulumi.String("string"),
	ClusterPlacementGroupId: pulumi.String("string"),
	PreserveVolumeReplica:   pulumi.Bool(false),
	VolumeGroupReplicas: core.VolumeGroupVolumeGroupReplicaArray{
		&core.VolumeGroupVolumeGroupReplicaArgs{
			AvailabilityDomain:   pulumi.String("string"),
			DisplayName:          pulumi.String("string"),
			VolumeGroupReplicaId: pulumi.String("string"),
			XrrKmsKeyId:          pulumi.String("string"),
		},
	},
	VolumeGroupReplicasDeletion: pulumi.Bool(false),
	VolumeIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	XrcKmsKeyId: pulumi.String("string"),
})
var volumeGroupResource = new VolumeGroup("volumeGroupResource", VolumeGroupArgs.builder()
    .compartmentId("string")
    .sourceDetails(VolumeGroupSourceDetailsArgs.builder()
        .type("string")
        .volumeGroupBackupId("string")
        .volumeGroupId("string")
        .volumeGroupReplicaId("string")
        .volumeIds("string")
        .build())
    .availabilityDomain("string")
    .freeformTags(Map.of("string", "string"))
    .definedTags(Map.of("string", "string"))
    .displayName("string")
    .clusterPlacementGroupId("string")
    .preserveVolumeReplica(false)
    .volumeGroupReplicas(VolumeGroupVolumeGroupReplicaArgs.builder()
        .availabilityDomain("string")
        .displayName("string")
        .volumeGroupReplicaId("string")
        .xrrKmsKeyId("string")
        .build())
    .volumeGroupReplicasDeletion(false)
    .volumeIds("string")
    .xrcKmsKeyId("string")
    .build());
volume_group_resource = oci.core.VolumeGroup("volumeGroupResource",
    compartment_id="string",
    source_details={
        "type": "string",
        "volume_group_backup_id": "string",
        "volume_group_id": "string",
        "volume_group_replica_id": "string",
        "volume_ids": ["string"],
    },
    availability_domain="string",
    freeform_tags={
        "string": "string",
    },
    defined_tags={
        "string": "string",
    },
    display_name="string",
    cluster_placement_group_id="string",
    preserve_volume_replica=False,
    volume_group_replicas=[{
        "availability_domain": "string",
        "display_name": "string",
        "volume_group_replica_id": "string",
        "xrr_kms_key_id": "string",
    }],
    volume_group_replicas_deletion=False,
    volume_ids=["string"],
    xrc_kms_key_id="string")
const volumeGroupResource = new oci.core.VolumeGroup("volumeGroupResource", {
    compartmentId: "string",
    sourceDetails: {
        type: "string",
        volumeGroupBackupId: "string",
        volumeGroupId: "string",
        volumeGroupReplicaId: "string",
        volumeIds: ["string"],
    },
    availabilityDomain: "string",
    freeformTags: {
        string: "string",
    },
    definedTags: {
        string: "string",
    },
    displayName: "string",
    clusterPlacementGroupId: "string",
    preserveVolumeReplica: false,
    volumeGroupReplicas: [{
        availabilityDomain: "string",
        displayName: "string",
        volumeGroupReplicaId: "string",
        xrrKmsKeyId: "string",
    }],
    volumeGroupReplicasDeletion: false,
    volumeIds: ["string"],
    xrcKmsKeyId: "string",
});
type: oci:Core:VolumeGroup
properties:
    availabilityDomain: string
    clusterPlacementGroupId: string
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    freeformTags:
        string: string
    preserveVolumeReplica: false
    sourceDetails:
        type: string
        volumeGroupBackupId: string
        volumeGroupId: string
        volumeGroupReplicaId: string
        volumeIds:
            - string
    volumeGroupReplicas:
        - availabilityDomain: string
          displayName: string
          volumeGroupReplicaId: string
          xrrKmsKeyId: string
    volumeGroupReplicasDeletion: false
    volumeIds:
        - string
    xrcKmsKeyId: string
VolumeGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VolumeGroup resource accepts the following input properties:
- AvailabilityDomain string
- The availability domain of the volume group.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the volume group.
- SourceDetails VolumeGroup Source Details 
- Specifies the source for a volume group.
- BackupPolicy stringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- ClusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) 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"}
- PreserveVolume boolReplica 
- VolumeGroup List<VolumeReplicas Group Volume Group Replica> 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- VolumeGroup boolReplicas Deletion 
- VolumeIds List<string>
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- XrcKms stringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- AvailabilityDomain string
- The availability domain of the volume group.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the volume group.
- SourceDetails VolumeGroup Source Details Args 
- Specifies the source for a volume group.
- BackupPolicy stringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- ClusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) 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"}
- PreserveVolume boolReplica 
- VolumeGroup []VolumeReplicas Group Volume Group Replica Args 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- VolumeGroup boolReplicas Deletion 
- VolumeIds []string
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- XrcKms stringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain String
- The availability domain of the volume group.
- compartmentId String
- (Updatable) The OCID of the compartment that contains the volume group.
- sourceDetails VolumeGroup Source Details 
- Specifies the source for a volume group.
- backupPolicy StringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- clusterPlacement StringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) 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"}
- preserveVolume BooleanReplica 
- volumeGroup List<VolumeReplicas Group Volume Group Replica> 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volumeGroup BooleanReplicas Deletion 
- volumeIds List<String>
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrcKms StringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain string
- The availability domain of the volume group.
- compartmentId string
- (Updatable) The OCID of the compartment that contains the volume group.
- sourceDetails VolumeGroup Source Details 
- Specifies the source for a volume group.
- backupPolicy stringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- clusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) 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"}
- preserveVolume booleanReplica 
- volumeGroup VolumeReplicas Group Volume Group Replica[] 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volumeGroup booleanReplicas Deletion 
- volumeIds string[]
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrcKms stringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availability_domain str
- The availability domain of the volume group.
- compartment_id str
- (Updatable) The OCID of the compartment that contains the volume group.
- source_details VolumeGroup Source Details Args 
- Specifies the source for a volume group.
- backup_policy_ strid 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- cluster_placement_ strgroup_ id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- Mapping[str, str]
- (Updatable) 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
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) 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"}
- preserve_volume_ boolreplica 
- volume_group_ Sequence[Volumereplicas Group Volume Group Replica Args] 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volume_group_ boolreplicas_ deletion 
- volume_ids Sequence[str]
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrc_kms_ strkey_ id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain String
- The availability domain of the volume group.
- compartmentId String
- (Updatable) The OCID of the compartment that contains the volume group.
- sourceDetails Property Map
- Specifies the source for a volume group.
- backupPolicy StringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- clusterPlacement StringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) 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"}
- preserveVolume BooleanReplica 
- volumeGroup List<Property Map>Replicas 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volumeGroup BooleanReplicas Deletion 
- volumeIds List<String>
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrcKms StringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
Outputs
All input properties are implicitly available as output properties. Additionally, the VolumeGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- IsHydrated bool
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- SizeIn stringGbs 
- The aggregate size of the volume group in GBs.
- SizeIn stringMbs 
- The aggregate size of the volume group in MBs.
- State string
- The current state of a volume group.
- TimeCreated string
- The date and time the volume group was created. Format defined by RFC3339.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsHydrated bool
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- SizeIn stringGbs 
- The aggregate size of the volume group in GBs.
- SizeIn stringMbs 
- The aggregate size of the volume group in MBs.
- State string
- The current state of a volume group.
- TimeCreated string
- The date and time the volume group was created. Format defined by RFC3339.
- id String
- The provider-assigned unique ID for this managed resource.
- isHydrated Boolean
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- sizeIn StringGbs 
- The aggregate size of the volume group in GBs.
- sizeIn StringMbs 
- The aggregate size of the volume group in MBs.
- state String
- The current state of a volume group.
- timeCreated String
- The date and time the volume group was created. Format defined by RFC3339.
- id string
- The provider-assigned unique ID for this managed resource.
- isHydrated boolean
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- sizeIn stringGbs 
- The aggregate size of the volume group in GBs.
- sizeIn stringMbs 
- The aggregate size of the volume group in MBs.
- state string
- The current state of a volume group.
- timeCreated string
- The date and time the volume group was created. Format defined by RFC3339.
- id str
- The provider-assigned unique ID for this managed resource.
- is_hydrated bool
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- size_in_ strgbs 
- The aggregate size of the volume group in GBs.
- size_in_ strmbs 
- The aggregate size of the volume group in MBs.
- state str
- The current state of a volume group.
- time_created str
- The date and time the volume group was created. Format defined by RFC3339.
- id String
- The provider-assigned unique ID for this managed resource.
- isHydrated Boolean
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- sizeIn StringGbs 
- The aggregate size of the volume group in GBs.
- sizeIn StringMbs 
- The aggregate size of the volume group in MBs.
- state String
- The current state of a volume group.
- timeCreated String
- The date and time the volume group was created. Format defined by RFC3339.
Look up Existing VolumeGroup Resource
Get an existing VolumeGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VolumeGroupState, opts?: CustomResourceOptions): VolumeGroup@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        availability_domain: Optional[str] = None,
        backup_policy_id: Optional[str] = None,
        cluster_placement_group_id: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_hydrated: Optional[bool] = None,
        preserve_volume_replica: Optional[bool] = None,
        size_in_gbs: Optional[str] = None,
        size_in_mbs: Optional[str] = None,
        source_details: Optional[VolumeGroupSourceDetailsArgs] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        volume_group_replicas: Optional[Sequence[VolumeGroupVolumeGroupReplicaArgs]] = None,
        volume_group_replicas_deletion: Optional[bool] = None,
        volume_ids: Optional[Sequence[str]] = None,
        xrc_kms_key_id: Optional[str] = None) -> VolumeGroupfunc GetVolumeGroup(ctx *Context, name string, id IDInput, state *VolumeGroupState, opts ...ResourceOption) (*VolumeGroup, error)public static VolumeGroup Get(string name, Input<string> id, VolumeGroupState? state, CustomResourceOptions? opts = null)public static VolumeGroup get(String name, Output<String> id, VolumeGroupState state, CustomResourceOptions options)resources:  _:    type: oci:Core:VolumeGroup    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AvailabilityDomain string
- The availability domain of the volume group.
- BackupPolicy stringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- ClusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the volume group.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) 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"}
- IsHydrated bool
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- PreserveVolume boolReplica 
- SizeIn stringGbs 
- The aggregate size of the volume group in GBs.
- SizeIn stringMbs 
- The aggregate size of the volume group in MBs.
- SourceDetails VolumeGroup Source Details 
- Specifies the source for a volume group.
- State string
- The current state of a volume group.
- TimeCreated string
- The date and time the volume group was created. Format defined by RFC3339.
- VolumeGroup List<VolumeReplicas Group Volume Group Replica> 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- VolumeGroup boolReplicas Deletion 
- VolumeIds List<string>
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- XrcKms stringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- AvailabilityDomain string
- The availability domain of the volume group.
- BackupPolicy stringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- ClusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the volume group.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) 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"}
- IsHydrated bool
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- PreserveVolume boolReplica 
- SizeIn stringGbs 
- The aggregate size of the volume group in GBs.
- SizeIn stringMbs 
- The aggregate size of the volume group in MBs.
- SourceDetails VolumeGroup Source Details Args 
- Specifies the source for a volume group.
- State string
- The current state of a volume group.
- TimeCreated string
- The date and time the volume group was created. Format defined by RFC3339.
- VolumeGroup []VolumeReplicas Group Volume Group Replica Args 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- VolumeGroup boolReplicas Deletion 
- VolumeIds []string
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- XrcKms stringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain String
- The availability domain of the volume group.
- backupPolicy StringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- clusterPlacement StringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- compartmentId String
- (Updatable) The OCID of the compartment that contains the volume group.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) 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"}
- isHydrated Boolean
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- preserveVolume BooleanReplica 
- sizeIn StringGbs 
- The aggregate size of the volume group in GBs.
- sizeIn StringMbs 
- The aggregate size of the volume group in MBs.
- sourceDetails VolumeGroup Source Details 
- Specifies the source for a volume group.
- state String
- The current state of a volume group.
- timeCreated String
- The date and time the volume group was created. Format defined by RFC3339.
- volumeGroup List<VolumeReplicas Group Volume Group Replica> 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volumeGroup BooleanReplicas Deletion 
- volumeIds List<String>
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrcKms StringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain string
- The availability domain of the volume group.
- backupPolicy stringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- clusterPlacement stringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- compartmentId string
- (Updatable) The OCID of the compartment that contains the volume group.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) 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"}
- isHydrated boolean
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- preserveVolume booleanReplica 
- sizeIn stringGbs 
- The aggregate size of the volume group in GBs.
- sizeIn stringMbs 
- The aggregate size of the volume group in MBs.
- sourceDetails VolumeGroup Source Details 
- Specifies the source for a volume group.
- state string
- The current state of a volume group.
- timeCreated string
- The date and time the volume group was created. Format defined by RFC3339.
- volumeGroup VolumeReplicas Group Volume Group Replica[] 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volumeGroup booleanReplicas Deletion 
- volumeIds string[]
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrcKms stringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availability_domain str
- The availability domain of the volume group.
- backup_policy_ strid 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- cluster_placement_ strgroup_ id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- compartment_id str
- (Updatable) The OCID of the compartment that contains the volume group.
- Mapping[str, str]
- (Updatable) 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
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) 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"}
- is_hydrated bool
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- preserve_volume_ boolreplica 
- size_in_ strgbs 
- The aggregate size of the volume group in GBs.
- size_in_ strmbs 
- The aggregate size of the volume group in MBs.
- source_details VolumeGroup Source Details Args 
- Specifies the source for a volume group.
- state str
- The current state of a volume group.
- time_created str
- The date and time the volume group was created. Format defined by RFC3339.
- volume_group_ Sequence[Volumereplicas Group Volume Group Replica Args] 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volume_group_ boolreplicas_ deletion 
- volume_ids Sequence[str]
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrc_kms_ strkey_ id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain String
- The availability domain of the volume group.
- backupPolicy StringId 
- If provided, specifies the ID of the volume backup policy to assign to the newly created volume group. If omitted, no policy will be assigned. This field is deprecated. Use the oci.Core.getVolumeBackupPolicyAssignmentsinstead to assign a backup policy to a volume group.
- clusterPlacement StringGroup Id 
- The clusterPlacementGroup Id of the volume group for volume group placement.
- compartmentId String
- (Updatable) The OCID of the compartment that contains the volume group.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) 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"}
- isHydrated Boolean
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
- preserveVolume BooleanReplica 
- sizeIn StringGbs 
- The aggregate size of the volume group in GBs.
- sizeIn StringMbs 
- The aggregate size of the volume group in MBs.
- sourceDetails Property Map
- Specifies the source for a volume group.
- state String
- The current state of a volume group.
- timeCreated String
- The date and time the volume group was created. Format defined by RFC3339.
- volumeGroup List<Property Map>Replicas 
- (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
- volumeGroup BooleanReplicas Deletion 
- volumeIds List<String>
- (Updatable) Use this for update operation only. This field is not supported during creation. For create use - volume_idsunder- source_details.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- xrcKms StringKey Id 
- The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
Supporting Types
VolumeGroupSourceDetails, VolumeGroupSourceDetailsArgs        
- Type string
- The type can be one of these values: volumeGroupBackupId,volumeGroupId,volumeGroupReplicaId,volumeIds
- VolumeGroup stringBackup Id 
- The OCID of the volume group backup to restore from.
- VolumeGroup stringId 
- The OCID of the volume group to clone from.
- VolumeGroup stringReplica Id 
- The OCID of the volume group replica.
- VolumeIds List<string>
- OCIDs for the volumes used to create this volume group.
- Type string
- The type can be one of these values: volumeGroupBackupId,volumeGroupId,volumeGroupReplicaId,volumeIds
- VolumeGroup stringBackup Id 
- The OCID of the volume group backup to restore from.
- VolumeGroup stringId 
- The OCID of the volume group to clone from.
- VolumeGroup stringReplica Id 
- The OCID of the volume group replica.
- VolumeIds []string
- OCIDs for the volumes used to create this volume group.
- type String
- The type can be one of these values: volumeGroupBackupId,volumeGroupId,volumeGroupReplicaId,volumeIds
- volumeGroup StringBackup Id 
- The OCID of the volume group backup to restore from.
- volumeGroup StringId 
- The OCID of the volume group to clone from.
- volumeGroup StringReplica Id 
- The OCID of the volume group replica.
- volumeIds List<String>
- OCIDs for the volumes used to create this volume group.
- type string
- The type can be one of these values: volumeGroupBackupId,volumeGroupId,volumeGroupReplicaId,volumeIds
- volumeGroup stringBackup Id 
- The OCID of the volume group backup to restore from.
- volumeGroup stringId 
- The OCID of the volume group to clone from.
- volumeGroup stringReplica Id 
- The OCID of the volume group replica.
- volumeIds string[]
- OCIDs for the volumes used to create this volume group.
- type str
- The type can be one of these values: volumeGroupBackupId,volumeGroupId,volumeGroupReplicaId,volumeIds
- volume_group_ strbackup_ id 
- The OCID of the volume group backup to restore from.
- volume_group_ strid 
- The OCID of the volume group to clone from.
- volume_group_ strreplica_ id 
- The OCID of the volume group replica.
- volume_ids Sequence[str]
- OCIDs for the volumes used to create this volume group.
- type String
- The type can be one of these values: volumeGroupBackupId,volumeGroupId,volumeGroupReplicaId,volumeIds
- volumeGroup StringBackup Id 
- The OCID of the volume group backup to restore from.
- volumeGroup StringId 
- The OCID of the volume group to clone from.
- volumeGroup StringReplica Id 
- The OCID of the volume group replica.
- volumeIds List<String>
- OCIDs for the volumes used to create this volume group.
VolumeGroupVolumeGroupReplica, VolumeGroupVolumeGroupReplicaArgs          
- AvailabilityDomain string
- (Updatable) The availability domain of the volume group replica. Example: Uocm:PHX-AD-1
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- VolumeGroup stringReplica Id 
- The volume group replica's Oracle ID (OCID).
- XrrKms stringKey Id 
- (Updatable) The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- AvailabilityDomain string
- (Updatable) The availability domain of the volume group replica. Example: Uocm:PHX-AD-1
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- VolumeGroup stringReplica Id 
- The volume group replica's Oracle ID (OCID).
- XrrKms stringKey Id 
- (Updatable) The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain String
- (Updatable) The availability domain of the volume group replica. Example: Uocm:PHX-AD-1
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- volumeGroup StringReplica Id 
- The volume group replica's Oracle ID (OCID).
- xrrKms StringKey Id 
- (Updatable) The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain string
- (Updatable) The availability domain of the volume group replica. Example: Uocm:PHX-AD-1
- displayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- volumeGroup stringReplica Id 
- The volume group replica's Oracle ID (OCID).
- xrrKms stringKey Id 
- (Updatable) The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availability_domain str
- (Updatable) The availability domain of the volume group replica. Example: Uocm:PHX-AD-1
- display_name str
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- volume_group_ strreplica_ id 
- The volume group replica's Oracle ID (OCID).
- xrr_kms_ strkey_ id 
- (Updatable) The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- availabilityDomain String
- (Updatable) The availability domain of the volume group replica. Example: Uocm:PHX-AD-1
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- volumeGroup StringReplica Id 
- The volume group replica's Oracle ID (OCID).
- xrrKms StringKey Id 
- (Updatable) The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
Import
VolumeGroups can be imported using the id, e.g.
$ pulumi import oci:Core/volumeGroup:VolumeGroup test_volume_group "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.