Static Cidrs - Create
Creates/Updates the Static CIDR resource.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}?api-version=2025-03-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
network
|
path | True |
string pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$ |
The name of the network manager. |
|
pool
|
path | True |
string pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$ |
IP Address Manager Pool resource name. |
|
resource
|
path | True |
string |
The name of the resource group. |
|
static
|
path | True |
string pattern: ^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$ |
Static Cidr allocation name. |
|
subscription
|
path | True |
string |
The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
|
api-version
|
query | True |
string |
Client API version. |
Request Body
| Name | Type | Description |
|---|---|---|
| properties |
Properties of static CIDR resource. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Static CIDR was updated |
|
| 201 Created |
Static CIDR was created |
|
| Other Status Codes |
Default error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
StaticCidrs_Create
Sample request
PUT https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr?api-version=2025-03-01
Sample response
{
"name": "OnPremResources",
"type": "Microsoft.Network/networkManagers/ipamPools/TestStaticCidr",
"properties": {
"description": "test description",
"addressPrefixes": [
"10.0.0.0/24"
],
"numberOfIPAddressesToAllocate": "",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
{
"name": "OnPremResources",
"type": "Microsoft.Network/networkManagers/ipamPools/TestStaticCidr",
"properties": {
"description": "test description",
"addressPrefixes": [
"10.0.0.0/24"
],
"numberOfIPAddressesToAllocate": "",
"provisioningState": "Succeeded"
},
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
}
}
Definitions
| Name | Description |
|---|---|
|
Common |
The resource management error additional info. |
|
Common |
The error detail. |
|
Common |
Error response |
|
created |
The type of identity that created the resource. |
|
Provisioning |
Provisioning states of a resource. |
|
Static |
Instance of StaticCidr resource. |
|
Static |
Properties of static CIDR resource. |
|
System |
Metadata pertaining to creation and last modification of the resource. |
CommonErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
CommonErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
CommonErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ProvisioningState
Provisioning states of a resource.
| Value | Description |
|---|---|
| Failed | |
| Succeeded | |
| Canceled | |
| Creating | |
| Updating | |
| Deleting |
StaticCidr
Instance of StaticCidr resource.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
The name of the resource |
| properties |
Properties of static CIDR resource. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
StaticCidrProperties
Properties of static CIDR resource.
| Name | Type | Description |
|---|---|---|
| addressPrefixes |
string[] |
List of IP address prefixes of the resource. |
| description |
string |
|
| numberOfIPAddressesToAllocate |
string |
Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space. |
| provisioningState |
Provisioning states of a resource. |
|
| totalNumberOfIPAddresses |
string |
Total number of IP addresses allocated for the static CIDR resource. |
SystemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The type of identity that last modified the resource. |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |