Skip to main content

servers

Creates, updates, deletes, gets or lists a servers resource.

Overview

Nameservers
TypeResource
Idazure.analysis_services.servers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringAn identifier that represents the Analysis Services resource.
namestringThe name of the Analysis Services resource.
locationstringLocation of the Analysis Services resource.
propertiesobjectProperties of the provision operation request.
skuobjectThe SKU of the Analysis Services resource.
tagsobjectKey-value pairs of additional resource provisioning properties.
typestringThe type of the Analysis Services resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resource_groupselectresourceGroupName, subscriptionIdGets all the Analysis Services servers for the given resource group.
listselectsubscriptionIdLists all the Analysis Services servers for the given subscription.
createinsertresourceGroupName, serverName, subscriptionIdProvisions the specified Analysis Services server based on the configuration specified in the request.
updateupdateresourceGroupName, serverName, subscriptionIdUpdates the current state of the specified Analysis Services server.
deletedeleteresourceGroupName, serverName, subscriptionIdDeletes the specified Analysis Services server.
suspendexecresourceGroupName, serverName, subscriptionIdSuspends operation of the specified Analysis Services server instance.
resumeexecresourceGroupName, serverName, subscriptionIdResumes operation of the specified Analysis Services server instance.
dissociate_gatewayexecresourceGroupName, serverName, subscriptionIdDissociates a Unified Gateway associated with the server.
check_name_availabilityexeclocation, subscriptionIdCheck the name availability in the target location.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe region name which the operation will lookup into.
resourceGroupNamestringThe 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.
serverNamestringThe name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.
subscriptionIdstringA unique identifier for a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Gets all the Analysis Services servers for the given resource group.

SELECT
id,
name,
location,
properties,
sku,
tags,
type
FROM azure.analysis_services.servers
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Provisions the specified Analysis Services server based on the configuration specified in the request.

INSERT INTO azure.analysis_services.servers (
data__properties,
data__location,
data__sku,
data__tags,
resourceGroupName,
serverName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ sku }}',
'{{ tags }}',
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
location,
properties,
sku,
tags,
type
;

UPDATE examples

Updates the current state of the specified Analysis Services server.

UPDATE azure.analysis_services.servers
SET
data__sku = '{{ sku }}',
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND serverName = '{{ serverName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
RETURNING
id,
name,
location,
properties,
sku,
tags,
type;

DELETE examples

Deletes the specified Analysis Services server.

DELETE FROM azure.analysis_services.servers
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND serverName = '{{ serverName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;

Lifecycle Methods

Suspends operation of the specified Analysis Services server instance.

EXEC azure.analysis_services.servers.suspend 
@resourceGroupName='{{ resourceGroupName }}' --required,
@serverName='{{ serverName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;