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

KeyDatatypeRequiredDescription
opc-retry-tokenstringA 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-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{&quot;id&quot;:&quot;voluptate veniam culpa&quot;,&quot;volumeIds&quot;:[&quot;et proident minim&quot;,&quot;id aliquip&quot;],&quot;availabilityDomain&quot;:&quot;Excepteur&quot;,&quot;displayName&quot;:&quot;esse&quot;,&quot;sizeInMBs&quot;:-79372556,&quot;compartmentId&quot;:&quot;exercitation&quot;,&quot;timeCreated&quot;:&quot;1975-12-22T14:06:08.177Z&quot;,&quot;lifecycleState&quot;:&quot;AVAILABLE&quot;,&quot;definedTags&quot;:{},&quot;freeformTags&quot;:{},&quot;isHydrated&quot;:false,&quot;sizeInGBs&quot;:2892595,&quot;sourceDetails&quot;:{&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}}