CreateVolumeGroup
POST {{baseUrl}}/volumeGroups
Creates a new volume group in the specified compartment. A volume group is a collection of volumes and may be created from a list of volumes, cloning an existing volume group, or by restoring a volume group backup. You may optionally specify a display name for the volume group, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
For more information, see Volume Groups.
Request Body
{"availabilityDomain"=>"dolore ut", "compartmentId"=>"{{compartment_ocid}}", "sourceDetails"=>{"type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "backupPolicyId"=>"sunt irure aliqua enim", "displayName"=>"veniam aute incididunt labore"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (for example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"id":"voluptate veniam culpa","volumeIds":["et proident minim","id aliquip"],"availabilityDomain":"Excepteur","displayName":"esse","sizeInMBs":-79372556,"compartmentId":"exercitation","timeCreated":"1975-12-22T14:06:08.177Z","lifecycleState":"AVAILABLE","definedTags":{},"freeformTags":{},"isHydrated":false,"sizeInGBs":2892595,"sourceDetails":{"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}