managedapplications

package
v43.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package managedapplications implements the Azure ARM Managedapplications service API version 2016-09-01-preview.

ARM managed applications (appliances)

Index

Constants

View Source
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 Appliance

type Appliance struct {
	autorest.Response `json:"-"`
	// ApplianceProperties - The appliance properties.
	*ApplianceProperties `json:"properties,omitempty"`
	// Plan - The plan information.
	Plan *Plan `json:"plan,omitempty"`
	// Kind - The kind of the appliance. 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 - READ-ONLY; Resource ID
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Appliance information about appliance.

func (Appliance) MarshalJSON

func (a Appliance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Appliance.

func (*Appliance) UnmarshalJSON

func (a *Appliance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Appliance struct.

type ApplianceArtifact

type ApplianceArtifact struct {
	// Name - The appliance artifact name.
	Name *string `json:"name,omitempty"`
	// URI - The appliance artifact blob uri.
	URI *string `json:"uri,omitempty"`
	// Type - The appliance artifact type. Possible values include: 'Template', 'Custom'
	Type ApplianceArtifactType `json:"type,omitempty"`
}

ApplianceArtifact appliance artifact.

type ApplianceArtifactType

type ApplianceArtifactType string

ApplianceArtifactType enumerates the values for appliance artifact type.

const (
	// Custom ...
	Custom ApplianceArtifactType = "Custom"
	// Template ...
	Template ApplianceArtifactType = "Template"
)

func PossibleApplianceArtifactTypeValues

func PossibleApplianceArtifactTypeValues() []ApplianceArtifactType

PossibleApplianceArtifactTypeValues returns an array of possible values for the ApplianceArtifactType const type.

type ApplianceDefinition

type ApplianceDefinition struct {
	autorest.Response `json:"-"`
	// ApplianceDefinitionProperties - The appliance definition properties.
	*ApplianceDefinitionProperties `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 - READ-ONLY; Resource ID
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

ApplianceDefinition information about appliance definition.

func (ApplianceDefinition) MarshalJSON

func (ad ApplianceDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplianceDefinition.

func (*ApplianceDefinition) UnmarshalJSON

func (ad *ApplianceDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplianceDefinition struct.

type ApplianceDefinitionListResult

type ApplianceDefinitionListResult struct {
	autorest.Response `json:"-"`
	// Value - The array of appliance definitions.
	Value *[]ApplianceDefinition `json:"value,omitempty"`
	// NextLink - The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplianceDefinitionListResult list of appliance definitions.

func (ApplianceDefinitionListResult) IsEmpty

func (adlr ApplianceDefinitionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplianceDefinitionListResultIterator

type ApplianceDefinitionListResultIterator struct {
	// contains filtered or unexported fields
}

ApplianceDefinitionListResultIterator provides access to a complete listing of ApplianceDefinition values.

func NewApplianceDefinitionListResultIterator

func NewApplianceDefinitionListResultIterator(page ApplianceDefinitionListResultPage) ApplianceDefinitionListResultIterator

Creates a new instance of the ApplianceDefinitionListResultIterator type.

func (*ApplianceDefinitionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplianceDefinitionListResultIterator) NextWithContext

func (iter *ApplianceDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplianceDefinitionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplianceDefinitionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ApplianceDefinitionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplianceDefinitionListResultPage

type ApplianceDefinitionListResultPage struct {
	// contains filtered or unexported fields
}

ApplianceDefinitionListResultPage contains a page of ApplianceDefinition values.

func NewApplianceDefinitionListResultPage

Creates a new instance of the ApplianceDefinitionListResultPage type.

func (*ApplianceDefinitionListResultPage) Next

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. Deprecated: Use NextWithContext() instead.

func (*ApplianceDefinitionListResultPage) NextWithContext

func (page *ApplianceDefinitionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (ApplianceDefinitionListResultPage) NotDone

func (page ApplianceDefinitionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplianceDefinitionListResultPage) Response

Response returns the raw server response from the last page request.

func (ApplianceDefinitionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ApplianceDefinitionProperties

type ApplianceDefinitionProperties struct {
	// LockLevel - The appliance lock level. Possible values include: 'CanNotDelete', 'ReadOnly', 'None'
	LockLevel ApplianceLockLevel `json:"lockLevel,omitempty"`
	// DisplayName - The appliance definition display name.
	DisplayName *string `json:"displayName,omitempty"`
	// Authorizations - The appliance provider authorizations.
	Authorizations *[]ApplianceProviderAuthorization `json:"authorizations,omitempty"`
	// Artifacts - The collection of appliance artifacts. The portal will use the files specified as artifacts to construct the user experience of creating an appliance from an appliance definition.
	Artifacts *[]ApplianceArtifact `json:"artifacts,omitempty"`
	// Description - The appliance definition description.
	Description *string `json:"description,omitempty"`
	// PackageFileURI - The appliance definition package file Uri.
	PackageFileURI *string `json:"packageFileUri,omitempty"`
}

ApplianceDefinitionProperties the appliance definition properties.

type ApplianceDefinitionsClient

type ApplianceDefinitionsClient struct {
	BaseClient
}

ApplianceDefinitionsClient is the ARM managed applications (appliances)

func NewApplianceDefinitionsClient

func NewApplianceDefinitionsClient(subscriptionID string) ApplianceDefinitionsClient

NewApplianceDefinitionsClient creates an instance of the ApplianceDefinitionsClient client.

func NewApplianceDefinitionsClientWithBaseURI

func NewApplianceDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ApplianceDefinitionsClient

NewApplianceDefinitionsClientWithBaseURI creates an instance of the ApplianceDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplianceDefinitionsClient) CreateOrUpdate

func (client ApplianceDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applianceDefinitionName string, parameters ApplianceDefinition) (result ApplianceDefinitionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new appliance definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applianceDefinitionName - the name of the appliance definition. parameters - parameters supplied to the create or update an appliance definition.

func (ApplianceDefinitionsClient) CreateOrUpdateByID

func (client ApplianceDefinitionsClient) CreateOrUpdateByID(ctx context.Context, applianceDefinitionID string, parameters ApplianceDefinition) (result ApplianceDefinitionsCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByID creates a new appliance definition. Parameters: applianceDefinitionID - the fully qualified ID of the appliance definition, including the appliance name and the appliance definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name} parameters - parameters supplied to the create or update an appliance definition.

func (ApplianceDefinitionsClient) CreateOrUpdateByIDPreparer

func (client ApplianceDefinitionsClient) CreateOrUpdateByIDPreparer(ctx context.Context, applianceDefinitionID string, parameters ApplianceDefinition) (*http.Request, error)

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (ApplianceDefinitionsClient) CreateOrUpdateByIDResponder

func (client ApplianceDefinitionsClient) CreateOrUpdateByIDResponder(resp *http.Response) (result ApplianceDefinition, err error)

CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.

func (ApplianceDefinitionsClient) CreateOrUpdateByIDSender

func (client ApplianceDefinitionsClient) CreateOrUpdateByIDSender(req *http.Request) (future ApplianceDefinitionsCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByIDSender sends the CreateOrUpdateByID request. The method will close the http.Response Body if it receives an error.

func (ApplianceDefinitionsClient) CreateOrUpdatePreparer

func (client ApplianceDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applianceDefinitionName string, parameters ApplianceDefinition) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplianceDefinitionsClient) CreateOrUpdateResponder

func (client ApplianceDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplianceDefinition, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplianceDefinitionsClient) CreateOrUpdateSender

func (client ApplianceDefinitionsClient) CreateOrUpdateSender(req *http.Request) (future ApplianceDefinitionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplianceDefinitionsClient) Delete

func (client ApplianceDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, applianceDefinitionName string) (result ApplianceDefinitionsDeleteFuture, err error)

Delete deletes the appliance definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applianceDefinitionName - the name of the appliance definition to delete.

func (ApplianceDefinitionsClient) DeleteByID

func (client ApplianceDefinitionsClient) DeleteByID(ctx context.Context, applianceDefinitionID string) (result ApplianceDefinitionsDeleteByIDFuture, err error)

DeleteByID deletes the appliance definition. Parameters: applianceDefinitionID - the fully qualified ID of the appliance definition, including the appliance name and the appliance definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}

func (ApplianceDefinitionsClient) DeleteByIDPreparer

func (client ApplianceDefinitionsClient) DeleteByIDPreparer(ctx context.Context, applianceDefinitionID string) (*http.Request, error)

DeleteByIDPreparer prepares the DeleteByID request.

func (ApplianceDefinitionsClient) DeleteByIDResponder

func (client ApplianceDefinitionsClient) 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 (ApplianceDefinitionsClient) DeleteByIDSender

func (client ApplianceDefinitionsClient) DeleteByIDSender(req *http.Request) (future ApplianceDefinitionsDeleteByIDFuture, err error)

DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.

func (ApplianceDefinitionsClient) DeletePreparer

func (client ApplianceDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applianceDefinitionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplianceDefinitionsClient) DeleteResponder

func (client ApplianceDefinitionsClient) 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 (ApplianceDefinitionsClient) DeleteSender

func (client ApplianceDefinitionsClient) DeleteSender(req *http.Request) (future ApplianceDefinitionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplianceDefinitionsClient) Get

func (client ApplianceDefinitionsClient) Get(ctx context.Context, resourceGroupName string, applianceDefinitionName string) (result ApplianceDefinition, err error)

Get gets the appliance definition. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applianceDefinitionName - the name of the appliance definition.

func (ApplianceDefinitionsClient) GetByID

func (client ApplianceDefinitionsClient) GetByID(ctx context.Context, applianceDefinitionID string) (result ApplianceDefinition, err error)

GetByID gets the appliance definition. Parameters: applianceDefinitionID - the fully qualified ID of the appliance definition, including the appliance name and the appliance definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applianceDefinitions/{applianceDefinition-name}

func (ApplianceDefinitionsClient) GetByIDPreparer

func (client ApplianceDefinitionsClient) GetByIDPreparer(ctx context.Context, applianceDefinitionID string) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (ApplianceDefinitionsClient) GetByIDResponder

func (client ApplianceDefinitionsClient) GetByIDResponder(resp *http.Response) (result ApplianceDefinition, err error)

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (ApplianceDefinitionsClient) GetByIDSender

func (client ApplianceDefinitionsClient) GetByIDSender(req *http.Request) (*http.Response, error)

GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.

func (ApplianceDefinitionsClient) GetPreparer

func (client ApplianceDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, applianceDefinitionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplianceDefinitionsClient) GetResponder

func (client ApplianceDefinitionsClient) GetResponder(resp *http.Response) (result ApplianceDefinition, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplianceDefinitionsClient) GetSender

func (client ApplianceDefinitionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplianceDefinitionsClient) ListByResourceGroup

func (client ApplianceDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplianceDefinitionListResultPage, err error)

ListByResourceGroup lists the appliance definitions in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ApplianceDefinitionsClient) ListByResourceGroupComplete

func (client ApplianceDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplianceDefinitionListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplianceDefinitionsClient) ListByResourceGroupPreparer

func (client ApplianceDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplianceDefinitionsClient) ListByResourceGroupResponder

func (client ApplianceDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ApplianceDefinitionListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ApplianceDefinitionsClient) ListByResourceGroupSender

func (client ApplianceDefinitionsClient) 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 ApplianceDefinitionsCreateOrUpdateByIDFuture

type ApplianceDefinitionsCreateOrUpdateByIDFuture struct {
	azure.Future
}

ApplianceDefinitionsCreateOrUpdateByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplianceDefinitionsCreateOrUpdateByIDFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplianceDefinitionsCreateOrUpdateFuture

type ApplianceDefinitionsCreateOrUpdateFuture struct {
	azure.Future
}

ApplianceDefinitionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplianceDefinitionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplianceDefinitionsDeleteByIDFuture

type ApplianceDefinitionsDeleteByIDFuture struct {
	azure.Future
}

ApplianceDefinitionsDeleteByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplianceDefinitionsDeleteByIDFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplianceDefinitionsDeleteFuture

type ApplianceDefinitionsDeleteFuture struct {
	azure.Future
}

ApplianceDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplianceDefinitionsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplianceListResult

type ApplianceListResult struct {
	autorest.Response `json:"-"`
	// Value - The array of appliances.
	Value *[]Appliance `json:"value,omitempty"`
	// NextLink - The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplianceListResult list of appliances.

func (ApplianceListResult) IsEmpty

func (alr ApplianceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplianceListResultIterator

type ApplianceListResultIterator struct {
	// contains filtered or unexported fields
}

ApplianceListResultIterator provides access to a complete listing of Appliance values.

func NewApplianceListResultIterator

func NewApplianceListResultIterator(page ApplianceListResultPage) ApplianceListResultIterator

Creates a new instance of the ApplianceListResultIterator type.

func (*ApplianceListResultIterator) Next

func (iter *ApplianceListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*ApplianceListResultIterator) NextWithContext

func (iter *ApplianceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplianceListResultIterator) NotDone

func (iter ApplianceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplianceListResultIterator) Response

Response returns the raw server response from the last page request.

func (ApplianceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplianceListResultPage

type ApplianceListResultPage struct {
	// contains filtered or unexported fields
}

ApplianceListResultPage contains a page of Appliance values.

func NewApplianceListResultPage

func NewApplianceListResultPage(getNextPage func(context.Context, ApplianceListResult) (ApplianceListResult, error)) ApplianceListResultPage

Creates a new instance of the ApplianceListResultPage type.

func (*ApplianceListResultPage) Next

func (page *ApplianceListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*ApplianceListResultPage) NextWithContext

func (page *ApplianceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (ApplianceListResultPage) NotDone

func (page ApplianceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplianceListResultPage) Response

Response returns the raw server response from the last page request.

func (ApplianceListResultPage) Values

func (page ApplianceListResultPage) Values() []Appliance

Values returns the slice of values for the current page or nil if there are no values.

type ApplianceLockLevel

type ApplianceLockLevel string

ApplianceLockLevel enumerates the values for appliance lock level.

const (
	// CanNotDelete ...
	CanNotDelete ApplianceLockLevel = "CanNotDelete"
	// None ...
	None ApplianceLockLevel = "None"
	// ReadOnly ...
	ReadOnly ApplianceLockLevel = "ReadOnly"
)

func PossibleApplianceLockLevelValues

func PossibleApplianceLockLevelValues() []ApplianceLockLevel

PossibleApplianceLockLevelValues returns an array of possible values for the ApplianceLockLevel const type.

type AppliancePatchable

type AppliancePatchable struct {
	// AppliancePropertiesPatchable - The appliance properties.
	*AppliancePropertiesPatchable `json:"properties,omitempty"`
	// Plan - The plan information.
	Plan *PlanPatchable `json:"plan,omitempty"`
	// Kind - The kind of the appliance. 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 - READ-ONLY; Resource ID
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

AppliancePatchable information about appliance.

func (AppliancePatchable) MarshalJSON

func (ap AppliancePatchable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppliancePatchable.

func (*AppliancePatchable) UnmarshalJSON

func (ap *AppliancePatchable) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AppliancePatchable struct.

type ApplianceProperties

type ApplianceProperties struct {
	// ManagedResourceGroupID - The managed resource group Id.
	ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"`
	// ApplianceDefinitionID - The fully qualified path of appliance definition Id.
	ApplianceDefinitionID *string `json:"applianceDefinitionId,omitempty"`
	// Parameters - Name and value pairs that define the appliance parameters. It can be a JObject or a well formed JSON string.
	Parameters interface{} `json:"parameters,omitempty"`
	// Outputs - READ-ONLY; Name and value pairs that define the appliance outputs.
	Outputs interface{} `json:"outputs,omitempty"`
	// ProvisioningState - READ-ONLY; The appliance provisioning state. Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// UIDefinitionURI - The blob URI where the UI definition file is located.
	UIDefinitionURI *string `json:"uiDefinitionUri,omitempty"`
}

ApplianceProperties the appliance properties.

type AppliancePropertiesPatchable

type AppliancePropertiesPatchable struct {
	// ManagedResourceGroupID - The managed resource group Id.
	ManagedResourceGroupID *string `json:"managedResourceGroupId,omitempty"`
	// ApplianceDefinitionID - The fully qualified path of appliance definition Id.
	ApplianceDefinitionID *string `json:"applianceDefinitionId,omitempty"`
	// Parameters - Name and value pairs that define the appliance parameters. It can be a JObject or a well formed JSON string.
	Parameters interface{} `json:"parameters,omitempty"`
	// Outputs - READ-ONLY; Name and value pairs that define the appliance outputs.
	Outputs interface{} `json:"outputs,omitempty"`
	// ProvisioningState - READ-ONLY; The appliance provisioning state. Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// UIDefinitionURI - The blob URI where the UI definition file is located.
	UIDefinitionURI *string `json:"uiDefinitionUri,omitempty"`
}

AppliancePropertiesPatchable the appliance properties.

type ApplianceProviderAuthorization

type ApplianceProviderAuthorization struct {
	// PrincipalID - The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the appliance 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 appliance's container resource group. This role definition cannot have permission to delete the resource group.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
}

ApplianceProviderAuthorization the appliance provider authorization.

type AppliancesClient

type AppliancesClient struct {
	BaseClient
}

AppliancesClient is the ARM managed applications (appliances)

func NewAppliancesClient

func NewAppliancesClient(subscriptionID string) AppliancesClient

NewAppliancesClient creates an instance of the AppliancesClient client.

func NewAppliancesClientWithBaseURI

func NewAppliancesClientWithBaseURI(baseURI string, subscriptionID string) AppliancesClient

NewAppliancesClientWithBaseURI creates an instance of the AppliancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AppliancesClient) CreateOrUpdate

func (client AppliancesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applianceName string, parameters Appliance) (result AppliancesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new appliance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applianceName - the name of the appliance. parameters - parameters supplied to the create or update an appliance.

func (AppliancesClient) CreateOrUpdateByID

func (client AppliancesClient) CreateOrUpdateByID(ctx context.Context, applianceID string, parameters Appliance) (result AppliancesCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByID creates a new appliance. Parameters: applianceID - the fully qualified ID of the appliance, including the appliance name and the appliance resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name} parameters - parameters supplied to the create or update an appliance.

func (AppliancesClient) CreateOrUpdateByIDPreparer

func (client AppliancesClient) CreateOrUpdateByIDPreparer(ctx context.Context, applianceID string, parameters Appliance) (*http.Request, error)

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (AppliancesClient) CreateOrUpdateByIDResponder

func (client AppliancesClient) CreateOrUpdateByIDResponder(resp *http.Response) (result Appliance, err error)

CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.

func (AppliancesClient) CreateOrUpdateByIDSender

func (client AppliancesClient) CreateOrUpdateByIDSender(req *http.Request) (future AppliancesCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByIDSender sends the CreateOrUpdateByID request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) CreateOrUpdatePreparer

func (client AppliancesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applianceName string, parameters Appliance) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AppliancesClient) CreateOrUpdateResponder

func (client AppliancesClient) CreateOrUpdateResponder(resp *http.Response) (result Appliance, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AppliancesClient) CreateOrUpdateSender

func (client AppliancesClient) CreateOrUpdateSender(req *http.Request) (future AppliancesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) Delete

func (client AppliancesClient) Delete(ctx context.Context, resourceGroupName string, applianceName string) (result AppliancesDeleteFuture, err error)

Delete deletes the appliance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applianceName - the name of the appliance.

func (AppliancesClient) DeleteByID

func (client AppliancesClient) DeleteByID(ctx context.Context, applianceID string) (result AppliancesDeleteByIDFuture, err error)

DeleteByID deletes the appliance. Parameters: applianceID - the fully qualified ID of the appliance, including the appliance name and the appliance resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}

func (AppliancesClient) DeleteByIDPreparer

func (client AppliancesClient) DeleteByIDPreparer(ctx context.Context, applianceID string) (*http.Request, error)

DeleteByIDPreparer prepares the DeleteByID request.

func (AppliancesClient) DeleteByIDResponder

func (client AppliancesClient) 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 (AppliancesClient) DeleteByIDSender

func (client AppliancesClient) DeleteByIDSender(req *http.Request) (future AppliancesDeleteByIDFuture, err error)

DeleteByIDSender sends the DeleteByID request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) DeletePreparer

func (client AppliancesClient) DeletePreparer(ctx context.Context, resourceGroupName string, applianceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AppliancesClient) DeleteResponder

func (client AppliancesClient) 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 (AppliancesClient) DeleteSender

func (client AppliancesClient) DeleteSender(req *http.Request) (future AppliancesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) Get

func (client AppliancesClient) Get(ctx context.Context, resourceGroupName string, applianceName string) (result Appliance, err error)

Get gets the appliance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. applianceName - the name of the appliance.

func (AppliancesClient) GetByID

func (client AppliancesClient) GetByID(ctx context.Context, applianceID string) (result Appliance, err error)

GetByID gets the appliance. Parameters: applianceID - the fully qualified ID of the appliance, including the appliance name and the appliance resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}

func (AppliancesClient) GetByIDPreparer

func (client AppliancesClient) GetByIDPreparer(ctx context.Context, applianceID string) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (AppliancesClient) GetByIDResponder

func (client AppliancesClient) GetByIDResponder(resp *http.Response) (result Appliance, err error)

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (AppliancesClient) GetByIDSender

func (client AppliancesClient) GetByIDSender(req *http.Request) (*http.Response, error)

GetByIDSender sends the GetByID request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) GetPreparer

func (client AppliancesClient) GetPreparer(ctx context.Context, resourceGroupName string, applianceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AppliancesClient) GetResponder

func (client AppliancesClient) GetResponder(resp *http.Response) (result Appliance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AppliancesClient) GetSender

func (client AppliancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) ListByResourceGroup

func (client AppliancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplianceListResultPage, err error)

ListByResourceGroup gets all the appliances within a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (AppliancesClient) ListByResourceGroupComplete

func (client AppliancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplianceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AppliancesClient) ListByResourceGroupPreparer

func (client AppliancesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AppliancesClient) ListByResourceGroupResponder

func (client AppliancesClient) ListByResourceGroupResponder(resp *http.Response) (result ApplianceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AppliancesClient) ListByResourceGroupSender

func (client AppliancesClient) 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 (AppliancesClient) ListBySubscription

func (client AppliancesClient) ListBySubscription(ctx context.Context) (result ApplianceListResultPage, err error)

ListBySubscription gets all the appliances within a subscription.

func (AppliancesClient) ListBySubscriptionComplete

func (client AppliancesClient) ListBySubscriptionComplete(ctx context.Context) (result ApplianceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (AppliancesClient) ListBySubscriptionPreparer

func (client AppliancesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AppliancesClient) ListBySubscriptionResponder

func (client AppliancesClient) ListBySubscriptionResponder(resp *http.Response) (result ApplianceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AppliancesClient) ListBySubscriptionSender

func (client AppliancesClient) 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 (AppliancesClient) Update

func (client AppliancesClient) Update(ctx context.Context, resourceGroupName string, applianceName string, parameters *Appliance) (result Appliance, err error)

Update updates an existing appliance. 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. applianceName - the name of the appliance. parameters - parameters supplied to update an existing appliance.

func (AppliancesClient) UpdateByID

func (client AppliancesClient) UpdateByID(ctx context.Context, applianceID string, parameters *Appliance) (result Appliance, err error)

UpdateByID updates an existing appliance. The only value that can be updated via PATCH currently is the tags. Parameters: applianceID - the fully qualified ID of the appliance, including the appliance name and the appliance resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name} parameters - parameters supplied to update an existing appliance.

