Skip to main content

Create Or Update Public IP Address

Creates or updates a static or dynamic public IP address.

External Documentation

To learn more, visit the Azure documentation.

Basic Parameters

ParameterDescription
IDResource ID.
LocationResource location.
NameResource name.
Public IP Address NameThe name of the public IP address.
Resource Group NameThe name of the resource group.
Subscription IDThe subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Advanced Parameters

ParameterDescription
Domain Name LabelThe domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
Extended Location NameThe name of the extended location.
Extended Location TypeThe supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network resources.
Fully Qualified Domain NameThe Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
IP AddressThe IP address associated with the public IP address resource.
Idle TimeoutThe idle timeout of the public IP address, in minutes.
Linked Public IP Address IDResource ID.
Linked Public IP Address LocationResource location.
Linked Public IP Address NameResource name.
Migration PhaseMigration phase of Public IP Address.
NAT Gateway IDResource ID.
NAT Gateway LocationResource location.
NAT Gateway NameResource name.
Properties IP TagsThe list of tags associated with the public IP address.
Provisioning StateThe current provisioning state.
Public IP Address Allocation MethodIP address allocation method.
Public IP Address VersionIP address version.
Public IP Prefix IDResource ID.
Resource GUIDThe resource GUID property of the public IP address resource.
Reverse Fully Qualified Domain NameThe reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
SKU NameName of a public IP address SKU.
SKU TierTier of a public IP address SKU.
Service Public IP Address IDResource ID.
Service Public IP Address LocationResource location.
Service Public IP Address NameResource name.
TagsResource tags.
TypeResource type.
VM Deleted OptionSpecify what happens to the public IP address when the VM using it is deleted.
ZonesA list of availability zones denoting the IP allocated for the resource needs to come from.

Example Output

{
"name": "test-ip",
"id": "/subscriptions/sub-id/resourceGroups/group/providers/Microsoft.Network/publicIPAddresses/test-ip",
"etag": "W/\"c4704d0a-8dad-4cc8-887d-deee45cf7fa7\"",
"location": "eastus",
"zones": [
"1"
],
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "65fc72d9-013e-4681-a0f8-c6515b361d8b",
"ipAddress": "1.1.1.1",
"publicIPAddressVersion": "IPv4",
"publicIPAllocationMethod": "Static",
"idleTimeoutInMinutes": 4,
"ipTags": [],
"ipConfiguration": {
"id": "/subscriptions/sub-id/resourceGroups/group/providers/Microsoft.Network/networkInterfaces/interface/ipConfigurations/ipconfig1"
}
},
"type": "Microsoft.Network/publicIPAddresses",
"sku": {
"name": "Standard",
"tier": "Regional"
}
}

Automation Library Example

Create or Update Public Ip Address with Azure and Send Results Via Email

Automation LibraryPreview this Automation on desktop