Sprog

TrustedHostSubscriptionCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all host subscriptions that the guest subscription trusts in a location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/trustedHostSubscriptions.
  • Operation Id. : TrustedHostSubscriptions_ListBySubscriptionLocationResource.
  • Default Api Version. : 2026-07-31.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ComputeLimit.TrustedHostSubscriptionResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ComputeLimit.TrustedHostSubscriptionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ComputeLimit.TrustedHostSubscriptionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of TrustedHostSubscriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to