func (AppliancesClient) UpdateByIDPreparer

func (client AppliancesClient) UpdateByIDPreparer(ctx context.Context, applianceID string, parameters *Appliance) (*http.Request, error)

UpdateByIDPreparer prepares the UpdateByID request.

func (AppliancesClient) UpdateByIDResponder

func (client AppliancesClient) UpdateByIDResponder(resp *http.Response) (result Appliance, err error)

UpdateByIDResponder handles the response to the UpdateByID request. The method always closes the http.Response Body.

func (AppliancesClient) UpdateByIDSender

func (client AppliancesClient) UpdateByIDSender(req *http.Request) (*http.Response, error)

UpdateByIDSender sends the UpdateByID request. The method will close the http.Response Body if it receives an error.

func (AppliancesClient) UpdatePreparer

func (client AppliancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applianceName string, parameters *Appliance) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AppliancesClient) UpdateResponder

func (client AppliancesClient) UpdateResponder(resp *http.Response) (result Appliance, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AppliancesClient) UpdateSender

func (client AppliancesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AppliancesCreateOrUpdateByIDFuture

type AppliancesCreateOrUpdateByIDFuture struct {
	azure.Future
}

AppliancesCreateOrUpdateByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppliancesCreateOrUpdateByIDFuture) Result

