Documentation ¶
Index ¶
- 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
- type AccountCommitmentPlanId
- func NewAccountCommitmentPlanID(subscriptionId string, resourceGroupName string, accountName string, ...) AccountCommitmentPlanId
- func ParseAccountCommitmentPlanID(input string) (*AccountCommitmentPlanId, error)
- func ParseAccountCommitmentPlanIDInsensitively(input string) (*AccountCommitmentPlanId, error)
- type AccountId
- type CommitmentPeriod
- type CommitmentPlan
- type CommitmentPlanAccountAssociation
- type CommitmentPlanAccountAssociationOperationPredicate
- type CommitmentPlanAccountAssociationProperties
- type CommitmentPlanId
- type CommitmentPlanOperationPredicate
- type CommitmentPlanProperties
- type CommitmentPlanProvisioningState
- type CommitmentPlansClient
- 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
- type CreateOrUpdateAssociationOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteAssociationOperationResponse
- type DeleteOperationResponse
- type GetAssociationOperationResponse
- type GetOperationResponse
- type HostingModel
- type ListAssociationsCompleteResult
- type ListAssociationsCustomPager
- type ListAssociationsOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type Sku
- type SkuTier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommitmentPlanProvisioningState ¶
func PossibleValuesForCommitmentPlanProvisioningState() []string
func PossibleValuesForHostingModel ¶
func PossibleValuesForHostingModel() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateAccountAssociationID ¶
func ValidateAccountAssociationID(input interface{}, key string) (warnings []string, errors []error)
ValidateAccountAssociationID checks that 'input' can be parsed as a Account Association ID
func ValidateAccountCommitmentPlanID ¶
func ValidateAccountCommitmentPlanID(input interface{}, key string) (warnings []string, errors []error)
ValidateAccountCommitmentPlanID checks that 'input' can be parsed as a Account Commitment Plan ID
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateCommitmentPlanID ¶
ValidateCommitmentPlanID checks that 'input' can be parsed as a Commitment Plan ID
Types ¶
type AccountAssociationId ¶
type AccountAssociationId struct { SubscriptionId string ResourceGroupName string CommitmentPlanName string AccountAssociationName string }
AccountAssociationId is a struct representing the Resource ID for a Account Association
func NewAccountAssociationID ¶
func NewAccountAssociationID(subscriptionId string, resourceGroupName string, commitmentPlanName string, accountAssociationName string) AccountAssociationId
NewAccountAssociationID returns a new AccountAssociationId struct
func ParseAccountAssociationID ¶
func ParseAccountAssociationID(input string) (*AccountAssociationId, error)
ParseAccountAssociationID parses 'input' into a AccountAssociationId
func ParseAccountAssociationIDInsensitively ¶
func ParseAccountAssociationIDInsensitively(input string) (*AccountAssociationId, error)
ParseAccountAssociationIDInsensitively parses 'input' case-insensitively into a AccountAssociationId note: this method should only be used for API response data and not user input
func (*AccountAssociationId) FromParseResult ¶
func (id *AccountAssociationId) FromParseResult(input resourceids.ParseResult) error
func (AccountAssociationId) ID ¶
func (id AccountAssociationId) ID() string
ID returns the formatted Account Association ID
func (AccountAssociationId) Segments ¶
func (id AccountAssociationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account Association ID
func (AccountAssociationId) String ¶
func (id AccountAssociationId) String() string
String returns a human-readable description of this Account Association ID
type AccountCommitmentPlanId ¶
type AccountCommitmentPlanId struct { SubscriptionId string ResourceGroupName string AccountName string CommitmentPlanName string }
AccountCommitmentPlanId is a struct representing the Resource ID for a Account Commitment Plan
func NewAccountCommitmentPlanID ¶
func NewAccountCommitmentPlanID(subscriptionId string, resourceGroupName string, accountName string, commitmentPlanName string) AccountCommitmentPlanId
NewAccountCommitmentPlanID returns a new AccountCommitmentPlanId struct
func ParseAccountCommitmentPlanID ¶
func ParseAccountCommitmentPlanID(input string) (*AccountCommitmentPlanId, error)
ParseAccountCommitmentPlanID parses 'input' into a AccountCommitmentPlanId
func ParseAccountCommitmentPlanIDInsensitively ¶
func ParseAccountCommitmentPlanIDInsensitively(input string) (*AccountCommitmentPlanId, error)
ParseAccountCommitmentPlanIDInsensitively parses 'input' case-insensitively into a AccountCommitmentPlanId note: this method should only be used for API response data and not user input
func (*AccountCommitmentPlanId) FromParseResult ¶
func (id *AccountCommitmentPlanId) FromParseResult(input resourceids.ParseResult) error
func (AccountCommitmentPlanId) ID ¶
func (id AccountCommitmentPlanId) ID() string
ID returns the formatted Account Commitment Plan ID
func (AccountCommitmentPlanId) Segments ¶
func (id AccountCommitmentPlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account Commitment Plan ID
func (AccountCommitmentPlanId) String ¶
func (id AccountCommitmentPlanId) String() string
String returns a human-readable description of this Account Commitment Plan ID
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type CommitmentPeriod ¶
type CommitmentPeriod struct { Count *int64 `json:"count,omitempty"` EndDate *string `json:"endDate,omitempty"` Quota *CommitmentQuota `json:"quota,omitempty"` StartDate *string `json:"startDate,omitempty"` Tier *string `json:"tier,omitempty"` }
type CommitmentPlan ¶
type CommitmentPlan struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CommitmentPlanProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CommitmentPlanAccountAssociation ¶
type CommitmentPlanAccountAssociation struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CommitmentPlanAccountAssociationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CommitmentPlanAccountAssociationOperationPredicate ¶
type CommitmentPlanAccountAssociationOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (CommitmentPlanAccountAssociationOperationPredicate) Matches ¶
func (p CommitmentPlanAccountAssociationOperationPredicate) Matches(input CommitmentPlanAccountAssociation) bool
type CommitmentPlanAccountAssociationProperties ¶
type CommitmentPlanAccountAssociationProperties struct {
AccountId *string `json:"accountId,omitempty"`
}
type CommitmentPlanId ¶
type CommitmentPlanId struct { SubscriptionId string ResourceGroupName string CommitmentPlanName string }
CommitmentPlanId is a struct representing the Resource ID for a Commitment Plan
func NewCommitmentPlanID ¶
func NewCommitmentPlanID(subscriptionId string, resourceGroupName string, commitmentPlanName string) CommitmentPlanId
NewCommitmentPlanID returns a new CommitmentPlanId struct
func ParseCommitmentPlanID ¶
func ParseCommitmentPlanID(input string) (*CommitmentPlanId, error)
ParseCommitmentPlanID parses 'input' into a CommitmentPlanId
func ParseCommitmentPlanIDInsensitively ¶
func ParseCommitmentPlanIDInsensitively(input string) (*CommitmentPlanId, error)
ParseCommitmentPlanIDInsensitively parses 'input' case-insensitively into a CommitmentPlanId note: this method should only be used for API response data and not user input
func (*CommitmentPlanId) FromParseResult ¶
func (id *CommitmentPlanId) FromParseResult(input resourceids.ParseResult) error
func (CommitmentPlanId) ID ¶
func (id CommitmentPlanId) ID() string
ID returns the formatted Commitment Plan ID
func (CommitmentPlanId) Segments ¶
func (id CommitmentPlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Commitment Plan ID
func (CommitmentPlanId) String ¶
func (id CommitmentPlanId) String() string
String returns a human-readable description of this Commitment Plan ID
type CommitmentPlanOperationPredicate ¶
type CommitmentPlanOperationPredicate struct { Etag *string Id *string Kind *string Location *string Name *string Type *string }
func (CommitmentPlanOperationPredicate) Matches ¶
func (p CommitmentPlanOperationPredicate) Matches(input CommitmentPlan) bool
type CommitmentPlanProperties ¶
type CommitmentPlanProperties struct { AutoRenew *bool `json:"autoRenew,omitempty"` CommitmentPlanGuid *string `json:"commitmentPlanGuid,omitempty"` Current *CommitmentPeriod `json:"current,omitempty"` HostingModel *HostingModel `json:"hostingModel,omitempty"` Last *CommitmentPeriod `json:"last,omitempty"` Next *CommitmentPeriod `json:"next,omitempty"` PlanType *string `json:"planType,omitempty"` ProvisioningIssues *[]string `json:"provisioningIssues,omitempty"` ProvisioningState *CommitmentPlanProvisioningState `json:"provisioningState,omitempty"` }
type CommitmentPlanProvisioningState ¶
type CommitmentPlanProvisioningState string
const ( CommitmentPlanProvisioningStateAccepted CommitmentPlanProvisioningState = "Accepted" CommitmentPlanProvisioningStateCanceled CommitmentPlanProvisioningState = "Canceled" CommitmentPlanProvisioningStateCreating CommitmentPlanProvisioningState = "Creating" CommitmentPlanProvisioningStateDeleting CommitmentPlanProvisioningState = "Deleting" CommitmentPlanProvisioningStateFailed CommitmentPlanProvisioningState = "Failed" CommitmentPlanProvisioningStateMoving CommitmentPlanProvisioningState = "Moving" CommitmentPlanProvisioningStateSucceeded CommitmentPlanProvisioningState = "Succeeded" )
func (*CommitmentPlanProvisioningState) UnmarshalJSON ¶
func (s *CommitmentPlanProvisioningState) UnmarshalJSON(bytes []byte) error
type CommitmentPlansClient ¶
type CommitmentPlansClient struct {
Client *resourcemanager.Client
}
func NewCommitmentPlansClientWithBaseURI ¶
func NewCommitmentPlansClientWithBaseURI(sdkApi sdkEnv.Api) (*CommitmentPlansClient, error)
func (CommitmentPlansClient) CreateOrUpdate ¶
func (c CommitmentPlansClient) CreateOrUpdate(ctx context.Context, id AccountCommitmentPlanId, input CommitmentPlan) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CommitmentPlansClient) CreateOrUpdateAssociation ¶
func (c CommitmentPlansClient) CreateOrUpdateAssociation(ctx context.Context, id AccountAssociationId, input CommitmentPlanAccountAssociation) (result CreateOrUpdateAssociationOperationResponse, err error)
CreateOrUpdateAssociation ...
func (CommitmentPlansClient) CreateOrUpdateAssociationThenPoll ¶
func (c CommitmentPlansClient) CreateOrUpdateAssociationThenPoll(ctx context.Context, id AccountAssociationId, input CommitmentPlanAccountAssociation) error
CreateOrUpdateAssociationThenPoll performs CreateOrUpdateAssociation then polls until it's completed
func (CommitmentPlansClient) Delete ¶
func (c CommitmentPlansClient) Delete(ctx context.Context, id AccountCommitmentPlanId) (result DeleteOperationResponse, err error)
Delete ...
func (CommitmentPlansClient) DeleteAssociation ¶
func (c CommitmentPlansClient) DeleteAssociation(ctx context.Context, id AccountAssociationId) (result DeleteAssociationOperationResponse, err error)
DeleteAssociation ...
func (CommitmentPlansClient) DeleteAssociationThenPoll ¶
func (c CommitmentPlansClient) DeleteAssociationThenPoll(ctx context.Context, id AccountAssociationId) error
DeleteAssociationThenPoll performs DeleteAssociation then polls until it's completed
func (CommitmentPlansClient) DeleteThenPoll ¶
func (c CommitmentPlansClient) DeleteThenPoll(ctx context.Context, id AccountCommitmentPlanId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CommitmentPlansClient) Get ¶
func (c CommitmentPlansClient) Get(ctx context.Context, id AccountCommitmentPlanId) (result GetOperationResponse, err error)
Get ...
func (CommitmentPlansClient) GetAssociation ¶
func (c CommitmentPlansClient) GetAssociation(ctx context.Context, id AccountAssociationId) (result GetAssociationOperationResponse, err error)
GetAssociation ...
func (CommitmentPlansClient) List ¶
func (c CommitmentPlansClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
List ...
func (CommitmentPlansClient) ListAssociations ¶
func (c CommitmentPlansClient) ListAssociations(ctx context.Context, id CommitmentPlanId) (result ListAssociationsOperationResponse, err error)
ListAssociations ...
func (CommitmentPlansClient) ListAssociationsComplete ¶
func (c CommitmentPlansClient) ListAssociationsComplete(ctx context.Context, id CommitmentPlanId) (ListAssociationsCompleteResult, error)
ListAssociationsComplete retrieves all the results into a single object
func (CommitmentPlansClient) ListAssociationsCompleteMatchingPredicate ¶
func (c CommitmentPlansClient) ListAssociationsCompleteMatchingPredicate(ctx context.Context, id CommitmentPlanId, predicate CommitmentPlanAccountAssociationOperationPredicate) (result ListAssociationsCompleteResult, err error)
ListAssociationsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CommitmentPlansClient) ListComplete ¶
func (c CommitmentPlansClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CommitmentPlansClient) ListCompleteMatchingPredicate ¶
func (c CommitmentPlansClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate CommitmentPlanOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CommitmentQuota ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommitmentPlan }
type DeleteOperationResponse ¶
type GetAssociationOperationResponse ¶
type GetAssociationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommitmentPlanAccountAssociation }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CommitmentPlan }
type HostingModel ¶
type HostingModel string
const ( HostingModelConnectedContainer HostingModel = "ConnectedContainer" HostingModelDisconnectedContainer HostingModel = "DisconnectedContainer" HostingModelProvisionedWeb HostingModel = "ProvisionedWeb" HostingModelWeb HostingModel = "Web" )
func (*HostingModel) UnmarshalJSON ¶
func (s *HostingModel) UnmarshalJSON(bytes []byte) error
type ListAssociationsCompleteResult ¶
type ListAssociationsCompleteResult struct { LatestHttpResponse *http.Response Items []CommitmentPlanAccountAssociation }
type ListAssociationsCustomPager ¶ added in v0.20240628.1153531
func (*ListAssociationsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListAssociationsCustomPager) NextPageLink() *odata.Link
type ListAssociationsOperationResponse ¶
type ListAssociationsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CommitmentPlanAccountAssociation }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []CommitmentPlan }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CommitmentPlan }
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_accountassociation.go
- id_accountcommitmentplan.go
- id_commitmentplan.go
- method_createorupdate.go
- method_createorupdateassociation.go
- method_delete.go
- method_deleteassociation.go
- method_get.go
- method_getassociation.go
- method_list.go
- method_listassociations.go
- model_commitmentperiod.go
- model_commitmentplan.go
- model_commitmentplanaccountassociation.go
- model_commitmentplanaccountassociationproperties.go
- model_commitmentplanproperties.go
- model_commitmentquota.go
- model_sku.go
- predicates.go
- version.go