Skip to main content

Get Public IP Address

Gets the specified public IP address in a specified resource group.

External Documentation

To learn more, visit the Azure documentation.

Basic Parameters

ParameterDescription
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
ExpandExpands referenced resources.

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

Get Public Ip Address with Azure and Send Results Via Email

Automation LibraryPreview this Automation on desktop