operationsmanagement

package
v40.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package operationsmanagement implements the Azure ARM Operationsmanagement service API version 2015-11-01-preview.

Operations Management Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Operationsmanagement
	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 ArmTemplateParameter

type ArmTemplateParameter struct {
	// Name - name of the parameter.
	Name *string `json:"name,omitempty"`
	// Value - value for the parameter. In Jtoken
	Value *string `json:"value,omitempty"`
}

ArmTemplateParameter parameter to pass to ARM template

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
	ProviderName   string
	ResourceType   string
	ResourceName   string
}

BaseClient is the base client for Operationsmanagement.

func New

func New(subscriptionID string, providerName string, resourceType string, resourceName string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName 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).

type CodeMessageError

type CodeMessageError struct {
	// Error - The error details for a failed request.
	Error *CodeMessageErrorError `json:"error,omitempty"`
}

CodeMessageError the error body contract.

type CodeMessageErrorError

type CodeMessageErrorError struct {
	// Code - The error type.
	Code *string `json:"code,omitempty"`
	// Message - The error message.
	Message *string `json:"message,omitempty"`
}

CodeMessageErrorError the error details for a failed request.

type ManagementAssociation

type ManagementAssociation struct {
	autorest.Response `json:"-"`
	// 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"`
	// Properties - Properties for ManagementAssociation object supported by the OperationsManagement resource provider.
	Properties *ManagementAssociationProperties `json:"properties,omitempty"`
}

ManagementAssociation the container for solution.

type ManagementAssociationProperties

type ManagementAssociationProperties struct {
	// ApplicationID - The applicationId of the appliance for this association.
	ApplicationID *string `json:"applicationId,omitempty"`
}

ManagementAssociationProperties managementAssociation properties supported by the OperationsManagement resource provider.

type ManagementAssociationPropertiesList

type ManagementAssociationPropertiesList struct {
	autorest.Response `json:"-"`
	// Value - List of Management Association properties within the subscription.
	Value *[]ManagementAssociation `json:"value,omitempty"`
}

ManagementAssociationPropertiesList the list of ManagementAssociation response

type ManagementAssociationsClient

type ManagementAssociationsClient struct {
	BaseClient
}

ManagementAssociationsClient is the operations Management Client

func NewManagementAssociationsClient

func NewManagementAssociationsClient(subscriptionID string, providerName string, resourceType string, resourceName string) ManagementAssociationsClient

NewManagementAssociationsClient creates an instance of the ManagementAssociationsClient client.

func NewManagementAssociationsClientWithBaseURI

func NewManagementAssociationsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) ManagementAssociationsClient

NewManagementAssociationsClientWithBaseURI creates an instance of the ManagementAssociationsClient 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 (ManagementAssociationsClient) CreateOrUpdate

func (client ManagementAssociationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managementAssociationName string, parameters ManagementAssociation) (result ManagementAssociation, err error)

CreateOrUpdate creates or updates the ManagementAssociation. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. managementAssociationName - user ManagementAssociation Name. parameters - the parameters required to create ManagementAssociation extension.

func (ManagementAssociationsClient) CreateOrUpdatePreparer

func (client ManagementAssociationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managementAssociationName string, parameters ManagementAssociation) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ManagementAssociationsClient) CreateOrUpdateResponder

func (client ManagementAssociationsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagementAssociation, err error)

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

func (ManagementAssociationsClient) CreateOrUpdateSender

func (client ManagementAssociationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ManagementAssociationsClient) Delete

func (client ManagementAssociationsClient) Delete(ctx context.Context, resourceGroupName string, managementAssociationName string) (result autorest.Response, err error)

Delete deletes the ManagementAssociation in the subscription. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. managementAssociationName - user ManagementAssociation Name.

func (ManagementAssociationsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ManagementAssociationsClient) DeleteResponder

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

func (client ManagementAssociationsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ManagementAssociationsClient) Get

func (client ManagementAssociationsClient) Get(ctx context.Context, resourceGroupName string, managementAssociationName string) (result ManagementAssociation, err error)

Get retrieves the user ManagementAssociation. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. managementAssociationName - user ManagementAssociation Name.

func (ManagementAssociationsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ManagementAssociationsClient) GetResponder

func (client ManagementAssociationsClient) GetResponder(resp *http.Response) (result ManagementAssociation, err error)

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

func (ManagementAssociationsClient) GetSender

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

func (client ManagementAssociationsClient) ListBySubscription(ctx context.Context) (result ManagementAssociationPropertiesList, err error)

ListBySubscription retrieves the ManagementAssociations list.

func (ManagementAssociationsClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ManagementAssociationsClient) ListBySubscriptionResponder

func (client ManagementAssociationsClient) ListBySubscriptionResponder(resp *http.Response) (result ManagementAssociationPropertiesList, err error)

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

func (ManagementAssociationsClient) ListBySubscriptionSender

func (client ManagementAssociationsClient) 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.

type ManagementConfiguration

type ManagementConfiguration struct {
	autorest.Response `json:"-"`
	// 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"`
	// Properties - Properties for ManagementConfiguration object supported by the OperationsManagement resource provider.
	Properties *ManagementConfigurationProperties `json:"properties,omitempty"`
}

ManagementConfiguration the container for solution.

type ManagementConfigurationProperties

type ManagementConfigurationProperties struct {
	// ApplicationID - The applicationId of the appliance for this Management.
	ApplicationID *string `json:"applicationId,omitempty"`
	// ParentResourceType - The type of the parent resource.
	ParentResourceType *string `json:"parentResourceType,omitempty"`
	// Parameters - Parameters to run the ARM template
	Parameters *[]ArmTemplateParameter `json:"parameters,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state for the ManagementConfiguration.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Template - The Json object containing the ARM template to deploy
	Template interface{} `json:"template,omitempty"`
}

ManagementConfigurationProperties managementConfiguration properties supported by the OperationsManagement resource provider.

type ManagementConfigurationPropertiesList

type ManagementConfigurationPropertiesList struct {
	autorest.Response `json:"-"`
	// Value - List of Management Configuration properties within the subscription.
	Value *[]ManagementConfiguration `json:"value,omitempty"`
}

ManagementConfigurationPropertiesList the list of ManagementConfiguration response

type ManagementConfigurationsClient

type ManagementConfigurationsClient struct {
	BaseClient
}

ManagementConfigurationsClient is the operations Management Client

func NewManagementConfigurationsClient

func NewManagementConfigurationsClient(subscriptionID string, providerName string, resourceType string, resourceName string) ManagementConfigurationsClient

NewManagementConfigurationsClient creates an instance of the ManagementConfigurationsClient client.

func NewManagementConfigurationsClientWithBaseURI

func NewManagementConfigurationsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) ManagementConfigurationsClient

NewManagementConfigurationsClientWithBaseURI creates an instance of the ManagementConfigurationsClient 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 (ManagementConfigurationsClient) CreateOrUpdate

func (client ManagementConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, managementConfigurationName string, parameters ManagementConfiguration) (result ManagementConfiguration, err error)

CreateOrUpdate creates or updates the ManagementConfiguration. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. managementConfigurationName - user Management Configuration Name. parameters - the parameters required to create OMS Solution.

func (ManagementConfigurationsClient) CreateOrUpdatePreparer

func (client ManagementConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, managementConfigurationName string, parameters ManagementConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ManagementConfigurationsClient) CreateOrUpdateResponder

func (client ManagementConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result ManagementConfiguration, err error)

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

func (ManagementConfigurationsClient) CreateOrUpdateSender

func (client ManagementConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ManagementConfigurationsClient) Delete

func (client ManagementConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, managementConfigurationName string) (result autorest.Response, err error)

Delete deletes the ManagementConfiguration in the subscription. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. managementConfigurationName - user Management Configuration Name.

func (ManagementConfigurationsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ManagementConfigurationsClient) DeleteResponder

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

func (client ManagementConfigurationsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (ManagementConfigurationsClient) Get

func (client ManagementConfigurationsClient) Get(ctx context.Context, resourceGroupName string, managementConfigurationName string) (result ManagementConfiguration, err error)

Get retrieves the user ManagementConfiguration. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. managementConfigurationName - user Management Configuration Name.

func (ManagementConfigurationsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ManagementConfigurationsClient) GetResponder

func (client ManagementConfigurationsClient) GetResponder(resp *http.Response) (result ManagementConfiguration, err error)

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

func (ManagementConfigurationsClient) GetSender

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

func (client ManagementConfigurationsClient) ListBySubscription(ctx context.Context) (result ManagementConfigurationPropertiesList, err error)

ListBySubscription retrieves the ManagementConfigurations list.

func (ManagementConfigurationsClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ManagementConfigurationsClient) ListBySubscriptionResponder

func (client ManagementConfigurationsClient) ListBySubscriptionResponder(resp *http.Response) (result ManagementConfigurationPropertiesList, err error)

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

func (ManagementConfigurationsClient) ListBySubscriptionSender

func (client ManagementConfigurationsClient) 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.

type Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - Display metadata associated with the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation supported operation of OperationsManagement resource provider.

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft OperationsManagement.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Type of operation: get, read, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

OperationDisplay display metadata associated with the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of solution operations supported by the OperationsManagement resource provider.
	Value *[]Operation `json:"value,omitempty"`
}

OperationListResult result of the request to list solution operations.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the operations Management Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string, providerName string, resourceType string, resourceName string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient 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 (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available OperationsManagement Rest API operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

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

type Solution

type Solution struct {
	autorest.Response `json:"-"`
	// 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"`
	// Plan - Plan for solution object supported by the OperationsManagement resource provider.
	Plan *SolutionPlan `json:"plan,omitempty"`
	// Properties - Properties for solution object supported by the OperationsManagement resource provider.
	Properties *SolutionProperties `json:"properties,omitempty"`
}

