azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2016-09-01-preview/managedapplications Index | Files | Directories

package managedapplications

import "github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2016-09-01-preview/managedapplications"

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

ARM managed applications (appliances)

Index

Package Files

appliancedefinitions.go appliances.go client.go models.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Managedapplications
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type Appliance Uses

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 Uses

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

MarshalJSON is the custom marshaler for Appliance.

func (*Appliance) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Appliance struct.

type ApplianceArtifact Uses

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 Uses

type ApplianceArtifactType string

ApplianceArtifactType enumerates the values for appliance artifact type.

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

func PossibleApplianceArtifactTypeValues Uses

func PossibleApplianceArtifactTypeValues() []ApplianceArtifactType

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

type ApplianceDefinition Uses

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 Uses

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

MarshalJSON is the custom marshaler for ApplianceDefinition.

func (*ApplianceDefinition) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplianceDefinition struct.

type ApplianceDefinitionListResult Uses

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 Uses

func (adlr ApplianceDefinitionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplianceDefinitionListResultIterator Uses

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

ApplianceDefinitionListResultIterator provides access to a complete listing of ApplianceDefinition values.

func NewApplianceDefinitionListResultIterator Uses

func NewApplianceDefinitionListResultIterator(page ApplianceDefinitionListResultPage) ApplianceDefinitionListResultIterator

Creates a new instance of the ApplianceDefinitionListResultIterator type.

func (*ApplianceDefinitionListResultIterator) Next Uses

func (iter *ApplianceDefinitionListResultIterator) 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 (*ApplianceDefinitionListResultIterator) NextWithContext Uses

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 Uses

func (iter ApplianceDefinitionListResultIterator) NotDone() bool

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

func (ApplianceDefinitionListResultIterator) Response Uses

func (iter ApplianceDefinitionListResultIterator) Response() ApplianceDefinitionListResult

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

func (ApplianceDefinitionListResultIterator) Value Uses

func (iter ApplianceDefinitionListResultIterator) Value() ApplianceDefinition

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

type ApplianceDefinitionListResultPage Uses

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

ApplianceDefinitionListResultPage contains a page of ApplianceDefinition values.

func NewApplianceDefinitionListResultPage Uses

func NewApplianceDefinitionListResultPage(getNextPage func(context.Context, ApplianceDefinitionListResult) (ApplianceDefinitionListResult, error)) ApplianceDefinitionListResultPage

Creates a new instance of the ApplianceDefinitionListResultPage type.

func (*ApplianceDefinitionListResultPage) Next Uses

func (page *ApplianceDefinitionListResultPage) 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 (*ApplianceDefinitionListResultPage) NextWithContext Uses

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 Uses

func (page ApplianceDefinitionListResultPage) NotDone() bool

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

func (ApplianceDefinitionListResultPage) Response Uses

func (page ApplianceDefinitionListResultPage) Response() ApplianceDefinitionListResult

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

func (ApplianceDefinitionListResultPage) Values Uses

func (page ApplianceDefinitionListResultPage) Values() []ApplianceDefinition

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

type ApplianceDefinitionProperties Uses

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 Uses

type ApplianceDefinitionsClient struct {
    BaseClient
}

ApplianceDefinitionsClient is the ARM managed applications (appliances)

func NewApplianceDefinitionsClient Uses

func NewApplianceDefinitionsClient(subscriptionID string) ApplianceDefinitionsClient

NewApplianceDefinitionsClient creates an instance of the ApplianceDefinitionsClient client.

func NewApplianceDefinitionsClientWithBaseURI Uses

func NewApplianceDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ApplianceDefinitionsClient

NewApplianceDefinitionsClientWithBaseURI creates an instance of the ApplianceDefinitionsClient client.

func (ApplianceDefinitionsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (ApplianceDefinitionsClient) CreateOrUpdateByIDResponder Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplianceDefinitionsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeleteByIDPreparer prepares the DeleteByID request.

func (ApplianceDefinitionsClient) DeleteByIDResponder Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ApplianceDefinitionsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetByIDPreparer prepares the GetByID request.

func (ApplianceDefinitionsClient) GetByIDResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ApplianceDefinitionsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplianceDefinitionsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

type ApplianceDefinitionsCreateOrUpdateByIDFuture struct {
    azure.Future
}

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

func (*ApplianceDefinitionsCreateOrUpdateByIDFuture) Result Uses

func (future *ApplianceDefinitionsCreateOrUpdateByIDFuture) Result(client ApplianceDefinitionsClient) (ad ApplianceDefinition, err error)

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

type ApplianceDefinitionsCreateOrUpdateFuture Uses

type ApplianceDefinitionsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ApplianceDefinitionsCreateOrUpdateFuture) Result Uses

func (future *ApplianceDefinitionsCreateOrUpdateFuture) Result(client ApplianceDefinitionsClient) (ad ApplianceDefinition, err error)

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

type ApplianceDefinitionsDeleteByIDFuture Uses

type ApplianceDefinitionsDeleteByIDFuture struct {
    azure.Future
}

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

func (*ApplianceDefinitionsDeleteByIDFuture) Result Uses

func (future *ApplianceDefinitionsDeleteByIDFuture) Result(client ApplianceDefinitionsClient) (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 ApplianceDefinitionsDeleteFuture Uses

type ApplianceDefinitionsDeleteFuture struct {
    azure.Future
}

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

func (*ApplianceDefinitionsDeleteFuture) Result Uses

func (future *ApplianceDefinitionsDeleteFuture) Result(client ApplianceDefinitionsClient) (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 ApplianceListResult Uses

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 Uses

func (alr ApplianceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplianceListResultIterator Uses

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

ApplianceListResultIterator provides access to a complete listing of Appliance values.

func NewApplianceListResultIterator Uses

func NewApplianceListResultIterator(page ApplianceListResultPage) ApplianceListResultIterator

Creates a new instance of the ApplianceListResultIterator type.

func (*ApplianceListResultIterator) Next Uses

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 Uses

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 Uses

func (iter ApplianceListResultIterator) NotDone() bool

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

func (ApplianceListResultIterator) Response Uses

func (iter ApplianceListResultIterator) Response() ApplianceListResult

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

func (ApplianceListResultIterator) Value Uses

func (iter ApplianceListResultIterator) Value() Appliance

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

type ApplianceListResultPage Uses

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

ApplianceListResultPage contains a page of Appliance values.

func NewApplianceListResultPage Uses

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

Creates a new instance of the ApplianceListResultPage type.

func (*ApplianceListResultPage) Next Uses

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 Uses

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 Uses

func (page ApplianceListResultPage) NotDone() bool

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

func (ApplianceListResultPage) Response Uses

func (page ApplianceListResultPage) Response() ApplianceListResult

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

func (ApplianceListResultPage) Values Uses

func (page ApplianceListResultPage) Values() []Appliance

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

type ApplianceLockLevel Uses

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 Uses

func PossibleApplianceLockLevelValues() []ApplianceLockLevel

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

type AppliancePatchable Uses

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 Uses

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

MarshalJSON is the custom marshaler for AppliancePatchable.

func (*AppliancePatchable) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AppliancePatchable struct.

type ApplianceProperties Uses

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 Uses

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 Uses

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 Uses

type AppliancesClient struct {
    BaseClient
}

AppliancesClient is the ARM managed applications (appliances)

func NewAppliancesClient Uses

func NewAppliancesClient(subscriptionID string) AppliancesClient

NewAppliancesClient creates an instance of the AppliancesClient client.

func NewAppliancesClientWithBaseURI Uses

func NewAppliancesClientWithBaseURI(baseURI string, subscriptionID string) AppliancesClient

NewAppliancesClientWithBaseURI creates an instance of the AppliancesClient client.

func (AppliancesClient) CreateOrUpdate Uses

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 Uses

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 Uses

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

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (AppliancesClient) CreateOrUpdateByIDResponder Uses

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 Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AppliancesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeleteByIDPreparer prepares the DeleteByID request.

func (AppliancesClient) DeleteByIDResponder Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AppliancesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetByIDPreparer prepares the GetByID request.

func (AppliancesClient) GetByIDResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AppliancesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AppliancesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

ListBySubscription gets all the appliances within a subscription.

func (AppliancesClient) ListBySubscriptionComplete Uses

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

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

func (AppliancesClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AppliancesClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

UpdateByIDPreparer prepares the UpdateByID request.

func (AppliancesClient) UpdateByIDResponder Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (AppliancesClient) UpdateResponder Uses

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 Uses

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 Uses

type AppliancesCreateOrUpdateByIDFuture struct {
    azure.Future
}

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

func (*AppliancesCreateOrUpdateByIDFuture) Result Uses

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 Uses

type AppliancesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*AppliancesCreateOrUpdateFuture) Result Uses

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 Uses

type AppliancesDeleteByIDFuture struct {
    azure.Future
}

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

func (*AppliancesDeleteByIDFuture) Result Uses

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 Uses

type AppliancesDeleteFuture struct {
    azure.Future
}

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

func (*AppliancesDeleteFuture) Result Uses

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 Uses

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

BaseClient is the base client for Managedapplications.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) ListOperations Uses

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 Uses

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

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

func (BaseClient) ListOperationsPreparer Uses

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

ListOperationsPreparer prepares the ListOperations request.

func (BaseClient) ListOperationsResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (gr GenericResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GenericResource.

type Identity Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type Plan Uses

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 Uses

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 Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource Uses

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 Uses

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

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType Uses

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
    // SystemAssigned ...
    SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues Uses

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type Sku Uses

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

PathSynopsis
managedapplicationsapi

Package managedapplications imports 9 packages (graph) and is imported by 4 packages. Updated 2019-10-11. Refresh now. Tools for package owners.