Block volume attachments

Creates a volume attachment.

post/v1beta/{tenantId}/block/attachments

Request body

hostIdstring required
volumeIdstring required
attachMode'ro' | 'rw'

Response

Accepted

idstring
createdAtstring date-time
updatedAtstring date-time
tenantIdstring
userIdstring
attachMode'rw' | 'ro'
hostIdstring
volumeIdstring
mountpointstring
statusstring

Example response

{
  "id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
  "createdAt": "2017-07-10T14:36:58.014Z",
  "updatedAt": "2017-07-10T14:36:58.014Z",
  "connectionInfo": {
    "data": {
      "key1": "value1",
      "key2": false,
      "key3": {
        "key31": "value31"
      }
    },
    "extraProperties": {
      "key1": "value1",
      "key2": false,
      "key3": {
        "key31": "value31"
      }
    }
  }
}

Changes

Changed in 5 of the 50 revisions of this API.16713

  • c535972853d1422See the full diff
    • added the new required request property

      new-required-request-property

    • added the new required request property

      new-required-request-property

    • the request's body type changed from no type to object

      request-body-type-changed

    • the response's body type changed from object to no type for status

      response-body-type-changed

    • removed subschema #2 from the request body allOf list

      request-body-all-of-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the new optional request property

      new-optional-request-property

    • added subschema #2 to the response body allOf list for the response status

      response-body-all-of-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 64d46542013a332See the full diff
    • added subschema #2 to the request body allOf list

      request-body-all-of-added

    • the request's body type changed from object to no type

      request-body-type-changed

    • the response's body type changed from no type to object for status

      response-body-type-changed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed the request property

      request-property-removed

    • removed subschema #2 from the response body allOf list for the response status

      response-body-all-of-removed

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 822ca3d7c177422See the full diff
    • added the new required request property

      new-required-request-property

    • added the new required request property

      new-required-request-property

    • the request's body type changed from no type to object

      request-body-type-changed

    • the response's body type changed from object to no type for status

      response-body-type-changed

    • removed subschema #2 from the request body allOf list

      request-body-all-of-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • added the new optional request property

      new-optional-request-property

    • added subschema #2 to the response body allOf list for the response status

      response-body-all-of-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added optional request body

      request-body-added-optional

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request body

      request-body-removed

    • removed the media type application/json for the response with the status

      response-media-type-removed

    • removed the media type application/json for the response with the status

      response-media-type-removed

    • removed the media type application/json for the response with the status

      response-media-type-removed

    • removed the media type application/json for the response with the status

      response-media-type-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog