Skip to main content

communications_gateways

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

Overview

Namecommunications_gateways
TypeResource
Idazure.voice_services.communications_gateways

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
identityobjectThe managed service identities assigned to this resource.
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
skuobjectThe SKU (Stock Keeping Unit) assigned to this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, communicationsGatewayNameGet a CommunicationsGateway
list_by_resource_groupselectsubscriptionId, resourceGroupNameList CommunicationsGateway resources by resource group
list_by_subscriptionselectsubscriptionIdList CommunicationsGateway resources by subscription ID
create_or_updateinsertsubscriptionId, resourceGroupName, communicationsGatewayNameCreate a CommunicationsGateway
updateupdatesubscriptionId, resourceGroupName, communicationsGatewayNameUpdate a CommunicationsGateway
deletedeletesubscriptionId, resourceGroupName, communicationsGatewayNameDelete a CommunicationsGateway

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
communicationsGatewayNamestringUnique identifier for this deployment
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get a CommunicationsGateway

SELECT
identity,
location,
properties,
sku,
tags
FROM azure.voice_services.communications_gateways
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' -- required
;

INSERT examples

Create a CommunicationsGateway

INSERT INTO azure.voice_services.communications_gateways (
data__properties,
data__identity,
data__sku,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
communicationsGatewayName
)
SELECT
'{{ properties }}',
'{{ identity }}',
'{{ sku }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ communicationsGatewayName }}'
RETURNING
identity,
location,
properties,
sku,
tags
;

UPDATE examples

Update a CommunicationsGateway

UPDATE azure.voice_services.communications_gateways
SET
data__identity = '{{ identity }}',
data__sku = '{{ sku }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' --required
RETURNING
identity,
location,
properties,
sku,
tags;

DELETE examples

Delete a CommunicationsGateway

DELETE FROM azure.voice_services.communications_gateways
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' --required
;