func (future *AppliancesCreateOrUpdateByIDFuture) Result(client AppliancesClient) (a Appliance, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AppliancesCreateOrUpdateFuture

type AppliancesCreateOrUpdateFuture struct {
	azure.Future
}

AppliancesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppliancesCreateOrUpdateFuture) Result

func (future *AppliancesCreateOrUpdateFuture) Result(client AppliancesClient) (a Appliance, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AppliancesDeleteByIDFuture

type AppliancesDeleteByIDFuture struct {
	azure.Future
}

AppliancesDeleteByIDFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppliancesDeleteByIDFuture) Result

func (future *AppliancesDeleteByIDFuture) Result(client AppliancesClient) (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 AppliancesDeleteFuture

type AppliancesDeleteFuture struct {
	azure.Future
}

AppliancesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AppliancesDeleteFuture) Result

func (future *AppliancesDeleteFuture) Result(client AppliancesClient) (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

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) ListOperations

func (client BaseClient) ListOperations(ctx context.Context) (result OperationListResultPage, err error)

ListOperations lists all of the available Microsoft.Solutions REST API operations.

func (BaseClient) ListOperationsComplete

func (client BaseClient) ListOperationsComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListOperationsComplete enumerates all values, automatically crossing page boundaries as required.

func (BaseClient) ListOperationsPreparer

func (client BaseClient) ListOperationsPreparer(ctx context.Context) (*http.Request, error)

ListOperationsPreparer prepares the ListOperations request.

func (BaseClient) ListOperationsResponder

func (client BaseClient) ListOperationsResponder(resp *http.Response) (result OperationListResult, err error)

ListOperationsResponder handles the response to the ListOperations request. The method always closes the http.Response Body.

func (BaseClient) ListOperationsSender

func (client BaseClient) ListOperationsSender(req *http.Request) (*http.Response, error)

ListOperationsSender sends the ListOperations request. The method will close the http.Response Body if it receives an error.

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 response indicates ARM appliance 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 - READ-ONLY; Resource ID
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; 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 - READ-ONLY; The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; 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 Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation microsoft.Solutions operation

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.Solutions
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Profile, endpoint, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Microsoft.Solutions operations.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

type OperationListResultPage struct {
	// contains filtered or unexported fields
}

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

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 appliance.

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 appliance.

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 - READ-ONLY; Resource ID
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; 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

func (r Resource) MarshalJSON() ([]byte, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL