Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoPr-Billing-amagams-REST Spec PrNumber 6039 #6344

Merged
merged 1 commit into from
May 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ public partial class BillingManagementClient : ServiceClient<BillingManagementCl
public virtual IBillingAccountsOperations BillingAccounts { get; private set; }

/// <summary>
/// Gets the IAvailableBalancesOperations.
/// Gets the IPaymentMethodsOperations.
/// </summary>
public virtual IAvailableBalancesOperations AvailableBalances { get; private set; }
public virtual IPaymentMethodsOperations PaymentMethods { get; private set; }

/// <summary>
/// Gets the IPaymentMethodsOperations.
/// Gets the IAvailableBalancesOperations.
/// </summary>
public virtual IPaymentMethodsOperations PaymentMethods { get; private set; }
public virtual IAvailableBalancesOperations AvailableBalances { get; private set; }

/// <summary>
/// Gets the IBillingProfilesOperations.
Expand Down Expand Up @@ -423,8 +423,8 @@ public BillingManagementClient(System.Uri baseUri, ServiceClientCredentials cred
private void Initialize()
{
BillingAccounts = new BillingAccountsOperations(this);
AvailableBalances = new AvailableBalancesOperations(this);
PaymentMethods = new PaymentMethodsOperations(this);
AvailableBalances = new AvailableBalancesOperations(this);
BillingProfiles = new BillingProfilesOperations(this);
InvoiceSections = new InvoiceSectionsOperations(this);
Departments = new DepartmentsOperations(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ public partial interface IBillingManagementClient : System.IDisposable
IBillingAccountsOperations BillingAccounts { get; }

/// <summary>
/// Gets the IAvailableBalancesOperations.
/// Gets the IPaymentMethodsOperations.
/// </summary>
IAvailableBalancesOperations AvailableBalances { get; }
IPaymentMethodsOperations PaymentMethods { get; }

/// <summary>
/// Gets the IPaymentMethodsOperations.
/// Gets the IAvailableBalancesOperations.
/// </summary>
IPaymentMethodsOperations PaymentMethods { get; }
IAvailableBalancesOperations AvailableBalances { get; }

/// <summary>
/// Gets the IBillingProfilesOperations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,29 @@ namespace Microsoft.Azure.Management.Billing
/// </summary>
public partial interface IPaymentMethodsOperations
{
/// <summary>
/// Lists the Payment Methods by billing account Id.
/// <see href="https://docs.microsoft.com/en-us/rest/api/billing/2018-11-01-preview/paymentmethods" />
/// </summary>
/// <param name='billingAccountName'>
/// billing Account Id.
/// </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<PaymentMethod>>> ListByBillingAccountNameWithHttpMessagesAsync(string billingAccountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the Payment Methods by billing profile Id.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
Expand Down Expand Up @@ -50,6 +73,29 @@ public partial interface IPaymentMethodsOperations
/// </exception>
Task<AzureOperationResponse<IPage<PaymentMethod>>> ListByBillingProfileNameWithHttpMessagesAsync(string billingAccountName, string billingProfileName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the Payment Methods by billing account Id.
/// <see href="https://docs.microsoft.com/en-us/rest/api/billing/2018-11-01-preview/paymentmethods" />
/// </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<PaymentMethod>>> ListByBillingAccountNameNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists the Payment Methods by billing profile Id.
/// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
/// </summary>
Expand Down
Loading