Skip to main content

servers

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

Overview

Nameservers
TypeResource
Idazure.fluid_relay.servers

Fields

NameDatatypeDescription
encryptiontextfield from the properties object
fluidRelayServerNametextfield from the properties object
fluid_relay_endpointstextfield from the properties object
frs_tenant_idtextfield from the properties object
identitytextIdentity for the resource.
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGrouptextfield from the properties object
storageskutextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfluidRelayServerName, resourceGroup, subscriptionId
list_by_resource_groupSELECTresourceGroup, subscriptionId
list_by_subscriptionSELECTsubscriptionId
create_or_updateINSERTfluidRelayServerName, resourceGroup, subscriptionId
deleteDELETEfluidRelayServerName, resourceGroup, subscriptionId
updateUPDATEfluidRelayServerName, resourceGroup, subscriptionId
regenerate_keyEXECfluidRelayServerName, resourceGroup, subscriptionId, data__keyName

SELECT examples

SELECT
encryption,
fluidRelayServerName,
fluid_relay_endpoints,
frs_tenant_id,
identity,
location,
provisioning_state,
resourceGroup,
storagesku,
subscriptionId,
system_data,
tags
FROM azure.fluid_relay.vw_servers
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.fluid_relay.servers (
fluidRelayServerName,
resourceGroup,
subscriptionId,
properties,
identity,
tags,
location
)
SELECT
'{{ fluidRelayServerName }}',
'{{ resourceGroup }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a servers resource.

/*+ update */
UPDATE azure.fluid_relay.servers
SET
properties = '{{ properties }}',
tags = '{{ tags }}',
identity = '{{ identity }}',
location = '{{ location }}'
WHERE
fluidRelayServerName = '{{ fluidRelayServerName }}'
AND resourceGroup = '{{ resourceGroup }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified servers resource.

/*+ delete */
DELETE FROM azure.fluid_relay.servers
WHERE fluidRelayServerName = '{{ fluidRelayServerName }}'
AND resourceGroup = '{{ resourceGroup }}'
AND subscriptionId = '{{ subscriptionId }}';