Class ActivateInfrastructureRequest
Implements
Inherited Members
Namespace: Oci.DataccService.Requests
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class ActivateInfrastructureRequest : IOciRequest
Examples
Click here to see an example of how to use ActivateInfrastructure request.
Properties
ActivateInfrastructureDetails
Declaration
[Required(ErrorMessage = "ActivateInfrastructureDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ActivateInfrastructureDetails ActivateInfrastructureDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| ActivateInfrastructureDetails | The activation details for the Database Infrastructure. |
Remarks
Required
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. |
InfrastructureId
Declaration
[Required(ErrorMessage = "InfrastructureId is required.")]
[HttpConverter(TargetEnum.Path, "infrastructureId")]
public string InfrastructureId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the Database Infrastructure. |
Remarks
Required
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. |