Skip to content

Commit

Permalink
.NET SDK Resource Provider:'CostManagement'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5956'
REST Spec PR Author 'bgsky'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed May 24, 2019
1 parent 8b9b455 commit 1373d03
Show file tree
Hide file tree
Showing 3 changed files with 312 additions and 2,768 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,13 @@ public partial interface IViewsOperations
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
/// for BillingProfile scope,
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
/// for InvoiceSection scope and
/// for InvoiceSection scope,
/// 'providers/Microsoft.Management/managementGroups/{managementGroupId}'
/// for Management Group scope.
/// for Management Group scope,
/// 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}'
/// for External Billing Account scope and
/// 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}'
/// for External Subscription scope.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -82,52 +86,6 @@ public partial interface IViewsOperations
/// </exception>
Task<AzureOperationResponse<IPage<View>>> ListByScopeWithHttpMessagesAsync(string scope, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List all views by external billing account
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalBillingAccountName'>
/// External Billing Account Name. (eg 'aws-{PayerAccountId}')
/// </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<View>>> ListByExternalBillingAccountWithHttpMessagesAsync(string externalBillingAccountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List all views by external subscription
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalSubscriptionName'>
/// External Subscription Name. (eg 'aws-{UsageAccountId}')
/// </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<View>>> ListByExternalSubscriptionWithHttpMessagesAsync(string externalSubscriptionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the view by view name.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
Expand Down Expand Up @@ -217,9 +175,13 @@ public partial interface IViewsOperations
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
/// for BillingProfile scope,
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
/// for InvoiceSection scope and
/// for InvoiceSection scope,
/// 'providers/Microsoft.Management/managementGroups/{managementGroupId}'
/// for Management Group scope.
/// for Management Group scope,
/// 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}'
/// for External Billing Account scope and
/// 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}'
/// for External Subscription scope.
/// </param>
/// <param name='viewName'>
/// View name
Expand Down Expand Up @@ -261,9 +223,13 @@ public partial interface IViewsOperations
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
/// for BillingProfile scope,
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
/// for InvoiceSection scope and
/// for InvoiceSection scope,
/// 'providers/Microsoft.Management/managementGroups/{managementGroupId}'
/// for Management Group scope.
/// for Management Group scope,
/// 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}'
/// for External Billing Account scope and
/// 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}'
/// for External Subscription scope.
/// </param>
/// <param name='viewName'>
/// View name
Expand Down Expand Up @@ -305,9 +271,13 @@ public partial interface IViewsOperations
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
/// for BillingProfile scope,
/// 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}'
/// for InvoiceSection scope and
/// for InvoiceSection scope,
/// 'providers/Microsoft.Management/managementGroups/{managementGroupId}'
/// for Management Group scope.
/// for Management Group scope,
/// 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}'
/// for External Billing Account scope and
/// 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}'
/// for External Subscription scope.
/// </param>
/// <param name='viewName'>
/// View name
Expand All @@ -326,168 +296,6 @@ public partial interface IViewsOperations
/// </exception>
Task<AzureOperationResponse> DeleteByScopeWithHttpMessagesAsync(string scope, string viewName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the view for external billing account by view name.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalBillingAccountName'>
/// External Billing Account Name. (eg 'aws-{PayerAccountId}')
/// </param>
/// <param name='viewName'>
/// View name
/// </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<View>> GetByExternalBillingAccountWithHttpMessagesAsync(string externalBillingAccountName, string viewName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The operation to create or update a view by external billing
/// account. Update operation requires latest eTag to be set in the
/// request. You may obtain the latest eTag by performing a get
/// operation. Create operation does not require eTag.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalBillingAccountName'>
/// External Billing Account Name. (eg 'aws-{PayerAccountId}')
/// </param>
/// <param name='viewName'>
/// View name
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the CreateOrUpdate View 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<View>> CreateOrUpdateByExternalBillingAccountWithHttpMessagesAsync(string externalBillingAccountName, string viewName, View parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The operation to delete a view by external billing account.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalBillingAccountName'>
/// External Billing Account Name. (eg 'aws-{PayerAccountId}')
/// </param>
/// <param name='viewName'>
/// View name
/// </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.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> DeleteByExternalBillingAccountWithHttpMessagesAsync(string externalBillingAccountName, string viewName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the view for external subscription by view name.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalSubscriptionName'>
/// External Subscription Name. (eg 'aws-{UsageAccountId}')
/// </param>
/// <param name='viewName'>
/// View name
/// </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<View>> GetByExternalSubscriptionWithHttpMessagesAsync(string externalSubscriptionName, string viewName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The operation to create or update a view by external subscription.
/// Update operation requires latest eTag to be set in the request. You
/// may obtain the latest eTag by performing a get operation. Create
/// operation does not require eTag.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalSubscriptionName'>
/// External Subscription Name. (eg 'aws-{UsageAccountId}')
/// </param>
/// <param name='viewName'>
/// View name
/// </param>
/// <param name='parameters'>
/// Parameters supplied to the CreateOrUpdate View 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<View>> CreateOrUpdateByExternalSubscriptionWithHttpMessagesAsync(string externalSubscriptionName, string viewName, View parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The operation to delete a view by external subscription.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
/// <param name='externalSubscriptionName'>
/// External Subscription Name. (eg 'aws-{UsageAccountId}')
/// </param>
/// <param name='viewName'>
/// View name
/// </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.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> DeleteByExternalSubscriptionWithHttpMessagesAsync(string externalSubscriptionName, string viewName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists all views by tenant and object.
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </summary>
Expand Down Expand Up @@ -533,51 +341,5 @@ public partial interface IViewsOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<View>>> ListByScopeNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List all views by external billing account
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </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<View>>> ListByExternalBillingAccountNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List all views by external subscription
/// <see href="https://docs.microsoft.com/en-us/rest/api/costmanagement/" />
/// </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<View>>> ListByExternalSubscriptionNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Loading

0 comments on commit 1373d03

Please sign in to comment.