示例#1
0
 /// <summary>
 /// Lists a collection of all certificates in the specified service instance.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='isKeyVaultRefreshFailed'>
 /// When set to true, the response contains only certificates entities which
 /// failed refresh.
 /// </param>
 public static IPage <CertificateContract> ListByService(this ICertificateOperations operations, string resourceGroupName, string serviceName, ODataQuery <CertificateContract> odataQuery = default(ODataQuery <CertificateContract>), bool?isKeyVaultRefreshFailed = default(bool?))
 {
     return(operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery, isKeyVaultRefreshFailed).GetAwaiter().GetResult());
 }