Documentation ¶
Index ¶
- func PossibleValuesForApplicationArtifactType() []string
- func PossibleValuesForApplicationDefinitionArtifactName() []string
- func PossibleValuesForApplicationLockLevel() []string
- func PossibleValuesForApplicationManagementMode() []string
- func PossibleValuesForDeploymentMode() []string
- func ValidateApplicationDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationArtifactType
- type ApplicationAuthorization
- type ApplicationDefinition
- type ApplicationDefinitionArtifact
- type ApplicationDefinitionArtifactName
- type ApplicationDefinitionId
- type ApplicationDefinitionOperationPredicate
- type ApplicationDefinitionPatchable
- type ApplicationDefinitionProperties
- type ApplicationDefinitionsClient
- func (c ApplicationDefinitionsClient) CreateOrUpdate(ctx context.Context, id ApplicationDefinitionId, input ApplicationDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c ApplicationDefinitionsClient) Delete(ctx context.Context, id ApplicationDefinitionId) (result DeleteOperationResponse, err error)
- func (c ApplicationDefinitionsClient) Get(ctx context.Context, id ApplicationDefinitionId) (result GetOperationResponse, err error)
- func (c ApplicationDefinitionsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ApplicationDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ApplicationDefinitionsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ApplicationDefinitionsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ApplicationDefinitionsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ApplicationDefinitionsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ApplicationDefinitionsClient) Update(ctx context.Context, id ApplicationDefinitionId, ...) (result UpdateOperationResponse, err error)
- type ApplicationDeploymentPolicy
- type ApplicationLockLevel
- type ApplicationManagementMode
- type ApplicationManagementPolicy
- type ApplicationNotificationEndpoint
- type ApplicationNotificationPolicy
- type ApplicationPackageLockingPolicyDefinition
- type ApplicationPolicy
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DeploymentMode
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type Sku
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApplicationArtifactType ¶
func PossibleValuesForApplicationArtifactType() []string
func PossibleValuesForApplicationDefinitionArtifactName ¶
func PossibleValuesForApplicationDefinitionArtifactName() []string
func PossibleValuesForApplicationLockLevel ¶
func PossibleValuesForApplicationLockLevel() []string
func PossibleValuesForApplicationManagementMode ¶
func PossibleValuesForApplicationManagementMode() []string
func PossibleValuesForDeploymentMode ¶
func PossibleValuesForDeploymentMode() []string
func ValidateApplicationDefinitionID ¶
func ValidateApplicationDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateApplicationDefinitionID checks that 'input' can be parsed as a Application Definition ID
Types ¶
type ApplicationArtifactType ¶
type ApplicationArtifactType string
const ( ApplicationArtifactTypeCustom ApplicationArtifactType = "Custom" ApplicationArtifactTypeNotSpecified ApplicationArtifactType = "NotSpecified" ApplicationArtifactTypeTemplate ApplicationArtifactType = "Template" )
func (*ApplicationArtifactType) UnmarshalJSON ¶
func (s *ApplicationArtifactType) UnmarshalJSON(bytes []byte) error
type ApplicationDefinition ¶
type ApplicationDefinition struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Properties ApplicationDefinitionProperties `json:"properties"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationDefinitionArtifact ¶
type ApplicationDefinitionArtifact struct { Name ApplicationDefinitionArtifactName `json:"name"` Type ApplicationArtifactType `json:"type"` Uri string `json:"uri"` }
type ApplicationDefinitionArtifactName ¶
type ApplicationDefinitionArtifactName string
const ( ApplicationDefinitionArtifactNameApplicationResourceTemplate ApplicationDefinitionArtifactName = "ApplicationResourceTemplate" ApplicationDefinitionArtifactNameCreateUiDefinition ApplicationDefinitionArtifactName = "CreateUiDefinition" ApplicationDefinitionArtifactNameMainTemplateParameters ApplicationDefinitionArtifactName = "MainTemplateParameters" ApplicationDefinitionArtifactNameNotSpecified ApplicationDefinitionArtifactName = "NotSpecified" )
func (*ApplicationDefinitionArtifactName) UnmarshalJSON ¶
func (s *ApplicationDefinitionArtifactName) UnmarshalJSON(bytes []byte) error
type ApplicationDefinitionId ¶
type ApplicationDefinitionId struct { SubscriptionId string ResourceGroupName string ApplicationDefinitionName string }
ApplicationDefinitionId is a struct representing the Resource ID for a Application Definition
func NewApplicationDefinitionID ¶
func NewApplicationDefinitionID(subscriptionId string, resourceGroupName string, applicationDefinitionName string) ApplicationDefinitionId
NewApplicationDefinitionID returns a new ApplicationDefinitionId struct
func ParseApplicationDefinitionID ¶
func ParseApplicationDefinitionID(input string) (*ApplicationDefinitionId, error)
ParseApplicationDefinitionID parses 'input' into a ApplicationDefinitionId
func ParseApplicationDefinitionIDInsensitively ¶
func ParseApplicationDefinitionIDInsensitively(input string) (*ApplicationDefinitionId, error)
ParseApplicationDefinitionIDInsensitively parses 'input' case-insensitively into a ApplicationDefinitionId note: this method should only be used for API response data and not user input
func (*ApplicationDefinitionId) FromParseResult ¶
func (id *ApplicationDefinitionId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationDefinitionId) ID ¶
func (id ApplicationDefinitionId) ID() string
ID returns the formatted Application Definition ID
func (ApplicationDefinitionId) Segments ¶
func (id ApplicationDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application Definition ID
func (ApplicationDefinitionId) String ¶
func (id ApplicationDefinitionId) String() string
String returns a human-readable description of this Application Definition ID
type ApplicationDefinitionOperationPredicate ¶
type ApplicationDefinitionOperationPredicate struct { Id *string Location *string ManagedBy *string Name *string Type *string }
func (ApplicationDefinitionOperationPredicate) Matches ¶
func (p ApplicationDefinitionOperationPredicate) Matches(input ApplicationDefinition) bool
type ApplicationDefinitionProperties ¶
type ApplicationDefinitionProperties struct { Artifacts *[]ApplicationDefinitionArtifact `json:"artifacts,omitempty"` Authorizations *[]ApplicationAuthorization `json:"authorizations,omitempty"` CreateUiDefinition *interface{} `json:"createUiDefinition,omitempty"` DeploymentPolicy *ApplicationDeploymentPolicy `json:"deploymentPolicy,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` LockLevel ApplicationLockLevel `json:"lockLevel"` LockingPolicy *ApplicationPackageLockingPolicyDefinition `json:"lockingPolicy,omitempty"` MainTemplate *interface{} `json:"mainTemplate,omitempty"` ManagementPolicy *ApplicationManagementPolicy `json:"managementPolicy,omitempty"` NotificationPolicy *ApplicationNotificationPolicy `json:"notificationPolicy,omitempty"` PackageFileUri *string `json:"packageFileUri,omitempty"` Policies *[]ApplicationPolicy `json:"policies,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` }
type ApplicationDefinitionsClient ¶
type ApplicationDefinitionsClient struct {
Client *resourcemanager.Client
}
func NewApplicationDefinitionsClientWithBaseURI ¶
func NewApplicationDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationDefinitionsClient, error)
func (ApplicationDefinitionsClient) CreateOrUpdate ¶
func (c ApplicationDefinitionsClient) CreateOrUpdate(ctx context.Context, id ApplicationDefinitionId, input ApplicationDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApplicationDefinitionsClient) Delete ¶
func (c ApplicationDefinitionsClient) Delete(ctx context.Context, id ApplicationDefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationDefinitionsClient) Get ¶
func (c ApplicationDefinitionsClient) Get(ctx context.Context, id ApplicationDefinitionId) (result GetOperationResponse, err error)
Get ...
func (ApplicationDefinitionsClient) ListByResourceGroup ¶
func (c ApplicationDefinitionsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ApplicationDefinitionsClient) ListByResourceGroupComplete ¶
func (c ApplicationDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ApplicationDefinitionsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ApplicationDefinitionsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApplicationDefinitionOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApplicationDefinitionsClient) ListBySubscription ¶
func (c ApplicationDefinitionsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ApplicationDefinitionsClient) ListBySubscriptionComplete ¶
func (c ApplicationDefinitionsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ApplicationDefinitionsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ApplicationDefinitionsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApplicationDefinitionOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApplicationDefinitionsClient) Update ¶
func (c ApplicationDefinitionsClient) Update(ctx context.Context, id ApplicationDefinitionId, input ApplicationDefinitionPatchable) (result UpdateOperationResponse, err error)
Update ...
type ApplicationDeploymentPolicy ¶
type ApplicationDeploymentPolicy struct {
DeploymentMode DeploymentMode `json:"deploymentMode"`
}
type ApplicationLockLevel ¶
type ApplicationLockLevel string
const ( ApplicationLockLevelCanNotDelete ApplicationLockLevel = "CanNotDelete" ApplicationLockLevelNone ApplicationLockLevel = "None" ApplicationLockLevelReadOnly ApplicationLockLevel = "ReadOnly" )
func (*ApplicationLockLevel) UnmarshalJSON ¶
func (s *ApplicationLockLevel) UnmarshalJSON(bytes []byte) error
type ApplicationManagementMode ¶
type ApplicationManagementMode string
const ( ApplicationManagementModeManaged ApplicationManagementMode = "Managed" ApplicationManagementModeNotSpecified ApplicationManagementMode = "NotSpecified" ApplicationManagementModeUnmanaged ApplicationManagementMode = "Unmanaged" )
func (*ApplicationManagementMode) UnmarshalJSON ¶
func (s *ApplicationManagementMode) UnmarshalJSON(bytes []byte) error
type ApplicationManagementPolicy ¶
type ApplicationManagementPolicy struct {
Mode *ApplicationManagementMode `json:"mode,omitempty"`
}
type ApplicationNotificationEndpoint ¶
type ApplicationNotificationEndpoint struct {
Uri string `json:"uri"`
}
type ApplicationNotificationPolicy ¶
type ApplicationNotificationPolicy struct {
NotificationEndpoints []ApplicationNotificationEndpoint `json:"notificationEndpoints"`
}
type ApplicationPolicy ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationDefinition }
type DeleteOperationResponse ¶
type DeploymentMode ¶
type DeploymentMode string
const ( DeploymentModeComplete DeploymentMode = "Complete" DeploymentModeIncremental DeploymentMode = "Incremental" DeploymentModeNotSpecified DeploymentMode = "NotSpecified" )
func (*DeploymentMode) UnmarshalJSON ¶
func (s *DeploymentMode) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationDefinition }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ApplicationDefinition }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationDefinition }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []ApplicationDefinition }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationDefinition }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationDefinition }
Source Files ¶
- client.go
- constants.go
- id_applicationdefinition.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_applicationauthorization.go
- model_applicationdefinition.go
- model_applicationdefinitionartifact.go
- model_applicationdefinitionpatchable.go
- model_applicationdefinitionproperties.go
- model_applicationdeploymentpolicy.go
- model_applicationmanagementpolicy.go
- model_applicationnotificationendpoint.go
- model_applicationnotificationpolicy.go
- model_applicationpackagelockingpolicydefinition.go
- model_applicationpolicy.go
- model_sku.go
- predicates.go
- version.go