1. Packages
  2. Azure Classic
  3. API Docs
  4. voice
  5. ServicesCommunicationsGateway

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

azure.voice.ServicesCommunicationsGateway

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Manages a Voice Services Communications Gateways.

    !> NOTE: You must have signed an Operator Connect agreement with Microsoft to use this resource. For more information, see Prerequisites.

    !> NOTE: Access to Azure Communications Gateway is restricted, see Get access to Azure Communications Gateway for your Azure subscription for details.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleServicesCommunicationsGateway = new Azure.Voice.ServicesCommunicationsGateway("exampleServicesCommunicationsGateway", new()
        {
            Location = "West Europe",
            ResourceGroupName = exampleResourceGroup.Name,
            Connectivity = "PublicAddress",
            Codecs = "PCMA",
            E911Type = "DirectToEsrp",
            Platforms = new[]
            {
                "OperatorConnect",
                "TeamsPhoneMobile",
            },
            ServiceLocations = new[]
            {
                new Azure.Voice.Inputs.ServicesCommunicationsGatewayServiceLocationArgs
                {
                    Location = "eastus",
                    AllowedMediaSourceAddressPrefixes = new[]
                    {
                        "10.1.2.0/24",
                    },
                    AllowedSignalingSourceAddressPrefixes = new[]
                    {
                        "10.1.1.0/24",
                    },
                    EsrpAddresses = new[]
                    {
                        "198.51.100.3",
                    },
                    OperatorAddresses = new[]
                    {
                        "198.51.100.1",
                    },
                },
                new Azure.Voice.Inputs.ServicesCommunicationsGatewayServiceLocationArgs
                {
                    Location = "eastus2",
                    AllowedMediaSourceAddressPrefixes = new[]
                    {
                        "10.2.2.0/24",
                    },
                    AllowedSignalingSourceAddressPrefixes = new[]
                    {
                        "10.2.1.0/24",
                    },
                    EsrpAddresses = new[]
                    {
                        "198.51.100.4",
                    },
                    OperatorAddresses = new[]
                    {
                        "198.51.100.2",
                    },
                },
            },
            AutoGeneratedDomainNameLabelScope = "SubscriptionReuse",
            ApiBridge = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
            }),
            EmergencyDialStrings = new[]
            {
                "911",
                "933",
            },
            OnPremMcpEnabled = false,
            Tags = 
            {
                { "key", "value" },
            },
            MicrosoftTeamsVoicemailPilotNumber = "1",
        });
    
    });
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/voice"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		tmpJSON0, err := json.Marshal(nil)
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = voice.NewServicesCommunicationsGateway(ctx, "exampleServicesCommunicationsGateway", &voice.ServicesCommunicationsGatewayArgs{
    			Location:          pulumi.String("West Europe"),
    			ResourceGroupName: exampleResourceGroup.Name,
    			Connectivity:      pulumi.String("PublicAddress"),
    			Codecs:            pulumi.String("PCMA"),
    			E911Type:          pulumi.String("DirectToEsrp"),
    			Platforms: pulumi.StringArray{
    				pulumi.String("OperatorConnect"),
    				pulumi.String("TeamsPhoneMobile"),
    			},
    			ServiceLocations: voice.ServicesCommunicationsGatewayServiceLocationArray{
    				&voice.ServicesCommunicationsGatewayServiceLocationArgs{
    					Location: pulumi.String("eastus"),
    					AllowedMediaSourceAddressPrefixes: pulumi.StringArray{
    						pulumi.String("10.1.2.0/24"),
    					},
    					AllowedSignalingSourceAddressPrefixes: pulumi.StringArray{
    						pulumi.String("10.1.1.0/24"),
    					},
    					EsrpAddresses: pulumi.StringArray{
    						pulumi.String("198.51.100.3"),
    					},
    					OperatorAddresses: pulumi.StringArray{
    						pulumi.String("198.51.100.1"),
    					},
    				},
    				&voice.ServicesCommunicationsGatewayServiceLocationArgs{
    					Location: pulumi.String("eastus2"),
    					AllowedMediaSourceAddressPrefixes: pulumi.StringArray{
    						pulumi.String("10.2.2.0/24"),
    					},
    					AllowedSignalingSourceAddressPrefixes: pulumi.StringArray{
    						pulumi.String("10.2.1.0/24"),
    					},
    					EsrpAddresses: pulumi.StringArray{
    						pulumi.String("198.51.100.4"),
    					},
    					OperatorAddresses: pulumi.StringArray{
    						pulumi.String("198.51.100.2"),
    					},
    				},
    			},
    			AutoGeneratedDomainNameLabelScope: pulumi.String("SubscriptionReuse"),
    			ApiBridge:                         pulumi.String(json0),
    			EmergencyDialStrings: pulumi.StringArray{
    				pulumi.String("911"),
    				pulumi.String("933"),
    			},
    			OnPremMcpEnabled: pulumi.Bool(false),
    			Tags: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			MicrosoftTeamsVoicemailPilotNumber: pulumi.String("1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.voice.ServicesCommunicationsGateway;
    import com.pulumi.azure.voice.ServicesCommunicationsGatewayArgs;
    import com.pulumi.azure.voice.inputs.ServicesCommunicationsGatewayServiceLocationArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleServicesCommunicationsGateway = new ServicesCommunicationsGateway("exampleServicesCommunicationsGateway", ServicesCommunicationsGatewayArgs.builder()        
                .location("West Europe")
                .resourceGroupName(exampleResourceGroup.name())
                .connectivity("PublicAddress")
                .codecs("PCMA")
                .e911Type("DirectToEsrp")
                .platforms(            
                    "OperatorConnect",
                    "TeamsPhoneMobile")
                .serviceLocations(            
                    ServicesCommunicationsGatewayServiceLocationArgs.builder()
                        .location("eastus")
                        .allowedMediaSourceAddressPrefixes("10.1.2.0/24")
                        .allowedSignalingSourceAddressPrefixes("10.1.1.0/24")
                        .esrpAddresses("198.51.100.3")
                        .operatorAddresses("198.51.100.1")
                        .build(),
                    ServicesCommunicationsGatewayServiceLocationArgs.builder()
                        .location("eastus2")
                        .allowedMediaSourceAddressPrefixes("10.2.2.0/24")
                        .allowedSignalingSourceAddressPrefixes("10.2.1.0/24")
                        .esrpAddresses("198.51.100.4")
                        .operatorAddresses("198.51.100.2")
                        .build())
                .autoGeneratedDomainNameLabelScope("SubscriptionReuse")
                .apiBridge(serializeJson(
                    jsonObject(
    
                    )))
                .emergencyDialStrings(            
                    "911",
                    "933")
                .onPremMcpEnabled(false)
                .tags(Map.of("key", "value"))
                .microsoftTeamsVoicemailPilotNumber("1")
                .build());
    
        }
    }
    
    import pulumi
    import json
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_services_communications_gateway = azure.voice.ServicesCommunicationsGateway("exampleServicesCommunicationsGateway",
        location="West Europe",
        resource_group_name=example_resource_group.name,
        connectivity="PublicAddress",
        codecs="PCMA",
        e911_type="DirectToEsrp",
        platforms=[
            "OperatorConnect",
            "TeamsPhoneMobile",
        ],
        service_locations=[
            azure.voice.ServicesCommunicationsGatewayServiceLocationArgs(
                location="eastus",
                allowed_media_source_address_prefixes=["10.1.2.0/24"],
                allowed_signaling_source_address_prefixes=["10.1.1.0/24"],
                esrp_addresses=["198.51.100.3"],
                operator_addresses=["198.51.100.1"],
            ),
            azure.voice.ServicesCommunicationsGatewayServiceLocationArgs(
                location="eastus2",
                allowed_media_source_address_prefixes=["10.2.2.0/24"],
                allowed_signaling_source_address_prefixes=["10.2.1.0/24"],
                esrp_addresses=["198.51.100.4"],
                operator_addresses=["198.51.100.2"],
            ),
        ],
        auto_generated_domain_name_label_scope="SubscriptionReuse",
        api_bridge=json.dumps({}),
        emergency_dial_strings=[
            "911",
            "933",
        ],
        on_prem_mcp_enabled=False,
        tags={
            "key": "value",
        },
        microsoft_teams_voicemail_pilot_number="1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleServicesCommunicationsGateway = new azure.voice.ServicesCommunicationsGateway("exampleServicesCommunicationsGateway", {
        location: "West Europe",
        resourceGroupName: exampleResourceGroup.name,
        connectivity: "PublicAddress",
        codecs: "PCMA",
        e911Type: "DirectToEsrp",
        platforms: [
            "OperatorConnect",
            "TeamsPhoneMobile",
        ],
        serviceLocations: [
            {
                location: "eastus",
                allowedMediaSourceAddressPrefixes: ["10.1.2.0/24"],
                allowedSignalingSourceAddressPrefixes: ["10.1.1.0/24"],
                esrpAddresses: ["198.51.100.3"],
                operatorAddresses: ["198.51.100.1"],
            },
            {
                location: "eastus2",
                allowedMediaSourceAddressPrefixes: ["10.2.2.0/24"],
                allowedSignalingSourceAddressPrefixes: ["10.2.1.0/24"],
                esrpAddresses: ["198.51.100.4"],
                operatorAddresses: ["198.51.100.2"],
            },
        ],
        autoGeneratedDomainNameLabelScope: "SubscriptionReuse",
        apiBridge: JSON.stringify({}),
        emergencyDialStrings: [
            "911",
            "933",
        ],
        onPremMcpEnabled: false,
        tags: {
            key: "value",
        },
        microsoftTeamsVoicemailPilotNumber: "1",
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleServicesCommunicationsGateway:
        type: azure:voice:ServicesCommunicationsGateway
        properties:
          location: West Europe
          resourceGroupName: ${exampleResourceGroup.name}
          connectivity: PublicAddress
          codecs: PCMA
          e911Type: DirectToEsrp
          platforms:
            - OperatorConnect
            - TeamsPhoneMobile
          serviceLocations:
            - location: eastus
              allowedMediaSourceAddressPrefixes:
                - 10.1.2.0/24
              allowedSignalingSourceAddressPrefixes:
                - 10.1.1.0/24
              esrpAddresses:
                - 198.51.100.3
              operatorAddresses:
                - 198.51.100.1
            - location: eastus2
              allowedMediaSourceAddressPrefixes:
                - 10.2.2.0/24
              allowedSignalingSourceAddressPrefixes:
                - 10.2.1.0/24
              esrpAddresses:
                - 198.51.100.4
              operatorAddresses:
                - 198.51.100.2
          autoGeneratedDomainNameLabelScope: SubscriptionReuse
          apiBridge:
            fn::toJSON: {}
          emergencyDialStrings:
            - '911'
            - '933'
          onPremMcpEnabled: false
          tags:
            key: value
          microsoftTeamsVoicemailPilotNumber: '1'
    

    Create ServicesCommunicationsGateway Resource

    new ServicesCommunicationsGateway(name: string, args: ServicesCommunicationsGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def ServicesCommunicationsGateway(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      api_bridge: Optional[str] = None,
                                      auto_generated_domain_name_label_scope: Optional[str] = None,
                                      codecs: Optional[str] = None,
                                      connectivity: Optional[str] = None,
                                      e911_type: Optional[str] = None,
                                      emergency_dial_strings: Optional[Sequence[str]] = None,
                                      location: Optional[str] = None,
                                      microsoft_teams_voicemail_pilot_number: Optional[str] = None,
                                      name: Optional[str] = None,
                                      on_prem_mcp_enabled: Optional[bool] = None,
                                      platforms: Optional[Sequence[str]] = None,
                                      resource_group_name: Optional[str] = None,
                                      service_locations: Optional[Sequence[ServicesCommunicationsGatewayServiceLocationArgs]] = None,
                                      tags: Optional[Mapping[str, str]] = None)
    @overload
    def ServicesCommunicationsGateway(resource_name: str,
                                      args: ServicesCommunicationsGatewayArgs,
                                      opts: Optional[ResourceOptions] = None)
    func NewServicesCommunicationsGateway(ctx *Context, name string, args ServicesCommunicationsGatewayArgs, opts ...ResourceOption) (*ServicesCommunicationsGateway, error)
    public ServicesCommunicationsGateway(string name, ServicesCommunicationsGatewayArgs args, CustomResourceOptions? opts = null)
    public ServicesCommunicationsGateway(String name, ServicesCommunicationsGatewayArgs args)
    public ServicesCommunicationsGateway(String name, ServicesCommunicationsGatewayArgs args, CustomResourceOptions options)
    
    type: azure:voice:ServicesCommunicationsGateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ServicesCommunicationsGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServicesCommunicationsGatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServicesCommunicationsGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServicesCommunicationsGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServicesCommunicationsGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ServicesCommunicationsGateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ServicesCommunicationsGateway resource accepts the following input properties:

    Codecs string
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    Connectivity string
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    E911Type string
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    Platforms List<string>
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    ServiceLocations List<ServicesCommunicationsGatewayServiceLocation>
    A service_location block as defined below.
    ApiBridge string
    Details of API bridge functionality, if required.
    AutoGeneratedDomainNameLabelScope string
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    EmergencyDialStrings List<string>
    A list of dial strings used for emergency calling.
    Location string
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    MicrosoftTeamsVoicemailPilotNumber string
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    Name string
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    OnPremMcpEnabled bool
    Whether an on-premises Mobile Control Point is in use.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    Codecs string
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    Connectivity string
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    E911Type string
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    Platforms []string
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    ServiceLocations []ServicesCommunicationsGatewayServiceLocationArgs
    A service_location block as defined below.
    ApiBridge string
    Details of API bridge functionality, if required.
    AutoGeneratedDomainNameLabelScope string
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    EmergencyDialStrings []string
    A list of dial strings used for emergency calling.
    Location string
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    MicrosoftTeamsVoicemailPilotNumber string
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    Name string
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    OnPremMcpEnabled bool
    Whether an on-premises Mobile Control Point is in use.
    Tags map[string]string
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    codecs String
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity String
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911Type String
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    platforms List<String>
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resourceGroupName String
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    serviceLocations List<ServicesCommunicationsGatewayServiceLocation>
    A service_location block as defined below.
    apiBridge String
    Details of API bridge functionality, if required.
    autoGeneratedDomainNameLabelScope String
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    emergencyDialStrings List<String>
    A list of dial strings used for emergency calling.
    location String
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoftTeamsVoicemailPilotNumber String
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name String
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    onPremMcpEnabled Boolean
    Whether an on-premises Mobile Control Point is in use.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    codecs string
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity string
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911Type string
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    platforms string[]
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resourceGroupName string
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    serviceLocations ServicesCommunicationsGatewayServiceLocation[]
    A service_location block as defined below.
    apiBridge string
    Details of API bridge functionality, if required.
    autoGeneratedDomainNameLabelScope string
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    emergencyDialStrings string[]
    A list of dial strings used for emergency calling.
    location string
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoftTeamsVoicemailPilotNumber string
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name string
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    onPremMcpEnabled boolean
    Whether an on-premises Mobile Control Point is in use.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    codecs str
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity str
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911_type str
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    platforms Sequence[str]
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resource_group_name str
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    service_locations Sequence[ServicesCommunicationsGatewayServiceLocationArgs]
    A service_location block as defined below.
    api_bridge str
    Details of API bridge functionality, if required.
    auto_generated_domain_name_label_scope str
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    emergency_dial_strings Sequence[str]
    A list of dial strings used for emergency calling.
    location str
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoft_teams_voicemail_pilot_number str
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name str
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    on_prem_mcp_enabled bool
    Whether an on-premises Mobile Control Point is in use.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    codecs String
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity String
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911Type String
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    platforms List<String>
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resourceGroupName String
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    serviceLocations List<Property Map>
    A service_location block as defined below.
    apiBridge String
    Details of API bridge functionality, if required.
    autoGeneratedDomainNameLabelScope String
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    emergencyDialStrings List<String>
    A list of dial strings used for emergency calling.
    location String
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoftTeamsVoicemailPilotNumber String
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name String
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    onPremMcpEnabled Boolean
    Whether an on-premises Mobile Control Point is in use.
    tags Map<String>
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServicesCommunicationsGateway resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ServicesCommunicationsGateway Resource

    Get an existing ServicesCommunicationsGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServicesCommunicationsGatewayState, opts?: CustomResourceOptions): ServicesCommunicationsGateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_bridge: Optional[str] = None,
            auto_generated_domain_name_label_scope: Optional[str] = None,
            codecs: Optional[str] = None,
            connectivity: Optional[str] = None,
            e911_type: Optional[str] = None,
            emergency_dial_strings: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            microsoft_teams_voicemail_pilot_number: Optional[str] = None,
            name: Optional[str] = None,
            on_prem_mcp_enabled: Optional[bool] = None,
            platforms: Optional[Sequence[str]] = None,
            resource_group_name: Optional[str] = None,
            service_locations: Optional[Sequence[ServicesCommunicationsGatewayServiceLocationArgs]] = None,
            tags: Optional[Mapping[str, str]] = None) -> ServicesCommunicationsGateway
    func GetServicesCommunicationsGateway(ctx *Context, name string, id IDInput, state *ServicesCommunicationsGatewayState, opts ...ResourceOption) (*ServicesCommunicationsGateway, error)
    public static ServicesCommunicationsGateway Get(string name, Input<string> id, ServicesCommunicationsGatewayState? state, CustomResourceOptions? opts = null)
    public static ServicesCommunicationsGateway get(String name, Output<String> id, ServicesCommunicationsGatewayState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApiBridge string
    Details of API bridge functionality, if required.
    AutoGeneratedDomainNameLabelScope string
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    Codecs string
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    Connectivity string
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    E911Type string
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    EmergencyDialStrings List<string>
    A list of dial strings used for emergency calling.
    Location string
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    MicrosoftTeamsVoicemailPilotNumber string
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    Name string
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    OnPremMcpEnabled bool
    Whether an on-premises Mobile Control Point is in use.
    Platforms List<string>
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    ServiceLocations List<ServicesCommunicationsGatewayServiceLocation>
    A service_location block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    ApiBridge string
    Details of API bridge functionality, if required.
    AutoGeneratedDomainNameLabelScope string
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    Codecs string
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    Connectivity string
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    E911Type string
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    EmergencyDialStrings []string
    A list of dial strings used for emergency calling.
    Location string
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    MicrosoftTeamsVoicemailPilotNumber string
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    Name string
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    OnPremMcpEnabled bool
    Whether an on-premises Mobile Control Point is in use.
    Platforms []string
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    ServiceLocations []ServicesCommunicationsGatewayServiceLocationArgs
    A service_location block as defined below.
    Tags map[string]string
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    apiBridge String
    Details of API bridge functionality, if required.
    autoGeneratedDomainNameLabelScope String
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    codecs String
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity String
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911Type String
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    emergencyDialStrings List<String>
    A list of dial strings used for emergency calling.
    location String
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoftTeamsVoicemailPilotNumber String
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name String
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    onPremMcpEnabled Boolean
    Whether an on-premises Mobile Control Point is in use.
    platforms List<String>
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resourceGroupName String
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    serviceLocations List<ServicesCommunicationsGatewayServiceLocation>
    A service_location block as defined below.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    apiBridge string
    Details of API bridge functionality, if required.
    autoGeneratedDomainNameLabelScope string
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    codecs string
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity string
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911Type string
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    emergencyDialStrings string[]
    A list of dial strings used for emergency calling.
    location string
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoftTeamsVoicemailPilotNumber string
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name string
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    onPremMcpEnabled boolean
    Whether an on-premises Mobile Control Point is in use.
    platforms string[]
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resourceGroupName string
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    serviceLocations ServicesCommunicationsGatewayServiceLocation[]
    A service_location block as defined below.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    api_bridge str
    Details of API bridge functionality, if required.
    auto_generated_domain_name_label_scope str
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    codecs str
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity str
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911_type str
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    emergency_dial_strings Sequence[str]
    A list of dial strings used for emergency calling.
    location str
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoft_teams_voicemail_pilot_number str
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name str
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    on_prem_mcp_enabled bool
    Whether an on-premises Mobile Control Point is in use.
    platforms Sequence[str]
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resource_group_name str
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    service_locations Sequence[ServicesCommunicationsGatewayServiceLocationArgs]
    A service_location block as defined below.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.
    apiBridge String
    Details of API bridge functionality, if required.
    autoGeneratedDomainNameLabelScope String
    Specifies the scope at which the auto-generated domain name can be re-used. Possible values are TenantReuse, SubscriptionReuse, ResourceGroupReuse and NoReuse . Changing this forces a new resource to be created. Defaults to TenantReuse.
    codecs String
    The voice codecs expected for communication with Teams. Possible values are PCMA, PCMU,G722,G722_2,SILK_8 and SILK_16.
    connectivity String
    How to connect back to the operator network, e.g. MAPS. Possible values is PublicAddress. Changing this forces a new Voice Services Communications Gateways to be created.
    e911Type String
    How to handle 911 calls. Possible values are Standard and DirectToEsrp.
    emergencyDialStrings List<String>
    A list of dial strings used for emergency calling.
    location String
    Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    microsoftTeamsVoicemailPilotNumber String
    This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
    name String
    Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
    onPremMcpEnabled Boolean
    Whether an on-premises Mobile Control Point is in use.
    platforms List<String>
    The Voice Services Communications GatewaysAvailable supports platform types. Possible values are OperatorConnect, TeamsPhoneMobile.
    resourceGroupName String
    Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
    serviceLocations List<Property Map>
    A service_location block as defined below.
    tags Map<String>
    A mapping of tags which should be assigned to the Voice Services Communications Gateways.

    Supporting Types

    ServicesCommunicationsGatewayServiceLocation, ServicesCommunicationsGatewayServiceLocationArgs

    Location string
    Specifies the region in which the resources needed for Teams Calling will be deployed.
    OperatorAddresses List<string>
    IP address to use to contact the operator network from this region.
    AllowedMediaSourceAddressPrefixes List<string>
    Specifies the allowed source IP address or CIDR ranges for media.
    AllowedSignalingSourceAddressPrefixes List<string>
    Specifies the allowed source IP address or CIDR ranges for signaling.
    EsrpAddresses List<string>

    IP address to use to contact the ESRP from this region.

    !> NOTE: The esrp_addresses must be specified for each service_location when thee911_type is set to DirectToEsrp. The esrp_addresses must not be specified for each service_location when thee911_type is set to Standard.

    Location string
    Specifies the region in which the resources needed for Teams Calling will be deployed.
    OperatorAddresses []string
    IP address to use to contact the operator network from this region.
    AllowedMediaSourceAddressPrefixes []string
    Specifies the allowed source IP address or CIDR ranges for media.
    AllowedSignalingSourceAddressPrefixes []string
    Specifies the allowed source IP address or CIDR ranges for signaling.
    EsrpAddresses []string

    IP address to use to contact the ESRP from this region.

    !> NOTE: The esrp_addresses must be specified for each service_location when thee911_type is set to DirectToEsrp. The esrp_addresses must not be specified for each service_location when thee911_type is set to Standard.

    location String
    Specifies the region in which the resources needed for Teams Calling will be deployed.
    operatorAddresses List<String>
    IP address to use to contact the operator network from this region.
    allowedMediaSourceAddressPrefixes List<String>
    Specifies the allowed source IP address or CIDR ranges for media.
    allowedSignalingSourceAddressPrefixes List<String>
    Specifies the allowed source IP address or CIDR ranges for signaling.
    esrpAddresses List<String>

    IP address to use to contact the ESRP from this region.

    !> NOTE: The esrp_addresses must be specified for each service_location when thee911_type is set to DirectToEsrp. The esrp_addresses must not be specified for each service_location when thee911_type is set to Standard.

    location string
    Specifies the region in which the resources needed for Teams Calling will be deployed.
    operatorAddresses string[]
    IP address to use to contact the operator network from this region.
    allowedMediaSourceAddressPrefixes string[]
    Specifies the allowed source IP address or CIDR ranges for media.
    allowedSignalingSourceAddressPrefixes string[]
    Specifies the allowed source IP address or CIDR ranges for signaling.
    esrpAddresses string[]

    IP address to use to contact the ESRP from this region.

    !> NOTE: The esrp_addresses must be specified for each service_location when thee911_type is set to DirectToEsrp. The esrp_addresses must not be specified for each service_location when thee911_type is set to Standard.

    location str
    Specifies the region in which the resources needed for Teams Calling will be deployed.
    operator_addresses Sequence[str]
    IP address to use to contact the operator network from this region.
    allowed_media_source_address_prefixes Sequence[str]
    Specifies the allowed source IP address or CIDR ranges for media.
    allowed_signaling_source_address_prefixes Sequence[str]
    Specifies the allowed source IP address or CIDR ranges for signaling.
    esrp_addresses Sequence[str]

    IP address to use to contact the ESRP from this region.

    !> NOTE: The esrp_addresses must be specified for each service_location when thee911_type is set to DirectToEsrp. The esrp_addresses must not be specified for each service_location when thee911_type is set to Standard.

    location String
    Specifies the region in which the resources needed for Teams Calling will be deployed.
    operatorAddresses List<String>
    IP address to use to contact the operator network from this region.
    allowedMediaSourceAddressPrefixes List<String>
    Specifies the allowed source IP address or CIDR ranges for media.
    allowedSignalingSourceAddressPrefixes List<String>
    Specifies the allowed source IP address or CIDR ranges for signaling.
    esrpAddresses List<String>

    IP address to use to contact the ESRP from this region.

    !> NOTE: The esrp_addresses must be specified for each service_location when thee911_type is set to DirectToEsrp. The esrp_addresses must not be specified for each service_location when thee911_type is set to Standard.

    Import

    Voice Services Communications Gateways can be imported using the resource id, e.g.

    $ pulumi import azure:voice/servicesCommunicationsGateway:ServicesCommunicationsGateway example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.VoiceServices/communicationsGateways/communicationsGateway1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi