Show / Hide Table of Contents

Class AttachVolumeDetails

Inheritance
object
AttachVolumeDetails
AttachEmulatedVolumeDetails
AttachIScsiVolumeDetails
AttachParavirtualizedVolumeDetails
AttachServiceDeterminedVolumeDetails
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
[JsonConverter(typeof(AttachVolumeDetailsModelConverter))]
public class AttachVolumeDetails

Properties

Device

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

The device name. To retrieve a list of devices for a given instance, see {@link #listInstanceDevices(ListInstanceDevicesRequest) listInstanceDevices}.

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.

InstanceId

Declaration
[Required(ErrorMessage = "InstanceId is required.")]
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
Type Description
string

The OCID of the instance. For AttachVolume operation, this is a required field for the request, see {@link #attachVolume(AttachVolumeRequest) attachVolume}.

Remarks

Required

IsReadOnly

Declaration
[JsonProperty(PropertyName = "isReadOnly")]
public bool? IsReadOnly { get; set; }
Property Value
Type Description
bool?

Whether the attachment was created in read-only mode.

IsShareable

Declaration
[JsonProperty(PropertyName = "isShareable")]
public bool? IsShareable { get; set; }
Property Value
Type Description
bool?

Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.

VolumeId

Declaration
[Required(ErrorMessage = "VolumeId is required.")]
[JsonProperty(PropertyName = "volumeId")]
public string VolumeId { get; set; }
Property Value
Type Description
string

The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.

Remarks

Required

In this article
Back to top