Skip to content

Commit

Permalink
[AutoPR reservations/resource-manager] [Hub Generated] Review request…
Browse files Browse the repository at this point in the history
… for Microsoft.Capacity to add version preview/2019-04-01 (#5766)

* Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9

fixed x-ms-enum value

* Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e

fixed catalog definition

* Generated from cac978330e8c7b9583812a735cfeac97fb267056

reverted breaking operation id change
  • Loading branch information
AutorestCI authored and ArcturusZhang committed Sep 19, 2019
1 parent 670dde2 commit 6fbe2d6
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 15 deletions.
26 changes: 26 additions & 0 deletions profiles/preview/preview/reservations/mgmt/reservations/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,22 @@ const (
On InstanceFlexibility = original.On
)

type PaymentStatus = original.PaymentStatus

const (
Cancelled PaymentStatus = original.Cancelled
Failed PaymentStatus = original.Failed
Scheduled PaymentStatus = original.Scheduled
Succeeded PaymentStatus = original.Succeeded
)

type ReservationBillingPlan = original.ReservationBillingPlan

const (
Monthly ReservationBillingPlan = original.Monthly
Upfront ReservationBillingPlan = original.Upfront
)

type ReservationTerm = original.ReservationTerm

const (
Expand Down Expand Up @@ -146,6 +162,7 @@ type CalculatePriceResponseProperties = original.CalculatePriceResponsePropertie
type CalculatePriceResponsePropertiesBillingCurrencyTotal = original.CalculatePriceResponsePropertiesBillingCurrencyTotal
type CalculatePriceResponsePropertiesPricingCurrencyTotal = original.CalculatePriceResponsePropertiesPricingCurrencyTotal
type Catalog = original.Catalog
type CatalogBillingPlansItem = original.CatalogBillingPlansItem
type Client = original.Client
type Error = original.Error
type ExtendedErrorInfo = original.ExtendedErrorInfo
Expand All @@ -164,6 +181,7 @@ type OperationList = original.OperationList
type OperationListIterator = original.OperationListIterator
type OperationListPage = original.OperationListPage
type OperationResponse = original.OperationResponse
type OrderBillingPlanInformation = original.OrderBillingPlanInformation
type OrderClient = original.OrderClient
type OrderList = original.OrderList
type OrderListIterator = original.OrderListIterator
Expand All @@ -174,6 +192,8 @@ type OrderResponse = original.OrderResponse
type Patch = original.Patch
type PatchProperties = original.PatchProperties
type PatchPropertiesRenewProperties = original.PatchPropertiesRenewProperties
type PaymentDetail = original.PaymentDetail
type Price = original.Price
type Properties = original.Properties
type PropertiesType = original.PropertiesType
type PurchaseRequest = original.PurchaseRequest
Expand Down Expand Up @@ -247,6 +267,12 @@ func PossibleErrorResponseCodeValues() []ErrorResponseCode {
func PossibleInstanceFlexibilityValues() []InstanceFlexibility {
return original.PossibleInstanceFlexibilityValues()
}
func PossiblePaymentStatusValues() []PaymentStatus {
return original.PossiblePaymentStatusValues()
}
func PossibleReservationBillingPlanValues() []ReservationBillingPlan {
return original.PossibleReservationBillingPlanValues()
}
func PossibleReservationTermValues() []ReservationTerm {
return original.PossibleReservationTermValues()
}
Expand Down

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

155 changes: 145 additions & 10 deletions services/preview/reservations/mgmt/2019-04-01/reservations/models.go

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.

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

0 comments on commit 6fbe2d6

Please sign in to comment.