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

NameDatatypeDescription
allocated_media_address_prefixestextfield from the properties object
allocated_signaling_address_prefixestextfield from the properties object
api_bridgetextfield from the properties object
auto_generated_domain_name_labeltextfield from the properties object
auto_generated_domain_name_label_scopetextfield from the properties object
codecstextfield from the properties object
communicationsGatewayNametextfield from the properties object
connectivitytextfield from the properties object
custom_sip_headerstextfield from the properties object
dns_delegationstextfield from the properties object
e911_typetextfield from the properties object
emergency_dial_stringstextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
integrated_mcp_enabledtextfield from the properties object
locationtextThe geo-location where the resource lives
on_prem_mcp_enabledtextfield from the properties object
platformstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
service_locationstextfield from the properties object
skutextThe resource model definition representing SKU
statustextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
teams_voicemail_pilot_numbertextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcommunicationsGatewayName, resourceGroupName, subscriptionIdGet a CommunicationsGateway
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList CommunicationsGateway resources by resource group
list_by_subscriptionSELECTsubscriptionIdList CommunicationsGateway resources by subscription ID
create_or_updateINSERTcommunicationsGatewayName, resourceGroupName, subscriptionIdCreate a CommunicationsGateway
deleteDELETEcommunicationsGatewayName, resourceGroupName, subscriptionIdDelete a CommunicationsGateway
updateUPDATEcommunicationsGatewayName, resourceGroupName, subscriptionIdUpdate a CommunicationsGateway

SELECT examples

List CommunicationsGateway resources by subscription ID

SELECT
allocated_media_address_prefixes,
allocated_signaling_address_prefixes,
api_bridge,
auto_generated_domain_name_label,
auto_generated_domain_name_label_scope,
codecs,
communicationsGatewayName,
connectivity,
custom_sip_headers,
dns_delegations,
e911_type,
emergency_dial_strings,
identity,
integrated_mcp_enabled,
location,
on_prem_mcp_enabled,
platforms,
provisioning_state,
resourceGroupName,
service_locations,
sku,
status,
subscriptionId,
tags,
teams_voicemail_pilot_number
FROM azure.voice_services.vw_communications_gateways
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.voice_services.communications_gateways (
communicationsGatewayName,
resourceGroupName,
subscriptionId,
properties,
identity,
sku,
tags,
location
)
SELECT
'{{ communicationsGatewayName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ sku }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a communications_gateways resource.

/*+ update */
UPDATE azure.voice_services.communications_gateways
SET
identity = '{{ identity }}',
sku = '{{ sku }}',
tags = '{{ tags }}'
WHERE
communicationsGatewayName = '{{ communicationsGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified communications_gateways resource.

/*+ delete */
DELETE FROM azure.voice_services.communications_gateways
WHERE communicationsGatewayName = '{{ communicationsGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';