Documentation ¶
Index ¶
- func PossibleValuesForDeploymentProvisioningState() []string
- func PossibleValuesForDeploymentScaleType() []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 CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Deployment
- type DeploymentId
- type DeploymentModel
- 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)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type RequestMatchPattern
- type ThrottlingRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeploymentProvisioningState ¶
func PossibleValuesForDeploymentProvisioningState() []string
func PossibleValuesForDeploymentScaleType ¶
func PossibleValuesForDeploymentScaleType() []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) 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 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"` SystemData *systemdata.SystemData `json:"systemData,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) 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"` Version *string `json:"version,omitempty"` }
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"` Model *DeploymentModel `json:"model,omitempty"` ProvisioningState *DeploymentProvisioningState `json:"provisioningState,omitempty"` RaiPolicyName *string `json:"raiPolicyName,omitempty"` ScaleSettings *DeploymentScaleSettings `json:"scaleSettings,omitempty"` }
type DeploymentProvisioningState ¶
type DeploymentProvisioningState string
const ( DeploymentProvisioningStateAccepted DeploymentProvisioningState = "Accepted" DeploymentProvisioningStateCreating DeploymentProvisioningState = "Creating" DeploymentProvisioningStateDeleting DeploymentProvisioningState = "Deleting" 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(api environments.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
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Deployment }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Deployment
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Deployment }
type RequestMatchPattern ¶
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"` }
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_deployment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_callratelimit.go
- model_deployment.go
- model_deploymentmodel.go
- model_deploymentproperties.go
- model_deploymentscalesettings.go
- model_requestmatchpattern.go
- model_throttlingrule.go
- predicates.go
- version.go