Class CreateVolumeDetails
The details of the volume to create. For CreateVolume operation, this field is required in the request, see {@link #createVolume(CreateVolumeRequest) createVolume}.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class CreateVolumeDetails
Properties
AutotunePolicies
Declaration
[JsonProperty(PropertyName = "autotunePolicies")]
public List<AutotunePolicy> AutotunePolicies { get; set; }
Property Value
Type | Description |
---|---|
List<AutotunePolicy> | The list of autotune policies to be enabled for this volume. |
AvailabilityDomain
Declaration
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain of the volume. Omissible for cloning a volume. The new volume will be created in the availability domain of the source volume.
|
BackupPolicyId
Declaration
[JsonProperty(PropertyName = "backupPolicyId")]
public string BackupPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned. |
BlockVolumeReplicas
Declaration
[JsonProperty(PropertyName = "blockVolumeReplicas")]
public List<BlockVolumeReplicaDetails> BlockVolumeReplicas { get; set; }
Property Value
Type | Description |
---|---|
List<BlockVolumeReplicaDetails> | The list of block volume replicas to be enabled for this volume in the specified destination availability domains. |
ClusterPlacementGroupId
Declaration
[JsonProperty(PropertyName = "clusterPlacementGroupId")]
public string ClusterPlacementGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | The clusterPlacementGroup Id of the volume for volume placement. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the volume. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a
namespace. For more information, see Resource Tags.
|
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
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.
|
IsAutoTuneEnabled
Declaration
[JsonProperty(PropertyName = "isAutoTuneEnabled")]
public bool? IsAutoTuneEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated.
Use the |
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Vault service key to assign as the master encryption key for the volume. |
SizeInGBs
Declaration
[JsonProperty(PropertyName = "sizeInGBs")]
public long? SizeInGBs { get; set; }
Property Value
Type | Description |
---|---|
long? | The size of the volume in GBs. |
SizeInMBs
Declaration
[JsonProperty(PropertyName = "sizeInMBs")]
public long? SizeInMBs { get; set; }
Property Value
Type | Description |
---|---|
long? | The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Use sizeInGBs instead. |
SourceDetails
Declaration
[JsonProperty(PropertyName = "sourceDetails")]
public VolumeSourceDetails SourceDetails { get; set; }
Property Value
Type | Description |
---|---|
VolumeSourceDetails |
VolumeBackupId
Declaration
[JsonProperty(PropertyName = "volumeBackupId")]
public string VolumeBackupId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the volume backup from which the data should be restored on the newly created volume. This field is deprecated. Use the sourceDetails field instead to specify the backup for the volume. |
VpusPerGB
Declaration
[JsonProperty(PropertyName = "vpusPerGB")]
public long? VpusPerGB { get; set; }
Property Value
Type | Description |
---|---|
long? | The number of volume performance units (VPUs) that will be applied to this volume per GB,
representing the Block Volume service's elastic performance options.
See Block Volume Performance Levels for more information.
|