Skip to content

Commit

Permalink
Generated from ad759850354ddb7b4ffea0a49b70243fd9ec5a42
Browse files Browse the repository at this point in the history
fixed next link in backup (#6805)
  • Loading branch information
Phoenix He committed Aug 7, 2019
1 parent fe16a5a commit 02f4cb4
Show file tree
Hide file tree
Showing 21 changed files with 1,602 additions and 680 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public partial class ConsumptionManagementClient : ServiceClient<ConsumptionMana

/// <summary>
/// Version of the API to be used with the client request. The current version
/// is 2019-04-01-preview.
/// is 2019-05-01.
/// </summary>
public string ApiVersion { get; private set; }

Expand Down Expand Up @@ -396,7 +396,7 @@ private void Initialize()
Operations = new Operations(this);
AggregatedCost = new AggregatedCostOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2019-04-01-preview";
ApiVersion = "2019-05-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public partial interface IConsumptionManagementClient : System.IDisposable

/// <summary>
/// Version of the API to be used with the client request. The current
/// version is 2019-04-01-preview.
/// version is 2019-05-01.
/// </summary>
string ApiVersion { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,34 @@ public partial interface IReservationRecommendationsOperations
/// </exception>
Task<AzureOperationResponse<IPage<ReservationRecommendation>>> ListWithHttpMessagesAsync(string filter = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List of recommendations for purchasing reserved instances on
/// billing account scope
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='billingAccountId'>
/// BillingAccount ID
/// </param>
/// <param name='filter'>
/// May be used to filter reservationRecommendations by
/// properties/scope and properties/lookBackPeriod.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationRecommendation>>> ListByBillingAccountIdWithHttpMessagesAsync(string billingAccountId, string filter = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List of recommendations for purchasing reserved instances.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
Expand All @@ -70,5 +98,29 @@ public partial interface IReservationRecommendationsOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationRecommendation>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List of recommendations for purchasing reserved instances on
/// billing account scope
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationRecommendation>>> ListByBillingAccountIdNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,33 @@ public partial interface IReservationsDetailsOperations
/// Lists the reservations details for provided date range.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='billingAccountId'>
/// BillingAccount ID
/// </param>
/// <param name='filter'>
/// Filter reservation details by date range. The properties/UsageDate
/// for start date and end date. The filter supports 'le' and 'ge'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationDetail>>> ListByBillingAccountIdWithHttpMessagesAsync(string billingAccountId, string filter, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the reservations details for provided date range.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
Expand Down Expand Up @@ -126,5 +153,28 @@ public partial interface IReservationsDetailsOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationDetail>>> ListByReservationOrderAndReservationNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the reservations details for provided date range.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationDetail>>> ListByBillingAccountIdNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,37 @@ public partial interface IReservationsSummariesOperations
/// Lists the reservations summaries for daily or monthly grain.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='billingAccountId'>
/// BillingAccount ID
/// </param>
/// <param name='grain'>
/// Can be daily or monthly. Possible values include: 'DailyGrain',
/// 'MonthlyGrain'
/// </param>
/// <param name='filter'>
/// Required only for daily grain. The properties/UsageDate for start
/// date and end date. The filter supports 'le' and 'ge'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationSummary>>> ListByBillingAccountIdWithHttpMessagesAsync(string billingAccountId, string grain, string filter = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the reservations summaries for daily or monthly grain.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
Expand Down Expand Up @@ -134,5 +165,28 @@ public partial interface IReservationsSummariesOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationSummary>>> ListByReservationOrderAndReservationNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the reservations summaries for daily or monthly grain.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<ReservationSummary>>> ListByBillingAccountIdNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@ public partial interface IUsageDetailsOperations
/// <param name='filter'>
/// May be used to filter usageDetails by properties/resourceGroup,
/// properties/resourceName, properties/resourceId,
/// properties/chargeType, properties/reservationId or tags. The filter
/// supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not
/// currently support 'ne', 'or', or 'not'. Tag filter is a key value
/// pair string where key and value is separated by a colon (:).
/// properties/chargeType, properties/reservationId,
/// properties/publisherType or tags. The filter supports 'eq', 'lt',
/// 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne',
/// 'or', or 'not'. Tag filter is a key value pair string where key and
/// value is separated by a colon (:). PublisherType Filter accepts two
/// values azure and marketplace and it is currently supported for Web
/// Direct Offer Type
/// </param>
/// <param name='skiptoken'>
/// Skiptoken is only used if a previous operation returned a partial
Expand Down Expand Up @@ -92,92 +95,6 @@ public partial interface IUsageDetailsOperations
/// </exception>
Task<AzureOperationResponse<IPage<UsageDetail>>> ListWithHttpMessagesAsync(string scope, string expand = default(string), string filter = default(string), string skiptoken = default(string), int? top = default(int?), string metric = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Download usage details data.
/// </summary>
/// <param name='scope'>
/// The scope associated with usage details operations. This includes
/// '/subscriptions/{subscriptionId}/' for subscription scope,
/// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
/// for resourceGroup scope,
/// '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}'
/// for Billing Account scope,
/// '/providers/Microsoft.Billing/departments/{departmentId}' for
/// Department scope,
/// '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}'
/// for EnrollmentAccount scope and
/// '/providers/Microsoft.Management/managementGroups/{managementGroupId}'
/// for Management Group scope. For subscription, billing account,
/// department, enrollment account and management group, you can also
/// add billing period to the scope using
/// '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'.
/// For e.g. to specify billing period at department scope use
/// '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'
/// </param>
/// <param name='metric'>
/// Allows to select different type of cost/usage records. Possible
/// values include: 'ActualCostMetricType', 'AmortizedCostMetricType',
/// 'UsageMetricType'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<UsageDetailsDownloadResponse,UsageDetailsDownloadHeaders>> DownloadWithHttpMessagesAsync(string scope, string metric = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Download usage details data.
/// </summary>
/// <param name='scope'>
/// The scope associated with usage details operations. This includes
/// '/subscriptions/{subscriptionId}/' for subscription scope,
/// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'
/// for resourceGroup scope,
/// '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}'
/// for Billing Account scope,
/// '/providers/Microsoft.Billing/departments/{departmentId}' for
/// Department scope,
/// '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}'
/// for EnrollmentAccount scope and
/// '/providers/Microsoft.Management/managementGroups/{managementGroupId}'
/// for Management Group scope. For subscription, billing account,
/// department, enrollment account and management group, you can also
/// add billing period to the scope using
/// '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'.
/// For e.g. to specify billing period at department scope use
/// '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'
/// </param>
/// <param name='metric'>
/// Allows to select different type of cost/usage records. Possible
/// values include: 'ActualCostMetricType', 'AmortizedCostMetricType',
/// 'UsageMetricType'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<UsageDetailsDownloadResponse,UsageDetailsDownloadHeaders>> BeginDownloadWithHttpMessagesAsync(string scope, string metric = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the usage details for the defined scope. Usage details are
/// available via this API only for May 1, 2014 or later.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
Expand Down
Loading

0 comments on commit 02f4cb4

Please sign in to comment.