PrefixArgs

data class PrefixArgs(val cidr: Output<String>? = null, val commissioningEnabled: Output<Boolean>? = null, val internetAdvertisingDisabled: Output<Boolean>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val parentCustomIpPrefixId: Output<String>? = null, val resourceGroupName: Output<String>? = null, val roaValidityEndDate: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val wanValidationSignedMessage: Output<String>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<PrefixArgs>

Manages a custom IPv4 prefix or custom IPv6 prefix.

Import

A Custom IP Prefix can be imported using the resource id, e.g.

$ pulumi import azure:customip/prefix:Prefix example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/customIPPrefixes/customIPPrefix1

Constructors

Link copied to clipboard
fun PrefixArgs(cidr: Output<String>? = null, commissioningEnabled: Output<Boolean>? = null, internetAdvertisingDisabled: Output<Boolean>? = null, location: Output<String>? = null, name: Output<String>? = null, parentCustomIpPrefixId: Output<String>? = null, resourceGroupName: Output<String>? = null, roaValidityEndDate: Output<String>? = null, tags: Output<Map<String, String>>? = null, wanValidationSignedMessage: Output<String>? = null, zones: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): PrefixArgs

Properties

Link copied to clipboard
val cidr: Output<String>? = null

The cidr of the Custom IP Prefix, either IPv4 or IPv6. Changing this forces a new resource to be created.

Link copied to clipboard
val commissioningEnabled: Output<Boolean>? = null

Specifies that the custom IP prefix should be commissioned after provisioning in Azure. Defaults to false. !>Warning Changing the value of commissioning_enabled from true to false causes the IP prefix to stop being advertised by Azure and is functionally equivalent to deleting it when used in a production setting.

Link copied to clipboard

Specifies that the custom IP prefix should not be publicly advertised on the Internet when commissioned (regional commissioning feature). Defaults to false. !>Warning Changing the value of internet_advertising_disabled from true to false causes the IP prefix to stop being advertised by Azure and is functionally equivalent to deleting it when used in a production setting.

Link copied to clipboard
val location: Output<String>? = null

The location where the Custom IP Prefix should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

The name of the Custom IP Prefix. Changing this forces a new resource to be created.

Link copied to clipboard
val parentCustomIpPrefixId: Output<String>? = null

Specifies the ID of the parent prefix. Only needed when creating a regional/child IPv6 prefix. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Resource Group in which to create the Custom IP Prefix. Changing this forces a new resource to be created.

Link copied to clipboard
val roaValidityEndDate: Output<String>? = null

The expiration date of the Route Origin Authorization (ROA) document which has been filed with the Routing Internet Registry (RIR) for this prefix. The expected format is YYYY-MM-DD. Required when provisioning an IPv4 prefix or IPv6 global prefix. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the Custom IP Prefix.

Link copied to clipboard
val wanValidationSignedMessage: Output<String>? = null

The signed base64-encoded authorization message, which will be sent to Microsoft for WAN verification. Required when provisioning an IPv4 prefix or IPv6 global prefix. Refer to Azure documentation for more details about the process for your RIR. Changing this forces a new resource to be created.

Link copied to clipboard
val zones: Output<List<String>>? = null

Specifies a list of Availability Zones in which this Custom IP Prefix should be located. Should not be specified when creating an IPv6 global prefix. Changing this forces a new resource to be created.