다음을 통해 공유


ProviderHubExtensions.GetProviderRegistrations(SubscriptionResource) Method

Definition

Gets a collection of ProviderRegistrationResources in the SubscriptionResource. MockingTo mock this method, please mock GetProviderRegistrations() instead.

public static Azure.ResourceManager.ProviderHub.ProviderRegistrationCollection GetProviderRegistrations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetProviderRegistrations : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.ProviderHub.ProviderRegistrationCollection
<Extension()>
Public Function GetProviderRegistrations (subscriptionResource As SubscriptionResource) As ProviderRegistrationCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of ProviderRegistrationResources and their operations over a ProviderRegistrationResource.

Exceptions

subscriptionResource is null.

Applies to