Documentation ¶
Overview ¶
Package managedapplications implements the Azure ARM Managedapplications service API version 2018-06-01.
ARM applications
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Application
- type ApplicationArtifact
- type ApplicationArtifactType
- type ApplicationDefinition
- type ApplicationDefinitionListResult
- type ApplicationDefinitionListResultIterator
- func (iter *ApplicationDefinitionListResultIterator) Next() error
- func (iter ApplicationDefinitionListResultIterator) NotDone() bool
- func (iter ApplicationDefinitionListResultIterator) Response() ApplicationDefinitionListResult
- func (iter ApplicationDefinitionListResultIterator) Value() ApplicationDefinition
- type ApplicationDefinitionListResultPage
- type ApplicationDefinitionProperties
- type ApplicationDefinitionsClient
- func (client ApplicationDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result ApplicationDefinitionsCreateOrUpdateFuture, err error)
- func (client ApplicationDefinitionsClient) CreateOrUpdateByID(ctx context.Context, applicationDefinitionID string, ...) (result ApplicationDefinitionsCreateOrUpdateByIDFuture, err error)
- func (client ApplicationDefinitionsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applicationDefinitionID string, ...) (*http.Request, error)
- func (client ApplicationDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
- func (client ApplicationDefinitionsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplicationDefinitionsCreateOrUpdateByIDFuture, err error)
- func (client ApplicationDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ApplicationDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationDefinition, err error)
- func (client ApplicationDefinitionsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationDefinitionsCreateOrUpdateFuture, err error)
- func (client ApplicationDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, ...) (result ApplicationDefinitionsDeleteFuture, err error)
- func (client ApplicationDefinitionsClient) DeleteByID(ctx context.Context, applicationDefinitionID string) (result ApplicationDefinitionsDeleteByIDFuture, err error)
- func (client ApplicationDefinitionsClient) DeleteByIDPreparer(ctx context.Context, applicationDefinitionID string) (*http.Request, error)
- func (client ApplicationDefinitionsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationDefinitionsClient) DeleteByIDSender(req *http.Request) (future ApplicationDefinitionsDeleteByIDFuture, err error)
- func (client ApplicationDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ApplicationDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationDefinitionsClient) DeleteSender(req *http.Request) (future ApplicationDefinitionsDeleteFuture, err error)
- func (client ApplicationDefinitionsClient) Get(ctx context.Context, resourceGroupName string, ...) (result ApplicationDefinition, err error)
- func (client ApplicationDefinitionsClient) GetByID(ctx context.Context, applicationDefinitionID string) (result ApplicationDefinition, err error)
- func (client ApplicationDefinitionsClient) GetByIDPreparer(ctx context.Context, applicationDefinitionID string) (*http.Request, error)
- func (client ApplicationDefinitionsClient) GetByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
- func (client ApplicationDefinitionsClient) GetByIDSender(req *http.Request) (*http.Response, error)
- func (client ApplicationDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ApplicationDefinitionsClient) GetResponder(resp *http.Response) (result ApplicationDefinition, err error)
- func (client ApplicationDefinitionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultPage, err error)
- func (client ApplicationDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultIterator, err error)
- func (client ApplicationDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ApplicationDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationDefinitionListResult, err error)
- func (client ApplicationDefinitionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- type ApplicationDefinitionsCreateOrUpdateByIDFuture
- type ApplicationDefinitionsCreateOrUpdateFuture
- type ApplicationDefinitionsDeleteByIDFuture
- type ApplicationDefinitionsDeleteFuture
- type ApplicationListResult
- type ApplicationListResultIterator
- type ApplicationListResultPage
- type ApplicationLockLevel
- type ApplicationPatchable
- type ApplicationProperties
- type ApplicationPropertiesPatchable
- type ApplicationProviderAuthorization
- type ApplicationsClient
- func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationName string, ...) (result ApplicationsCreateOrUpdateFuture, err error)
- func (client ApplicationsClient) CreateOrUpdateByID(ctx context.Context, applicationID string, parameters Application) (result ApplicationsCreateOrUpdateByIDFuture, err error)
- func (client ApplicationsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applicationID string, parameters Application) (*http.Request, error)
- func (client ApplicationsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplicationsCreateOrUpdateByIDFuture, err error)
- func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationsCreateOrUpdateFuture, err error)
- func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationsDeleteFuture, err error)
- func (client ApplicationsClient) DeleteByID(ctx context.Context, applicationID string) (result ApplicationsDeleteByIDFuture, err error)
- func (client ApplicationsClient) DeleteByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)
- func (client ApplicationsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationsClient) DeleteByIDSender(req *http.Request) (future ApplicationsDeleteByIDFuture, err error)
- func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
- func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ApplicationsClient) DeleteSender(req *http.Request) (future ApplicationsDeleteFuture, err error)
- func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result Application, err error)
- func (client ApplicationsClient) GetByID(ctx context.Context, applicationID string) (result Application, err error)
- func (client ApplicationsClient) GetByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)
- func (client ApplicationsClient) GetByIDResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) GetByIDSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
- func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationListResultPage, err error)
- func (client ApplicationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationListResultIterator, err error)
- func (client ApplicationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ApplicationsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationListResult, err error)
- func (client ApplicationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) ListBySubscription(ctx context.Context) (result ApplicationListResultPage, err error)
- func (client ApplicationsClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationListResultIterator, err error)
- func (client ApplicationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ApplicationsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationListResult, err error)
- func (client ApplicationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationName string, ...) (result Application, err error)
- func (client ApplicationsClient) UpdateByID(ctx context.Context, applicationID string, parameters *Application) (result Application, err error)
- func (client ApplicationsClient) UpdateByIDPreparer(ctx context.Context, applicationID string, parameters *Application) (*http.Request, error)
- func (client ApplicationsClient) UpdateByIDResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) UpdateByIDSender(req *http.Request) (*http.Response, error)
- func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, ...) (*http.Request, error)
- func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result Application, err error)
- func (client ApplicationsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ApplicationsCreateOrUpdateByIDFuture
- type ApplicationsCreateOrUpdateFuture
- type ApplicationsDeleteByIDFuture
- type ApplicationsDeleteFuture
- type BaseClient
- type ErrorResponse
- type GenericResource
- type Identity
- type Plan
- type PlanPatchable
- type ProvisioningState
- type Resource
- type ResourceIdentityType
- type Sku
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Managedapplications
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type Application ¶
type Application struct { autorest.Response `json:"-"` // ApplicationProperties - The managed application properties. *ApplicationProperties `json:"properties,omitempty"` // Plan - The plan information. Plan *Plan `json:"plan,omitempty"` // Kind - The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. Kind *string `json:"kind,omitempty"` // ManagedBy - ID of the resource that manages this resource. ManagedBy *string `json:"managedBy,omitempty"` // Sku - The SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // ID - Resource ID ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Application information about managed application.
func (Application) MarshalJSON ¶
func (a Application) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Application.
func (*Application) UnmarshalJSON ¶
func (a *Application) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Application struct.
type ApplicationArtifact ¶
type ApplicationArtifact struct { // Name - The managed application artifact name. Name *string `json:"name,omitempty"` // URI - The managed application artifact blob uri. URI *string `json:"uri,omitempty"` // Type - The managed application artifact type. Possible values include: 'Template', 'Custom' Type ApplicationArtifactType `json:"type,omitempty"` }
ApplicationArtifact managed application artifact.
type ApplicationArtifactType ¶
type ApplicationArtifactType string
ApplicationArtifactType enumerates the values for application artifact type.
const ( // Custom ... Custom ApplicationArtifactType = "Custom" // Template ... Template ApplicationArtifactType = "Template" )
func PossibleApplicationArtifactTypeValues ¶
func PossibleApplicationArtifactTypeValues() []ApplicationArtifactType
PossibleApplicationArtifactTypeValues returns an array of possible values for the ApplicationArtifactType const type.
type ApplicationDefinition ¶
type ApplicationDefinition struct { autorest.Response `json:"-"` // ApplicationDefinitionProperties - The managed application definition properties. *ApplicationDefinitionProperties `json:"properties,omitempty"` // ManagedBy - ID of the resource that manages this resource. ManagedBy *string `json:"managedBy,omitempty"` // Sku - The SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // ID - Resource ID ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ApplicationDefinition information about managed application definition.
func (ApplicationDefinition) MarshalJSON ¶
func (ad ApplicationDefinition) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationDefinition.
func (*ApplicationDefinition) UnmarshalJSON ¶
func (ad *ApplicationDefinition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationDefinition struct.
type ApplicationDefinitionListResult ¶
type ApplicationDefinitionListResult struct { autorest.Response `json:"-"` // Value - The array of managed application definitions. Value *[]ApplicationDefinition `json:"value,omitempty"` // NextLink - The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ApplicationDefinitionListResult list of managed application definitions.
func (ApplicationDefinitionListResult) IsEmpty ¶
func (adlr ApplicationDefinitionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ApplicationDefinitionListResultIterator ¶
type ApplicationDefinitionListResultIterator struct {
// contains filtered or unexported fields
}
ApplicationDefinitionListResultIterator provides access to a complete listing of ApplicationDefinition values.
func (*ApplicationDefinitionListResultIterator) Next ¶
func (iter *ApplicationDefinitionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ApplicationDefinitionListResultIterator) NotDone ¶
func (iter ApplicationDefinitionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ApplicationDefinitionListResultIterator) Response ¶
func (iter ApplicationDefinitionListResultIterator) Response() ApplicationDefinitionListResult
Response returns the raw server response from the last page request.
func (ApplicationDefinitionListResultIterator) Value ¶
func (iter ApplicationDefinitionListResultIterator) Value() ApplicationDefinition
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ApplicationDefinitionListResultPage ¶
type ApplicationDefinitionListResultPage struct {
// contains filtered or unexported fields
}
ApplicationDefinitionListResultPage contains a page of ApplicationDefinition values.
func (*ApplicationDefinitionListResultPage) Next ¶
func (page *ApplicationDefinitionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ApplicationDefinitionListResultPage) NotDone ¶
func (page ApplicationDefinitionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ApplicationDefinitionListResultPage) Response ¶
func (page ApplicationDefinitionListResultPage) Response() ApplicationDefinitionListResult
Response returns the raw server response from the last page request.
func (ApplicationDefinitionListResultPage) Values ¶
func (page ApplicationDefinitionListResultPage) Values() []ApplicationDefinition
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationDefinitionProperties ¶
type ApplicationDefinitionProperties struct { // LockLevel - The managed application lock level. Possible values include: 'CanNotDelete', 'ReadOnly', 'None' LockLevel ApplicationLockLevel `json:"lockLevel,omitempty"` // DisplayName - The managed application definition display name. DisplayName *string `json:"displayName,omitempty"` // IsEnabled - A value indicating whether the package is enabled or not. IsEnabled *string `json:"isEnabled,omitempty"` // Authorizations - The managed application provider authorizations. Authorizations *[]ApplicationProviderAuthorization `json:"authorizations,omitempty"` // Artifacts - The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. Artifacts *[]ApplicationArtifact `json:"artifacts,omitempty"` // Description - The managed application definition description. Description *string `json:"description,omitempty"` // PackageFileURI - The managed application definition package file Uri. Use this element PackageFileURI *string `json:"packageFileUri,omitempty"` // MainTemplate - The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. MainTemplate interface{} `json:"mainTemplate,omitempty"` // CreateUIDefinition - The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. CreateUIDefinition interface{} `json:"createUiDefinition,omitempty"` }
ApplicationDefinitionProperties the managed application definition properties.
type ApplicationDefinitionsClient ¶
type ApplicationDefinitionsClient struct {
BaseClient
}
ApplicationDefinitionsClient is the ARM applications
func NewApplicationDefinitionsClient ¶
func NewApplicationDefinitionsClient(subscriptionID string) ApplicationDefinitionsClient
NewApplicationDefinitionsClient creates an instance of the ApplicationDefinitionsClient client.
func NewApplicationDefinitionsClientWithBaseURI ¶
func NewApplicationDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationDefinitionsClient
NewApplicationDefinitionsClientWithBaseURI creates an instance of the ApplicationDefinitionsClient client.
func (ApplicationDefinitionsClient) CreateOrUpdate ¶
func (client ApplicationDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (result ApplicationDefinitionsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition. parameters - parameters supplied to the create or update an managed application definition.
func (ApplicationDefinitionsClient) CreateOrUpdateByID ¶
func (client ApplicationDefinitionsClient) CreateOrUpdateByID(ctx context.Context, applicationDefinitionID string, parameters ApplicationDefinition) (result ApplicationDefinitionsCreateOrUpdateByIDFuture, err error)
CreateOrUpdateByID creates a new managed application definition. Parameters: applicationDefinitionID - the fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name} parameters - parameters supplied to the create or update a managed application definition.
func (ApplicationDefinitionsClient) CreateOrUpdateByIDPreparer ¶
func (client ApplicationDefinitionsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applicationDefinitionID string, parameters ApplicationDefinition) (*http.Request, error)
CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.
func (ApplicationDefinitionsClient) CreateOrUpdateByIDResponder ¶
func (client ApplicationDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) CreateOrUpdateByIDSender ¶
func (client ApplicationDefinitionsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplicationDefinitionsCreateOrUpdateByIDFuture, err error)
CreateOrUpdateByIDSender sends the CreateOrUpdateByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationDefinitionsClient) CreateOrUpdatePreparer ¶
func (client ApplicationDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string, parameters ApplicationDefinition) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ApplicationDefinitionsClient) CreateOrUpdateResponder ¶
func (client ApplicationDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationDefinition, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) CreateOrUpdateSender ¶
func (client ApplicationDefinitionsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationDefinitionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ApplicationDefinitionsClient) Delete ¶
func (client ApplicationDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result ApplicationDefinitionsDeleteFuture, err error)
Delete deletes the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition to delete.
func (ApplicationDefinitionsClient) DeleteByID ¶
func (client ApplicationDefinitionsClient) DeleteByID(ctx context.Context, applicationDefinitionID string) (result ApplicationDefinitionsDeleteByIDFuture, err error)
DeleteByID deletes the managed application definition. Parameters: applicationDefinitionID - the fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}
func (ApplicationDefinitionsClient) DeleteByIDPreparer ¶
func (client ApplicationDefinitionsClient) DeleteByIDPreparer(ctx context.Context, applicationDefinitionID string) (*http.Request, error)
DeleteByIDPreparer prepares the DeleteByID request.
func (ApplicationDefinitionsClient) DeleteByIDResponder ¶
func (client ApplicationDefinitionsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
DeleteByIDResponder handles the response to the DeleteByID request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) DeleteByIDSender ¶
func (client ApplicationDefinitionsClient) DeleteByIDSender(req *http.Request) (future ApplicationDefinitionsDeleteByIDFuture, err error)
DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationDefinitionsClient) DeletePreparer ¶
func (client ApplicationDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationDefinitionsClient) DeleteResponder ¶
func (client ApplicationDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) DeleteSender ¶
func (client ApplicationDefinitionsClient) DeleteSender(req *http.Request) (future ApplicationDefinitionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationDefinitionsClient) Get ¶
func (client ApplicationDefinitionsClient) Get(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (result ApplicationDefinition, err error)
Get gets the managed application definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationDefinitionName - the name of the managed application definition.
func (ApplicationDefinitionsClient) GetByID ¶
func (client ApplicationDefinitionsClient) GetByID(ctx context.Context, applicationDefinitionID string) (result ApplicationDefinition, err error)
GetByID gets the managed application definition. Parameters: applicationDefinitionID - the fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}
func (ApplicationDefinitionsClient) GetByIDPreparer ¶
func (client ApplicationDefinitionsClient) GetByIDPreparer(ctx context.Context, applicationDefinitionID string) (*http.Request, error)
GetByIDPreparer prepares the GetByID request.
func (ApplicationDefinitionsClient) GetByIDResponder ¶
func (client ApplicationDefinitionsClient) GetByIDResponder(resp *http.Response) (result ApplicationDefinition, err error)
GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) GetByIDSender ¶
GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationDefinitionsClient) GetPreparer ¶
func (client ApplicationDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationDefinitionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationDefinitionsClient) GetResponder ¶
func (client ApplicationDefinitionsClient) GetResponder(resp *http.Response) (result ApplicationDefinition, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationDefinitionsClient) ListByResourceGroup ¶
func (client ApplicationDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultPage, err error)
ListByResourceGroup lists the managed application definitions in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (ApplicationDefinitionsClient) ListByResourceGroupComplete ¶
func (client ApplicationDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationDefinitionListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationDefinitionsClient) ListByResourceGroupPreparer ¶
func (client ApplicationDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ApplicationDefinitionsClient) ListByResourceGroupResponder ¶
func (client ApplicationDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationDefinitionListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ApplicationDefinitionsClient) ListByResourceGroupSender ¶
func (client ApplicationDefinitionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
type ApplicationDefinitionsCreateOrUpdateByIDFuture ¶
ApplicationDefinitionsCreateOrUpdateByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationDefinitionsCreateOrUpdateByIDFuture) Result ¶
func (future *ApplicationDefinitionsCreateOrUpdateByIDFuture) Result(client ApplicationDefinitionsClient) (ad ApplicationDefinition, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationDefinitionsCreateOrUpdateFuture ¶
ApplicationDefinitionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationDefinitionsCreateOrUpdateFuture) Result ¶
func (future *ApplicationDefinitionsCreateOrUpdateFuture) Result(client ApplicationDefinitionsClient) (ad ApplicationDefinition, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationDefinitionsDeleteByIDFuture ¶
ApplicationDefinitionsDeleteByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationDefinitionsDeleteByIDFuture) Result ¶
func (future *ApplicationDefinitionsDeleteByIDFuture) Result(client ApplicationDefinitionsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationDefinitionsDeleteFuture ¶
ApplicationDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationDefinitionsDeleteFuture) Result ¶
func (future *ApplicationDefinitionsDeleteFuture) Result(client ApplicationDefinitionsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationListResult ¶
type ApplicationListResult struct { autorest.Response `json:"-"` // Value - The array of managed applications. Value *[]Application `json:"value,omitempty"` // NextLink - The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ApplicationListResult list of managed applications.
func (ApplicationListResult) IsEmpty ¶
func (alr ApplicationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ApplicationListResultIterator ¶
type ApplicationListResultIterator struct {
// contains filtered or unexported fields
}
ApplicationListResultIterator provides access to a complete listing of Application values.
func (*ApplicationListResultIterator) Next ¶
func (iter *ApplicationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ApplicationListResultIterator) NotDone ¶
func (iter ApplicationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ApplicationListResultIterator) Response ¶
func (iter ApplicationListResultIterator) Response() ApplicationListResult
Response returns the raw server response from the last page request.
func (ApplicationListResultIterator) Value ¶
func (iter ApplicationListResultIterator) Value() Application
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ApplicationListResultPage ¶
type ApplicationListResultPage struct {
// contains filtered or unexported fields
}
ApplicationListResultPage contains a page of Application values.
func (*ApplicationListResultPage) Next ¶
func (page *ApplicationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ApplicationListResultPage) NotDone ¶
func (page ApplicationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ApplicationListResultPage) Response ¶
func (page ApplicationListResultPage) Response() ApplicationListResult
Response returns the raw server response from the last page request.
func (ApplicationListResultPage) Values ¶
func (page ApplicationListResultPage) Values() []Application
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationLockLevel ¶
type ApplicationLockLevel string
ApplicationLockLevel enumerates the values for application lock level.
const ( // CanNotDelete ... CanNotDelete ApplicationLockLevel = "CanNotDelete" // None ... None ApplicationLockLevel = "None" // ReadOnly ... ReadOnly ApplicationLockLevel = "ReadOnly" )
func PossibleApplicationLockLevelValues ¶
func PossibleApplicationLockLevelValues() []ApplicationLockLevel
PossibleApplicationLockLevelValues returns an array of possible values for the ApplicationLockLevel const type.
type ApplicationPatchable ¶
type ApplicationPatchable struct { // ApplicationPropertiesPatchable - The managed application properties. *ApplicationPropertiesPatchable `json:"properties,omitempty"` // Plan - The plan information. Plan *PlanPatchable `json:"plan,omitempty"` // Kind - The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. Kind *string `json:"kind,omitempty"` // ManagedBy - ID of the resource that manages this resource. ManagedBy *string `json:"managedBy,omitempty"` // Sku - The SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // ID - Resource ID ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ApplicationPatchable information about managed application.
func (ApplicationPatchable) MarshalJSON ¶
func (ap ApplicationPatchable) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationPatchable.
func (*ApplicationPatchable) UnmarshalJSON ¶
func (ap *ApplicationPatchable) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationPatchable struct.
type ApplicationProperties ¶
type ApplicationProperties struct { // ManagedResourceGroupID - The managed resource group Id. ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"` // ApplicationDefinitionID - The fully qualified path of managed application definition Id. ApplicationDefinitionID *string `json:"applicationDefinitionId,omitempty"` // Parameters - Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. Parameters interface{} `json:"parameters,omitempty"` // Outputs - Name and value pairs that define the managed application outputs. Outputs interface{} `json:"outputs,omitempty"` // ProvisioningState - The managed application provisioning state. Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
ApplicationProperties the managed application properties.
type ApplicationPropertiesPatchable ¶
type ApplicationPropertiesPatchable struct { // ManagedResourceGroupID - The managed resource group Id. ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"` // ApplicationDefinitionID - The fully qualified path of managed application definition Id. ApplicationDefinitionID *string `json:"applicationDefinitionId,omitempty"` // Parameters - Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. Parameters interface{} `json:"parameters,omitempty"` // Outputs - Name and value pairs that define the managed application outputs. Outputs interface{} `json:"outputs,omitempty"` // ProvisioningState - The managed application provisioning state. Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
ApplicationPropertiesPatchable the managed application properties.
type ApplicationProviderAuthorization ¶
type ApplicationProviderAuthorization struct { // PrincipalID - The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. PrincipalID *string `json:"principalId,omitempty"` // RoleDefinitionID - The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. RoleDefinitionID *string `json:"roleDefinitionId,omitempty"` }
ApplicationProviderAuthorization the managed application provider authorization.
type ApplicationsClient ¶
type ApplicationsClient struct {
BaseClient
}
ApplicationsClient is the ARM applications
func NewApplicationsClient ¶
func NewApplicationsClient(subscriptionID string) ApplicationsClient
NewApplicationsClient creates an instance of the ApplicationsClient client.
func NewApplicationsClientWithBaseURI ¶
func NewApplicationsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationsClient
NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client.
func (ApplicationsClient) CreateOrUpdate ¶
func (client ApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationName string, parameters Application) (result ApplicationsCreateOrUpdateFuture, err error)
CreateOrUpdate creates a new managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application. parameters - parameters supplied to the create or update a managed application.
func (ApplicationsClient) CreateOrUpdateByID ¶
func (client ApplicationsClient) CreateOrUpdateByID(ctx context.Context, applicationID string, parameters Application) (result ApplicationsCreateOrUpdateByIDFuture, err error)
CreateOrUpdateByID creates a new managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} parameters - parameters supplied to the create or update a managed application.
func (ApplicationsClient) CreateOrUpdateByIDPreparer ¶
func (client ApplicationsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applicationID string, parameters Application) (*http.Request, error)
CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.
func (ApplicationsClient) CreateOrUpdateByIDResponder ¶
func (client ApplicationsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result Application, err error)
CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.
func (ApplicationsClient) CreateOrUpdateByIDSender ¶
func (client ApplicationsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplicationsCreateOrUpdateByIDFuture, err error)
CreateOrUpdateByIDSender sends the CreateOrUpdateByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) CreateOrUpdatePreparer ¶
func (client ApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters Application) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ApplicationsClient) CreateOrUpdateResponder ¶
func (client ApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result Application, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ApplicationsClient) CreateOrUpdateSender ¶
func (client ApplicationsClient) CreateOrUpdateSender(req *http.Request) (future ApplicationsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) Delete ¶
func (client ApplicationsClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationsDeleteFuture, err error)
Delete deletes the managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application.
func (ApplicationsClient) DeleteByID ¶
func (client ApplicationsClient) DeleteByID(ctx context.Context, applicationID string) (result ApplicationsDeleteByIDFuture, err error)
DeleteByID deletes the managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
func (ApplicationsClient) DeleteByIDPreparer ¶
func (client ApplicationsClient) DeleteByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)
DeleteByIDPreparer prepares the DeleteByID request.
func (ApplicationsClient) DeleteByIDResponder ¶
func (client ApplicationsClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
DeleteByIDResponder handles the response to the DeleteByID request. The method always closes the http.Response Body.
func (ApplicationsClient) DeleteByIDSender ¶
func (client ApplicationsClient) DeleteByIDSender(req *http.Request) (future ApplicationsDeleteByIDFuture, err error)
DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) DeletePreparer ¶
func (client ApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ApplicationsClient) DeleteResponder ¶
func (client ApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ApplicationsClient) DeleteSender ¶
func (client ApplicationsClient) DeleteSender(req *http.Request) (future ApplicationsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) Get ¶
func (client ApplicationsClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result Application, err error)
Get gets the managed application. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application.
func (ApplicationsClient) GetByID ¶
func (client ApplicationsClient) GetByID(ctx context.Context, applicationID string) (result Application, err error)
GetByID gets the managed application. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}
func (ApplicationsClient) GetByIDPreparer ¶
func (client ApplicationsClient) GetByIDPreparer(ctx context.Context, applicationID string) (*http.Request, error)
GetByIDPreparer prepares the GetByID request.
func (ApplicationsClient) GetByIDResponder ¶
func (client ApplicationsClient) GetByIDResponder(resp *http.Response) (result Application, err error)
GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.
func (ApplicationsClient) GetByIDSender ¶
GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) GetPreparer ¶
func (client ApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ApplicationsClient) GetResponder ¶
func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ApplicationsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) ListByResourceGroup ¶
func (client ApplicationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationListResultPage, err error)
ListByResourceGroup gets all the applications within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (ApplicationsClient) ListByResourceGroupComplete ¶
func (client ApplicationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationsClient) ListByResourceGroupPreparer ¶
func (client ApplicationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ApplicationsClient) ListByResourceGroupResponder ¶
func (client ApplicationsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ApplicationsClient) ListByResourceGroupSender ¶
func (client ApplicationsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) ListBySubscription ¶
func (client ApplicationsClient) ListBySubscription(ctx context.Context) (result ApplicationListResultPage, err error)
ListBySubscription gets all the applications within a subscription.
func (ApplicationsClient) ListBySubscriptionComplete ¶
func (client ApplicationsClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (ApplicationsClient) ListBySubscriptionPreparer ¶
func (client ApplicationsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ApplicationsClient) ListBySubscriptionResponder ¶
func (client ApplicationsClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (ApplicationsClient) ListBySubscriptionSender ¶
func (client ApplicationsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) Update ¶
func (client ApplicationsClient) Update(ctx context.Context, resourceGroupName string, applicationName string, parameters *Application) (result Application, err error)
Update updates an existing managed application. The only value that can be updated via PATCH currently is the tags. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applicationName - the name of the managed application. parameters - parameters supplied to update an existing managed application.
func (ApplicationsClient) UpdateByID ¶
func (client ApplicationsClient) UpdateByID(ctx context.Context, applicationID string, parameters *Application) (result Application, err error)
UpdateByID updates an existing managed application. The only value that can be updated via PATCH currently is the tags. Parameters: applicationID - the fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name} parameters - parameters supplied to update an existing managed application.
func (ApplicationsClient) UpdateByIDPreparer ¶
func (client ApplicationsClient) UpdateByIDPreparer(ctx context.Context, applicationID string, parameters *Application) (*http.Request, error)
UpdateByIDPreparer prepares the UpdateByID request.
func (ApplicationsClient) UpdateByIDResponder ¶
func (client ApplicationsClient) UpdateByIDResponder(resp *http.Response) (result Application, err error)
UpdateByIDResponder handles the response to the UpdateByID request. The method always closes the http.Response Body.
func (ApplicationsClient) UpdateByIDSender ¶
UpdateByIDSender sends the UpdateByID request. The method will close the http.Response Body if it receives an error.
func (ApplicationsClient) UpdatePreparer ¶
func (client ApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationName string, parameters *Application) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ApplicationsClient) UpdateResponder ¶
func (client ApplicationsClient) UpdateResponder(resp *http.Response) (result Application, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ApplicationsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ApplicationsCreateOrUpdateByIDFuture ¶
ApplicationsCreateOrUpdateByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationsCreateOrUpdateByIDFuture) Result ¶
func (future *ApplicationsCreateOrUpdateByIDFuture) Result(client ApplicationsClient) (a Application, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationsCreateOrUpdateFuture ¶
ApplicationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationsCreateOrUpdateFuture) Result ¶
func (future *ApplicationsCreateOrUpdateFuture) Result(client ApplicationsClient) (a Application, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationsDeleteByIDFuture ¶
ApplicationsDeleteByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationsDeleteByIDFuture) Result ¶
func (future *ApplicationsDeleteByIDFuture) Result(client ApplicationsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ApplicationsDeleteFuture ¶
ApplicationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ApplicationsDeleteFuture) Result ¶
func (future *ApplicationsDeleteFuture) Result(client ApplicationsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type BaseClient ¶
BaseClient is the base client for Managedapplications.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type ErrorResponse ¶
type ErrorResponse struct { // HTTPStatus - Http status code. HTTPStatus *string `json:"httpStatus,omitempty"` // ErrorCode - Error code. ErrorCode *string `json:"errorCode,omitempty"` // ErrorMessage - Error message indicating why the operation failed. ErrorMessage *string `json:"errorMessage,omitempty"` }
ErrorResponse error reponse indicates managed application is not able to process the incoming request. The reason is provided in the error message.
type GenericResource ¶
type GenericResource struct { // ManagedBy - ID of the resource that manages this resource. ManagedBy *string `json:"managedBy,omitempty"` // Sku - The SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Identity - The identity of the resource. Identity *Identity `json:"identity,omitempty"` // ID - Resource ID ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
GenericResource resource information.
func (GenericResource) MarshalJSON ¶
func (gr GenericResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GenericResource.
type Identity ¶
type Identity struct { // PrincipalID - The principal ID of resource identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` // Type - The identity type. Possible values include: 'SystemAssigned' Type ResourceIdentityType `json:"type,omitempty"` }
Identity identity for the resource.
type Plan ¶
type Plan struct { // Name - The plan name. Name *string `json:"name,omitempty"` // Publisher - The publisher ID. Publisher *string `json:"publisher,omitempty"` // Product - The product code. Product *string `json:"product,omitempty"` // PromotionCode - The promotion code. PromotionCode *string `json:"promotionCode,omitempty"` // Version - The plan's version. Version *string `json:"version,omitempty"` }
Plan plan for the managed application.
type PlanPatchable ¶
type PlanPatchable struct { // Name - The plan name. Name *string `json:"name,omitempty"` // Publisher - The publisher ID. Publisher *string `json:"publisher,omitempty"` // Product - The product code. Product *string `json:"product,omitempty"` // PromotionCode - The promotion code. PromotionCode *string `json:"promotionCode,omitempty"` // Version - The plan's version. Version *string `json:"version,omitempty"` }
PlanPatchable plan for the managed application.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // Accepted ... Accepted ProvisioningState = "Accepted" // Canceled ... Canceled ProvisioningState = "Canceled" // Created ... Created ProvisioningState = "Created" // Creating ... Creating ProvisioningState = "Creating" // Deleted ... Deleted ProvisioningState = "Deleted" // Deleting ... Deleting ProvisioningState = "Deleting" // Failed ... Failed ProvisioningState = "Failed" // Ready ... Ready ProvisioningState = "Ready" // Running ... Running ProvisioningState = "Running" // Succeeded ... Succeeded ProvisioningState = "Succeeded" // Updating ... Updating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type Resource ¶
type Resource struct { // ID - Resource ID ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Resource resource information.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType enumerates the values for resource identity type.
const ( // SystemAssigned ... SystemAssigned ResourceIdentityType = "SystemAssigned" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
type Sku ¶
type Sku struct { // Name - The SKU name. Name *string `json:"name,omitempty"` // Tier - The SKU tier. Tier *string `json:"tier,omitempty"` // Size - The SKU size. Size *string `json:"size,omitempty"` // Family - The SKU family. Family *string `json:"family,omitempty"` // Model - The SKU model. Model *string `json:"model,omitempty"` // Capacity - The SKU capacity. Capacity *int32 `json:"capacity,omitempty"` }
Sku SKU for the resource.