Documentation ¶
Index ¶
- func PossibleValuesForDeploymentMode() []string
- func ValidateProviderDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- type BasicDependency
- type CalculateTemplateHashOperationResponse
- type CancelOperationResponse
- type CheckExistenceOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Dependency
- type Deployment
- type DeploymentExtended
- type DeploymentExtendedOperationPredicate
- type DeploymentMode
- type DeploymentProperties
- type DeploymentPropertiesExtended
- type DeploymentValidateResult
- type DeploymentsClient
- func (c DeploymentsClient) CalculateTemplateHash(ctx context.Context, input interface{}) (result CalculateTemplateHashOperationResponse, err error)
- func (c DeploymentsClient) Cancel(ctx context.Context, id ProviderDeploymentId) (result CancelOperationResponse, err error)
- func (c DeploymentsClient) CheckExistence(ctx context.Context, id ProviderDeploymentId) (result CheckExistenceOperationResponse, err error)
- func (c DeploymentsClient) CreateOrUpdate(ctx context.Context, id ProviderDeploymentId, input Deployment) (result CreateOrUpdateOperationResponse, err error)
- func (c DeploymentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ProviderDeploymentId, input Deployment) error
- func (c DeploymentsClient) Delete(ctx context.Context, id ProviderDeploymentId) (result DeleteOperationResponse, err error)
- func (c DeploymentsClient) DeleteThenPoll(ctx context.Context, id ProviderDeploymentId) error
- func (c DeploymentsClient) Get(ctx context.Context, id ProviderDeploymentId) (result GetOperationResponse, err error)
- func (c DeploymentsClient) List(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListOperationResponse, err error)
- func (c DeploymentsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListCompleteResult, error)
- func (c DeploymentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c DeploymentsClient) Validate(ctx context.Context, id ProviderDeploymentId, input Deployment) (result ValidateOperationResponse, err error)
- type ErrorAdditionalInfo
- type ErrorResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ParametersLink
- type Provider
- type ProviderDeploymentId
- type ProviderResourceType
- type ResourceManagementError
- type ResourceManagementErrorWithDetails
- type TemplateHashResult
- type TemplateLink
- type ValidateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeploymentMode ¶
func PossibleValuesForDeploymentMode() []string
func ValidateProviderDeploymentID ¶
func ValidateProviderDeploymentID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderDeploymentID checks that 'input' can be parsed as a Provider Deployment ID
Types ¶
type BasicDependency ¶
type CalculateTemplateHashOperationResponse ¶
type CalculateTemplateHashOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TemplateHashResult }
type CancelOperationResponse ¶
type DeleteOperationResponse ¶
type Dependency ¶
type Dependency struct { DependsOn *[]BasicDependency `json:"dependsOn,omitempty"` Id *string `json:"id,omitempty"` ResourceName *string `json:"resourceName,omitempty"` ResourceType *string `json:"resourceType,omitempty"` }
type Deployment ¶
type Deployment struct {
Properties *DeploymentProperties `json:"properties,omitempty"`
}
type DeploymentExtended ¶
type DeploymentExtended struct { Id *string `json:"id,omitempty"` Name string `json:"name"` Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` }
type DeploymentExtendedOperationPredicate ¶
func (DeploymentExtendedOperationPredicate) Matches ¶
func (p DeploymentExtendedOperationPredicate) Matches(input DeploymentExtended) bool
type DeploymentMode ¶
type DeploymentMode string
const ( DeploymentModeComplete DeploymentMode = "Complete" DeploymentModeIncremental DeploymentMode = "Incremental" )
func (*DeploymentMode) UnmarshalJSON ¶
func (s *DeploymentMode) UnmarshalJSON(bytes []byte) error
type DeploymentProperties ¶
type DeploymentProperties struct { Mode *DeploymentMode `json:"mode,omitempty"` Parameters *interface{} `json:"parameters,omitempty"` ParametersLink *ParametersLink `json:"parametersLink,omitempty"` Template *interface{} `json:"template,omitempty"` TemplateLink *TemplateLink `json:"templateLink,omitempty"` }
type DeploymentPropertiesExtended ¶
type DeploymentPropertiesExtended struct { CorrelationId *string `json:"correlationId,omitempty"` Dependencies *[]Dependency `json:"dependencies,omitempty"` Error *ErrorResponse `json:"error,omitempty"` Mode *DeploymentMode `json:"mode,omitempty"` Outputs *interface{} `json:"outputs,omitempty"` Parameters *interface{} `json:"parameters,omitempty"` ParametersLink *ParametersLink `json:"parametersLink,omitempty"` Providers *[]Provider `json:"providers,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Template *interface{} `json:"template,omitempty"` TemplateLink *TemplateLink `json:"templateLink,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
func (*DeploymentPropertiesExtended) GetTimestampAsTime ¶
func (o *DeploymentPropertiesExtended) GetTimestampAsTime() (*time.Time, error)
func (*DeploymentPropertiesExtended) SetTimestampAsTime ¶
func (o *DeploymentPropertiesExtended) SetTimestampAsTime(input time.Time)
type DeploymentValidateResult ¶
type DeploymentValidateResult struct { Error *ResourceManagementErrorWithDetails `json:"error,omitempty"` Properties *DeploymentPropertiesExtended `json:"properties,omitempty"` }
type DeploymentsClient ¶
type DeploymentsClient struct {
Client *resourcemanager.Client
}
func NewDeploymentsClientWithBaseURI ¶
func NewDeploymentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentsClient, error)
func (DeploymentsClient) CalculateTemplateHash ¶
func (c DeploymentsClient) CalculateTemplateHash(ctx context.Context, input interface{}) (result CalculateTemplateHashOperationResponse, err error)
CalculateTemplateHash ...
func (DeploymentsClient) Cancel ¶
func (c DeploymentsClient) Cancel(ctx context.Context, id ProviderDeploymentId) (result CancelOperationResponse, err error)
Cancel ...
func (DeploymentsClient) CheckExistence ¶
func (c DeploymentsClient) CheckExistence(ctx context.Context, id ProviderDeploymentId) (result CheckExistenceOperationResponse, err error)
CheckExistence ...
func (DeploymentsClient) CreateOrUpdate ¶
func (c DeploymentsClient) CreateOrUpdate(ctx context.Context, id ProviderDeploymentId, input Deployment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DeploymentsClient) CreateOrUpdateThenPoll ¶
func (c DeploymentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ProviderDeploymentId, input Deployment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DeploymentsClient) Delete ¶
func (c DeploymentsClient) Delete(ctx context.Context, id ProviderDeploymentId) (result DeleteOperationResponse, err error)
Delete ...
func (DeploymentsClient) DeleteThenPoll ¶
func (c DeploymentsClient) DeleteThenPoll(ctx context.Context, id ProviderDeploymentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DeploymentsClient) Get ¶
func (c DeploymentsClient) Get(ctx context.Context, id ProviderDeploymentId) (result GetOperationResponse, err error)
Get ...
func (DeploymentsClient) List ¶
func (c DeploymentsClient) List(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DeploymentsClient) ListComplete ¶
func (c DeploymentsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DeploymentsClient) ListCompleteMatchingPredicate ¶
func (c DeploymentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions, predicate DeploymentExtendedOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DeploymentsClient) Validate ¶
func (c DeploymentsClient) Validate(ctx context.Context, id ProviderDeploymentId, input Deployment) (result ValidateOperationResponse, err error)
Validate ...
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorResponse ¶
type ErrorResponse struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorResponse `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeploymentExtended }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []DeploymentExtended }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DeploymentExtended }
type ParametersLink ¶
type Provider ¶
type Provider struct { Id *string `json:"id,omitempty"` Namespace *string `json:"namespace,omitempty"` RegistrationState *string `json:"registrationState,omitempty"` ResourceTypes *[]ProviderResourceType `json:"resourceTypes,omitempty"` }
type ProviderDeploymentId ¶
type ProviderDeploymentId struct { SubscriptionId string ResourceGroupName string DeploymentName string }
ProviderDeploymentId is a struct representing the Resource ID for a Provider Deployment
func NewProviderDeploymentID ¶
func NewProviderDeploymentID(subscriptionId string, resourceGroupName string, deploymentName string) ProviderDeploymentId
NewProviderDeploymentID returns a new ProviderDeploymentId struct
func ParseProviderDeploymentID ¶
func ParseProviderDeploymentID(input string) (*ProviderDeploymentId, error)
ParseProviderDeploymentID parses 'input' into a ProviderDeploymentId
func ParseProviderDeploymentIDInsensitively ¶
func ParseProviderDeploymentIDInsensitively(input string) (*ProviderDeploymentId, error)
ParseProviderDeploymentIDInsensitively parses 'input' case-insensitively into a ProviderDeploymentId note: this method should only be used for API response data and not user input
func (*ProviderDeploymentId) FromParseResult ¶
func (id *ProviderDeploymentId) FromParseResult(input resourceids.ParseResult) error
func (ProviderDeploymentId) ID ¶
func (id ProviderDeploymentId) ID() string
ID returns the formatted Provider Deployment ID
func (ProviderDeploymentId) Segments ¶
func (id ProviderDeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Deployment ID
func (ProviderDeploymentId) String ¶
func (id ProviderDeploymentId) String() string
String returns a human-readable description of this Provider Deployment ID
type ProviderResourceType ¶
type ResourceManagementError ¶
type ResourceManagementErrorWithDetails ¶
type ResourceManagementErrorWithDetails struct { Code string `json:"code"` Details *[]ResourceManagementError `json:"details,omitempty"` Message string `json:"message"` Target *string `json:"target,omitempty"` }
type TemplateHashResult ¶
type TemplateLink ¶
type ValidateOperationResponse ¶
type ValidateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeploymentValidateResult }
Source Files ¶
- client.go
- constants.go
- id_providerdeployment.go
- method_calculatetemplatehash.go
- method_cancel.go
- method_checkexistence.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_validate.go
- model_basicdependency.go
- model_dependency.go
- model_deployment.go
- model_deploymentextended.go
- model_deploymentproperties.go
- model_deploymentpropertiesextended.go
- model_deploymentvalidateresult.go
- model_erroradditionalinfo.go
- model_errorresponse.go
- model_parameterslink.go
- model_provider.go
- model_providerresourcetype.go
- model_resourcemanagementerror.go
- model_resourcemanagementerrorwithdetails.go
- model_templatehashresult.go
- model_templatelink.go
- predicates.go
- version.go