> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Or Update Public IP Address

Creates or updates a static or dynamic public IP address.

<Note>
  External Documentation

  To learn more, visit the [Azure documentation](https://learn.microsoft.com/en-us/rest/api/virtualnetwork/public-ip-addresses/create-or-update?view=rest-virtualnetwork-2023-05-01\&tabs=HTTP).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter              | Description                                                                                                                                              |
  | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | ID                     | Resource ID.                                                                                                                                             |
  | Location               | Resource location.                                                                                                                                       |
  | Name                   | Resource name.                                                                                                                                           |
  | Public IP Address Name | The name of the public IP address.                                                                                                                       |
  | Resource Group Name    | The name of the resource group.                                                                                                                          |
  | Subscription ID        | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                           | Description                                                                                                                                                                                                                                                                                         |
  | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Domain Name Label                   | The 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 Name              | The name of the extended location.                                                                                                                                                                                                                                                                  |
  | Extended Location Type              | The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network resources.                                                                                                                                                                                          |
  | Fully Qualified Domain Name         | The 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 Address                          | The IP address associated with the public IP address resource.                                                                                                                                                                                                                                      |
  | Idle Timeout                        | The idle timeout of the public IP address, in minutes.                                                                                                                                                                                                                                              |
  | Linked Public IP Address ID         | Resource ID.                                                                                                                                                                                                                                                                                        |
  | Linked Public IP Address Location   | Resource location.                                                                                                                                                                                                                                                                                  |
  | Linked Public IP Address Name       | Resource name.                                                                                                                                                                                                                                                                                      |
  | Migration Phase                     | Migration phase of Public IP Address.                                                                                                                                                                                                                                                               |
  | NAT Gateway ID                      | Resource ID.                                                                                                                                                                                                                                                                                        |
  | NAT Gateway Location                | Resource location.                                                                                                                                                                                                                                                                                  |
  | NAT Gateway Name                    | Resource name.                                                                                                                                                                                                                                                                                      |
  | Properties IP Tags                  | The list of tags associated with the public IP address.                                                                                                                                                                                                                                             |
  | Provisioning State                  | The current provisioning state.                                                                                                                                                                                                                                                                     |
  | Public IP Address Allocation Method | IP address allocation method.                                                                                                                                                                                                                                                                       |
  | Public IP Address Version           | IP address version.                                                                                                                                                                                                                                                                                 |
  | Public IP Prefix ID                 | Resource ID.                                                                                                                                                                                                                                                                                        |
  | Resource GUID                       | The resource GUID property of the public IP address resource.                                                                                                                                                                                                                                       |
  | Reverse Fully Qualified Domain Name | The 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 Name                            | Name of a public IP address SKU.                                                                                                                                                                                                                                                                    |
  | SKU Tier                            | Tier of a public IP address SKU.                                                                                                                                                                                                                                                                    |
  | Service Public IP Address ID        | Resource ID.                                                                                                                                                                                                                                                                                        |
  | Service Public IP Address Location  | Resource location.                                                                                                                                                                                                                                                                                  |
  | Service Public IP Address Name      | Resource name.                                                                                                                                                                                                                                                                                      |
  | Tags                                | Resource tags.                                                                                                                                                                                                                                                                                      |
  | Type                                | Resource type.                                                                                                                                                                                                                                                                                      |
  | VM Deleted Option                   | Specify what happens to the public IP address when the VM using it is deleted.                                                                                                                                                                                                                      |
  | Zones                               | A list of availability zones denoting the IP allocated for the resource needs to come from.                                                                                                                                                                                                         |
</div>

## Example Output

```json theme={"dark"}
{
	"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"
	}
}
```

## Workflow Library Example

[Create or Update Public Ip Address with Azure and Send Results Via Email](https://library.blinkops.com/workflows/create-or-update-public-ip-address-with-azure-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-or-update-public-ip-address-with-azure-and-send-results-via-email/canvas" />
</div>
