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 ValidateCommitmentPlanID(input interface{}, key string) (warnings []string, errors []error) + type CognitiveServicesCommitmentPlansClient struct + Client *resourcemanager.Client + func NewCognitiveServicesCommitmentPlansClientWithBaseURI(sdkApi sdkEnv.Api) (*CognitiveServicesCommitmentPlansClient, error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansCreateOrUpdatePlan(ctx context.Context, id CommitmentPlanId, input CommitmentPlan) (result CommitmentPlansCreateOrUpdatePlanOperationResponse, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansCreateOrUpdatePlanThenPoll(ctx context.Context, id CommitmentPlanId, input CommitmentPlan) error + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansDeletePlan(ctx context.Context, id CommitmentPlanId) (result CommitmentPlansDeletePlanOperationResponse, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansDeletePlanThenPoll(ctx context.Context, id CommitmentPlanId) error + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansGetPlan(ctx context.Context, id CommitmentPlanId) (result CommitmentPlansGetPlanOperationResponse, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansListPlansByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result CommitmentPlansListPlansByResourceGroupOperationResponse, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansListPlansByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (CommitmentPlansListPlansByResourceGroupCompleteResult, error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansListPlansByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result CommitmentPlansListPlansByResourceGroupCompleteResult, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansListPlansBySubscription(ctx context.Context, id commonids.SubscriptionId) (result CommitmentPlansListPlansBySubscriptionOperationResponse, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansListPlansBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (CommitmentPlansListPlansBySubscriptionCompleteResult, error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansListPlansBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result CommitmentPlansListPlansBySubscriptionCompleteResult, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansUpdatePlan(ctx context.Context, id CommitmentPlanId, input PatchResourceTagsAndSku) (result CommitmentPlansUpdatePlanOperationResponse, err error) + func (c CognitiveServicesCommitmentPlansClient) CommitmentPlansUpdatePlanThenPoll(ctx context.Context, id CommitmentPlanId, input PatchResourceTagsAndSku) error + 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 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 CommitmentPlansCreateOrUpdatePlanOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlan + OData *odata.OData + Poller pollers.Poller + type CommitmentPlansDeletePlanOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type CommitmentPlansGetPlanOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlan + OData *odata.OData + type CommitmentPlansListPlansByResourceGroupCompleteResult struct + Items []CommitmentPlan + LatestHttpResponse *http.Response + type CommitmentPlansListPlansByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *CommitmentPlansListPlansByResourceGroupCustomPager) NextPageLink() *odata.Link + type CommitmentPlansListPlansByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]CommitmentPlan + OData *odata.OData + type CommitmentPlansListPlansBySubscriptionCompleteResult struct + Items []CommitmentPlan + LatestHttpResponse *http.Response + type CommitmentPlansListPlansBySubscriptionCustomPager struct + NextLink *odata.Link + func (p *CommitmentPlansListPlansBySubscriptionCustomPager) NextPageLink() *odata.Link + type CommitmentPlansListPlansBySubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]CommitmentPlan + OData *odata.OData + type CommitmentPlansUpdatePlanOperationResponse struct + HttpResponse *http.Response + Model *CommitmentPlan + OData *odata.OData + Poller pollers.Poller + type CommitmentQuota struct + Quantity *int64 + Unit *string + type HostingModel string + const HostingModelConnectedContainer + const HostingModelDisconnectedContainer + const HostingModelProvisionedWeb + const HostingModelWeb + func (s *HostingModel) UnmarshalJSON(bytes []byte) error + type PatchResourceTagsAndSku struct + Sku *Sku + Tags *map[string]string + 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