Ip Groups - List

Gets all IpGroups in a subscription.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups?api-version=2023-09-01

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Client API version.

Responses

Name Type Description
200 OK

IpGroupListResult

Request successful. The operation returns a list of ipGroups resources.

Other Status Codes

Error

Unexpected error.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List_IpGroups

Sample Request

GET https://management.azure.com/subscriptions/subId/providers/Microsoft.Network/ipGroups?api-version=2023-09-01

Sample Response

{
  "value": [
    {
      "name": "iptag1",
      "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup1/ipGroups",
      "type": "Microsoft.Network/ipGroups",
      "location": "westcentralus",
      "properties": {
        "provisioningState": "Succeeded",
        "ipAddresses": [
          "13.64.39.16/32",
          "40.74.146.80/31",
          "40.74.147.32/28"
        ],
        "firewalls": [
          {
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
          }
        ],
        "firewallPolicies": []
      },
      "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
    },
    {
      "name": "iptag2",
      "id": "/subscriptions/subId/providers/Microsoft.Network/resourceGroup/myResourceGroup2/ipGroups",
      "type": "Microsoft.Network/ipGroups",
      "location": "centralus",
      "properties": {
        "provisioningState": "Succeeded",
        "ipAddresses": [
          "14.64.39.16/32",
          "41.74.146.80/31",
          "42.74.147.32/28"
        ],
        "firewalls": [
          {
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall"
          }
        ],
        "firewallPolicies": []
      },
      "etag": "w/\\00000000-0000-0000-0000-000000000000\\"
    }
  ]
}

Definitions

Name Description
Error

Common error representation.

ErrorDetails

Common error details representation.

IpGroup

The IpGroups resource information.

IpGroupListResult

Response for the ListIpGroups API service call.

ProvisioningState

The current provisioning state.

SubResource

Reference to another subresource.

Error

Common error representation.

Name Type Description
code

string

Error code.

details

ErrorDetails[]

Error details.

innerError

string

Inner error message.

message

string

Error message.

target

string

Error target.

ErrorDetails

Common error details representation.

Name Type Description
code

string

Error code.

message

string

Error message.

target

string

Error target.

IpGroup

The IpGroups resource information.

Name Type Description
etag

string

A unique read-only string that changes whenever the resource is updated.

id

string

Resource ID.

location

string

Resource location.

name

string

Resource name.

properties.firewallPolicies

SubResource[]

List of references to Firewall Policies resources that this IpGroups is associated with.

properties.firewalls

SubResource[]

List of references to Firewall resources that this IpGroups is associated with.

properties.ipAddresses

string[]

IpAddresses/IpAddressPrefixes in the IpGroups resource.

properties.provisioningState

ProvisioningState

The provisioning state of the IpGroups resource.

tags

object

Resource tags.

type

string

Resource type.

IpGroupListResult

Response for the ListIpGroups API service call.

Name Type Description
nextLink

string

URL to get the next set of results.

value

IpGroup[]

The list of IpGroups information resources.

ProvisioningState

The current provisioning state.

Name Type Description
Deleting

string

Failed

string

Succeeded

string

Updating

string

SubResource

Reference to another subresource.

Name Type Description
id

string

Resource ID.