Share via


SiteSlotHostNameBindingCollection.GetAllAsync(CancellationToken) Method

Definition

Description for Get hostname bindings for an app or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings
  • Operation Id: WebApps_ListHostNameBindingsSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotHostNameBindingResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteSlotHostNameBindingResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteSlotHostNameBindingResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.SiteSlotHostNameBindingResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SiteSlotHostNameBindingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SiteSlotHostNameBindingResource that may take multiple service requests to iterate over.

Applies to