ModifyVcnCidr
POST {{baseUrl}}/vcns/:vcnId/actions/modifyCidr
Updates the specified CIDR block of a VCN. The new CIDR IP range must meet the following criteria:
- Must be valid.
- Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block.
- Must not exceed the limit of CIDR blocks allowed per VCN.
- Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules.
- No IP address in an existing subnet should be outside of the new CIDR block range.
Note: Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the GetWorkRequest
operation to check the status of the update.
Request Body
{"originalCidrBlock"=>"dolor cillum", "newCidrBlock"=>"aliquip se"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique identifier for the request. | |
If you need to contact Oracle about a particular request, please provide the request ID. | |||
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations (for example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
may be rejected). | |||
if-match | 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 | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |