const ( // DefaultBaseURI is the default URI used for the service Analysisservices DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
BaseClient is the base client for Analysisservices.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID 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).
CheckServerNameAvailabilityParameters details of server name request body.
type CheckServerNameAvailabilityParameters struct { // Name - Name for checking availability. Name *string `json:"name,omitempty"` // Type - The resource type of azure analysis services. Type *string `json:"type,omitempty"` }
CheckServerNameAvailabilityResult the checking result of server name availability.
type CheckServerNameAvailabilityResult struct { autorest.Response `json:"-"` // NameAvailable - Indicator of available of the server name. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - The reason of unavailability. Reason *string `json:"reason,omitempty"` // Message - The detailed message of the request unavailability. Message *string `json:"message,omitempty"` }
ConnectionMode enumerates the values for connection mode.
type ConnectionMode string
const ( // All ... All ConnectionMode = "All" // ReadOnly ... ReadOnly ConnectionMode = "ReadOnly" )
func PossibleConnectionModeValues() []ConnectionMode
PossibleConnectionModeValues returns an array of possible values for the ConnectionMode const type.
ErrorResponse describes the format of Error response.
type ErrorResponse struct { // Code - Error code Code *string `json:"code,omitempty"` // Message - Error message indicating why the operation failed. Message *string `json:"message,omitempty"` }
GatewayDetails the gateway details.
type GatewayDetails struct { // GatewayResourceID - Gateway resource to be associated with the server. GatewayResourceID *string `json:"gatewayResourceId,omitempty"` // GatewayObjectID - READ-ONLY; Gateway object id from in the DMTS cluster for the gateway resource. GatewayObjectID *string `json:"gatewayObjectId,omitempty"` // DmtsClusterURI - READ-ONLY; Uri of the DMTS cluster. DmtsClusterURI *string `json:"dmtsClusterUri,omitempty"` }
func (gd GatewayDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GatewayDetails.
GatewayError detail of gateway errors.
type GatewayError struct { // Code - Error code of list gateway. Code *string `json:"code,omitempty"` // Message - Error message of list gateway. Message *string `json:"message,omitempty"` }
GatewayListStatusError status of gateway is error.
type GatewayListStatusError struct { // Error - Error of the list gateway status. Error *GatewayError `json:"error,omitempty"` }
GatewayListStatusLive status of gateway is live.
type GatewayListStatusLive struct { autorest.Response `json:"-"` // Status - Live message of list gateway. Possible values include: 'Live' Status Status `json:"status,omitempty"` }
IPv4FirewallRule the detail of firewall rule.
type IPv4FirewallRule struct { // FirewallRuleName - The rule name. FirewallRuleName *string `json:"firewallRuleName,omitempty"` // RangeStart - The start range of IPv4. RangeStart *string `json:"rangeStart,omitempty"` // RangeEnd - The end range of IPv4. RangeEnd *string `json:"rangeEnd,omitempty"` }
IPv4FirewallSettings an array of firewall rules.
type IPv4FirewallSettings struct { // FirewallRules - An array of firewall rules. FirewallRules *[]IPv4FirewallRule `json:"firewallRules,omitempty"` // EnablePowerBIService - The indicator of enabling PBI service. EnablePowerBIService *bool `json:"enablePowerBIService,omitempty"` }
Operation a Consumption REST API operation.
type Operation struct { // Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // Display - The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` }
func (o Operation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Operation.
OperationDisplay the object that represents the operation.
type OperationDisplay struct { // Provider - READ-ONLY; Service provider: Microsoft.Consumption. Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; Resource on which the operation is performed: UsageDetail, etc. Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty"` }
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
OperationListResult result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.
type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of analysis services operations supported by the Microsoft.AnalysisServices resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
OperationListResultIterator provides access to a complete listing of Operation values.
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
OperationListResultPage contains a page of Operation values.
type OperationListResultPage struct {
// contains filtered or unexported fields
}
func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
OperationStatus the status of operation.
type OperationStatus struct { autorest.Response `json:"-"` // ID - The operation Id. ID *string `json:"id,omitempty"` // Name - The operation name. Name *string `json:"name,omitempty"` // StartTime - The start time of the operation. StartTime *string `json:"startTime,omitempty"` // EndTime - The end time of the operation. EndTime *string `json:"endTime,omitempty"` // Status - The status of the operation. Status *string `json:"status,omitempty"` // Error - The error detail of the operation if any. Error *ErrorResponse `json:"error,omitempty"` }
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
type OperationsClient struct { BaseClient }
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID 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 (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available consumption REST API operations.
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (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.
ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const ( // Deleting ... Deleting ProvisioningState = "Deleting" // Failed ... Failed ProvisioningState = "Failed" // Paused ... Paused ProvisioningState = "Paused" // Pausing ... Pausing ProvisioningState = "Pausing" // Preparing ... Preparing ProvisioningState = "Preparing" // Provisioning ... Provisioning ProvisioningState = "Provisioning" // Resuming ... Resuming ProvisioningState = "Resuming" // Scaling ... Scaling ProvisioningState = "Scaling" // Succeeded ... Succeeded ProvisioningState = "Succeeded" // Suspended ... Suspended ProvisioningState = "Suspended" // Suspending ... Suspending ProvisioningState = "Suspending" // Updating ... Updating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
Resource represents an instance of an Analysis Services resource.
type Resource struct { // ID - READ-ONLY; An identifier that represents the Analysis Services resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the Analysis Services resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the Analysis Services resource. Type *string `json:"type,omitempty"` // Location - Location of the Analysis Services resource. Location *string `json:"location,omitempty"` // Sku - The SKU of the Analysis Services resource. Sku *ResourceSku `json:"sku,omitempty"` // Tags - Key-value pairs of additional resource provisioning properties. Tags map[string]*string `json:"tags"` }
func (r Resource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Resource.
ResourceSku represents the SKU name and Azure pricing tier for Analysis Services resource.
type ResourceSku struct { // Name - Name of the SKU level. Name *string `json:"name,omitempty"` // Tier - The name of the Azure pricing tier to which the SKU applies. Possible values include: 'Development', 'Basic', 'Standard' Tier SkuTier `json:"tier,omitempty"` // Capacity - The number of instances in the read only query pool. Capacity *int32 `json:"capacity,omitempty"` }
Server represents an instance of an Analysis Services resource.
type Server struct { autorest.Response `json:"-"` // ServerProperties - Properties of the provision operation request. *ServerProperties `json:"properties,omitempty"` // ID - READ-ONLY; An identifier that represents the Analysis Services resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the Analysis Services resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the Analysis Services resource. Type *string `json:"type,omitempty"` // Location - Location of the Analysis Services resource. Location *string `json:"location,omitempty"` // Sku - The SKU of the Analysis Services resource. Sku *ResourceSku `json:"sku,omitempty"` // Tags - Key-value pairs of additional resource provisioning properties. Tags map[string]*string `json:"tags"` }
func (s Server) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Server.
func (s *Server) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for Server struct.
ServerAdministrators an array of administrator user identities.
type ServerAdministrators struct { // Members - An array of administrator user identities. Members *[]string `json:"members,omitempty"` }
ServerMutableProperties an object that represents a set of mutable Analysis Services resource properties.
type ServerMutableProperties struct { // AsAdministrators - A collection of AS server administrators AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` // BackupBlobContainerURI - The SAS container URI to the backup container. BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"` // GatewayDetails - The gateway details configured for the AS server. GatewayDetails *GatewayDetails `json:"gatewayDetails,omitempty"` // IPV4FirewallSettings - The firewall settings for the AS server. IPV4FirewallSettings *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"` // QuerypoolConnectionMode - How the read-write server's participation in the query pool is controlled.<br/>It can have the following values: <ul><li>readOnly - indicates that the read-write server is intended not to participate in query operations</li><li>all - indicates that the read-write server can participate in query operations</li></ul>Specifying readOnly when capacity is 1 results in error. Possible values include: 'All', 'ReadOnly' QuerypoolConnectionMode ConnectionMode `json:"querypoolConnectionMode,omitempty"` }
ServerProperties properties of Analysis Services resource.
type ServerProperties struct { // State - READ-ONLY; The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning. Possible values include: 'StateDeleting', 'StateSucceeded', 'StateFailed', 'StatePaused', 'StateSuspended', 'StateProvisioning', 'StateUpdating', 'StateSuspending', 'StatePausing', 'StateResuming', 'StatePreparing', 'StateScaling' State State `json:"state,omitempty"` // ProvisioningState - READ-ONLY; The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning. Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ServerFullName - READ-ONLY; The full name of the Analysis Services resource. ServerFullName *string `json:"serverFullName,omitempty"` // AsAdministrators - A collection of AS server administrators AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"` // BackupBlobContainerURI - The SAS container URI to the backup container. BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"` // GatewayDetails - The gateway details configured for the AS server. GatewayDetails *GatewayDetails `json:"gatewayDetails,omitempty"` // IPV4FirewallSettings - The firewall settings for the AS server. IPV4FirewallSettings *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"` // QuerypoolConnectionMode - How the read-write server's participation in the query pool is controlled.<br/>It can have the following values: <ul><li>readOnly - indicates that the read-write server is intended not to participate in query operations</li><li>all - indicates that the read-write server can participate in query operations</li></ul>Specifying readOnly when capacity is 1 results in error. Possible values include: 'All', 'ReadOnly' QuerypoolConnectionMode ConnectionMode `json:"querypoolConnectionMode,omitempty"` }
func (sp ServerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerProperties.
ServerUpdateParameters provision request specification
type ServerUpdateParameters struct { // Sku - The SKU of the Analysis Services resource. Sku *ResourceSku `json:"sku,omitempty"` // Tags - Key-value pairs of additional provisioning properties. Tags map[string]*string `json:"tags"` // ServerMutableProperties - Properties of the provision operation request. *ServerMutableProperties `json:"properties,omitempty"` }
func (sup ServerUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServerUpdateParameters.
func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServerUpdateParameters struct.
Servers an array of Analysis Services resources.
type Servers struct { autorest.Response `json:"-"` // Value - An array of Analysis Services resources. Value *[]Server `json:"value,omitempty"` }
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
type ServersClient struct { BaseClient }
func NewServersClient(subscriptionID string) ServersClient
NewServersClient creates an instance of the ServersClient client.
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient
NewServersClientWithBaseURI creates an instance of the ServersClient 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 (client ServersClient) CheckNameAvailability(ctx context.Context, location string, serverParameters CheckServerNameAvailabilityParameters) (result CheckServerNameAvailabilityResult, err error)
CheckNameAvailability check the name availability in the target location. Parameters: location - the region name which the operation will lookup into. serverParameters - contains the information used to provision the Analysis Services server.
func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, serverParameters CheckServerNameAvailabilityParameters) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (client ServersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckServerNameAvailabilityResult, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) Create(ctx context.Context, resourceGroupName string, serverName string, serverParameters Server) (result ServersCreateFuture, err error)
Create provisions the specified Analysis Services server based on the configuration specified in the request. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63. serverParameters - contains the information used to provision the Analysis Services server.
func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, serverParameters Server) (*http.Request, error)
CreatePreparer prepares the Create request.
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 (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error)
Delete deletes the specified Analysis Services server. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) DissociateGateway(ctx context.Context, resourceGroupName string, serverName string) (result autorest.Response, err error)
DissociateGateway dissociates a Unified Gateway associated with the server. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (client ServersClient) DissociateGatewayPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
DissociateGatewayPreparer prepares the DissociateGateway request.
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 (client ServersClient) DissociateGatewaySender(req *http.Request) (*http.Response, error)
DissociateGatewaySender sends the DissociateGateway request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) GetDetails(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error)
GetDetails gets details about the specified Analysis Services server. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.
func (client ServersClient) GetDetailsPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
GetDetailsPreparer prepares the GetDetails request.
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 (client ServersClient) GetDetailsSender(req *http.Request) (*http.Response, error)
GetDetailsSender sends the GetDetails request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) List(ctx context.Context) (result Servers, err error)
List lists all the Analysis Services servers for the given subscription.
func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result Servers, err error)
ListByResourceGroup gets all the Analysis Services servers for the given resource group. Parameters: resourceGroupName - 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 (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
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 (client ServersClient) 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 (client ServersClient) ListGatewayStatus(ctx context.Context, resourceGroupName string, serverName string) (result GatewayListStatusLive, err error)
ListGatewayStatus return the gateway status of the specified Analysis Services server instance. Parameters: resourceGroupName - 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 - the name of the Analysis Services server.
func (client ServersClient) ListGatewayStatusPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListGatewayStatusPreparer prepares the ListGatewayStatus request.
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 (client ServersClient) ListGatewayStatusSender(req *http.Request) (*http.Response, error)
ListGatewayStatusSender sends the ListGatewayStatus request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) ListOperationResults(ctx context.Context, location string, operationID string) (result autorest.Response, err error)
ListOperationResults list the result of the specified operation. Parameters: location - the region name which the operation will lookup into. operationID - the target operation Id.
func (client ServersClient) ListOperationResultsPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)
ListOperationResultsPreparer prepares the ListOperationResults request.
func (client ServersClient) ListOperationResultsResponder(resp *http.Response) (result autorest.Response, err error)
ListOperationResultsResponder handles the response to the ListOperationResults request. The method always closes the http.Response Body.
func (client ServersClient) ListOperationResultsSender(req *http.Request) (*http.Response, error)
ListOperationResultsSender sends the ListOperationResults request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) ListOperationStatuses(ctx context.Context, location string, operationID string) (result OperationStatus, err error)
ListOperationStatuses list the status of operation. Parameters: location - the region name which the operation will lookup into. operationID - the target operation Id.
func (client ServersClient) ListOperationStatusesPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)
ListOperationStatusesPreparer prepares the ListOperationStatuses request.
func (client ServersClient) ListOperationStatusesResponder(resp *http.Response) (result OperationStatus, err error)
ListOperationStatusesResponder handles the response to the ListOperationStatuses request. The method always closes the http.Response Body.
func (client ServersClient) ListOperationStatusesSender(req *http.Request) (*http.Response, error)
ListOperationStatusesSender sends the ListOperationStatuses request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (client ServersClient) 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.
func (client ServersClient) ListSkusForExisting(ctx context.Context, resourceGroupName string, serverName string) (result SkuEnumerationForExistingResourceResult, err error)
ListSkusForExisting lists eligible SKUs for an Analysis Services resource. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (client ServersClient) ListSkusForExistingPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ListSkusForExistingPreparer prepares the ListSkusForExisting request.
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 (client ServersClient) ListSkusForExistingSender(req *http.Request) (*http.Response, error)
ListSkusForExistingSender sends the ListSkusForExisting request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) ListSkusForNew(ctx context.Context) (result SkuEnumerationForNewResourceResult, err error)
ListSkusForNew lists eligible SKUs for Analysis Services resource provider.
func (client ServersClient) ListSkusForNewPreparer(ctx context.Context) (*http.Request, error)
ListSkusForNewPreparer prepares the ListSkusForNew request.
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 (client ServersClient) ListSkusForNewSender(req *http.Request) (*http.Response, error)
ListSkusForNewSender sends the ListSkusForNew request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) Resume(ctx context.Context, resourceGroupName string, serverName string) (result ServersResumeFuture, err error)
Resume resumes operation of the specified Analysis Services server instance. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (client ServersClient) ResumePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
ResumePreparer prepares the Resume request.
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 (client ServersClient) ResumeSender(req *http.Request) (future ServersResumeFuture, err error)
ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) Suspend(ctx context.Context, resourceGroupName string, serverName string) (result ServersSuspendFuture, err error)
Suspend suspends operation of the specified Analysis Services server instance. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
func (client ServersClient) SuspendPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)
SuspendPreparer prepares the Suspend request.
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 (client ServersClient) SuspendSender(req *http.Request) (future ServersSuspendFuture, err error)
SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.
func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters) (result ServersUpdateFuture, err error)
Update updates the current state of the specified Analysis Services server. Parameters: resourceGroupName - 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 - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63. serverUpdateParameters - request object that contains the updated information for the server.
func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (Server, error) }
func (future *ServersCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
func (future *ServersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServersResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersResumeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
func (future *ServersResumeFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServersSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersSuspendFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (autorest.Response, error) }
func (future *ServersSuspendFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type ServersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ServersClient) (Server, error) }
func (future *ServersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
SkuDetailsForExistingResource an object that represents SKU details for existing resources.
type SkuDetailsForExistingResource struct { // Sku - The SKU in SKU details for existing resources. Sku *ResourceSku `json:"sku,omitempty"` }
SkuEnumerationForExistingResourceResult an object that represents enumerating SKUs for existing resources.
type SkuEnumerationForExistingResourceResult struct { autorest.Response `json:"-"` // Value - The collection of available SKUs for existing resources. Value *[]SkuDetailsForExistingResource `json:"value,omitempty"` }
SkuEnumerationForNewResourceResult an object that represents enumerating SKUs for new resources.
type SkuEnumerationForNewResourceResult struct { autorest.Response `json:"-"` // Value - The collection of available SKUs for new resources. Value *[]ResourceSku `json:"value,omitempty"` }
SkuTier enumerates the values for sku tier.
type SkuTier string
const ( // Basic ... Basic SkuTier = "Basic" // Development ... Development SkuTier = "Development" // Standard ... Standard SkuTier = "Standard" )
func PossibleSkuTierValues() []SkuTier
PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
State enumerates the values for state.
type State string
const ( // StateDeleting ... StateDeleting State = "Deleting" // StateFailed ... StateFailed State = "Failed" // StatePaused ... StatePaused State = "Paused" // StatePausing ... StatePausing State = "Pausing" // StatePreparing ... StatePreparing State = "Preparing" // StateProvisioning ... StateProvisioning State = "Provisioning" // StateResuming ... StateResuming State = "Resuming" // StateScaling ... StateScaling State = "Scaling" // StateSucceeded ... StateSucceeded State = "Succeeded" // StateSuspended ... StateSuspended State = "Suspended" // StateSuspending ... StateSuspending State = "Suspending" // StateUpdating ... StateUpdating State = "Updating" )
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.
Status enumerates the values for status.
type Status string
const ( // Live ... Live Status = "Live" )
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
Name | Synopsis |
---|---|
.. | |
analysisservicesapi | Deprecated: Please note, this package has been deprecated. |