VirtualMachineScaleSetVmNetworkResource.GetPublicIPAddressData Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}
  • Operation Id: VirtualMachineScaleSets_GetPublicIPAddress
public virtual Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData> GetPublicIPAddressData (string networkInterfaceName, string ipConfigurationName, string publicIPAddressName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublicIPAddressData : string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>
override this.GetPublicIPAddressData : string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>
Public Overridable Function GetPublicIPAddressData (networkInterfaceName As String, ipConfigurationName As String, publicIPAddressName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PublicIPAddressData)

Parameters

networkInterfaceName
String

The name of the network interface.

ipConfigurationName
String

The name of the IP configuration.

publicIPAddressName
String

The name of the public IP Address.

expand
String

Expands referenced resources.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

networkInterfaceName, ipConfigurationName or publicIPAddressName is an empty string, and was expected to be non-empty.

networkInterfaceName, ipConfigurationName or publicIPAddressName is null.

Applies to