VirtualMachineScaleSetVmNetworkResource.GetPublicIPAddressDataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the GetPublicIPAddressDataAsync compatibility operation.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>> GetPublicIPAddressDataAsync(string virtualMachineScaleSetName, string virtualmachineIndex, string networkInterfaceName, string publicIpAddressName, System.Threading.CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>> GetPublicIPAddressDataAsync(string networkInterfaceName, string ipConfigurationName, string publicIPAddressName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPublicIPAddressDataAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>>
override this.GetPublicIPAddressDataAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>>
abstract member GetPublicIPAddressDataAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>>
override this.GetPublicIPAddressDataAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.PublicIPAddressData>>
Public Overridable Function GetPublicIPAddressDataAsync (virtualMachineScaleSetName As String, virtualmachineIndex As String, networkInterfaceName As String, publicIpAddressName As String, cancellationToken As CancellationToken) As Task(Of Response(Of PublicIPAddressData))
Public Overridable Function GetPublicIPAddressDataAsync (networkInterfaceName As String, ipConfigurationName As String, publicIPAddressName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PublicIPAddressData))
Parameters
- virtualMachineScaleSetNamenetworkInterfaceName
- String
- virtualmachineIndexipConfigurationName
- String
- networkInterfaceNamepublicIPAddressName
- String
The name of the network interface.
- publicIpAddressNameexpand
- String
- 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.