Skip to content

Commit

Permalink
[AutoPR billing/resource-manager] [Do not merge] [Microsoft.Billing]
Browse files Browse the repository at this point in the history
Customers resource for partner-channel (#5343)

* Generated from 7f7f0f2009acea6f3d52c4e1f8f4f4af37b5ae5b

Update examples.

* Generated from 967632713b1ea0e839baef7d47f3f857923f9ad1

Fix reseller property on billingSubscription.
  • Loading branch information
ArcturusZhang committed Aug 16, 2019
1 parent 02ab651 commit 9f82534
Show file tree
Hide file tree
Showing 16 changed files with 2,647 additions and 185 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
75 changes: 75 additions & 0 deletions profiles/preview/preview/billing/mgmt/billing/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand All @@ -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)
}
Expand Down Expand Up @@ -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)
}
Expand Down

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.

Loading

0 comments on commit 9f82534

Please sign in to comment.