Class UpdateSubnetRequest
Implements
Inherited Members
Namespace: Oci.CoreService.Requests
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class UpdateSubnetRequest : IOciRequest
  Examples
Click here to see an example of how to use UpdateSubnet 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   | 
      
SubnetId
Declaration
[Required(ErrorMessage = "SubnetId is required.")]
[HttpConverter(TargetEnum.Path, "subnetId")]
public string SubnetId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Specify the OCID of the subnet.  | 
      
Remarks
Required
UpdateSubnetDetails
Declaration
[Required(ErrorMessage = "UpdateSubnetDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateSubnetDetails UpdateSubnetDetails { get; set; }
  Property Value
| Type | Description | 
|---|---|
| UpdateSubnetDetails | Details object for updating a subnet.  | 
      
Remarks
Required