Skip to main content

public_ip_addresses_virtual_machine_scale_set_public_ip_addresses

Creates, updates, deletes, gets or lists a public_ip_addresses_virtual_machine_scale_set_public_ip_addresses resource.

Overview

Namepublic_ip_addresses_virtual_machine_scale_set_public_ip_addresses
TypeResource
Idazure.network.public_ip_addresses_virtual_machine_scale_set_public_ip_addresses

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the resulting PublicIPAddress resource.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
etagstringA unique read-only string that changes whenever the resource is updated.
extendedLocationobjectThe extended location of the public ip address.
propertiesobjectPublic IP address properties.
skuobjectThe public IP address SKU.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
zonesarrayA list of availability zones denoting the IP allocated for the resource needs to come from.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, virtualMachineScaleSetName, virtualmachineIndex, networkInterfaceName, ipConfigurationName, publicIpAddressName, subscriptionIdapi-version, $expandGet the specified public IP address in a virtual machine scale set.
listselectresourceGroupName, virtualMachineScaleSetName, subscriptionIdapi-versionGets information about all public IP addresses on a virtual machine scale set level.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ipConfigurationNamestringThe name of the IP configuration.
networkInterfaceNamestringThe name of the network interface.
publicIpAddressNamestringThe name of the public IP Address.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
virtualMachineScaleSetNamestringThe name of the virtual machine scale set.
virtualmachineIndexstringThe virtual machine index.
$expandstringExpands referenced resources.
api-versionstringClient API version.

SELECT examples

Get the specified public IP address in a virtual machine scale set.

SELECT
id,
name,
etag,
extendedLocation,
properties,
sku,
systemData,
type,
zones
FROM azure.network.public_ip_addresses_virtual_machine_scale_set_public_ip_addresses
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND virtualMachineScaleSetName = '{{ virtualMachineScaleSetName }}' -- required
AND virtualmachineIndex = '{{ virtualmachineIndex }}' -- required
AND networkInterfaceName = '{{ networkInterfaceName }}' -- required
AND ipConfigurationName = '{{ ipConfigurationName }}' -- required
AND publicIpAddressName = '{{ publicIpAddressName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
AND $expand = '{{ $expand }}'
;