servers
Creates, updates, deletes, gets or lists a servers
resource.
Overview
Name | servers |
Type | Resource |
Id | azure.fluid_relay.servers |
Fields
- vw_servers
- servers
Name | Datatype | Description |
---|---|---|
encryption | text | field from the properties object |
fluidRelayServerName | text | field from the properties object |
fluid_relay_endpoints | text | field from the properties object |
frs_tenant_id | text | field from the properties object |
identity | text | Identity for the resource. |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroup | text | field from the properties object |
storagesku | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
location | string | The geo-location where the resource lives |
properties | object | The properties of a Fluid Relay Service resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | fluidRelayServerName, resourceGroup, subscriptionId | |
list_by_resource_group | SELECT | resourceGroup, subscriptionId | |
list_by_subscription | SELECT | subscriptionId | |
create_or_update | INSERT | fluidRelayServerName, resourceGroup, subscriptionId | |
delete | DELETE | fluidRelayServerName, resourceGroup, subscriptionId | |
update | UPDATE | fluidRelayServerName, resourceGroup, subscriptionId | |
regenerate_key | EXEC | fluidRelayServerName, resourceGroup, subscriptionId, data__keyName |
SELECT
examples
- vw_servers
- servers
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 }}';
SELECT
identity,
location,
properties,
systemData,
tags
FROM azure.fluid_relay.servers
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new servers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.fluid_relay.servers (
fluidRelayServerName,
resourceGroup,
subscriptionId,
properties,
identity,
tags,
location
)
SELECT
'{{ fluidRelayServerName }}',
'{{ resourceGroup }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: frsTenantId
value: string
- name: fluidRelayEndpoints
value:
- name: ordererEndpoints
value:
- string
- name: storageEndpoints
value:
- string
- name: serviceEndpoints
value:
- string
- name: provisioningState
value: string
- name: encryption
value:
- name: customerManagedKeyEncryption
value:
- name: keyEncryptionKeyIdentity
value:
- name: identityType
value: string
- name: userAssignedIdentityResourceId
value: string
- name: keyEncryptionKeyUrl
value: string
- name: storagesku
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: string
- name: userAssignedIdentities
value: object
- name: tags
value: object
- name: location
value: string
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 }}';