/// <summary> /// Gets provider operations metadata list /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Internal.Resources.IProviderOperationsMetadataOperations. /// </param> /// <returns> /// Provider operations metadata list /// </returns> public static Task <ProviderOperationsMetadataListResult> ListAsync(this IProviderOperationsMetadataOperations operations) { return(operations.ListAsync(CancellationToken.None)); }
/// <summary> /// Gets provider operations metadata for all resource providers. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='expand'> /// Specifies whether to expand the values. /// </param> public static IPage <ProviderOperationsMetadata> List(this IProviderOperationsMetadataOperations operations, string expand = "resourceTypes") { return(operations.ListAsync(expand).GetAwaiter().GetResult()); }