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] [Hub Generated] Review request for Microsoft.Billing to add version preview/2018-11-01-preview #4919

Closed
Closed
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 @@ -22,13 +22,14 @@ package billingapi
import original "github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-11-01-preview/billing/billingapi"

type AccountsClientAPI = original.AccountsClientAPI
type AccountsValidateAddressClientAPI = original.AccountsValidateAddressClientAPI
type AddressesClientAPI = original.AddressesClientAPI
type AgreementsClientAPI = original.AgreementsClientAPI
type AvailableBalancesClientAPI = original.AvailableBalancesClientAPI
type DepartmentsClientAPI = original.DepartmentsClientAPI
type EnrollmentAccountsClientAPI = original.EnrollmentAccountsClientAPI
type InvoiceSectionsClientAPI = original.InvoiceSectionsClientAPI
type InvoicesClientAPI = original.InvoicesClientAPI
type LineOfCreditsClientAPI = original.LineOfCreditsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type PaymentMethodsClientAPI = original.PaymentMethodsClientAPI
type PermissionsClientAPI = original.PermissionsClientAPI
Expand Down
80 changes: 71 additions & 9 deletions profiles/preview/preview/billing/mgmt/billing/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,20 @@ const (
NotStarted ProductTransferStatus = original.NotStarted
)

type ProductTransferValidationErrorCode = original.ProductTransferValidationErrorCode

const (
CrossBillingAccountNotAllowed ProductTransferValidationErrorCode = original.CrossBillingAccountNotAllowed
DestinationBillingProfilePastDue ProductTransferValidationErrorCode = original.DestinationBillingProfilePastDue
InsufficientPermissionOnDestination ProductTransferValidationErrorCode = original.InsufficientPermissionOnDestination
InsufficientPermissionOnSource ProductTransferValidationErrorCode = original.InsufficientPermissionOnSource
InvalidSource ProductTransferValidationErrorCode = original.InvalidSource
NotAvailableForDestinationMarket ProductTransferValidationErrorCode = original.NotAvailableForDestinationMarket
OneTimePurchaseProductTransferNotAllowed ProductTransferValidationErrorCode = original.OneTimePurchaseProductTransferNotAllowed
ProductNotActive ProductTransferValidationErrorCode = original.ProductNotActive
ProductTypeNotSupported ProductTransferValidationErrorCode = original.ProductTypeNotSupported
)

type ProductType = original.ProductType

