Versions in this module Expand all Collapse all v29 v29.0.0 May 6, 2019 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type CatalogSku struct + Capabilities *[]SkuCapability + Capacity *SkuCapacity + Costs *[]SkuCost + Locations *[]string + Name *string + ResourceType *string + Restrictions *[]SkuRestrictions + Tier *string + type Client struct + func NewClient(subscriptionID string) Client + func NewClientWithBaseURI(baseURI string, subscriptionID string) Client + func (client Client) CreateOrUpdate(ctx context.Context, createOrUpdatePayload CommitmentPlan, ...) (result CommitmentPlan, err error) + func (client Client) CreateOrUpdatePreparer(ctx context.Context, createOrUpdatePayload CommitmentPlan, ...) (*http.Request, error) + func (client Client) CreateOrUpdateResponder(resp *http.Response) (result CommitmentPlan, err error) + func (client Client) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client Client) Get(ctx context.Context, resourceGroupName string, commitmentPlanName string) (result CommitmentPlan, err error) + func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, commitmentPlanName string) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result CommitmentPlan, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context, skipToken string) (result ListResultPage, err error) + func (client Client) ListComplete(ctx context.Context, skipToken string) (result ListResultIterator, err error) + func (client Client) ListInResourceGroup(ctx context.Context, resourceGroupName string, skipToken string) (result ListResultPage, err error) + func (client Client) ListInResourceGroupComplete(ctx context.Context, resourceGroupName string, skipToken string) (result ListResultIterator, err error) + func (client Client) ListInResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error) + func (client Client) ListInResourceGroupResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListInResourceGroupSender(req *http.Request) (*http.Response, error) + func (client Client) ListPreparer(ctx context.Context, skipToken string) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) Patch(ctx context.Context, patchPayload PatchPayload, resourceGroupName string, ...) (result CommitmentPlan, err error) + func (client Client) PatchPreparer(ctx context.Context, patchPayload PatchPayload, resourceGroupName string, ...) (*http.Request, error) + func (client Client) PatchResponder(resp *http.Response) (result CommitmentPlan, err error) + func (client Client) PatchSender(req *http.Request) (*http.Response, error) + func (client Client) Remove(ctx context.Context, resourceGroupName string, commitmentPlanName string) (result autorest.Response, err error) + func (client Client) RemovePreparer(ctx context.Context, resourceGroupName string, commitmentPlanName string) (*http.Request, error) + func (client Client) RemoveResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) RemoveSender(req *http.Request) (*http.Response, error) + type CommitmentAssociation struct + Etag *string + ID *string + Location *string + Name *string + Properties *CommitmentAssociationProperties + Tags map[string]*string + Type *string + func (ca CommitmentAssociation) MarshalJSON() ([]byte, error) + type CommitmentAssociationListResult struct + NextLink *string + Value *[]CommitmentAssociation + func (calr CommitmentAssociationListResult) IsEmpty() bool + type CommitmentAssociationListResultIterator struct + func NewCommitmentAssociationListResultIterator(page CommitmentAssociationListResultPage) CommitmentAssociationListResultIterator + func (iter *CommitmentAssociationListResultIterator) Next() error + func (iter *CommitmentAssociationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter CommitmentAssociationListResultIterator) NotDone() bool + func (iter CommitmentAssociationListResultIterator) Response() CommitmentAssociationListResult + func (iter CommitmentAssociationListResultIterator) Value() CommitmentAssociation + type CommitmentAssociationListResultPage struct + func NewCommitmentAssociationListResultPage(...) CommitmentAssociationListResultPage + func (page *CommitmentAssociationListResultPage) Next() error + func (page *CommitmentAssociationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page CommitmentAssociationListResultPage) NotDone() bool + func (page CommitmentAssociationListResultPage) Response() CommitmentAssociationListResult + func (page CommitmentAssociationListResultPage) Values() []CommitmentAssociation + type CommitmentAssociationProperties struct + AssociatedResourceID *string + CommitmentPlanID *string + CreationDate *date.Time + type CommitmentAssociationsClient struct + func NewCommitmentAssociationsClient(subscriptionID string) CommitmentAssociationsClient + func NewCommitmentAssociationsClientWithBaseURI(baseURI string, subscriptionID string) CommitmentAssociationsClient + func (client CommitmentAssociationsClient) Get(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (result CommitmentAssociation, err error) + func (client CommitmentAssociationsClient) GetPreparer(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (*http.Request, error) + func (client CommitmentAssociationsClient) GetResponder(resp *http.Response) (result CommitmentAssociation, err error) + func (client CommitmentAssociationsClient) GetSender(req *http.Request) (*http.Response, error) + func (client CommitmentAssociationsClient) List(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (result CommitmentAssociationListResultPage, err error) + func (client CommitmentAssociationsClient) ListComplete(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (result CommitmentAssociationListResultIterator, err error) + func (client CommitmentAssociationsClient) ListPreparer(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (*http.Request, error) + func (client CommitmentAssociationsClient) ListResponder(resp *http.Response) (result CommitmentAssociationListResult, err error) + func (client CommitmentAssociationsClient) ListSender(req *http.Request) (*http.Response, error) + func (client CommitmentAssociationsClient) Move(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (result CommitmentAssociation, err error) + func (client CommitmentAssociationsClient) MovePreparer(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (*http.Request, error) + func (client CommitmentAssociationsClient) MoveResponder(resp *http.Response) (result CommitmentAssociation, err error) + func (client CommitmentAssociationsClient) MoveSender(req *http.Request) (*http.Response, error) + type CommitmentPlan struct + Etag *string + ID *string + Location *string + Name *string + Properties *Properties + Sku *ResourceSku + Tags map[string]*string + Type *string + func (cp CommitmentPlan) MarshalJSON() ([]byte, error) + type ListResult struct + NextLink *string + Value *[]CommitmentPlan + func (lr ListResult) IsEmpty() bool + 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() CommitmentPlan + type ListResultPage struct + func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) 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() []CommitmentPlan + type MoveCommitmentAssociationRequest struct + DestinationPlanID *string + type OperationDisplayInfo struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationEntity struct + Display *OperationDisplayInfo + Name *string + type OperationEntityListResult struct + Value *[]OperationEntity + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResult, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type PatchPayload struct + Sku *ResourceSku + Tags map[string]*string + func (pp PatchPayload) MarshalJSON() ([]byte, error) + type PlanQuantity struct + Allowance *float64 + Amount *float64 + IncludedQuantityMeter *string + OverageMeter *string + type PlanUsageHistory struct + PlanDeletionOverage map[string]*float64 + PlanMigrationOverage map[string]*float64 + PlanQuantitiesAfterUsage map[string]*float64 + PlanQuantitiesBeforeUsage map[string]*float64 + PlanUsageOverage map[string]*float64 + Usage map[string]*float64 + UsageDate *date.Time + func (puh PlanUsageHistory) MarshalJSON() ([]byte, error) + type PlanUsageHistoryListResult struct + NextLink *string + Value *[]PlanUsageHistory + func (puhlr PlanUsageHistoryListResult) IsEmpty() bool + type PlanUsageHistoryListResultIterator struct + func NewPlanUsageHistoryListResultIterator(page PlanUsageHistoryListResultPage) PlanUsageHistoryListResultIterator + func (iter *PlanUsageHistoryListResultIterator) Next() error + func (iter *PlanUsageHistoryListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter PlanUsageHistoryListResultIterator) NotDone() bool + func (iter PlanUsageHistoryListResultIterator) Response() PlanUsageHistoryListResult + func (iter PlanUsageHistoryListResultIterator) Value() PlanUsageHistory + type PlanUsageHistoryListResultPage struct + func NewPlanUsageHistoryListResultPage(...) PlanUsageHistoryListResultPage + func (page *PlanUsageHistoryListResultPage) Next() error + func (page *PlanUsageHistoryListResultPage) NextWithContext(ctx context.Context) (err error) + func (page PlanUsageHistoryListResultPage) NotDone() bool + func (page PlanUsageHistoryListResultPage) Response() PlanUsageHistoryListResult + func (page PlanUsageHistoryListResultPage) Values() []PlanUsageHistory + type Properties struct + ChargeForOverage *bool + ChargeForPlan *bool + CreationDate *date.Time + IncludedQuantities map[string]*PlanQuantity + MaxAssociationLimit *int32 + MaxCapacityLimit *int32 + MinCapacityLimit *int32 + PlanMeter *string + RefillFrequencyInDays *int32 + SuspendPlanOnOverage *bool + func (p Properties) MarshalJSON() ([]byte, error) + type Resource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceSku struct + Capacity *int32 + Name *string + Tier *string + type ResourceSkuRestrictionsReasonCode string + const NotAvailableForSubscription + const QuotaID + func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode + type ResourceSkuRestrictionsType string + const Location + const Zone + func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType + type SkuCapability struct + Name *string + Value *string + type SkuCapacity struct + Default *int64 + Maximum *int64 + Minimum *int64 + ScaleType SkuCapacityScaleType + type SkuCapacityScaleType string + const Automatic + const Manual + const None + func PossibleSkuCapacityScaleTypeValues() []SkuCapacityScaleType + type SkuCost struct + ExtendedUnit *string + MeterID *string + Quantity *int64 + type SkuListResult struct + Value *[]CatalogSku + type SkuRestrictions struct + ReasonCode ResourceSkuRestrictionsReasonCode + Type ResourceSkuRestrictionsType + Values *[]string + type SkusClient struct + func NewSkusClient(subscriptionID string) SkusClient + func NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient + func (client SkusClient) List(ctx context.Context) (result SkuListResult, err error) + func (client SkusClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client SkusClient) ListResponder(resp *http.Response) (result SkuListResult, err error) + func (client SkusClient) ListSender(req *http.Request) (*http.Response, error) + type UsageHistoryClient struct + func NewUsageHistoryClient(subscriptionID string) UsageHistoryClient + func NewUsageHistoryClientWithBaseURI(baseURI string, subscriptionID string) UsageHistoryClient + func (client UsageHistoryClient) List(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (result PlanUsageHistoryListResultPage, err error) + func (client UsageHistoryClient) ListComplete(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (result PlanUsageHistoryListResultIterator, err error) + func (client UsageHistoryClient) ListPreparer(ctx context.Context, resourceGroupName string, commitmentPlanName string, ...) (*http.Request, error) + func (client UsageHistoryClient) ListResponder(resp *http.Response) (result PlanUsageHistoryListResult, err error) + func (client UsageHistoryClient) ListSender(req *http.Request) (*http.Response, error) Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v16 gopkg.in/Azure/azure-sdk-for-go.v17 gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v20 gopkg.in/Azure/azure-sdk-for-go.v21 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.v27 gopkg.in/Azure/azure-sdk-for-go.v28 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.v48