Versions in this module Expand all Collapse all v27 v27.3.0 Apr 18, 2019 v27.2.0 Apr 17, 2019 v27.1.0 Apr 11, 2019 v27.0.0 Mar 29, 2019 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 Shared + const Single + func PossibleAppliedScopeTypeValues() []AppliedScopeType + 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 Catalog struct + Locations *[]string + Name *string + ResourceType *string + Restrictions *[]SkuRestriction + SkuProperties *[]SkuProperty + Terms *[]ReservationTerm + type Client struct + func NewClient() Client + func NewClientWithBaseURI(baseURI string) Client + 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) 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 Error struct + Error *ExtendedErrorInfo + type ErrorResponseCode string + const ActivateQuoteFailed + const AppliedScopesNotAssociatedWithCommerceAccount + const AuthorizationFailed + const BadRequest + const BillingCustomerInputError + const BillingError + const BillingPaymentInstrumentHardError + const BillingPaymentInstrumentSoftError + const BillingScopeIDCannotBeChanged + const BillingTransientError + const CalculatePriceFailed + const CapacityUpdateScopesFailed + const ClientCertificateThumbprintNotSet + const CreateQuoteFailed + const Forbidden + const FulfillmentConfigurationError + const FulfillmentError + const FulfillmentOutOfStockError + const FulfillmentTransientError + const HTTPMethodNotSupported + const InternalServerError + const InvalidAccessToken + const InvalidFulfillmentRequestParameters + const InvalidHealthCheckType + const InvalidLocationID + const InvalidRefundQuantity + const InvalidRequestContent + const InvalidRequestURI + const InvalidReservationID + const InvalidReservationOrderID + const InvalidSingleAppliedScopesCount + const InvalidSubscriptionID + const InvalidTenantID + const MissingAppliedScopesForSingle + const MissingTenantID + const NoValidReservationsToReRate + const NonsupportedAccountID + const NotSpecified + const NotSupportedCountry + const OperationCannotBePerformedInCurrentState + const OperationFailed + const PatchValuesSameAsExisting + const PaymentInstrumentNotFound + const PurchaseError + const ReRateOnlyAllowedForEA + const ReservationIDNotInReservationOrder + const ReservationOrderCreationFailed + const ReservationOrderIDAlreadyExists + const ReservationOrderNotEnabled + const ReservationOrderNotFound + const RiskCheckFailed + const RoleAssignmentCreationFailed + const ServerTimeout + const UnauthenticatedRequestsThrottled + const UnsupportedReservationTerm + func PossibleErrorResponseCodeValues() []ErrorResponseCode + type ExtendedErrorInfo struct + Code ErrorResponseCode + Message *string + type ExtendedStatusInfo struct + Message *string + StatusCode StatusCode + type InstanceFlexibility string + const NotSupported + const Off + const On + func PossibleInstanceFlexibilityValues() []InstanceFlexibility + 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(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 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(getNextPage func(context.Context, OperationList) (OperationList, error)) 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 + Name *string + Origin *string + type OrderClient struct + func NewOrderClient() OrderClient + func NewOrderClientWithBaseURI(baseURI string) OrderClient + func (client OrderClient) Get(ctx context.Context, reservationOrderID string) (result OrderResponse, err error) + func (client OrderClient) GetPreparer(ctx context.Context, reservationOrderID 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) + 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(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 + CreatedDateTime *date.Time + DisplayName *string + ExpiryDate *date.Date + OriginalQuantity *int32 + ProvisioningState *string + RequestDateTime *date.Time + ReservationsProperty *[]Response + Term ReservationTerm + type OrderResponse struct + Etag *int32 + ID *string + Name *string + 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 + type Properties struct + AppliedScopeType AppliedScopeType + AppliedScopes *[]string + DisplayName *string + EffectiveDateTime *date.Time + ExpiryDate *date.Date + ExtendedStatusInfo *ExtendedStatusInfo + InstanceFlexibility InstanceFlexibility + LastUpdatedDateTime *date.Time + MergeProperties *MergePropertiesType + ProvisioningState *string + Quantity *int32 + ReservedResourceType ReservedResourceType + SkuDescription *string + SplitProperties *SplitPropertiesType + type ReservationMergeFuture struct + func (future *ReservationMergeFuture) Result(client Client) (lr ListResponse, err error) + type ReservationTerm string + const P1Y + const P3Y + func PossibleReservationTermValues() []ReservationTerm + type ReservationUpdateFuture struct + func (future *ReservationUpdateFuture) Result(client Client) (r Response, err error) + type ReservedResourceType string + const CosmosDb + const RedHat + const SQLDatabases + const SuseLinux + const VirtualMachines + func PossibleReservedResourceTypeValues() []ReservedResourceType + type Response struct + Etag *int32 + ID *string + Location *string + Name *string + Properties *Properties + Sku *SkuName + Type *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 + func (future *SplitFuture) Result(client Client) (lr ListResponse, err 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 StatusCodePurchaseError + const StatusCodeSplit + const StatusCodeSucceeded + func PossibleStatusCodeValues() []StatusCode Other modules containing this package gopkg.in/azure/azure-sdk-for-go.v22 gopkg.in/azure/azure-sdk-for-go.v23 gopkg.in/azure/azure-sdk-for-go.v24 gopkg.in/azure/azure-sdk-for-go.v25 gopkg.in/azure/azure-sdk-for-go.v26 gopkg.in/azure/azure-sdk-for-go.v28 gopkg.in/azure/azure-sdk-for-go.v29 gopkg.in/azure/azure-sdk-for-go.v30 gopkg.in/azure/azure-sdk-for-go.v31 gopkg.in/azure/azure-sdk-for-go.v32 gopkg.in/azure/azure-sdk-for-go.v33 gopkg.in/azure/azure-sdk-for-go.v34 gopkg.in/azure/azure-sdk-for-go.v35 gopkg.in/azure/azure-sdk-for-go.v36 gopkg.in/azure/azure-sdk-for-go.v37 gopkg.in/azure/azure-sdk-for-go.v38 gopkg.in/azure/azure-sdk-for-go.v39 gopkg.in/azure/azure-sdk-for-go.v40 gopkg.in/azure/azure-sdk-for-go.v41 gopkg.in/azure/azure-sdk-for-go.v42 gopkg.in/azure/azure-sdk-for-go.v43 gopkg.in/azure/azure-sdk-for-go.v44 gopkg.in/azure/azure-sdk-for-go.v45 gopkg.in/azure/azure-sdk-for-go.v46 gopkg.in/azure/azure-sdk-for-go.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49