Documentation ¶
Overview ¶
Package operationsmanagement implements the Azure ARM Operationsmanagement service API version 2015-11-01-preview.
Operations Management Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type CodeMessageError
- type CodeMessageErrorError
- type ManagementClient
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- func (client OperationsClient) List() (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer() (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Solution
- type SolutionPlan
- type SolutionProperties
- type SolutionPropertiesList
- type SolutionsClient
- func (client SolutionsClient) CreateOrUpdate(resourceGroupName string, parameters Solution) (result Solution, err error)
- func (client SolutionsClient) CreateOrUpdatePreparer(resourceGroupName string, parameters Solution) (*http.Request, error)
- func (client SolutionsClient) CreateOrUpdateResponder(resp *http.Response) (result Solution, err error)
- func (client SolutionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SolutionsClient) Delete(resourceGroupName string) (result autorest.Response, err error)
- func (client SolutionsClient) DeletePreparer(resourceGroupName string) (*http.Request, error)
- func (client SolutionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SolutionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SolutionsClient) Get(resourceGroupName string) (result Solution, err error)
- func (client SolutionsClient) GetPreparer(resourceGroupName string) (*http.Request, error)
- func (client SolutionsClient) GetResponder(resp *http.Response) (result Solution, err error)
- func (client SolutionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SolutionsClient) ListByResourceGroup(resourceGroupName string) (result SolutionPropertiesList, err error)
- func (client SolutionsClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client SolutionsClient) ListByResourceGroupResponder(resp *http.Response) (result SolutionPropertiesList, err error)
- func (client SolutionsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SolutionsClient) ListBySubscription() (result SolutionPropertiesList, err error)
- func (client SolutionsClient) ListBySubscriptionPreparer() (*http.Request, error)
- func (client SolutionsClient) ListBySubscriptionResponder(resp *http.Response) (result SolutionPropertiesList, err error)
- func (client SolutionsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
Constants ¶
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 CodeMessageError ¶
type CodeMessageError struct {
Error *CodeMessageErrorError `json:"error,omitempty"`
}
CodeMessageError is the error body contract.
type CodeMessageErrorError ¶
type CodeMessageErrorError struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
CodeMessageErrorError is the error details for a failed request.
type ManagementClient ¶
type ManagementClient struct { autorest.Client BaseURI string SubscriptionID string SolutionName string }
ManagementClient is the base client for Operationsmanagement.
func New ¶
func New(subscriptionID string, solutionName string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string, solutionName string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type Operation ¶
type Operation struct { Name *string `json:"name,omitempty"` Display *OperationDisplay `json:"display,omitempty"` }
Operation is supported operation of OperationsManagement resource provider.
type OperationDisplay ¶
type OperationDisplay struct { Provider *string `json:"provider,omitempty"` Resource *string `json:"resource,omitempty"` Operation *string `json:"operation,omitempty"` }
OperationDisplay is display metadata associated with the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` Value *[]Operation `json:"value,omitempty"` }
OperationListResult is result of the request to list solution operations.
type OperationsClient ¶
type OperationsClient struct {
ManagementClient
}
OperationsClient is the operations Management Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string, solutionName string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, solutionName string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List() (result OperationListResult, err error)
List lists all of the available OperationsManagement Rest API operations.
func (OperationsClient) ListPreparer ¶
func (client OperationsClient) ListPreparer() (*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 ¶
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 *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Plan *SolutionPlan `json:"plan,omitempty"` Properties *SolutionProperties `json:"properties,omitempty"` }
Solution is the container for solution.
type SolutionPlan ¶
type SolutionPlan struct { Name *string `json:"name,omitempty"` Publisher *string `json:"publisher,omitempty"` PromotionCode *string `json:"promotionCode,omitempty"` Product *string `json:"product,omitempty"` }
SolutionPlan is plan for solution object supported by the OperationsManagement resource provider.
type SolutionProperties ¶
type SolutionProperties struct { WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ContainedResources *[]string `json:"containedResources,omitempty"` ReferencedResources *[]string `json:"referencedResources,omitempty"` }
SolutionProperties is solution properties supported by the OperationsManagement resource provider.
type SolutionPropertiesList ¶
type SolutionPropertiesList struct { autorest.Response `json:"-"` Value *[]Solution `json:"value,omitempty"` }
SolutionPropertiesList is the list of solution response
type SolutionsClient ¶
type SolutionsClient struct {
ManagementClient
}
SolutionsClient is the operations Management Client
func NewSolutionsClient ¶
func NewSolutionsClient(subscriptionID string, solutionName string) SolutionsClient
NewSolutionsClient creates an instance of the SolutionsClient client.
func NewSolutionsClientWithBaseURI ¶
func NewSolutionsClientWithBaseURI(baseURI string, subscriptionID string, solutionName string) SolutionsClient
NewSolutionsClientWithBaseURI creates an instance of the SolutionsClient client.
func (SolutionsClient) CreateOrUpdate ¶
func (client SolutionsClient) CreateOrUpdate(resourceGroupName string, parameters Solution) (result Solution, err error)
CreateOrUpdate creates or updates the Solution.
resourceGroupName is the name of the resource group to get. The name is case insensitive. parameters is the parameters required to create OMS Solution.
func (SolutionsClient) CreateOrUpdatePreparer ¶
func (client SolutionsClient) CreateOrUpdatePreparer(resourceGroupName 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 ¶
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(resourceGroupName string) (result autorest.Response, err error)
Delete deletes the solution in the subscription.
resourceGroupName is the name of the resource group to get. The name is case insensitive.
func (SolutionsClient) DeletePreparer ¶
func (client SolutionsClient) DeletePreparer(resourceGroupName 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 ¶
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(resourceGroupName string) (result Solution, err error)
Get retrieves the user solution.
resourceGroupName is the name of the resource group to get. The name is case insensitive.
func (SolutionsClient) GetPreparer ¶
func (client SolutionsClient) GetPreparer(resourceGroupName 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 ¶
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(resourceGroupName string) (result SolutionPropertiesList, err error)
ListByResourceGroup retrieves the solution list. It will retrieve both first party and third party solutions
resourceGroupName is the name of the resource group to get. The name is case insensitive.
func (SolutionsClient) ListByResourceGroupPreparer ¶
func (client SolutionsClient) ListByResourceGroupPreparer(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 ¶
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() (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() (*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 ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.