Documentation ¶
Overview ¶
Package analysisservices implements the Azure ARM Analysisservices service API version 2016-05-16.
The Azure Analysis Services Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Analysis Services servers
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type ManagementClient
- type ProvisioningState
- type Resource
- type ResourceSku
- type Server
- type ServerAdministrators
- type ServerMutableProperties
- type ServerProperties
- type ServerUpdateParameters
- type Servers
- type ServersClient
- func (client ServersClient) Create(resourceGroupName string, serverName string, serverParameters Server, ...) (<-chan Server, <-chan error)
- func (client ServersClient) CreatePreparer(resourceGroupName string, serverName string, serverParameters Server, ...) (*http.Request, error)
- func (client ServersClient) CreateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Delete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client ServersClient) DeletePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
- func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) GetDetails(resourceGroupName string, serverName string) (result Server, err error)
- func (client ServersClient) GetDetailsPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) GetDetailsResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) GetDetailsSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) List() (result Servers, err error)
- func (client ServersClient) ListByResourceGroup(resourceGroupName string) (result Servers, err error)
- func (client ServersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result Servers, err error)
- func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) ListPreparer() (*http.Request, error)
- func (client ServersClient) ListResponder(resp *http.Response) (result Servers, err error)
- func (client ServersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) ListSkusForExisting(resourceGroupName string, serverName string) (result SkuEnumerationForExistingResourceResult, err error)
- func (client ServersClient) ListSkusForExistingPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) ListSkusForExistingResponder(resp *http.Response) (result SkuEnumerationForExistingResourceResult, err error)
- func (client ServersClient) ListSkusForExistingSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) ListSkusForNew() (result SkuEnumerationForNewResourceResult, err error)
- func (client ServersClient) ListSkusForNewPreparer() (*http.Request, error)
- func (client ServersClient) ListSkusForNewResponder(resp *http.Response) (result SkuEnumerationForNewResourceResult, err error)
- func (client ServersClient) ListSkusForNewSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Resume(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client ServersClient) ResumePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
- func (client ServersClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) ResumeSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Suspend(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
- func (client ServersClient) SuspendPreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
- func (client ServersClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) SuspendSender(req *http.Request) (*http.Response, error)
- func (client ServersClient) Update(resourceGroupName string, serverName string, ...) (<-chan Server, <-chan error)
- func (client ServersClient) UpdatePreparer(resourceGroupName string, serverName string, ...) (*http.Request, error)
- func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
- func (client ServersClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SkuDetailsForExistingResource
- type SkuEnumerationForExistingResourceResult
- type SkuEnumerationForNewResourceResult
- type SkuTier
- type State
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Analysisservices
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 ManagementClient ¶
ManagementClient is the base client for Analysisservices.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // Deleting specifies the deleting state for provisioning state. Deleting ProvisioningState = "Deleting" // Failed specifies the failed state for provisioning state. Failed ProvisioningState = "Failed" // Paused specifies the paused state for provisioning state. Paused ProvisioningState = "Paused" // Pausing specifies the pausing state for provisioning state. Pausing ProvisioningState = "Pausing" // Preparing specifies the preparing state for provisioning state. Preparing ProvisioningState = "Preparing" // Provisioning specifies the provisioning state for provisioning state. Provisioning ProvisioningState = "Provisioning" // Resuming specifies the resuming state for provisioning state. Resuming ProvisioningState = "Resuming" // Scaling specifies the scaling state for provisioning state. Scaling ProvisioningState = "Scaling" // Succeeded specifies the succeeded state for provisioning state. Succeeded ProvisioningState = "Succeeded" // Suspended specifies the suspended state for provisioning state. Suspended ProvisioningState = "Suspended" // Suspending specifies the suspending state for provisioning state. Suspending ProvisioningState = "Suspending" // Updating specifies the updating state for provisioning state. Updating ProvisioningState = "Updating" )
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
Resource is represents an instance of an Analysis Services resource.
type ResourceSku ¶
type ResourceSku struct { Name *string `json:"name,omitempty"` Tier SkuTier `json:"tier,omitempty"` }
ResourceSku is represents the SKU name and Azure pricing tier for Analysis Services resource.
type Server ¶
type Server struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *ServerProperties `json:"properties,omitempty"` }
Server is represents an instance of an Analysis Services resource.
type ServerAdministrators ¶
type ServerAdministrators struct {
Members *[]string `json:"members,omitempty"`
}
ServerAdministrators is an array of administrator user identities
type ServerMutableProperties ¶
type ServerMutableProperties struct { AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"` }
ServerMutableProperties is an object that represents a set of mutable Analysis Services resource properties.
type ServerProperties ¶
type ServerProperties struct { AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"` State State `json:"state,omitempty"` ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` ServerFullName *string `json:"serverFullName,omitempty"` }
ServerProperties is properties of Analysis Services resource.
type ServerUpdateParameters ¶
type ServerUpdateParameters struct { Sku *ResourceSku `json:"sku,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *ServerMutableProperties `json:"properties,omitempty"` }
ServerUpdateParameters is provision request specification
type ServersClient ¶
type ServersClient struct {
ManagementClient
}
ServersClient is the the Azure Analysis Services Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Analysis Services servers
func NewServersClient ¶
func NewServersClient(subscriptionID string) ServersClient
NewServersClient creates an instance of the ServersClient client.
func NewServersClientWithBaseURI ¶
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient
NewServersClientWithBaseURI creates an instance of the ServersClient client.
func (ServersClient) Create ¶
func (client ServersClient) Create(resourceGroupName string, serverName string, serverParameters Server, cancel <-chan struct{}) (<-chan Server, <-chan error)
Create provisions the specified Analysis Services server based on the configuration specified in the request. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63. serverParameters is contains the information used to provision the Analysis Services server.
func (ServersClient) CreatePreparer ¶
func (client ServersClient) CreatePreparer(resourceGroupName string, serverName string, serverParameters Server, cancel <-chan struct{}) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ServersClient) CreateResponder ¶
func (client ServersClient) CreateResponder(resp *http.Response) (result Server, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (ServersClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Delete ¶
func (client ServersClient) Delete(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Delete deletes the specified Analysis Services server. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (ServersClient) DeletePreparer ¶
func (client ServersClient) DeletePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ServersClient) DeleteResponder ¶
func (client ServersClient) 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 (ServersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ServersClient) GetDetails ¶
func (client ServersClient) GetDetails(resourceGroupName string, serverName string) (result Server, err error)
GetDetails gets details about the specified Analysis Services server.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.
func (ServersClient) GetDetailsPreparer ¶
func (client ServersClient) GetDetailsPreparer(resourceGroupName string, serverName string) (*http.Request, error)
GetDetailsPreparer prepares the GetDetails request.
func (ServersClient) GetDetailsResponder ¶
func (client ServersClient) GetDetailsResponder(resp *http.Response) (result Server, err error)
GetDetailsResponder handles the response to the GetDetails request. The method always closes the http.Response Body.
func (ServersClient) GetDetailsSender ¶
GetDetailsSender sends the GetDetails request. The method will close the http.Response Body if it receives an error.
func (ServersClient) List ¶
func (client ServersClient) List() (result Servers, err error)
List lists all the Analysis Services servers for the given subscription.
func (ServersClient) ListByResourceGroup ¶
func (client ServersClient) ListByResourceGroup(resourceGroupName string) (result Servers, err error)
ListByResourceGroup gets all the Analysis Services servers for the given resource group.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90.
func (ServersClient) ListByResourceGroupPreparer ¶
func (client ServersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ServersClient) ListByResourceGroupResponder ¶
func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result Servers, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ServersClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ServersClient) ListPreparer ¶
func (client ServersClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (ServersClient) ListResponder ¶
func (client ServersClient) ListResponder(resp *http.Response) (result Servers, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ServersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ServersClient) ListSkusForExisting ¶
func (client ServersClient) ListSkusForExisting(resourceGroupName string, serverName string) (result SkuEnumerationForExistingResourceResult, err error)
ListSkusForExisting lists eligible SKUs for an Analysis Services resource.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (ServersClient) ListSkusForExistingPreparer ¶
func (client ServersClient) ListSkusForExistingPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListSkusForExistingPreparer prepares the ListSkusForExisting request.
func (ServersClient) ListSkusForExistingResponder ¶
func (client ServersClient) ListSkusForExistingResponder(resp *http.Response) (result SkuEnumerationForExistingResourceResult, err error)
ListSkusForExistingResponder handles the response to the ListSkusForExisting request. The method always closes the http.Response Body.
func (ServersClient) ListSkusForExistingSender ¶
ListSkusForExistingSender sends the ListSkusForExisting request. The method will close the http.Response Body if it receives an error.
func (ServersClient) ListSkusForNew ¶
func (client ServersClient) ListSkusForNew() (result SkuEnumerationForNewResourceResult, err error)
ListSkusForNew lists eligible SKUs for Analysis Services resource provider.
func (ServersClient) ListSkusForNewPreparer ¶
func (client ServersClient) ListSkusForNewPreparer() (*http.Request, error)
ListSkusForNewPreparer prepares the ListSkusForNew request.
func (ServersClient) ListSkusForNewResponder ¶
func (client ServersClient) ListSkusForNewResponder(resp *http.Response) (result SkuEnumerationForNewResourceResult, err error)
ListSkusForNewResponder handles the response to the ListSkusForNew request. The method always closes the http.Response Body.
func (ServersClient) ListSkusForNewSender ¶
ListSkusForNewSender sends the ListSkusForNew request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Resume ¶
func (client ServersClient) Resume(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Resume resumes operation of the specified Analysis Services server instance. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (ServersClient) ResumePreparer ¶
func (client ServersClient) ResumePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
ResumePreparer prepares the Resume request.
func (ServersClient) ResumeResponder ¶
func (client ServersClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)
ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.
func (ServersClient) ResumeSender ¶
ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Suspend ¶
func (client ServersClient) Suspend(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)
Suspend supends operation of the specified Analysis Services server instance. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (ServersClient) SuspendPreparer ¶
func (client ServersClient) SuspendPreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)
SuspendPreparer prepares the Suspend request.
func (ServersClient) SuspendResponder ¶
func (client ServersClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)
SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.
func (ServersClient) SuspendSender ¶
SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.
func (ServersClient) Update ¶
func (client ServersClient) Update(resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters, cancel <-chan struct{}) (<-chan Server, <-chan error)
Update updates the current state of the specified Analysis Services server. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName is the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63. serverUpdateParameters is request object that contains the updated information for the server.
func (ServersClient) UpdatePreparer ¶
func (client ServersClient) UpdatePreparer(resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ServersClient) UpdateResponder ¶
func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ServersClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SkuDetailsForExistingResource ¶
type SkuDetailsForExistingResource struct {
Sku *ResourceSku `json:"sku,omitempty"`
}
SkuDetailsForExistingResource is an object that represents SKU details for existing resources
type SkuEnumerationForExistingResourceResult ¶
type SkuEnumerationForExistingResourceResult struct { autorest.Response `json:"-"` Value *[]SkuDetailsForExistingResource `json:"value,omitempty"` }
SkuEnumerationForExistingResourceResult is an object that represents enumerating SKUs for existing resources
type SkuEnumerationForNewResourceResult ¶
type SkuEnumerationForNewResourceResult struct { autorest.Response `json:"-"` Value *[]ResourceSku `json:"value,omitempty"` }
SkuEnumerationForNewResourceResult is an object that represents enumerating SKUs for new resources
type State ¶
type State string
State enumerates the values for state.
const ( // StateDeleting specifies the state deleting state for state. StateDeleting State = "Deleting" // StateFailed specifies the state failed state for state. StateFailed State = "Failed" // StatePaused specifies the state paused state for state. StatePaused State = "Paused" // StatePausing specifies the state pausing state for state. StatePausing State = "Pausing" // StatePreparing specifies the state preparing state for state. StatePreparing State = "Preparing" // StateProvisioning specifies the state provisioning state for state. StateProvisioning State = "Provisioning" // StateResuming specifies the state resuming state for state. StateResuming State = "Resuming" // StateScaling specifies the state scaling state for state. StateScaling State = "Scaling" // StateSucceeded specifies the state succeeded state for state. StateSucceeded State = "Succeeded" // StateSuspended specifies the state suspended state for state. StateSuspended State = "Suspended" // StateSuspending specifies the state suspending state for state. StateSuspending State = "Suspending" // StateUpdating specifies the state updating state for state. StateUpdating State = "Updating" )