Skip to main content

servers

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

Overview

Nameservers
TypeResource
Idazure.analysis_services.servers

Fields

NameDatatypeDescription
idstringAn identifier that represents the Analysis Services resource.
namestringThe name of the Analysis Services resource.
locationstringLocation of the Analysis Services resource.
propertiesobjectProperties of Analysis Services resource.
skuobjectRepresents the SKU name and Azure pricing tier for Analysis Services resource.
tagsobjectKey-value pairs of additional resource provisioning properties.
typestringThe type of the Analysis Services resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTsubscriptionIdLists all the Analysis Services servers for the given subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all the Analysis Services servers for the given resource group.
createINSERTresourceGroupName, serverName, subscriptionIdProvisions the specified Analysis Services server based on the configuration specified in the request.
deleteDELETEresourceGroupName, serverName, subscriptionIdDeletes the specified Analysis Services server.
updateUPDATEresourceGroupName, serverName, subscriptionIdUpdates the current state of the specified Analysis Services server.
check_name_availabilityEXEClocation, subscriptionIdCheck the name availability in the target location.
dissociate_gatewayEXECresourceGroupName, serverName, subscriptionIdDissociates a Unified Gateway associated with the server.
resumeEXECresourceGroupName, serverName, subscriptionIdResumes operation of the specified Analysis Services server instance.
suspendEXECresourceGroupName, serverName, subscriptionIdSuspends operation of the specified Analysis Services server instance.

SELECT examples

Lists all the Analysis Services servers for the given subscription.

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

INSERT example

Use the following StackQL query and manifest file to create a new servers resource.

/*+ create */
INSERT INTO azure.analysis_services.servers (
resourceGroupName,
serverName,
subscriptionId,
properties,
location,
sku,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ serverName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ sku }}',
'{{ tags }}'
;

UPDATE example

Updates a servers resource.

/*+ update */
UPDATE azure.analysis_services.servers
SET
sku = '{{ sku }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified servers resource.

/*+ delete */
DELETE FROM azure.analysis_services.servers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';