Show / Hide Table of Contents

Class DeleteInfrastructureRequest

Inheritance
object
DeleteInfrastructureRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DataccService.Requests
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class DeleteInfrastructureRequest : IOciRequest
Examples

Click here to see an example of how to use DeleteInfrastructure 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.

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

IsForceDeleteInfrastructure

Declaration
[HttpConverter(TargetEnum.Query, "isForceDeleteInfrastructure")]
public bool? IsForceDeleteInfrastructure { get; set; }
Property Value
Type Description
bool?

When set to true, infrastructure will be deleted even if it has dependent resources. If set to false, deletion will fail if the infrastructure has dependent resources. Default is false.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The client request identifier.

Implements

IOciRequest
In this article
Back to top