Documentation ¶
Index ¶
- func PossibleValuesForDeploymentModelVersionUpgradeOption() []string
- func PossibleValuesForDeploymentProvisioningState() []string
- func PossibleValuesForDeploymentScaleType() []string
- func PossibleValuesForSkuTier() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CallRateLimit
- type CapacityConfig
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Deployment
- type DeploymentCapacitySettings
- type DeploymentId
- type DeploymentModel
- type DeploymentModelVersionUpgradeOption
- type DeploymentOperationPredicate
- type DeploymentProperties
- type DeploymentProvisioningState
- type DeploymentScaleSettings
- type DeploymentScaleType
- type DeploymentsClient
- func (c DeploymentsClient) CreateOrUpdate(ctx context.Context, id DeploymentId, input Deployment) (result CreateOrUpdateOperationResponse, err error)
- func (c DeploymentsClient) CreateOrUpdateThenPoll(ctx context.Context, id DeploymentId, input Deployment) error
- func (c DeploymentsClient) Delete(ctx context.Context, id DeploymentId) (result DeleteOperationResponse, err error)
- func (c DeploymentsClient) DeleteThenPoll(ctx context.Context, id DeploymentId) error
- func (c DeploymentsClient) Get(ctx context.Context, id DeploymentId) (result GetOperationResponse, err error)
- func (c DeploymentsClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
- func (c DeploymentsClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
- func (c DeploymentsClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate DeploymentOperationPredicate) (result ListCompleteResult, err error)
- func (c DeploymentsClient) ListSkus(ctx context.Context, id DeploymentId) (result ListSkusOperationResponse, err error)
- func (c DeploymentsClient) ListSkusComplete(ctx context.Context, id DeploymentId) (ListSkusCompleteResult, error)
- func (c DeploymentsClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id DeploymentId, predicate SkuResourceOperationPredicate) (result ListSkusCompleteResult, err error)
- func (c DeploymentsClient) Update(ctx context.Context, id DeploymentId, input PatchResourceTagsAndSku) (result UpdateOperationResponse, err error)
- func (c DeploymentsClient) UpdateThenPoll(ctx context.Context, id DeploymentId, input PatchResourceTagsAndSku) error
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ListSkusCompleteResult
- type ListSkusOperationResponse
- type PatchResourceTagsAndSku
- type RequestMatchPattern
- type Sku
- type SkuResource
- type SkuResourceOperationPredicate
- type SkuTier
- type ThrottlingRule
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeploymentModelVersionUpgradeOption ¶
func PossibleValuesForDeploymentModelVersionUpgradeOption() []string
func PossibleValuesForDeploymentProvisioningState ¶
func PossibleValuesForDeploymentProvisioningState() []string
func PossibleValuesForDeploymentScaleType ¶
func PossibleValuesForDeploymentScaleType() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateDeploymentID ¶
ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID
Types ¶
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 CallRateLimit ¶
type CallRateLimit struct { Count *float64 `json:"count,omitempty"` RenewalPeriod *float64 `json:"renewalPeriod,omitempty"` Rules *[]ThrottlingRule `json:"rules,omitempty"` }
type CapacityConfig ¶
type DeleteOperationResponse ¶
type Deployment ¶
type Deployment struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeploymentProperties `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 DeploymentId ¶
type DeploymentId struct { SubscriptionId string ResourceGroupName string AccountName string DeploymentName string }
DeploymentId is a struct representing the Resource ID for a Deployment
func NewDeploymentID ¶
func NewDeploymentID(subscriptionId string, resourceGroupName string, accountName string, deploymentName string) DeploymentId
NewDeploymentID returns a new DeploymentId struct
func ParseDeploymentID ¶
func ParseDeploymentID(input string) (*DeploymentId, error)
ParseDeploymentID parses 'input' into a DeploymentId
func ParseDeploymentIDInsensitively ¶
func ParseDeploymentIDInsensitively(input string) (*DeploymentId, error)
ParseDeploymentIDInsensitively parses 'input' case-insensitively into a DeploymentId note: this method should only be used for API response data and not user input
func (*DeploymentId) FromParseResult ¶
func (id *DeploymentId) FromParseResult(input resourceids.ParseResult) error
func (DeploymentId) Segments ¶
func (id DeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deployment ID
func (DeploymentId) String ¶
func (id DeploymentId) String() string
String returns a human-readable description of this Deployment ID
type DeploymentModel ¶
type DeploymentModel struct { CallRateLimit *CallRateLimit `json:"callRateLimit,omitempty"` Format *string `json:"format,omitempty"` Name *string `json:"name,omitempty"` Source *string `json:"source,omitempty"` Version *string `json:"version,omitempty"` }
type DeploymentModelVersionUpgradeOption ¶
type DeploymentModelVersionUpgradeOption string
const ( DeploymentModelVersionUpgradeOptionNoAutoUpgrade DeploymentModelVersionUpgradeOption = "NoAutoUpgrade" DeploymentModelVersionUpgradeOptionOnceCurrentVersionExpired DeploymentModelVersionUpgradeOption = "OnceCurrentVersionExpired" DeploymentModelVersionUpgradeOptionOnceNewDefaultVersionAvailable DeploymentModelVersionUpgradeOption = "OnceNewDefaultVersionAvailable" )
func (*DeploymentModelVersionUpgradeOption) UnmarshalJSON ¶
func (s *DeploymentModelVersionUpgradeOption) UnmarshalJSON(bytes []byte) error
type DeploymentOperationPredicate ¶
func (DeploymentOperationPredicate) Matches ¶
func (p DeploymentOperationPredicate) Matches(input Deployment) bool
type DeploymentProperties ¶
type DeploymentProperties struct { CallRateLimit *CallRateLimit `json:"callRateLimit,omitempty"` Capabilities *map[string]string `json:"capabilities,omitempty"` CapacitySettings *DeploymentCapacitySettings `json:"capacitySettings,omitempty"` CurrentCapacity *int64 `json:"currentCapacity,omitempty"` DynamicThrottlingEnabled *bool `json:"dynamicThrottlingEnabled,omitempty"` Model *DeploymentModel `json:"model,omitempty"` ProvisioningState *DeploymentProvisioningState `json:"provisioningState,omitempty"` RaiPolicyName *string `json:"raiPolicyName,omitempty"` RateLimits *[]ThrottlingRule `json:"rateLimits,omitempty"` ScaleSettings *DeploymentScaleSettings `json:"scaleSettings,omitempty"` VersionUpgradeOption *DeploymentModelVersionUpgradeOption `json:"versionUpgradeOption,omitempty"` }
type DeploymentProvisioningState ¶
type DeploymentProvisioningState string
const ( DeploymentProvisioningStateAccepted DeploymentProvisioningState = "Accepted" DeploymentProvisioningStateCanceled DeploymentProvisioningState = "Canceled" DeploymentProvisioningStateCreating DeploymentProvisioningState = "Creating" DeploymentProvisioningStateDeleting DeploymentProvisioningState = "Deleting" DeploymentProvisioningStateDisabled DeploymentProvisioningState = "Disabled" DeploymentProvisioningStateFailed DeploymentProvisioningState = "Failed" DeploymentProvisioningStateMoving DeploymentProvisioningState = "Moving" DeploymentProvisioningStateSucceeded DeploymentProvisioningState = "Succeeded" )
func (*DeploymentProvisioningState) UnmarshalJSON ¶
func (s *DeploymentProvisioningState) UnmarshalJSON(bytes []byte) error
type DeploymentScaleSettings ¶
type DeploymentScaleSettings struct { ActiveCapacity *int64 `json:"activeCapacity,omitempty"` Capacity *int64 `json:"capacity,omitempty"` ScaleType *DeploymentScaleType `json:"scaleType,omitempty"` }
type DeploymentScaleType ¶
type DeploymentScaleType string
const ( DeploymentScaleTypeManual DeploymentScaleType = "Manual" DeploymentScaleTypeStandard DeploymentScaleType = "Standard" )
func (*DeploymentScaleType) UnmarshalJSON ¶
func (s *DeploymentScaleType) UnmarshalJSON(bytes []byte) error
type DeploymentsClient ¶
type DeploymentsClient struct {
Client *resourcemanager.Client
}
func NewDeploymentsClientWithBaseURI ¶
func NewDeploymentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentsClient, error)
func (DeploymentsClient) CreateOrUpdate ¶
func (c DeploymentsClient) CreateOrUpdate(ctx context.Context, id DeploymentId, input Deployment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DeploymentsClient) CreateOrUpdateThenPoll ¶
func (c DeploymentsClient) CreateOrUpdateThenPoll(ctx context.Context, id DeploymentId, input Deployment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DeploymentsClient) Delete ¶
func (c DeploymentsClient) Delete(ctx context.Context, id DeploymentId) (result DeleteOperationResponse, err error)
Delete ...
func (DeploymentsClient) DeleteThenPoll ¶
func (c DeploymentsClient) DeleteThenPoll(ctx context.Context, id DeploymentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DeploymentsClient) Get ¶
func (c DeploymentsClient) Get(ctx context.Context, id DeploymentId) (result GetOperationResponse, err error)
Get ...
func (DeploymentsClient) List ¶
func (c DeploymentsClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
List ...
func (DeploymentsClient) ListComplete ¶
func (c DeploymentsClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DeploymentsClient) ListCompleteMatchingPredicate ¶
func (c DeploymentsClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate DeploymentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeploymentsClient) ListSkus ¶
func (c DeploymentsClient) ListSkus(ctx context.Context, id DeploymentId) (result ListSkusOperationResponse, err error)
ListSkus ...
func (DeploymentsClient) ListSkusComplete ¶
func (c DeploymentsClient) ListSkusComplete(ctx context.Context, id DeploymentId) (ListSkusCompleteResult, error)
ListSkusComplete retrieves all the results into a single object
func (DeploymentsClient) ListSkusCompleteMatchingPredicate ¶
func (c DeploymentsClient) ListSkusCompleteMatchingPredicate(ctx context.Context, id DeploymentId, predicate SkuResourceOperationPredicate) (result ListSkusCompleteResult, err error)
ListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeploymentsClient) Update ¶
func (c DeploymentsClient) Update(ctx context.Context, id DeploymentId, input PatchResourceTagsAndSku) (result UpdateOperationResponse, err error)
Update ...
func (DeploymentsClient) UpdateThenPoll ¶
func (c DeploymentsClient) UpdateThenPoll(ctx context.Context, id DeploymentId, input PatchResourceTagsAndSku) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Deployment }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []Deployment }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Deployment }
type ListSkusCompleteResult ¶
type ListSkusCompleteResult struct { LatestHttpResponse *http.Response Items []SkuResource }
type ListSkusOperationResponse ¶
type ListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SkuResource }
type PatchResourceTagsAndSku ¶
type RequestMatchPattern ¶
type SkuResource ¶
type SkuResource struct { Capacity *CapacityConfig `json:"capacity,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Sku *Sku `json:"sku,omitempty"` }
type SkuResourceOperationPredicate ¶
type SkuResourceOperationPredicate struct {
ResourceType *string
}
func (SkuResourceOperationPredicate) Matches ¶
func (p SkuResourceOperationPredicate) Matches(input SkuResource) bool
type ThrottlingRule ¶
type ThrottlingRule struct { Count *float64 `json:"count,omitempty"` DynamicThrottlingEnabled *bool `json:"dynamicThrottlingEnabled,omitempty"` Key *string `json:"key,omitempty"` MatchPatterns *[]RequestMatchPattern `json:"matchPatterns,omitempty"` MinCount *float64 `json:"minCount,omitempty"` RenewalPeriod *float64 `json:"renewalPeriod,omitempty"` }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_deployment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listskus.go
- method_update.go
- model_callratelimit.go
- model_capacityconfig.go
- model_deployment.go
- model_deploymentcapacitysettings.go
- model_deploymentmodel.go
- model_deploymentproperties.go
- model_deploymentscalesettings.go
- model_patchresourcetagsandsku.go
- model_requestmatchpattern.go
- model_sku.go
- model_skuresource.go
- model_throttlingrule.go
- predicates.go
- version.go