Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForCommitmentPlanProvisioningState() []string + func PossibleValuesForHostingModel() []string + func PossibleValuesForSkuTier() []string + func ValidateAccountAssociationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateAccountCommitmentPlanID(input interface{}, key string) (warnings []string, errors []error) + func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateCommitmentPlanID(input interface{}, key string) (warnings []string, errors []error) + type AccountAssociationId struct + AccountAssociationName string + CommitmentPlanName string + ResourceGroupName string + SubscriptionId string + func NewAccountAssociationID(subscriptionId string, resourceGroupName string, commitmentPlanName string, ...) AccountAssociationId + func ParseAccountAssociationID(input string) (*AccountAssociationId, error) + func ParseAccountAssociationIDInsensitively(input string) (*AccountAssociationId, error) + func (id *AccountAssociationId) FromParseResult(input resourceids.ParseResult) error + func (id AccountAssociationId) ID() string + func (id AccountAssociationId) Segments() []resourceids.Segment + func (id AccountAssociationId) String() string + type AccountCommitmentPlanId struct + AccountName string + CommitmentPlanName string + ResourceGroupName string + SubscriptionId string + func NewAccountCommitmentPlanID(subscriptionId string, resourceGroupName string, accountName string, ...) AccountCommitmentPlanId + func ParseAccountCommitmentPlanID(input string) (*AccountCommitmentPlanId, error) + func ParseAccountCommitmentPlanIDInsensitively(input string) (*AccountCommitmentPlanId, error) + func (id *AccountCommitmentPlanId) FromParseResult(input resourceids.ParseResult) error + func (id AccountCommitmentPlanId) ID() string + func (id AccountCommitmentPlanId) Segments() []resourceids.Segment + func (id AccountCommitmentPlanId) String() string + type AccountId struct + AccountName string + ResourceGroupName string + SubscriptionId string + func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId + func ParseAccountID(input string) (*AccountId, error) + func ParseAccountIDInsensitively(input string) (*AccountId, error) + func (id *AccountId) FromParseResult(input resourceids.ParseResult) error + func (id AccountId) ID() string + func (id AccountId) Segments() []resourceids.Segment + func (id AccountId) String() string + type CommitmentPeriod struct + Count *int64 + EndDate *string + Quota *CommitmentQuota + StartDate *string + Tier *string + type CommitmentPlan struct + Etag *string + Id *string + Kind *string + Location *string + Name *string + Properties *CommitmentPlanProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type CommitmentPlanAccountAssociation struct + Etag *string + Id *string + Name *string + Properties *CommitmentPlanAccountAssociationProperties + SystemData *systemdata.SystemData + Type *string + type CommitmentPlanAccountAssociationOperationPredicate struct + Etag *string + Id *string + Name *string + Type *string + func (p CommitmentPlanAccountAssociationOperationPredicate) Matches(input CommitmentPlanAccountAssociation) bool + type CommitmentPlanAccountAssociationProperties struct + AccountId *string + type CommitmentPlanId struct + CommitmentPlanName string + ResourceGroupName string + SubscriptionId string + func NewCommitmentPlanID(subscriptionId string, resourceGroupName string, commitmentPlanName string) CommitmentPlanId + func ParseCommitmentPlanID(input string) (*CommitmentPlanId, error) + func ParseCommitmentPlanIDInsensitively(input string) (*CommitmentPlanId, error) + func (id *CommitmentPlanId) FromParseResult(input resourceids.ParseResult) error + func (id CommitmentPlanId) ID() string + func (id CommitmentPlanId) Segments() []resourceids.Segment + func (id CommitmentPlanId) String() string + type CommitmentPlanOperationPredicate struct + Etag *string + Id *string + Kind *string + Location *string + Name *string + Type *string + func (p CommitmentPlanOperationPredicate) Matches(input CommitmentPlan) bool + type CommitmentPlanProperties struct + AutoRenew *bool + CommitmentPlanGuid *string + Current *CommitmentPeriod + HostingModel *HostingModel + Last *CommitmentPeriod + Next *CommitmentPeriod + PlanType *string + ProvisioningIssues *[]string + ProvisioningState *CommitmentPlanProvisioningState + type CommitmentPlanProvisioningState string + const CommitmentPlanProvisioningStateAccepted + const CommitmentPlanProvisioningStateCanceled + const CommitmentPlanProvisioningStateCreating + const CommitmentPlanProvisioningStateDeleting + const CommitmentPlanProvisioningStateFailed + const CommitmentPlanProvisioningStateMoving + const CommitmentPlanProvisioningStateSucceeded + func (s *CommitmentPlanProvisioningState) UnmarshalJSON(bytes []byte) error + type CommitmentPlansClient struct + Client *resourcemanager.Client + func NewCommitmentPlansClientWithBaseURI(sdkApi sdkEnv.Api) (*CommitmentPlansClient, error) + func (c CommitmentPlansClient) CreateOrUpdate(ctx context.Context, id AccountCommitmentPlanId, input CommitmentPlan) (result CreateOrUpdateOperationResponse, err error) + func (c CommitmentPlansClient) CreateOrUpdateAssociation(ctx context.Context, id AccountAssociationId, ...) (result CreateOrUpdateAssociationOperationResponse, err error) + func (c CommitmentPlansClient) CreateOrUpdateAssociationThenPoll(ctx context.Context, id AccountAssociationId, ...) error + func (c CommitmentPlansClient) Delete(ctx context.Context, id AccountCommitmentPlanId) (result DeleteOperationResponse, err error) + func (c CommitmentPlansClient) DeleteAssociation(ctx context.Context, id AccountAssociationId) (result DeleteAssociationOperationResponse, err error) + func (c CommitmentPlansClient) DeleteAssociationThenPoll(ctx context.Context, id AccountAssociationId) error + func (c CommitmentPlansClient) DeleteThenPoll(ctx context.Context, id AccountCommitmentPlanId) error + func (c CommitmentPlansClient) Get(ctx context.Context, id AccountCommitmentPlanId) (result GetOperationResponse, err error) + func (c CommitmentPlansClient) GetAssociation(ctx context.Context, id AccountAssociationId) (result GetAssociationOperationResponse, err error) + func (c CommitmentPlansClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error) + func (c CommitmentPlansClient) ListAssociations(ctx context.Context, id CommitmentPlanId) (result ListAssociationsOperationResponse, err error) + func (c CommitmentPlansClient) ListAssociationsComplete(ctx context.Context, id CommitmentPlanId) (ListAssociationsCompleteResult, error) + func (c CommitmentPlansClient) ListAssociationsCompleteMatchingPredicate(ctx context.Context, id CommitmentPlanId, ...) (result ListAssociationsCompleteResult, err error) + func (c CommitmentPlansClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error) + func (c CommitmentPlansClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate CommitmentPlanOperationPredicate) (result ListCompleteResult, err error) + type CommitmentQuota struct + Quantity *int64 + Unit *string + type CreateOrUpdateAssociationOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlanAccountAssociation + OData *odata.OData + Poller pollers.Poller + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlan + OData *odata.OData + type DeleteAssociationOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetAssociationOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlanAccountAssociation + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlan + OData *odata.OData + type HostingModel string + const HostingModelConnectedContainer + const HostingModelDisconnectedContainer + const HostingModelProvisionedWeb + const HostingModelWeb + func (s *HostingModel) UnmarshalJSON(bytes []byte) error + type ListAssociationsCompleteResult struct + Items []CommitmentPlanAccountAssociation + LatestHttpResponse *http.Response + type ListAssociationsCustomPager struct + NextLink *odata.Link + func (p *ListAssociationsCustomPager) NextPageLink() *odata.Link + type ListAssociationsOperationResponse struct + HttpResponse *http.Response + Model *[]CommitmentPlanAccountAssociation + OData *odata.OData + type ListCompleteResult struct + Items []CommitmentPlan + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]CommitmentPlan + OData *odata.OData + type Sku struct + Capacity *int64 + Family *string + Name string + Size *string + Tier *SkuTier + type SkuTier string + const SkuTierBasic + const SkuTierEnterprise + const SkuTierFree + const SkuTierPremium + const SkuTierStandard + func (s *SkuTier) UnmarshalJSON(bytes []byte) error