const (
Expand All @@ -114,10 +128,17 @@ const (
type Status = original.Status

const (
StatusDue Status = original.StatusDue
StatusPaid Status = original.StatusPaid
StatusPastDue Status = original.StatusPastDue
StatusVoid Status = original.StatusVoid
Approved Status = original.Approved
Rejected Status = original.Rejected
)

type Status1 = original.Status1

const (
Status1Due Status1 = original.Status1Due
Status1Paid Status1 = original.Status1Paid
Status1PastDue Status1 = original.Status1PastDue
Status1Void Status1 = original.Status1Void
)

type SubscriptionStatusType = original.SubscriptionStatusType
Expand All @@ -130,6 +151,19 @@ const (
SubscriptionStatusTypeWarning SubscriptionStatusType = original.SubscriptionStatusTypeWarning
)

type SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCode

const (
SubscriptionTransferValidationErrorCodeCrossBillingAccountNotAllowed SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeCrossBillingAccountNotAllowed
SubscriptionTransferValidationErrorCodeDestinationBillingProfilePastDue SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeDestinationBillingProfilePastDue
SubscriptionTransferValidationErrorCodeInsufficientPermissionOnDestination SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeInsufficientPermissionOnDestination
SubscriptionTransferValidationErrorCodeInsufficientPermissionOnSource SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeInsufficientPermissionOnSource
SubscriptionTransferValidationErrorCodeInvalidSource SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeInvalidSource
SubscriptionTransferValidationErrorCodeNotAvailableForDestinationMarket SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeNotAvailableForDestinationMarket
SubscriptionTransferValidationErrorCodeSubscriptionNotActive SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeSubscriptionNotActive
SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported SubscriptionTransferValidationErrorCode = original.SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported
)

type TransactionTypeKind = original.TransactionTypeKind

const (
Expand Down Expand Up @@ -161,9 +195,11 @@ type AcceptTransferRequest = original.AcceptTransferRequest
type Account = original.Account
type AccountListResult = original.AccountListResult
type AccountProperties = original.AccountProperties
type AccountUpdateProperties = original.AccountUpdateProperties
type AccountsClient = original.AccountsClient
type AccountsValidateAddressClient = original.AccountsValidateAddressClient
type AccountsUpdateFuture = original.AccountsUpdateFuture
type Address = original.Address
type AddressesClient = original.AddressesClient
type Agreement = original.Agreement
type AgreementListResult = original.AgreementListResult
type AgreementProperties = original.AgreementProperties
Expand Down Expand Up @@ -195,6 +231,7 @@ type InitiateTransferProperties = original.InitiateTransferProperties
type InitiateTransferRequest = original.InitiateTransferRequest
type InvoiceListResult = original.InvoiceListResult
type InvoiceSection = original.InvoiceSection
type InvoiceSectionCreationRequest = original.InvoiceSectionCreationRequest
type InvoiceSectionListResult = original.InvoiceSectionListResult
type InvoiceSectionProperties = original.InvoiceSectionProperties
type InvoiceSectionsClient = original.InvoiceSectionsClient
Expand All @@ -203,6 +240,10 @@ type InvoiceSectionsUpdateFuture = original.InvoiceSectionsUpdateFuture
type InvoiceSummary = original.InvoiceSummary
type InvoiceSummaryProperties = original.InvoiceSummaryProperties
type InvoicesClient = original.InvoicesClient
type LineOfCredit = original.LineOfCredit
type LineOfCreditProperties = original.LineOfCreditProperties
type LineOfCreditsClient = original.LineOfCreditsClient
type LineOfCreditsUpdateFuture = original.LineOfCreditsUpdateFuture
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
Expand Down Expand Up @@ -234,9 +275,11 @@ type ProductsListResult = original.ProductsListResult
type ProductsListResultIterator = original.ProductsListResultIterator
type ProductsListResultPage = original.ProductsListResultPage
type Profile = original.Profile
type ProfileCreationParameters = original.ProfileCreationParameters
type ProfileListResult = original.ProfileListResult
type ProfileProperties = original.ProfileProperties
type ProfilesClient = original.ProfilesClient
type ProfilesCreateFuture = original.ProfilesCreateFuture
type ProfilesUpdateFuture = original.ProfilesUpdateFuture
type Property = original.Property
type PropertyClient = original.PropertyClient
Expand Down Expand Up @@ -285,6 +328,10 @@ type UpdateAutoRenewOperationSummary = original.UpdateAutoRenewOperationSummary
type UpdateAutoRenewOperationSummaryProperties = original.UpdateAutoRenewOperationSummaryProperties
type UpdateAutoRenewRequest = original.UpdateAutoRenewRequest
type ValidateAddressResponse = original.ValidateAddressResponse
type ValidateProductTransferEligibilityError = original.ValidateProductTransferEligibilityError
type ValidateProductTransferEligibilityResult = original.ValidateProductTransferEligibilityResult
type ValidateSubscriptionTransferEligibilityError = original.ValidateSubscriptionTransferEligibilityError
type ValidateSubscriptionTransferEligibilityResult = original.ValidateSubscriptionTransferEligibilityResult

func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
Expand All @@ -295,11 +342,11 @@ func NewAccountsClient(subscriptionID string) AccountsClient {
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewAccountsValidateAddressClient(subscriptionID string) AccountsValidateAddressClient {
return original.NewAccountsValidateAddressClient(subscriptionID)
func NewAddressesClient(subscriptionID string) AddressesClient {
return original.NewAddressesClient(subscriptionID)
}
func NewAccountsValidateAddressClientWithBaseURI(baseURI string, subscriptionID string) AccountsValidateAddressClient {
return original.NewAccountsValidateAddressClientWithBaseURI(baseURI, subscriptionID)
func NewAddressesClientWithBaseURI(baseURI string, subscriptionID string) AddressesClient {
return original.NewAddressesClientWithBaseURI(baseURI, subscriptionID)
}
func NewAgreementsClient(subscriptionID string) AgreementsClient {
return original.NewAgreementsClient(subscriptionID)
Expand Down Expand Up @@ -337,6 +384,12 @@ func NewInvoicesClient(subscriptionID string) InvoicesClient {
func NewInvoicesClientWithBaseURI(baseURI string, subscriptionID string) InvoicesClient {
return original.NewInvoicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLineOfCreditsClient(subscriptionID string) LineOfCreditsClient {
return original.NewLineOfCreditsClient(subscriptionID)
}
func NewLineOfCreditsClientWithBaseURI(baseURI string, subscriptionID string) LineOfCreditsClient {
return original.NewLineOfCreditsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
Expand Down Expand Up @@ -490,18 +543,27 @@ func PossibleProductStatusTypeValues() []ProductStatusType {
func PossibleProductTransferStatusValues() []ProductTransferStatus {
return original.PossibleProductTransferStatusValues()
}
func PossibleProductTransferValidationErrorCodeValues() []ProductTransferValidationErrorCode {
return original.PossibleProductTransferValidationErrorCodeValues()
}
func PossibleProductTypeValues() []ProductType {
return original.PossibleProductTypeValues()
}
func PossibleReservationTypeValues() []ReservationType {
return original.PossibleReservationTypeValues()
}
func PossibleStatus1Values() []Status1 {
return original.PossibleStatus1Values()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func PossibleSubscriptionStatusTypeValues() []SubscriptionStatusType {
return original.PossibleSubscriptionStatusTypeValues()
}
func PossibleSubscriptionTransferValidationErrorCodeValues() []SubscriptionTransferValidationErrorCode {
return original.PossibleSubscriptionTransferValidationErrorCodeValues()
}
func PossibleTransactionTypeKindValues() []TransactionTypeKind {
return original.PossibleTransactionTypeKindValues()
}
Expand Down

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

This file was deleted.

Loading