Solution the container for solution.

func (Solution) MarshalJSON

func (s Solution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Solution.

type SolutionPatch

type SolutionPatch struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

SolutionPatch the properties of a Solution that can be patched.

func (SolutionPatch) MarshalJSON

func (sp SolutionPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SolutionPatch.

type SolutionPlan

type SolutionPlan struct {
	// Name - name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
	Name *string `json:"name,omitempty"`
	// Publisher - Publisher name. For gallery solution, it is Microsoft.
	Publisher *string `json:"publisher,omitempty"`
	// PromotionCode - promotionCode, Not really used now, can you left as empty
	PromotionCode *string `json:"promotionCode,omitempty"`
	// Product - name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/<solutionType>. This is case sensitive
	Product *string `json:"product,omitempty"`
}

SolutionPlan plan for solution object supported by the OperationsManagement resource provider.

type SolutionProperties

type SolutionProperties struct {
	// WorkspaceResourceID - The azure resourceId for the workspace where the solution will be deployed/enabled.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state for the solution.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// ContainedResources - The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
	ContainedResources *[]string `json:"containedResources,omitempty"`
	// ReferencedResources - The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.
	ReferencedResources *[]string `json:"referencedResources,omitempty"`
}

SolutionProperties solution properties supported by the OperationsManagement resource provider.

type SolutionPropertiesList

type SolutionPropertiesList struct {
	autorest.Response `json:"-"`
	// Value - List of solution properties within the subscription.
	Value *[]Solution `json:"value,omitempty"`
}

SolutionPropertiesList the list of solution response

type SolutionsClient

type SolutionsClient struct {
	BaseClient
}

SolutionsClient is the operations Management Client

func NewSolutionsClient

func NewSolutionsClient(subscriptionID string, providerName string, resourceType string, resourceName string) SolutionsClient

NewSolutionsClient creates an instance of the SolutionsClient client.

func NewSolutionsClientWithBaseURI

func NewSolutionsClientWithBaseURI(baseURI string, subscriptionID string, providerName string, resourceType string, resourceName string) SolutionsClient

NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient 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 (SolutionsClient) CreateOrUpdate

func (client SolutionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, solutionName string, parameters Solution) (result SolutionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the Solution. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. solutionName - user Solution Name. parameters - the parameters required to create OMS Solution.

func (SolutionsClient) CreateOrUpdatePreparer

func (client SolutionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, parameters Solution) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SolutionsClient) CreateOrUpdateResponder

func (client SolutionsClient) CreateOrUpdateResponder(resp *http.Response) (result Solution, err error)

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

func (SolutionsClient) CreateOrUpdateSender

func (client SolutionsClient) CreateOrUpdateSender(req *http.Request) (future SolutionsCreateOrUpdateFuture, err error)

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

func (SolutionsClient) Delete

func (client SolutionsClient) Delete(ctx context.Context, resourceGroupName string, solutionName string) (result SolutionsDeleteFuture, err error)

Delete deletes the solution in the subscription. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. solutionName - user Solution Name.

func (SolutionsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (SolutionsClient) DeleteResponder

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

func (client SolutionsClient) DeleteSender(req *http.Request) (future SolutionsDeleteFuture, err error)

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

func (SolutionsClient) Get

func (client SolutionsClient) Get(ctx context.Context, resourceGroupName string, solutionName string) (result Solution, err error)

Get retrieves the user solution. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. solutionName - user Solution Name.

func (SolutionsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SolutionsClient) GetResponder

func (client SolutionsClient) GetResponder(resp *http.Response) (result Solution, err error)

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

func (SolutionsClient) GetSender

func (client SolutionsClient) 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 (SolutionsClient) ListByResourceGroup

func (client SolutionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SolutionPropertiesList, err error)

ListByResourceGroup retrieves the solution list. It will retrieve both first party and third party solutions Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive.

func (SolutionsClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SolutionsClient) ListByResourceGroupResponder

func (client SolutionsClient) ListByResourceGroupResponder(resp *http.Response) (result SolutionPropertiesList, err error)

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

func (SolutionsClient) ListByResourceGroupSender

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

func (client SolutionsClient) ListBySubscription(ctx context.Context) (result SolutionPropertiesList, err error)

ListBySubscription retrieves the solution list. It will retrieve both first party and third party solutions

func (SolutionsClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SolutionsClient) ListBySubscriptionResponder

func (client SolutionsClient) ListBySubscriptionResponder(resp *http.Response) (result SolutionPropertiesList, err error)

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

func (SolutionsClient) ListBySubscriptionSender

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

func (client SolutionsClient) Update(ctx context.Context, resourceGroupName string, solutionName string, parameters SolutionPatch) (result SolutionsUpdateFuture, err error)

Update patch a Solution. Only updating tags supported. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive. solutionName - user Solution Name. parameters - the parameters required to patch a Solution.

func (SolutionsClient) UpdatePreparer

func (client SolutionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, solutionName string, parameters SolutionPatch) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SolutionsClient) UpdateResponder

func (client SolutionsClient) UpdateResponder(resp *http.Response) (result Solution, err error)

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

func (SolutionsClient) UpdateSender

func (client SolutionsClient) UpdateSender(req *http.Request) (future SolutionsUpdateFuture, err error)

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

type SolutionsCreateOrUpdateFuture

type SolutionsCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*SolutionsCreateOrUpdateFuture) Result

func (future *SolutionsCreateOrUpdateFuture) Result(client SolutionsClient) (s Solution, err error)

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

type SolutionsDeleteFuture

type SolutionsDeleteFuture struct {
	azure.Future
}

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

func (*SolutionsDeleteFuture) Result

func (future *SolutionsDeleteFuture) Result(client SolutionsClient) (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 SolutionsUpdateFuture

type SolutionsUpdateFuture struct {
	azure.Future
}

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

func (*SolutionsUpdateFuture) Result

func (future *SolutionsUpdateFuture) Result(client SolutionsClient) (s Solution, err error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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