AuthorizationExtensions.GetAuthorizationProviderOperationsMetadataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets provider operations metadata for the specified resource provider. <item> Mocking. To mock this method, please mock GetAuthorizationProviderOperationsMetadataAsync(String, String, CancellationToken) instead. </item>
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AuthorizationProviderOperationsMetadataResource>> GetAuthorizationProviderOperationsMetadataAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, string resourceProviderNamespace, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAuthorizationProviderOperationsMetadataAsync : Azure.ResourceManager.Resources.TenantResource * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Authorization.AuthorizationProviderOperationsMetadataResource>>
<Extension()>
Public Function GetAuthorizationProviderOperationsMetadataAsync (tenantResource As TenantResource, resourceProviderNamespace As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AuthorizationProviderOperationsMetadataResource))
Parameters
- tenantResource
- TenantResource
The TenantResource the method will execute against.
- resourceProviderNamespace
- String
The namespace of the resource provider.
- expand
- String
Specifies whether to expand the values.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
tenantResource is null.