Show / Hide Table of Contents

Class LaunchCreateVolumeFromAttributes

The details of the volume to create for CreateVolume operation.

Inheritance
object
LaunchCreateVolumeDetails
LaunchCreateVolumeFromAttributes
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class LaunchCreateVolumeFromAttributes : LaunchCreateVolumeDetails

Properties

CompartmentId

Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment that contains the volume. If not provided, it will be inherited from the instance.

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.

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
[Required(ErrorMessage = "SizeInGBs is required.")]
[JsonProperty(PropertyName = "sizeInGBs")]
public long? SizeInGBs { get; set; }
Property Value
Type Description
long?

The size of the volume in GBs.

Remarks

Required

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.
Allowed values:

  • 0: Represents Lower Cost option.
  • 10: Represents Balanced option.
  • 20: Represents Higher Performance option.
  • 30-120: Represents the Ultra High Performance option.
In this article
Back to top