Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AppliedReservationList struct + NextLink *string + Value *[]string + type AppliedReservations struct + ID *string + Name *string + Type *string + func (ar *AppliedReservations) UnmarshalJSON(body []byte) error + func (ar AppliedReservations) MarshalJSON() ([]byte, error) + type AppliedReservationsProperties struct + ReservationOrderIds *AppliedReservationList + type AppliedScopeType string + const AppliedScopeTypeShared + const AppliedScopeTypeSingle + func PossibleAppliedScopeTypeValues() []AppliedScopeType + type AvailableScopeProperties struct + Properties *SubscriptionScopeProperties + type AvailableScopeRequest struct + Properties *AvailableScopeRequestProperties + type AvailableScopeRequestProperties struct + Scopes *[]string + type BaseClient struct + BaseURI string + func New() BaseClient + func NewWithBaseURI(baseURI string) BaseClient + func (client BaseClient) GetAppliedReservationList(ctx context.Context, subscriptionID string) (result AppliedReservations, err error) + func (client BaseClient) GetAppliedReservationListPreparer(ctx context.Context, subscriptionID string) (*http.Request, error) + func (client BaseClient) GetAppliedReservationListResponder(resp *http.Response) (result AppliedReservations, err error) + func (client BaseClient) GetAppliedReservationListSender(req *http.Request) (*http.Response, error) + func (client BaseClient) GetCatalog(ctx context.Context, subscriptionID string, reservedResourceType string, ...) (result ListCatalog, err error) + func (client BaseClient) GetCatalogPreparer(ctx context.Context, subscriptionID string, reservedResourceType string, ...) (*http.Request, error) + func (client BaseClient) GetCatalogResponder(resp *http.Response) (result ListCatalog, err error) + func (client BaseClient) GetCatalogSender(req *http.Request) (*http.Response, error) + type BillingInformation struct + BillingCurrencyProratedAmount *Price + BillingCurrencyRemainingCommitmentAmount *Price + BillingCurrencyTotalPaidAmount *Price + type CalculateExchangeClient struct + func NewCalculateExchangeClient() CalculateExchangeClient + func NewCalculateExchangeClientWithBaseURI(baseURI string) CalculateExchangeClient + func (client CalculateExchangeClient) Post(ctx context.Context, body CalculateExchangeRequest) (result CalculateExchangePostFuture, err error) + func (client CalculateExchangeClient) PostPreparer(ctx context.Context, body CalculateExchangeRequest) (*http.Request, error) + func (client CalculateExchangeClient) PostResponder(resp *http.Response) (result CalculateExchangeOperationResultResponse, err error) + func (client CalculateExchangeClient) PostSender(req *http.Request) (future CalculateExchangePostFuture, err error) + type CalculateExchangeOperationResultResponse struct + Error *OperationResultError + ID *string + Name *string + Properties *CalculateExchangeResponseProperties + Status CalculateExchangeOperationResultStatus + type CalculateExchangeOperationResultStatus string + const CalculateExchangeOperationResultStatusCancelled + const CalculateExchangeOperationResultStatusFailed + const CalculateExchangeOperationResultStatusPending + const CalculateExchangeOperationResultStatusSucceeded + func PossibleCalculateExchangeOperationResultStatusValues() []CalculateExchangeOperationResultStatus + type CalculateExchangePostFuture struct + Result func(CalculateExchangeClient) (CalculateExchangeOperationResultResponse, error) + func (future *CalculateExchangePostFuture) UnmarshalJSON(body []byte) error + type CalculateExchangeRequest struct + Properties *CalculateExchangeRequestProperties + type CalculateExchangeRequestProperties struct + ReservationsToExchange *[]ToReturn + ReservationsToPurchase *[]PurchaseRequest + type CalculateExchangeResponseProperties struct + NetPayable *Price + PolicyResult *ExchangePolicyErrors + PurchasesTotal *Price + RefundsTotal *Price + ReservationsToExchange *[]ToExchange + ReservationsToPurchase *[]ToPurchaseCalculateExchange + SessionID *string + type CalculatePriceResponse struct + Properties *CalculatePriceResponseProperties + type CalculatePriceResponseProperties struct + BillingCurrencyTotal *CalculatePriceResponsePropertiesBillingCurrencyTotal + GrandTotal *float64 + IsBillingPartnerManaged *bool + IsTaxIncluded *bool + NetTotal *float64 + PaymentSchedule *[]PaymentDetail + PricingCurrencyTotal *CalculatePriceResponsePropertiesPricingCurrencyTotal + ReservationOrderID *string + SkuDescription *string + SkuTitle *string + TaxTotal *float64 + type CalculatePriceResponsePropertiesBillingCurrencyTotal struct + Amount *float64 + CurrencyCode *string + type CalculatePriceResponsePropertiesPricingCurrencyTotal struct + Amount *float64 + CurrencyCode *string + type Catalog struct + BillingPlans map[string][]ReservationBillingPlan + Capabilities *[]SkuCapability + Locations *[]string + Msrp *CatalogMsrp + Name *string + ResourceType *string + Restrictions *[]SkuRestriction + Size *string + SkuProperties *[]SkuProperty + Terms *[]ReservationTerm + Tier *string + func (c Catalog) MarshalJSON() ([]byte, error) + type CatalogMsrp struct + P1Y *Price + type ChangeDirectoryRequest struct + DestinationTenantID *string + type ChangeDirectoryResponse struct + ReservationOrder *ChangeDirectoryResult + ReservationsProperty *[]ChangeDirectoryResult + type ChangeDirectoryResult struct + Error *string + ID *string + IsSucceeded *bool + Name *string + type Client struct + func NewClient() Client + func NewClientWithBaseURI(baseURI string) Client + func (client Client) AvailableScopes(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationAvailableScopesFuture, err error) + func (client Client) AvailableScopesPreparer(ctx context.Context, reservationOrderID string, reservationID string, ...) (*http.Request, error) + func (client Client) AvailableScopesResponder(resp *http.Response) (result AvailableScopeProperties, err error) + func (client Client) AvailableScopesSender(req *http.Request) (future ReservationAvailableScopesFuture, err error) + func (client Client) Get(ctx context.Context, reservationID string, reservationOrderID string, ...) (result Response, err error) + func (client Client) GetPreparer(ctx context.Context, reservationID string, reservationOrderID string, ...) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result Response, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context, reservationOrderID string) (result ListPage, err error) + func (client Client) ListAll(ctx context.Context, filter string, orderby string, refreshSummary string, ...) (result ListResultPage, err error) + func (client Client) ListAllComplete(ctx context.Context, filter string, orderby string, refreshSummary string, ...) (result ListResultIterator, err error) + func (client Client) ListAllPreparer(ctx context.Context, filter string, orderby string, refreshSummary string, ...) (*http.Request, error) + func (client Client) ListAllResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListAllSender(req *http.Request) (*http.Response, error) + func (client Client) ListComplete(ctx context.Context, reservationOrderID string) (result ListIterator, err error) + func (client Client) ListPreparer(ctx context.Context, reservationOrderID string) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result List, err error) + func (client Client) ListRevisions(ctx context.Context, reservationID string, reservationOrderID string) (result ListPage, err error) + func (client Client) ListRevisionsComplete(ctx context.Context, reservationID string, reservationOrderID string) (result ListIterator, err error) + func (client Client) ListRevisionsPreparer(ctx context.Context, reservationID string, reservationOrderID string) (*http.Request, error) + func (client Client) ListRevisionsResponder(resp *http.Response) (result List, err error) + func (client Client) ListRevisionsSender(req *http.Request) (*http.Response, error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) Merge(ctx context.Context, reservationOrderID string, body MergeRequest) (result ReservationMergeFuture, err error) + func (client Client) MergePreparer(ctx context.Context, reservationOrderID string, body MergeRequest) (*http.Request, error) + func (client Client) MergeResponder(resp *http.Response) (result ListResponse, err error) + func (client Client) MergeSender(req *http.Request) (future ReservationMergeFuture, err error) + func (client Client) Split(ctx context.Context, reservationOrderID string, body SplitRequest) (result SplitFuture, err error) + func (client Client) SplitPreparer(ctx context.Context, reservationOrderID string, body SplitRequest) (*http.Request, error) + func (client Client) SplitResponder(resp *http.Response) (result ListResponse, err error) + func (client Client) SplitSender(req *http.Request) (future SplitFuture, err error) + func (client Client) Update(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationUpdateFuture, err error) + func (client Client) UpdatePreparer(ctx context.Context, reservationOrderID string, reservationID string, ...) (*http.Request, error) + func (client Client) UpdateResponder(resp *http.Response) (result Response, err error) + func (client Client) UpdateSender(req *http.Request) (future ReservationUpdateFuture, err error) + type CreateGenericQuotaRequestParameters struct + Value *[]CurrentQuotaLimitBase + type CreatedByType string + const CreatedByTypeApplication + const CreatedByTypeKey + const CreatedByTypeManagedIdentity + const CreatedByTypeUser + func PossibleCreatedByTypeValues() []CreatedByType + type CurrentQuotaLimit struct + func (cql *CurrentQuotaLimit) UnmarshalJSON(body []byte) error + func (cql CurrentQuotaLimit) MarshalJSON() ([]byte, error) + type CurrentQuotaLimitBase struct + ID *string + Name *string + Properties *QuotaProperties + Type *string + func (cqlb CurrentQuotaLimitBase) MarshalJSON() ([]byte, error) + type Error struct + Error *ExtendedErrorInfo + type ErrorDetails struct + Code *string + Message *string + Target *string + func (ed ErrorDetails) MarshalJSON() ([]byte, error) + type ErrorResponse struct + Error *ErrorDetails + type ErrorResponseCode string + const ErrorResponseCodeActivateQuoteFailed + const ErrorResponseCodeAppliedScopesNotAssociatedWithCommerceAccount + const ErrorResponseCodeAppliedScopesSameAsExisting + const ErrorResponseCodeAuthorizationFailed + const ErrorResponseCodeBadRequest + const ErrorResponseCodeBillingCustomerInputError + const ErrorResponseCodeBillingError + const ErrorResponseCodeBillingPaymentInstrumentHardError + const ErrorResponseCodeBillingPaymentInstrumentSoftError + const ErrorResponseCodeBillingScopeIDCannotBeChanged + const ErrorResponseCodeBillingTransientError + const ErrorResponseCodeCalculatePriceFailed + const ErrorResponseCodeCapacityUpdateScopesFailed + const ErrorResponseCodeClientCertificateThumbprintNotSet + const ErrorResponseCodeCreateQuoteFailed + const ErrorResponseCodeForbidden + const ErrorResponseCodeFulfillmentConfigurationError + const ErrorResponseCodeFulfillmentError + const ErrorResponseCodeFulfillmentOutOfStockError + const ErrorResponseCodeFulfillmentTransientError + const ErrorResponseCodeHTTPMethodNotSupported + const ErrorResponseCodeInternalServerError + const ErrorResponseCodeInvalidAccessToken + const ErrorResponseCodeInvalidFulfillmentRequestParameters + const ErrorResponseCodeInvalidHealthCheckType + const ErrorResponseCodeInvalidLocationID + const ErrorResponseCodeInvalidRefundQuantity + const ErrorResponseCodeInvalidRequestContent + const ErrorResponseCodeInvalidRequestURI + const ErrorResponseCodeInvalidReservationID + const ErrorResponseCodeInvalidReservationOrderID + const ErrorResponseCodeInvalidSingleAppliedScopesCount + const ErrorResponseCodeInvalidSubscriptionID + const ErrorResponseCodeInvalidTenantID + const ErrorResponseCodeMissingAppliedScopesForSingle + const ErrorResponseCodeMissingTenantID + const ErrorResponseCodeNoValidReservationsToReRate + const ErrorResponseCodeNonsupportedAccountID + const ErrorResponseCodeNotSpecified + const ErrorResponseCodeNotSupportedCountry + const ErrorResponseCodeOperationCannotBePerformedInCurrentState + const ErrorResponseCodeOperationFailed + const ErrorResponseCodePatchValuesSameAsExisting + const ErrorResponseCodePaymentInstrumentNotFound + const ErrorResponseCodePurchaseError + const ErrorResponseCodeReRateOnlyAllowedForEA + const ErrorResponseCodeReservationIDNotInReservationOrder + const ErrorResponseCodeReservationOrderCreationFailed + const ErrorResponseCodeReservationOrderIDAlreadyExists + const ErrorResponseCodeReservationOrderNotEnabled + const ErrorResponseCodeReservationOrderNotFound + const ErrorResponseCodeRiskCheckFailed + const ErrorResponseCodeRoleAssignmentCreationFailed + const ErrorResponseCodeServerTimeout + const ErrorResponseCodeUnauthenticatedRequestsThrottled + const ErrorResponseCodeUnsupportedReservationTerm + func PossibleErrorResponseCodeValues() []ErrorResponseCode + type ExceptionResponse struct + Error *ServiceError + type ExchangeClient struct + func NewExchangeClient() ExchangeClient + func NewExchangeClientWithBaseURI(baseURI string) ExchangeClient + func (client ExchangeClient) Post(ctx context.Context, body ExchangeRequest) (result ExchangePostFuture, err error) + func (client ExchangeClient) PostPreparer(ctx context.Context, body ExchangeRequest) (*http.Request, error) + func (client ExchangeClient) PostResponder(resp *http.Response) (result ExchangeOperationResultResponse, err error) + func (client ExchangeClient) PostSender(req *http.Request) (future ExchangePostFuture, err error) + type ExchangeOperationResultResponse struct + Error *OperationResultError + ID *string + Name *string + Properties *ExchangeResponseProperties + Status ExchangeOperationResultStatus + type ExchangeOperationResultStatus string + const ExchangeOperationResultStatusCancelled + const ExchangeOperationResultStatusFailed + const ExchangeOperationResultStatusPendingPurchases + const ExchangeOperationResultStatusPendingRefunds + const ExchangeOperationResultStatusSucceeded + func PossibleExchangeOperationResultStatusValues() []ExchangeOperationResultStatus + type ExchangePolicyError struct + Code *string + Message *string + type ExchangePolicyErrors struct + PolicyErrors *[]ExchangePolicyError + type ExchangePostFuture struct + Result func(ExchangeClient) (ExchangeOperationResultResponse, error) + func (future *ExchangePostFuture) UnmarshalJSON(body []byte) error + type ExchangeRequest struct + Properties *ExchangeRequestProperties + type ExchangeRequestProperties struct + SessionID *string + type ExchangeResponseProperties struct + NetPayable *Price + PolicyResult *ExchangePolicyErrors + PurchasesTotal *Price + RefundsTotal *Price + ReservationsToExchange *[]ToReturnForExchange + ReservationsToPurchase *[]ToPurchaseExchange + SessionID *string + type ExtendedErrorInfo struct + Code ErrorResponseCode + Message *string + type ExtendedStatusInfo struct + Message *string + StatusCode StatusCode + type InstanceFlexibility string + const InstanceFlexibilityOff + const InstanceFlexibilityOn + func PossibleInstanceFlexibilityValues() []InstanceFlexibility + type Kind string + const KindMicrosoftCompute + func PossibleKindValues() []Kind + type List struct + NextLink *string + Value *[]Response + func (l List) IsEmpty() bool + type ListCatalog struct + Value *[]Catalog + type ListIterator struct + func NewListIterator(page ListPage) ListIterator + func (iter *ListIterator) Next() error + func (iter *ListIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListIterator) NotDone() bool + func (iter ListIterator) Response() List + func (iter ListIterator) Value() Response + type ListPage struct + func NewListPage(cur List, getNextPage func(context.Context, List) (List, error)) ListPage + func (page *ListPage) Next() error + func (page *ListPage) NextWithContext(ctx context.Context) (err error) + func (page ListPage) NotDone() bool + func (page ListPage) Response() List + func (page ListPage) Values() []Response + type ListResponse struct + Value *[]Response + type ListResult struct + NextLink *string + Summary *Summary + Value *[]Response + func (lr ListResult) IsEmpty() bool + func (lr ListResult) MarshalJSON() ([]byte, error) + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() Response + type ListResultPage struct + func NewListResultPage(cur ListResult, ...) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []Response + type MergeProperties struct + Sources *[]string + type MergePropertiesType struct + MergeDestination *string + MergeSources *[]string + type MergeRequest struct + func (mr *MergeRequest) UnmarshalJSON(body []byte) error + func (mr MergeRequest) MarshalJSON() ([]byte, error) + type OperationClient struct + func NewOperationClient() OperationClient + func NewOperationClientWithBaseURI(baseURI string) OperationClient + func (client OperationClient) List(ctx context.Context) (result OperationListPage, err error) + func (client OperationClient) ListComplete(ctx context.Context) (result OperationListIterator, err error) + func (client OperationClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationClient) ListResponder(resp *http.Response) (result OperationList, err error) + func (client OperationClient) ListSender(req *http.Request) (*http.Response, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationList struct + NextLink *string + Value *[]OperationResponse + func (ol OperationList) IsEmpty() bool + type OperationListIterator struct + func NewOperationListIterator(page OperationListPage) OperationListIterator + func (iter *OperationListIterator) Next() error + func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListIterator) NotDone() bool + func (iter OperationListIterator) Response() OperationList + func (iter OperationListIterator) Value() OperationResponse + type OperationListPage struct + func NewOperationListPage(cur OperationList, ...) OperationListPage + func (page *OperationListPage) Next() error + func (page *OperationListPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListPage) NotDone() bool + func (page OperationListPage) Response() OperationList + func (page OperationListPage) Values() []OperationResponse + type OperationResponse struct + Display *OperationDisplay + IsDataAction *bool + Name *string + Origin *string + Properties interface{} + type OperationResultError struct + Code *string + Message *string + type OperationStatus string + const OperationStatusCancelled + const OperationStatusFailed + const OperationStatusPending + const OperationStatusSucceeded + func PossibleOperationStatusValues() []OperationStatus + type OrderBillingPlanInformation struct + NextPaymentDueDate *date.Date + PricingCurrencyTotal *Price + StartDate *date.Date + Transactions *[]PaymentDetail + type OrderClient struct + func NewOrderClient() OrderClient + func NewOrderClientWithBaseURI(baseURI string) OrderClient + func (client OrderClient) Calculate(ctx context.Context, body PurchaseRequest) (result CalculatePriceResponse, err error) + func (client OrderClient) CalculatePreparer(ctx context.Context, body PurchaseRequest) (*http.Request, error) + func (client OrderClient) CalculateResponder(resp *http.Response) (result CalculatePriceResponse, err error) + func (client OrderClient) CalculateSender(req *http.Request) (*http.Response, error) + func (client OrderClient) ChangeDirectory(ctx context.Context, reservationOrderID string, body ChangeDirectoryRequest) (result ChangeDirectoryResponse, err error) + func (client OrderClient) ChangeDirectoryPreparer(ctx context.Context, reservationOrderID string, body ChangeDirectoryRequest) (*http.Request, error) + func (client OrderClient) ChangeDirectoryResponder(resp *http.Response) (result ChangeDirectoryResponse, err error) + func (client OrderClient) ChangeDirectorySender(req *http.Request) (*http.Response, error) + func (client OrderClient) Get(ctx context.Context, reservationOrderID string, expand string) (result OrderResponse, err error) + func (client OrderClient) GetPreparer(ctx context.Context, reservationOrderID string, expand string) (*http.Request, error) + func (client OrderClient) GetResponder(resp *http.Response) (result OrderResponse, err error) + func (client OrderClient) GetSender(req *http.Request) (*http.Response, error) + func (client OrderClient) List(ctx context.Context) (result OrderListPage, err error) + func (client OrderClient) ListComplete(ctx context.Context) (result OrderListIterator, err error) + func (client OrderClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OrderClient) ListResponder(resp *http.Response) (result OrderList, err error) + func (client OrderClient) ListSender(req *http.Request) (*http.Response, error) + func (client OrderClient) Purchase(ctx context.Context, reservationOrderID string, body PurchaseRequest) (result OrderPurchaseFuture, err error) + func (client OrderClient) PurchasePreparer(ctx context.Context, reservationOrderID string, body PurchaseRequest) (*http.Request, error) + func (client OrderClient) PurchaseResponder(resp *http.Response) (result OrderResponse, err error) + func (client OrderClient) PurchaseSender(req *http.Request) (future OrderPurchaseFuture, err error) + type OrderList struct + NextLink *string + Value *[]OrderResponse + func (ol OrderList) IsEmpty() bool + type OrderListIterator struct + func NewOrderListIterator(page OrderListPage) OrderListIterator + func (iter *OrderListIterator) Next() error + func (iter *OrderListIterator) NextWithContext(ctx context.Context) (err error) + func (iter OrderListIterator) NotDone() bool + func (iter OrderListIterator) Response() OrderList + func (iter OrderListIterator) Value() OrderResponse + type OrderListPage struct + func NewOrderListPage(cur OrderList, getNextPage func(context.Context, OrderList) (OrderList, error)) OrderListPage + func (page *OrderListPage) Next() error + func (page *OrderListPage) NextWithContext(ctx context.Context) (err error) + func (page OrderListPage) NotDone() bool + func (page OrderListPage) Response() OrderList + func (page OrderListPage) Values() []OrderResponse + type OrderProperties struct + BenefitStartTime *date.Time + BillingPlan ReservationBillingPlan + CreatedDateTime *date.Time + DisplayName *string + ExpiryDate *date.Date + OriginalQuantity *int32 + PlanInformation *OrderBillingPlanInformation + ProvisioningState ProvisioningState1 + RequestDateTime *date.Time + ReservationsProperty *[]Response + Term ReservationTerm + type OrderPurchaseFuture struct + Result func(OrderClient) (OrderResponse, error) + func (future *OrderPurchaseFuture) UnmarshalJSON(body []byte) error + type OrderResponse struct + Etag *int32 + ID *string + Name *string + SystemData *SystemData + Type *string + func (or *OrderResponse) UnmarshalJSON(body []byte) error + func (or OrderResponse) MarshalJSON() ([]byte, error) + type Patch struct + func (p *Patch) UnmarshalJSON(body []byte) error + func (p Patch) MarshalJSON() ([]byte, error) + type PatchProperties struct + AppliedScopeType AppliedScopeType + AppliedScopes *[]string + InstanceFlexibility InstanceFlexibility + Name *string + Renew *bool + RenewProperties *PatchPropertiesRenewProperties + type PatchPropertiesRenewProperties struct + PurchaseProperties *PurchaseRequest + type PaymentDetail struct + BillingAccount *string + BillingCurrencyTotal *Price + DueDate *date.Date + ExtendedStatusInfo *ExtendedStatusInfo + PaymentDate *date.Date + PricingCurrencyTotal *Price + Status PaymentStatus + type PaymentStatus string + const PaymentStatusCancelled + const PaymentStatusFailed + const PaymentStatusScheduled + const PaymentStatusSucceeded + func PossiblePaymentStatusValues() []PaymentStatus + type Price struct + Amount *float64 + CurrencyCode *string + type Properties struct + AppliedScopeType AppliedScopeType + AppliedScopes *[]string + Archived *bool + BenefitStartTime *date.Time + BillingPlan ReservationBillingPlan + BillingScopeID *string + Capabilities *string + DisplayName *string + DisplayProvisioningState *string + EffectiveDateTime *date.Time + ExpiryDate *date.Date + ExtendedStatusInfo *ExtendedStatusInfo + InstanceFlexibility InstanceFlexibility + LastUpdatedDateTime *date.Time + MergeProperties *MergePropertiesType + ProvisioningState ProvisioningState + ProvisioningSubState *string + PurchaseDate *date.Date + Quantity *int32 + Renew *bool + RenewDestination *string + RenewProperties *RenewPropertiesResponse + RenewSource *string + ReservedResourceType ReservedResourceType + SkuDescription *string + SplitProperties *SplitPropertiesType + Term ReservationTerm + UserFriendlyAppliedScopeType *string + UserFriendlyRenewState *string + Utilization *PropertiesUtilization + func (p Properties) MarshalJSON() ([]byte, error) + type PropertiesUtilization struct + Aggregates *[]UtilizationAggregates + Trend *string + func (p PropertiesUtilization) MarshalJSON() ([]byte, error) + type ProvisioningState string + const ProvisioningStateBillingFailed + const ProvisioningStateCancelled + const ProvisioningStateConfirmedBilling + const ProvisioningStateConfirmedResourceHold + const ProvisioningStateCreated + const ProvisioningStateCreating + const ProvisioningStateExpired + const ProvisioningStateFailed + const ProvisioningStateMerged + const ProvisioningStatePendingBilling + const ProvisioningStatePendingResourceHold + const ProvisioningStateSplit + const ProvisioningStateSucceeded + func PossibleProvisioningStateValues() []ProvisioningState + type ProvisioningState1 string + const ProvisioningState1BillingFailed + const ProvisioningState1Cancelled + const ProvisioningState1ConfirmedBilling + const ProvisioningState1ConfirmedResourceHold + const ProvisioningState1Created + const ProvisioningState1Creating + const ProvisioningState1Expired + const ProvisioningState1Failed + const ProvisioningState1Merged + const ProvisioningState1PendingBilling + const ProvisioningState1PendingResourceHold + const ProvisioningState1Split + const ProvisioningState1Succeeded + func PossibleProvisioningState1Values() []ProvisioningState1 + type PurchaseRequest struct + Location *string + Sku *SkuName + func (pr *PurchaseRequest) UnmarshalJSON(body []byte) error + func (pr PurchaseRequest) MarshalJSON() ([]byte, error) + type PurchaseRequestProperties struct + AppliedScopeType AppliedScopeType + AppliedScopes *[]string + BillingPlan ReservationBillingPlan + BillingScopeID *string + DisplayName *string + Quantity *int32 + Renew *bool + ReservedResourceProperties *PurchaseRequestPropertiesReservedResourceProperties + ReservedResourceType ReservedResourceType + Term ReservationTerm + type PurchaseRequestPropertiesReservedResourceProperties struct + InstanceFlexibility InstanceFlexibility + type QuotaClient struct + func NewQuotaClient() QuotaClient + func NewQuotaClientWithBaseURI(baseURI string) QuotaClient + func (client QuotaClient) CreateOrUpdate(ctx context.Context, subscriptionID string, providerID string, location string, ...) (result QuotaCreateOrUpdateFuture, err error) + func (client QuotaClient) CreateOrUpdatePreparer(ctx context.Context, subscriptionID string, providerID string, location string, ...) (*http.Request, error) + func (client QuotaClient) CreateOrUpdateResponder(resp *http.Response) (result SetObject, err error) + func (client QuotaClient) CreateOrUpdateSender(req *http.Request) (future QuotaCreateOrUpdateFuture, err error) + func (client QuotaClient) Get(ctx context.Context, subscriptionID string, providerID string, location string, ...) (result CurrentQuotaLimitBase, err error) + func (client QuotaClient) GetPreparer(ctx context.Context, subscriptionID string, providerID string, location string, ...) (*http.Request, error) + func (client QuotaClient) GetResponder(resp *http.Response) (result CurrentQuotaLimitBase, err error) + func (client QuotaClient) GetSender(req *http.Request) (*http.Response, error) + func (client QuotaClient) List(ctx context.Context, subscriptionID string, providerID string, location string) (result QuotaLimitsPage, err error) + func (client QuotaClient) ListComplete(ctx context.Context, subscriptionID string, providerID string, location string) (result QuotaLimitsIterator, err error) + func (client QuotaClient) ListPreparer(ctx context.Context, subscriptionID string, providerID string, location string) (*http.Request, error) + func (client QuotaClient) ListResponder(resp *http.Response) (result QuotaLimits, err error) + func (client QuotaClient) ListSender(req *http.Request) (*http.Response, error) + func (client QuotaClient) Update(ctx context.Context, subscriptionID string, providerID string, location string, ...) (result QuotaUpdateFuture, err error) + func (client QuotaClient) UpdatePreparer(ctx context.Context, subscriptionID string, providerID string, location string, ...) (*http.Request, error) + func (client QuotaClient) UpdateResponder(resp *http.Response) (result SetObject, err error) + func (client QuotaClient) UpdateSender(req *http.Request) (future QuotaUpdateFuture, err error) + type QuotaCreateOrUpdateFuture struct + Result func(QuotaClient) (SetObject, error) + func (future *QuotaCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type QuotaLimits struct + NextLink *string + Value *[]CurrentQuotaLimitBase + func (ql QuotaLimits) IsEmpty() bool + type QuotaLimitsIterator struct + func NewQuotaLimitsIterator(page QuotaLimitsPage) QuotaLimitsIterator + func (iter *QuotaLimitsIterator) Next() error + func (iter *QuotaLimitsIterator) NextWithContext(ctx context.Context) (err error) + func (iter QuotaLimitsIterator) NotDone() bool + func (iter QuotaLimitsIterator) Response() QuotaLimits + func (iter QuotaLimitsIterator) Value() CurrentQuotaLimitBase + type QuotaLimitsPage struct + func NewQuotaLimitsPage(cur QuotaLimits, ...) QuotaLimitsPage + func (page *QuotaLimitsPage) Next() error + func (page *QuotaLimitsPage) NextWithContext(ctx context.Context) (err error) + func (page QuotaLimitsPage) NotDone() bool + func (page QuotaLimitsPage) Response() QuotaLimits + func (page QuotaLimitsPage) Values() []CurrentQuotaLimitBase + type QuotaLimitsResponse struct + NextLink *string + Value *[]CurrentQuotaLimit + type QuotaProperties struct + CurrentValue *int32 + Limit *int32 + Name *ResourceName + Properties interface{} + QuotaPeriod *string + ResourceType ResourceType + Unit *string + func (qp QuotaProperties) MarshalJSON() ([]byte, error) + type QuotaRequestDetails struct + ID *string + Name *string + Type *string + func (qrd *QuotaRequestDetails) UnmarshalJSON(body []byte) error + func (qrd QuotaRequestDetails) MarshalJSON() ([]byte, error) + type QuotaRequestDetailsList struct + NextLink *string + Value *[]QuotaRequestDetails + func (qrdl QuotaRequestDetailsList) IsEmpty() bool + type QuotaRequestDetailsListIterator struct + func NewQuotaRequestDetailsListIterator(page QuotaRequestDetailsListPage) QuotaRequestDetailsListIterator + func (iter *QuotaRequestDetailsListIterator) Next() error + func (iter *QuotaRequestDetailsListIterator) NextWithContext(ctx context.Context) (err error) + func (iter QuotaRequestDetailsListIterator) NotDone() bool + func (iter QuotaRequestDetailsListIterator) Response() QuotaRequestDetailsList + func (iter QuotaRequestDetailsListIterator) Value() QuotaRequestDetails + type QuotaRequestDetailsListPage struct + func NewQuotaRequestDetailsListPage(cur QuotaRequestDetailsList, ...) QuotaRequestDetailsListPage + func (page *QuotaRequestDetailsListPage) Next() error + func (page *QuotaRequestDetailsListPage) NextWithContext(ctx context.Context) (err error) + func (page QuotaRequestDetailsListPage) NotDone() bool + func (page QuotaRequestDetailsListPage) Response() QuotaRequestDetailsList + func (page QuotaRequestDetailsListPage) Values() []QuotaRequestDetails + type QuotaRequestOneResourceProperties struct + Message *string + ProvisioningState QuotaRequestState + RequestSubmitTime *date.Time + func (qrorp *QuotaRequestOneResourceProperties) UnmarshalJSON(body []byte) error + func (qrorp QuotaRequestOneResourceProperties) MarshalJSON() ([]byte, error) + type QuotaRequestOneResourceSubmitResponse struct + ID *string + Name *string + Type *string + func (qrorsr *QuotaRequestOneResourceSubmitResponse) UnmarshalJSON(body []byte) error + func (qrorsr QuotaRequestOneResourceSubmitResponse) MarshalJSON() ([]byte, error) + type QuotaRequestProperties struct + Message *string + ProvisioningState QuotaRequestState + RequestSubmitTime *date.Time + Value *[]SubRequest + func (qrp QuotaRequestProperties) MarshalJSON() ([]byte, error) + type QuotaRequestState string + const QuotaRequestStateAccepted + const QuotaRequestStateFailed + const QuotaRequestStateInProgress + const QuotaRequestStateInvalid + const QuotaRequestStateSucceeded + func PossibleQuotaRequestStateValues() []QuotaRequestState + type QuotaRequestStatusClient struct + func NewQuotaRequestStatusClient() QuotaRequestStatusClient + func NewQuotaRequestStatusClientWithBaseURI(baseURI string) QuotaRequestStatusClient + func (client QuotaRequestStatusClient) Get(ctx context.Context, subscriptionID string, providerID string, location string, ...) (result QuotaRequestDetails, err error) + func (client QuotaRequestStatusClient) GetPreparer(ctx context.Context, subscriptionID string, providerID string, location string, ...) (*http.Request, error) + func (client QuotaRequestStatusClient) GetResponder(resp *http.Response) (result QuotaRequestDetails, err error) + func (client QuotaRequestStatusClient) GetSender(req *http.Request) (*http.Response, error) + func (client QuotaRequestStatusClient) List(ctx context.Context, subscriptionID string, providerID string, location string, ...) (result QuotaRequestDetailsListPage, err error) + func (client QuotaRequestStatusClient) ListComplete(ctx context.Context, subscriptionID string, providerID string, location string, ...) (result QuotaRequestDetailsListIterator, err error) + func (client QuotaRequestStatusClient) ListPreparer(ctx context.Context, subscriptionID string, providerID string, location string, ...) (*http.Request, error) + func (client QuotaRequestStatusClient) ListResponder(resp *http.Response) (result QuotaRequestDetailsList, err error) + func (client QuotaRequestStatusClient) ListSender(req *http.Request) (*http.Response, error) + type QuotaRequestStatusDetails struct + Message *string + ProvisioningState QuotaRequestState + func (qrsd QuotaRequestStatusDetails) MarshalJSON() ([]byte, error) + type QuotaRequestSubmitResponse struct + ID *string + Name *string + Properties *QuotaRequestProperties + Type *string + func (qrsr QuotaRequestSubmitResponse) MarshalJSON() ([]byte, error) + type QuotaRequestSubmitResponse201 struct + ID *string + Name *string + Type *string + func (qrsr2 *QuotaRequestSubmitResponse201) UnmarshalJSON(body []byte) error + func (qrsr2 QuotaRequestSubmitResponse201) MarshalJSON() ([]byte, error) + type QuotaUpdateFuture struct + Result func(QuotaClient) (SetObject, error) + func (future *QuotaUpdateFuture) UnmarshalJSON(body []byte) error + type RenewPropertiesResponse struct + BillingCurrencyTotal *RenewPropertiesResponseBillingCurrencyTotal + PricingCurrencyTotal *RenewPropertiesResponsePricingCurrencyTotal + PurchaseProperties *PurchaseRequest + type RenewPropertiesResponseBillingCurrencyTotal struct + Amount *float64 + CurrencyCode *string + type RenewPropertiesResponsePricingCurrencyTotal struct + Amount *float64 + CurrencyCode *string + type ReservationAvailableScopesFuture struct + Result func(Client) (AvailableScopeProperties, error) + func (future *ReservationAvailableScopesFuture) UnmarshalJSON(body []byte) error + type ReservationBillingPlan string + const ReservationBillingPlanMonthly + const ReservationBillingPlanUpfront + func PossibleReservationBillingPlanValues() []ReservationBillingPlan + type ReservationMergeFuture struct + Result func(Client) (ListResponse, error) + func (future *ReservationMergeFuture) UnmarshalJSON(body []byte) error + type ReservationTerm string + const ReservationTermP1Y + const ReservationTermP3Y + const ReservationTermP5Y + func PossibleReservationTermValues() []ReservationTerm + type ReservationUpdateFuture struct + Result func(Client) (Response, error) + func (future *ReservationUpdateFuture) UnmarshalJSON(body []byte) error + type ReservedResourceType string + const ReservedResourceTypeAVS + const ReservedResourceTypeAppService + const ReservedResourceTypeAzureDataExplorer + const ReservedResourceTypeAzureFiles + const ReservedResourceTypeBlockBlob + const ReservedResourceTypeCosmosDb + const ReservedResourceTypeDataFactory + const ReservedResourceTypeDatabricks + const ReservedResourceTypeDedicatedHost + const ReservedResourceTypeManagedDisk + const ReservedResourceTypeMariaDb + const ReservedResourceTypeMySQL + const ReservedResourceTypeNetAppStorage + const ReservedResourceTypePostgreSQL + const ReservedResourceTypeRedHat + const ReservedResourceTypeRedHatOsa + const ReservedResourceTypeRedisCache + const ReservedResourceTypeSQLAzureHybridBenefit + const ReservedResourceTypeSQLDataWarehouse + const ReservedResourceTypeSQLDatabases + const ReservedResourceTypeSQLEdge + const ReservedResourceTypeSapHana + const ReservedResourceTypeSuseLinux + const ReservedResourceTypeVMwareCloudSimple + const ReservedResourceTypeVirtualMachineSoftware + const ReservedResourceTypeVirtualMachines + func PossibleReservedResourceTypeValues() []ReservedResourceType + type ResourceName struct + LocalizedValue *string + Value *string + func (rn ResourceName) MarshalJSON() ([]byte, error) + type ResourceType string + const ResourceTypeDedicated + const ResourceTypeLowPriority + const ResourceTypeServiceSpecific + const ResourceTypeShared + const ResourceTypeStandard + func PossibleResourceTypeValues() []ResourceType + type Response struct + Etag *int32 + ID *string + Kind Kind + Location *string + Name *string + Properties *Properties + Sku *SkuName + SystemData *SystemData + Type *string + func (r Response) MarshalJSON() ([]byte, error) + type ScopeProperties struct + Scope *string + Valid *bool + type ServiceError struct + Code *string + Details *[]ServiceErrorDetail + Message *string + func (se ServiceError) MarshalJSON() ([]byte, error) + type ServiceErrorDetail struct + Code *string + Message *string + func (sed ServiceErrorDetail) MarshalJSON() ([]byte, error) + type SetObject struct + Value interface{} + type SkuCapability struct + Name *string + Value *string + type SkuName struct + Name *string + type SkuProperty struct + Name *string + Value *string + type SkuRestriction struct + ReasonCode *string + Type *string + Values *[]string + type SplitFuture struct + Result func(Client) (ListResponse, error) + func (future *SplitFuture) UnmarshalJSON(body []byte) error + type SplitProperties struct + Quantities *[]int32 + ReservationID *string + type SplitPropertiesType struct + SplitDestinations *[]string + SplitSource *string + type SplitRequest struct + func (sr *SplitRequest) UnmarshalJSON(body []byte) error + func (sr SplitRequest) MarshalJSON() ([]byte, error) + type StatusCode string + const StatusCodeActive + const StatusCodeExpired + const StatusCodeMerged + const StatusCodeNone + const StatusCodePaymentInstrumentError + const StatusCodePending + const StatusCodeProcessing + const StatusCodePurchaseError + const StatusCodeSplit + const StatusCodeSucceeded + func PossibleStatusCodeValues() []StatusCode + type SubRequest struct + Limit *int32 + Message *string + Name *ResourceName + ProvisioningState QuotaRequestState + ResourceType *string + SubRequestID *string + Unit *string + func (sr SubRequest) MarshalJSON() ([]byte, error) + type SubscriptionScopeProperties struct + Scopes *[]ScopeProperties + type Summary struct + CancelledCount *float64 + ExpiredCount *float64 + ExpiringCount *float64 + FailedCount *float64 + PendingCount *float64 + ProcessingCount *float64 + SucceededCount *float64 + func (s Summary) MarshalJSON() ([]byte, error) + type SystemData struct + CreatedAt *date.Time + CreatedBy *string + CreatedByType CreatedByType + LastModifiedAt *date.Time + LastModifiedBy *string + LastModifiedByType CreatedByType + type ToExchange struct + BillingInformation *BillingInformation + BillingRefundAmount *Price + Quantity *int32 + ReservationID *string + type ToPurchaseCalculateExchange struct + BillingCurrencyTotal *Price + Properties *PurchaseRequest + type ToPurchaseExchange struct + BillingCurrencyTotal *Price + Properties *PurchaseRequest + ReservationID *string + ReservationOrderID *string + Status OperationStatus + type ToReturn struct + Quantity *int32 + ReservationID *string + type ToReturnForExchange struct + BillingInformation *BillingInformation + BillingRefundAmount *Price + Quantity *int32 + ReservationID *string + Status OperationStatus + type UtilizationAggregates struct + Grain *float64 + GrainUnit *string + Value *float64 + ValueUnit *string + func (ua UtilizationAggregates) MarshalJSON() ([]byte, error)