Documentation ¶
Overview ¶
Package analysisservices implements the Azure ARM Analysisservices service API version 2017-08-01-beta.
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
Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01-beta/analysisservices
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type ConnectionMode
- type ErrorResponse
- type GatewayDetails
- type GatewayError
- type GatewayListStatusError
- type GatewayListStatusLive
- type IPv4FirewallRule
- type IPv4FirewallSettings
- type ManagementClient
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- func (client OperationsClient) List() (result OperationListResult, err error)
- func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan Operation, <-chan error)
- func (client OperationsClient) ListNextResults(lastResults OperationListResult) (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 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) DissociateGateway(resourceGroupName string, serverName string) (result autorest.Response, err error)
- func (client ServersClient) DissociateGatewayPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) DissociateGatewayResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ServersClient) DissociateGatewaySender(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) ListGatewayStatus(resourceGroupName string, serverName string) (result GatewayListStatusLive, err error)
- func (client ServersClient) ListGatewayStatusPreparer(resourceGroupName string, serverName string) (*http.Request, error)
- func (client ServersClient) ListGatewayStatusResponder(resp *http.Response) (result GatewayListStatusLive, err error)
- func (client ServersClient) ListGatewayStatusSender(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
- type Status
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 ConnectionMode ¶
type ConnectionMode string
ConnectionMode enumerates the values for connection mode.
const ( // All specifies the all state for connection mode. All ConnectionMode = "All" // ReadOnly specifies the read only state for connection mode. ReadOnly ConnectionMode = "ReadOnly" )
type ErrorResponse ¶
type ErrorResponse struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
ErrorResponse is describes the format of Error response.
type GatewayDetails ¶
type GatewayDetails struct { GatewayResourceID *string `json:"gatewayResourceId,omitempty"` GatewayObjectID *string `json:"gatewayObjectId,omitempty"` DmtsClusterURI *string `json:"dmtsClusterUri,omitempty"` }
GatewayDetails is the gateway details.
type GatewayError ¶
type GatewayError struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
GatewayError is detail of gateway errors.
type GatewayListStatusError ¶
type GatewayListStatusError struct {
Error *GatewayError `json:"error,omitempty"`
}
GatewayListStatusError is status of gateway is error.
type GatewayListStatusLive ¶
type GatewayListStatusLive struct { autorest.Response `json:"-"` Status Status `json:"status,omitempty"` }
GatewayListStatusLive is status of gateway is live.
type IPv4FirewallRule ¶
type IPv4FirewallRule struct { FirewallRuleName *string `json:"firewallRuleName,omitempty"` RangeStart *string `json:"rangeStart,omitempty"` RangeEnd *string `json:"rangeEnd,omitempty"` }
IPv4FirewallRule is the detail of firewall rule.
type IPv4FirewallSettings ¶
type IPv4FirewallSettings struct { FirewallRules *[]IPv4FirewallRule `json:"firewallRules,omitempty"` EnablePowerBIService *string `json:"enablePowerBIService,omitempty"` }
IPv4FirewallSettings is an array of firewall rules.
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 Operation ¶
type Operation struct { Name *string `json:"name,omitempty"` Display *OperationDisplay `json:"display,omitempty"` }
Operation is a Consumption REST API operation.
type OperationDisplay ¶
type OperationDisplay struct { Provider *string `json:"provider,omitempty"` Resource *string `json:"resource,omitempty"` Operation *string `json:"operation,omitempty"` }
OperationDisplay is the object that represents the operation.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` Value *[]Operation `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
OperationListResult is result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) OperationListResultPreparer ¶
func (client OperationListResult) OperationListResultPreparer() (*http.Request, error)
OperationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type OperationsClient ¶
type OperationsClient struct {
ManagementClient
}
OperationsClient 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 NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID 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 consumption REST API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan Operation, <-chan error)
ListComplete gets all elements from the list without paging.
func (OperationsClient) ListNextResults ¶
func (client OperationsClient) ListNextResults(lastResults OperationListResult) (result OperationListResult, err error)
ListNextResults retrieves the next set of results, if any.
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 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"` Capacity *int32 `json:"capacity,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"` GatewayDetails *GatewayDetails `json:"gatewayDetails,omitempty"` IPV4FirewallSettings *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"` QuerypoolConnectionMode ConnectionMode `json:"querypoolConnectionMode,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"` GatewayDetails *GatewayDetails `json:"gatewayDetails,omitempty"` IPV4FirewallSettings *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"` QuerypoolConnectionMode ConnectionMode `json:"querypoolConnectionMode,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) DissociateGateway ¶
func (client ServersClient) DissociateGateway(resourceGroupName string, serverName string) (result autorest.Response, err error)
DissociateGateway dissociates a Unified Gateway associated with the 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 at least 3 characters in length, and no more than 63.
func (ServersClient) DissociateGatewayPreparer ¶
func (client ServersClient) DissociateGatewayPreparer(resourceGroupName string, serverName string) (*http.Request, error)
DissociateGatewayPreparer prepares the DissociateGateway request.
func (ServersClient) DissociateGatewayResponder ¶
func (client ServersClient) DissociateGatewayResponder(resp *http.Response) (result autorest.Response, err error)
DissociateGatewayResponder handles the response to the DissociateGateway request. The method always closes the http.Response Body.
func (ServersClient) DissociateGatewaySender ¶
DissociateGatewaySender sends the DissociateGateway 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) ListGatewayStatus ¶
func (client ServersClient) ListGatewayStatus(resourceGroupName string, serverName string) (result GatewayListStatusLive, err error)
ListGatewayStatus return the gateway status of the specified Analysis Services server instance.
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.
func (ServersClient) ListGatewayStatusPreparer ¶
func (client ServersClient) ListGatewayStatusPreparer(resourceGroupName string, serverName string) (*http.Request, error)
ListGatewayStatusPreparer prepares the ListGatewayStatus request.
func (ServersClient) ListGatewayStatusResponder ¶
func (client ServersClient) ListGatewayStatusResponder(resp *http.Response) (result GatewayListStatusLive, err error)
ListGatewayStatusResponder handles the response to the ListGatewayStatus request. The method always closes the http.Response Body.
func (ServersClient) ListGatewayStatusSender ¶
ListGatewayStatusSender sends the ListGatewayStatus 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" )