Language

ComputeLimitExtensions.GetTrustedHostSubscriptions Method

Definition

Gets a collection of TrustedHostSubscriptions in the SubscriptionResource<item> Mocking. To mock this method, please mock GetTrustedHostSubscriptions(AzureLocation) instead. </item>

public static Azure.ResourceManager.ComputeLimit.TrustedHostSubscriptionCollection GetTrustedHostSubscriptions(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location);
static member GetTrustedHostSubscriptions : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation -> Azure.ResourceManager.ComputeLimit.TrustedHostSubscriptionCollection
<Extension()>
Public Function GetTrustedHostSubscriptions (subscriptionResource As SubscriptionResource, location As AzureLocation) As TrustedHostSubscriptionCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
AzureLocation

The location for the resource.

Returns

An object representing collection of TrustedHostSubscriptions and their operations over a TrustedHostSubscriptionResource.

Exceptions

subscriptionResource is null.

Applies to