/// <summary> /// Lists all of the certificates in the specified account. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the Batch account. /// </param> /// <param name='accountName'> /// The name of the Batch account. /// </param> /// <param name='maxresults'> /// The maximum number of items to return in the response. /// </param> /// <param name='select'> /// Comma separated list of properties that should be returned. e.g. /// "properties/provisioningState". Only top level properties under properties/ /// are valid for selection. /// </param> /// <param name='filter'> /// OData filter expression. Valid properties for filtering are /// "properties/provisioningState", /// "properties/provisioningStateTransitionTime", "name". /// </param> public static IPage <Certificate> ListByBatchAccount(this ICertificateOperations operations, string resourceGroupName, string accountName, int?maxresults = default(int?), string select = default(string), string filter = default(string)) { return(operations.ListByBatchAccountAsync(resourceGroupName, accountName, maxresults, select, filter).GetAwaiter().GetResult()); }