Class ChangeVolumeCompartmentRequest
Implements
Inherited Members
Namespace: Oci.CoreService.Requests
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class ChangeVolumeCompartmentRequest : IOciRequest
Examples
Click here to see an example of how to use ChangeVolumeCompartment request.
Properties
ChangeVolumeCompartmentDetails
Declaration
[Required(ErrorMessage = "ChangeVolumeCompartmentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ChangeVolumeCompartmentDetails ChangeVolumeCompartmentDetails { get; set; }
Property Value
Type | Description |
---|---|
ChangeVolumeCompartmentDetails | Request to change the compartment of given volume. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
VolumeId
Declaration
[Required(ErrorMessage = "VolumeId is required.")]
[HttpConverter(TargetEnum.Path, "volumeId")]
public string VolumeId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the volume. |
Remarks
Required