Udostępnij za pośrednictwem


SubscriptionFeatureRegistrationsOperationsExtensions.ListBySubscriptionAsync Method

Definition

Returns subscription feature registrations for given subscription and provider namespace.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.SubscriptionFeatureRegistration>> ListBySubscriptionAsync (this Microsoft.Azure.Management.ResourceManager.ISubscriptionFeatureRegistrationsOperations operations, string providerNamespace, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.ResourceManager.ISubscriptionFeatureRegistrationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.SubscriptionFeatureRegistration>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As ISubscriptionFeatureRegistrationsOperations, providerNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SubscriptionFeatureRegistration))

Parameters

operations
ISubscriptionFeatureRegistrationsOperations

The operations group for this extension method.

providerNamespace
String

The provider namespace.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to