Class LaunchAttachVolumeDetails
The details of the volume to attach.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
[JsonConverter(typeof(LaunchAttachVolumeDetailsModelConverter))]
public class LaunchAttachVolumeDetails
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. |
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. |
LaunchCreateVolumeDetails
Declaration
[JsonProperty(PropertyName = "launchCreateVolumeDetails")]
public LaunchCreateVolumeDetails LaunchCreateVolumeDetails { get; set; }
Property Value
Type | Description |
---|---|
LaunchCreateVolumeDetails |
VolumeId
Declaration
[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. |