共用方式為


SiteHostNameBindingCollection.GetAll(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}/hostNameBindings
  • Operation Id: WebApps_ListHostNameBindings
  • Default Api Version: 2023-12-01
  • Resource: SiteHostNameBindingResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.SiteHostNameBindingResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.SiteHostNameBindingResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.SiteHostNameBindingResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SiteHostNameBindingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to