MockableHciVmSubscriptionResource.GetHciVmPublicIPAddressesAsync Method

Definition

Lists all of the publicIPAddresses in the specified subscription. Use the nextLink property in the response to get the next page of PublicIP.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/publicIPAddresses.
  • Operation Id. : PublicIPAddresses_ListAll.
  • Default Api Version. : 2025-09-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmPublicIPAddressResource> GetHciVmPublicIPAddressesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetHciVmPublicIPAddressesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmPublicIPAddressResource>
override this.GetHciVmPublicIPAddressesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Hci.Vm.HciVmPublicIPAddressResource>
Public Overridable Function GetHciVmPublicIPAddressesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HciVmPublicIPAddressResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of HciVmPublicIPAddressResource that may take multiple service requests to iterate over.

Applies to