Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The customIpPrefixes resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/customIpPrefixes resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/customIpPrefixes@2021-02-01' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {
authorizationMessage: 'string'
cidr: 'string'
commissionedState: 'string'
customIpPrefixParent: {
extendedLocation: {
name: 'string'
type: 'string'
}
id: 'string'
location: 'string'
properties: ...
tags: {
{customized property}: 'string'
}
zones: [
'string'
]
}
signedMessage: 'string'
}
tags: {
{customized property}: 'string'
}
zones: [
'string'
]
}
Property Values
Microsoft.Network/customIpPrefixes
Name | Description | Value |
---|---|---|
extendedLocation | The extended location of the custom IP prefix. | ExtendedLocation |
location | Resource location. | string |
name | The resource name | string (required) |
properties | Custom IP prefix properties. | CustomIpPrefixPropertiesFormat |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
zones | A list of availability zones denoting the IP allocated for the resource needs to come from. | string[] |
CustomIpPrefix
Name | Description | Value |
---|---|---|
extendedLocation | The extended location of the custom IP prefix. | ExtendedLocation |
id | Resource ID. | string |
location | Resource location. | string |
properties | Custom IP prefix properties. | CustomIpPrefixPropertiesFormat |
tags | Resource tags. | ResourceTags |
zones | A list of availability zones denoting the IP allocated for the resource needs to come from. | string[] |
CustomIpPrefixPropertiesFormat
Name | Description | Value |
---|---|---|
authorizationMessage | Authorization message for WAN validation. | string |
cidr | The prefix range in CIDR notation. Should include the start address and the prefix length. | string |
commissionedState | The commissioned state of the Custom IP Prefix. | 'Commissioned' 'Commissioning' 'Decommissioning' 'Deprovisioning' 'Provisioned' 'Provisioning' |
customIpPrefixParent | The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. | CustomIpPrefix |
signedMessage | Signed message for WAN validation. | string |
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string |
type | The type of the extended location. | 'EdgeZone' |
ResourceTags
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
ARM template resource definition
The customIpPrefixes resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/customIpPrefixes resource, add the following JSON to your template.
{
"type": "Microsoft.Network/customIpPrefixes",
"apiVersion": "2021-02-01",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
"authorizationMessage": "string",
"cidr": "string",
"commissionedState": "string",
"customIpPrefixParent": {
"extendedLocation": {
"name": "string",
"type": "string"
},
"id": "string",
"location": "string",
"properties": ...,
"tags": {
"{customized property}": "string"
},
"zones": [ "string" ]
},
"signedMessage": "string"
},
"tags": {
"{customized property}": "string"
},
"zones": [ "string" ]
}
Property Values
Microsoft.Network/customIpPrefixes
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-02-01' |
extendedLocation | The extended location of the custom IP prefix. | ExtendedLocation |
location | Resource location. | string |
name | The resource name | string (required) |
properties | Custom IP prefix properties. | CustomIpPrefixPropertiesFormat |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Network/customIpPrefixes' |
zones | A list of availability zones denoting the IP allocated for the resource needs to come from. | string[] |
CustomIpPrefix
Name | Description | Value |
---|---|---|
extendedLocation | The extended location of the custom IP prefix. | ExtendedLocation |
id | Resource ID. | string |
location | Resource location. | string |
properties | Custom IP prefix properties. | CustomIpPrefixPropertiesFormat |
tags | Resource tags. | ResourceTags |
zones | A list of availability zones denoting the IP allocated for the resource needs to come from. | string[] |
CustomIpPrefixPropertiesFormat
Name | Description | Value |
---|---|---|
authorizationMessage | Authorization message for WAN validation. | string |
cidr | The prefix range in CIDR notation. Should include the start address and the prefix length. | string |
commissionedState | The commissioned state of the Custom IP Prefix. | 'Commissioned' 'Commissioning' 'Decommissioning' 'Deprovisioning' 'Provisioned' 'Provisioning' |
customIpPrefixParent | The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. | CustomIpPrefix |
signedMessage | Signed message for WAN validation. | string |
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string |
type | The type of the extended location. | 'EdgeZone' |
ResourceTags
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|
Usage Examples
Terraform (AzAPI provider) resource definition
The customIpPrefixes resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Network/customIpPrefixes resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/customIpPrefixes@2021-02-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
authorizationMessage = "string"
cidr = "string"
commissionedState = "string"
customIpPrefixParent = {
extendedLocation = {
name = "string"
type = "string"
}
id = "string"
location = "string"
properties = ...
tags = {
{customized property} = "string"
}
zones = [
"string"
]
}
signedMessage = "string"
}
zones = [
"string"
]
}
}
Property Values
Microsoft.Network/customIpPrefixes
Name | Description | Value |
---|---|---|
extendedLocation | The extended location of the custom IP prefix. | ExtendedLocation |
location | Resource location. | string |
name | The resource name | string (required) |
properties | Custom IP prefix properties. | CustomIpPrefixPropertiesFormat |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Network/customIpPrefixes@2021-02-01" |
zones | A list of availability zones denoting the IP allocated for the resource needs to come from. | string[] |
CustomIpPrefix
Name | Description | Value |
---|---|---|
extendedLocation | The extended location of the custom IP prefix. | ExtendedLocation |
id | Resource ID. | string |
location | Resource location. | string |
properties | Custom IP prefix properties. | CustomIpPrefixPropertiesFormat |
tags | Resource tags. | ResourceTags |
zones | A list of availability zones denoting the IP allocated for the resource needs to come from. | string[] |
CustomIpPrefixPropertiesFormat
Name | Description | Value |
---|---|---|
authorizationMessage | Authorization message for WAN validation. | string |
cidr | The prefix range in CIDR notation. Should include the start address and the prefix length. | string |
commissionedState | The commissioned state of the Custom IP Prefix. | 'Commissioned' 'Commissioning' 'Decommissioning' 'Deprovisioning' 'Provisioned' 'Provisioning' |
customIpPrefixParent | The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. | CustomIpPrefix |
signedMessage | Signed message for WAN validation. | string |
ExtendedLocation
Name | Description | Value |
---|---|---|
name | The name of the extended location. | string |
type | The type of the extended location. | 'EdgeZone' |
ResourceTags
Name | Description | Value |
---|
ResourceTags
Name | Description | Value |
---|