ListVolumeAttachments

GET {{baseUrl}}/volumeAttachments/?availabilityDomain=officia sed&compartmentId={{compartment_ocid}}&limit=801&instanceId=officia sed&volumeId=officia sed

Lists the volume attachments in the specified compartment. You can filter the list by specifying an instance OCID, volume OCID, or both.

Currently, the only supported volume attachment type are IScsiVolumeAttachment and ParavirtualizedVolumeAttachment.

Request Params

KeyDatatypeRequiredDescription
availabilityDomainstringThe name of the availability domain.

Example: Uocm:PHX-AD-1 | | compartmentId | string | | (Required) The OCID of the compartment. | | limit | number | | For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see List Pagination.

Example: 50 | | page | string | | For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see List Pagination. | | instanceId | string | | The OCID of the instance. | | volumeId | string | | The OCID of the volume. |

HEADERS

KeyDatatypeRequiredDescription
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"attachmentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"instanceId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"volumeId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lifecycleState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"compartmentId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"availabilityDomain":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"device":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isMultipath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isPvEncryptionInTransitEnabled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isReadOnly":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isShareable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"iscsiLoginState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"attachmentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"instanceId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"volumeId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"lifecycleState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"compartmentId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"availabilityDomain":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"device":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isMultipath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isPvEncryptionInTransitEnabled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isReadOnly":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"isShareable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"iscsiLoginState":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]