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/resource-manager] [Do not merge] [Microsoft.Billing] Customers resource for partner-channel #5343

Merged
merged 2 commits into from
Aug 14, 2019
Merged
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
@@ -25,6 +25,7 @@ type AccountsClientAPI = original.AccountsClientAPI
type AddressesClientAPI = original.AddressesClientAPI
type AgreementsClientAPI = original.AgreementsClientAPI
type AvailableBalancesClientAPI = original.AvailableBalancesClientAPI
type CustomersClientAPI = original.CustomersClientAPI
type DepartmentsClientAPI = original.DepartmentsClientAPI
type EnrollmentAccountsClientAPI = original.EnrollmentAccountsClientAPI
type InvoiceSectionsClientAPI = original.InvoiceSectionsClientAPI
75 changes: 75 additions & 0 deletions profiles/preview/preview/billing/mgmt/billing/models.go
Original file line number Diff line number Diff line change
@@ -194,6 +194,8 @@ type AcceptTransferProperties = original.AcceptTransferProperties
type AcceptTransferRequest = original.AcceptTransferRequest
type Account = original.Account
type AccountListResult = original.AccountListResult
type AccountListResultIterator = original.AccountListResultIterator
type AccountListResultPage = original.AccountListResultPage
type AccountProperties = original.AccountProperties
type AccountUpdateProperties = original.AccountUpdateProperties
type AccountsClient = original.AccountsClient
@@ -202,15 +204,25 @@ type Address = original.Address
type AddressesClient = original.AddressesClient
type Agreement = original.Agreement
type AgreementListResult = original.AgreementListResult
type AgreementListResultIterator = original.AgreementListResultIterator
type AgreementListResultPage = original.AgreementListResultPage
type AgreementProperties = original.AgreementProperties
type AgreementsClient = original.AgreementsClient
type Amount = original.Amount
type AvailableBalance = original.AvailableBalance
type AvailableBalanceProperties = original.AvailableBalanceProperties
type AvailableBalancesClient = original.AvailableBalancesClient
type BaseClient = original.BaseClient
type Customer = original.Customer
type CustomerListResult = original.CustomerListResult
type CustomerListResultIterator = original.CustomerListResultIterator
type CustomerListResultPage = original.CustomerListResultPage
type CustomerProperties = original.CustomerProperties
type CustomersClient = original.CustomersClient
type Department = original.Department
type DepartmentListResult = original.DepartmentListResult
type DepartmentListResultIterator = original.DepartmentListResultIterator
type DepartmentListResultPage = original.DepartmentListResultPage
type DepartmentProperties = original.DepartmentProperties
type DepartmentsClient = original.DepartmentsClient
type DetailedTransferStatus = original.DetailedTransferStatus
@@ -221,6 +233,8 @@ type Enrollment = original.Enrollment
type EnrollmentAccount = original.EnrollmentAccount
type EnrollmentAccountContext = original.EnrollmentAccountContext
type EnrollmentAccountListResult = original.EnrollmentAccountListResult
type EnrollmentAccountListResultIterator = original.EnrollmentAccountListResultIterator
type EnrollmentAccountListResultPage = original.EnrollmentAccountListResultPage
type EnrollmentAccountProperties = original.EnrollmentAccountProperties
type EnrollmentAccountsClient = original.EnrollmentAccountsClient
type EnrollmentPolicies = original.EnrollmentPolicies
@@ -230,9 +244,13 @@ type ErrorResponse = original.ErrorResponse
type InitiateTransferProperties = original.InitiateTransferProperties
type InitiateTransferRequest = original.InitiateTransferRequest
type InvoiceListResult = original.InvoiceListResult
type InvoiceListResultIterator = original.InvoiceListResultIterator
type InvoiceListResultPage = original.InvoiceListResultPage
type InvoiceSection = original.InvoiceSection
type InvoiceSectionCreationRequest = original.InvoiceSectionCreationRequest
type InvoiceSectionListResult = original.InvoiceSectionListResult
type InvoiceSectionListResultIterator = original.InvoiceSectionListResultIterator
type InvoiceSectionListResultPage = original.InvoiceSectionListResultPage
type InvoiceSectionProperties = original.InvoiceSectionProperties
type InvoiceSectionsClient = original.InvoiceSectionsClient
type InvoiceSectionsCreateFuture = original.InvoiceSectionsCreateFuture
@@ -277,6 +295,8 @@ type ProductsListResultPage = original.ProductsListResultPage
type Profile = original.Profile
type ProfileCreationParameters = original.ProfileCreationParameters
type ProfileListResult = original.ProfileListResult
type ProfileListResultIterator = original.ProfileListResultIterator
type ProfileListResultPage = original.ProfileListResultPage
type ProfileProperties = original.ProfileProperties
type ProfilesClient = original.ProfilesClient
type ProfilesCreateFuture = original.ProfilesCreateFuture
@@ -290,6 +310,7 @@ type RecipientTransferDetailsListResultIterator = original.RecipientTransferDeta
type RecipientTransferDetailsListResultPage = original.RecipientTransferDetailsListResultPage
type RecipientTransferProperties = original.RecipientTransferProperties
type RecipientTransfersClient = original.RecipientTransfersClient
type Reseller = original.Reseller
type Resource = original.Resource
type RoleAssignment = original.RoleAssignment
type RoleAssignmentListResult = original.RoleAssignmentListResult
@@ -336,6 +357,12 @@ type ValidateSubscriptionTransferEligibilityResult = original.ValidateSubscripti
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAccountListResultIterator(page AccountListResultPage) AccountListResultIterator {
return original.NewAccountListResultIterator(page)
}
func NewAccountListResultPage(getNextPage func(context.Context, AccountListResult) (AccountListResult, error)) AccountListResultPage {
return original.NewAccountListResultPage(getNextPage)
}
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
@@ -348,6 +375,12 @@ func NewAddressesClient(subscriptionID string) AddressesClient {
func NewAddressesClientWithBaseURI(baseURI string, subscriptionID string) AddressesClient {
return original.NewAddressesClientWithBaseURI(baseURI, subscriptionID)
}
func NewAgreementListResultIterator(page AgreementListResultPage) AgreementListResultIterator {
return original.NewAgreementListResultIterator(page)
}
func NewAgreementListResultPage(getNextPage func(context.Context, AgreementListResult) (AgreementListResult, error)) AgreementListResultPage {
return original.NewAgreementListResultPage(getNextPage)
}
func NewAgreementsClient(subscriptionID string) AgreementsClient {
return original.NewAgreementsClient(subscriptionID)
}
@@ -360,18 +393,54 @@ func NewAvailableBalancesClient(subscriptionID string) AvailableBalancesClient {
func NewAvailableBalancesClientWithBaseURI(baseURI string, subscriptionID string) AvailableBalancesClient {
return original.NewAvailableBalancesClientWithBaseURI(baseURI, subscriptionID)
}
func NewCustomerListResultIterator(page CustomerListResultPage) CustomerListResultIterator {
return original.NewCustomerListResultIterator(page)
}
func NewCustomerListResultPage(getNextPage func(context.Context, CustomerListResult) (CustomerListResult, error)) CustomerListResultPage {
return original.NewCustomerListResultPage(getNextPage)
}
func NewCustomersClient(subscriptionID string) CustomersClient {
return original.NewCustomersClient(subscriptionID)
}
func NewCustomersClientWithBaseURI(baseURI string, subscriptionID string) CustomersClient {
return original.NewCustomersClientWithBaseURI(baseURI, subscriptionID)
}
func NewDepartmentListResultIterator(page DepartmentListResultPage) DepartmentListResultIterator {
return original.NewDepartmentListResultIterator(page)
}
func NewDepartmentListResultPage(getNextPage func(context.Context, DepartmentListResult) (DepartmentListResult, error)) DepartmentListResultPage {
return original.NewDepartmentListResultPage(getNextPage)
}
func NewDepartmentsClient(subscriptionID string) DepartmentsClient {
return original.NewDepartmentsClient(subscriptionID)
}
func NewDepartmentsClientWithBaseURI(baseURI string, subscriptionID string) DepartmentsClient {
return original.NewDepartmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewEnrollmentAccountListResultIterator(page EnrollmentAccountListResultPage) EnrollmentAccountListResultIterator {
return original.NewEnrollmentAccountListResultIterator(page)
}
func NewEnrollmentAccountListResultPage(getNextPage func(context.Context, EnrollmentAccountListResult) (EnrollmentAccountListResult, error)) EnrollmentAccountListResultPage {
return original.NewEnrollmentAccountListResultPage(getNextPage)
}
func NewEnrollmentAccountsClient(subscriptionID string) EnrollmentAccountsClient {
return original.NewEnrollmentAccountsClient(subscriptionID)
}
func NewEnrollmentAccountsClientWithBaseURI(baseURI string, subscriptionID string) EnrollmentAccountsClient {
return original.NewEnrollmentAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewInvoiceListResultIterator(page InvoiceListResultPage) InvoiceListResultIterator {
return original.NewInvoiceListResultIterator(page)
}
func NewInvoiceListResultPage(getNextPage func(context.Context, InvoiceListResult) (InvoiceListResult, error)) InvoiceListResultPage {
return original.NewInvoiceListResultPage(getNextPage)
}
func NewInvoiceSectionListResultIterator(page InvoiceSectionListResultPage) InvoiceSectionListResultIterator {
return original.NewInvoiceSectionListResultIterator(page)
}
func NewInvoiceSectionListResultPage(getNextPage func(context.Context, InvoiceSectionListResult) (InvoiceSectionListResult, error)) InvoiceSectionListResultPage {
return original.NewInvoiceSectionListResultPage(getNextPage)
}
func NewInvoiceSectionsClient(subscriptionID string) InvoiceSectionsClient {
return original.NewInvoiceSectionsClient(subscriptionID)
}
@@ -444,6 +513,12 @@ func NewProductsListResultIterator(page ProductsListResultPage) ProductsListResu
func NewProductsListResultPage(getNextPage func(context.Context, ProductsListResult) (ProductsListResult, error)) ProductsListResultPage {
return original.NewProductsListResultPage(getNextPage)
}
func NewProfileListResultIterator(page ProfileListResultPage) ProfileListResultIterator {
return original.NewProfileListResultIterator(page)
}
func NewProfileListResultPage(getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage {
return original.NewProfileListResultPage(getNextPage)
}
func NewProfilesClient(subscriptionID string) ProfilesClient {
return original.NewProfilesClient(subscriptionID)
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

244 changes: 244 additions & 0 deletions services/preview/billing/mgmt/2018-11-01-preview/billing/customers.go
1,398 changes: 1,302 additions & 96 deletions services/preview/billing/mgmt/2018-11-01-preview/billing/models.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

220 changes: 210 additions & 10 deletions services/preview/billing/mgmt/2018-11-01-preview/billing/transactions.go