Class ScaleVmInstanceRequest
Implements
Inherited Members
Namespace: Oci.DataccService.Requests
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class ScaleVmInstanceRequest : IOciRequest
Examples
Click here to see an example of how to use ScaleVmInstance request.
Properties
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| string | For Optimistic concurrency control. In the PUT or DELETE call for a resource, set the 'if-match' parameter to the value of the Etag from a previous GET or POST response for that resource. The resource is updated or deleted only if the Etag that you provide matches the current Etag value for the resource. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request identifier. |
OpcRetryToken
Declaration
[HttpConverter(TargetEnum.Header, "opc-retry-token")]
public string OpcRetryToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A token that uniquely identifies a request, so the request can be retried without risk of processing that same action again, in the event of a timeout or server error. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource was deleted and purged from the system, then a retry of the original creation request can be rejected. |
ScaleVmInstanceDetails
Declaration
[Required(ErrorMessage = "ScaleVmInstanceDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ScaleVmInstanceDetails ScaleVmInstanceDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| ScaleVmInstanceDetails | Scale the VM instance. |
Remarks
Required
VmInstanceId
Declaration
[Required(ErrorMessage = "VmInstanceId is required.")]
[HttpConverter(TargetEnum.Path, "vmInstanceId")]
public string VmInstanceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the VM instance. |
Remarks
Required