azure-native.voiceservices.CommunicationsGateway
A CommunicationsGateway resource API Version: 2022-12-01-preview.
Example Usage
CreateCommunicationsGatewayResource
using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var communicationsGateway = new AzureNative.VoiceServices.CommunicationsGateway("communicationsGateway", new()
{
Codecs = new[]
{
"PCMA",
},
CommunicationsGatewayName = "myname",
Connectivity = "PublicAddress",
E911Type = "Standard",
Location = "useast",
Platforms = new[]
{
"OperatorConnect",
},
ResourceGroupName = "testrg",
ServiceLocations = new[]
{
new AzureNative.VoiceServices.Inputs.ServiceRegionPropertiesArgs
{
Name = "useast",
PrimaryRegionProperties = new AzureNative.VoiceServices.Inputs.PrimaryRegionPropertiesArgs
{
OperatorAddresses = new[]
{
"198.51.100.1",
},
},
},
new AzureNative.VoiceServices.Inputs.ServiceRegionPropertiesArgs
{
Name = "useast2",
PrimaryRegionProperties = new AzureNative.VoiceServices.Inputs.PrimaryRegionPropertiesArgs
{
OperatorAddresses = new[]
{
"198.51.100.2",
},
},
},
},
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.voiceservices.CommunicationsGateway;
import com.pulumi.azurenative.voiceservices.CommunicationsGatewayArgs;
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 communicationsGateway = new CommunicationsGateway("communicationsGateway", CommunicationsGatewayArgs.builder()
.codecs("PCMA")
.communicationsGatewayName("myname")
.connectivity("PublicAddress")
.e911Type("Standard")
.location("useast")
.platforms("OperatorConnect")
.resourceGroupName("testrg")
.serviceLocations(
Map.ofEntries(
Map.entry("name", "useast"),
Map.entry("primaryRegionProperties", Map.of("operatorAddresses", "198.51.100.1"))
),
Map.ofEntries(
Map.entry("name", "useast2"),
Map.entry("primaryRegionProperties", Map.of("operatorAddresses", "198.51.100.2"))
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
communications_gateway = azure_native.voiceservices.CommunicationsGateway("communicationsGateway",
codecs=["PCMA"],
communications_gateway_name="myname",
connectivity="PublicAddress",
e911_type="Standard",
location="useast",
platforms=["OperatorConnect"],
resource_group_name="testrg",
service_locations=[
{
"name": "useast",
"primaryRegionProperties": azure_native.voiceservices.PrimaryRegionPropertiesArgs(
operator_addresses=["198.51.100.1"],
),
},
{
"name": "useast2",
"primaryRegionProperties": azure_native.voiceservices.PrimaryRegionPropertiesArgs(
operator_addresses=["198.51.100.2"],
),
},
])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const communicationsGateway = new azure_native.voiceservices.CommunicationsGateway("communicationsGateway", {
codecs: ["PCMA"],
communicationsGatewayName: "myname",
connectivity: "PublicAddress",
e911Type: "Standard",
location: "useast",
platforms: ["OperatorConnect"],
resourceGroupName: "testrg",
serviceLocations: [
{
name: "useast",
primaryRegionProperties: {
operatorAddresses: ["198.51.100.1"],
},
},
{
name: "useast2",
primaryRegionProperties: {
operatorAddresses: ["198.51.100.2"],
},
},
],
});
resources:
communicationsGateway:
type: azure-native:voiceservices:CommunicationsGateway
properties:
codecs:
- PCMA
communicationsGatewayName: myname
connectivity: PublicAddress
e911Type: Standard
location: useast
platforms:
- OperatorConnect
resourceGroupName: testrg
serviceLocations:
- name: useast
primaryRegionProperties:
operatorAddresses:
- 198.51.100.1
- name: useast2
primaryRegionProperties:
operatorAddresses:
- 198.51.100.2
Create CommunicationsGateway Resource
new CommunicationsGateway(name: string, args: CommunicationsGatewayArgs, opts?: CustomResourceOptions);
@overload
def CommunicationsGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_bridge: Optional[Any] = None,
codecs: Optional[Sequence[Union[str, TeamsCodecs]]] = None,
communications_gateway_name: Optional[str] = None,
connectivity: Optional[Union[str, Connectivity]] = None,
e911_type: Optional[Union[str, E911Type]] = None,
location: Optional[str] = None,
platforms: Optional[Sequence[Union[str, CommunicationsPlatform]]] = None,
resource_group_name: Optional[str] = None,
service_locations: Optional[Sequence[ServiceRegionPropertiesArgs]] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def CommunicationsGateway(resource_name: str,
args: CommunicationsGatewayArgs,
opts: Optional[ResourceOptions] = None)
func NewCommunicationsGateway(ctx *Context, name string, args CommunicationsGatewayArgs, opts ...ResourceOption) (*CommunicationsGateway, error)
public CommunicationsGateway(string name, CommunicationsGatewayArgs args, CustomResourceOptions? opts = null)
public CommunicationsGateway(String name, CommunicationsGatewayArgs args)
public CommunicationsGateway(String name, CommunicationsGatewayArgs args, CustomResourceOptions options)
type: azure-native:voiceservices:CommunicationsGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CommunicationsGatewayArgs
- 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 CommunicationsGatewayArgs
- 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 CommunicationsGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CommunicationsGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CommunicationsGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CommunicationsGateway 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 CommunicationsGateway resource accepts the following input properties:
- Codecs
List<Union<string, Pulumi.
Azure Native. Voice Services. Teams Codecs>> Voice codecs to support
- Connectivity
string | Pulumi.
Azure Native. Voice Services. Connectivity How to connect back to the operator network, e.g. MAPS
- E911Type
string | Pulumi.
Azure Native. Voice Services. E911Type How to handle 911 calls
- Platforms
List<Union<string, Pulumi.
Azure Native. Voice Services. Communications Platform>> What platforms to support
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Service
Locations List<Pulumi.Azure Native. Voice Services. Inputs. Service Region Properties Args> The regions in which to deploy the resources needed for Teams Calling
- Api
Bridge object Details of API bridge functionality, if required
- Communications
Gateway stringName Unique identifier for this deployment
- Location string
The geo-location where the resource lives
- Dictionary<string, string>
Resource tags.
- Codecs []string
Voice codecs to support
- Connectivity string | Connectivity
How to connect back to the operator network, e.g. MAPS
- E911Type string | E911Type
How to handle 911 calls
- Platforms []string
What platforms to support
- Resource
Group stringName The name of the resource group. The name is case insensitive.
- Service
Locations []ServiceRegion Properties Args The regions in which to deploy the resources needed for Teams Calling
- Api
Bridge interface{} Details of API bridge functionality, if required
- Communications
Gateway stringName Unique identifier for this deployment
- Location string
The geo-location where the resource lives
- map[string]string
Resource tags.
- codecs
List<Either<String,Teams
Codecs>> Voice codecs to support
- connectivity String | Connectivity
How to connect back to the operator network, e.g. MAPS
- e911Type String | E911Type
How to handle 911 calls
- platforms
List<Either<String,Communications
Platform>> What platforms to support
- resource
Group StringName The name of the resource group. The name is case insensitive.
- service
Locations List<ServiceRegion Properties Args> The regions in which to deploy the resources needed for Teams Calling
- api
Bridge Object Details of API bridge functionality, if required
- communications
Gateway StringName Unique identifier for this deployment
- location String
The geo-location where the resource lives
- Map<String,String>
Resource tags.
- codecs
(string | Teams
Codecs)[] Voice codecs to support
- connectivity string | Connectivity
How to connect back to the operator network, e.g. MAPS
- e911Type string | E911Type
How to handle 911 calls
- platforms
(string | Communications
Platform)[] What platforms to support
- resource
Group stringName The name of the resource group. The name is case insensitive.
- service
Locations ServiceRegion Properties Args[] The regions in which to deploy the resources needed for Teams Calling
- api
Bridge any Details of API bridge functionality, if required
- communications
Gateway stringName Unique identifier for this deployment
- location string
The geo-location where the resource lives
- {[key: string]: string}
Resource tags.
- codecs
Sequence[Union[str, Teams
Codecs]] Voice codecs to support
- connectivity str | Connectivity
How to connect back to the operator network, e.g. MAPS
- e911_
type str | E911Type How to handle 911 calls
- platforms
Sequence[Union[str, Communications
Platform]] What platforms to support
- resource_
group_ strname The name of the resource group. The name is case insensitive.
- service_
locations Sequence[ServiceRegion Properties Args] The regions in which to deploy the resources needed for Teams Calling
- api_
bridge Any Details of API bridge functionality, if required
- communications_
gateway_ strname Unique identifier for this deployment
- location str
The geo-location where the resource lives
- Mapping[str, str]
Resource tags.
- codecs List<String | "PCMA" | "PCMU" | "G722" | "G722_2" | "SILK_8" | "SILK_16">
Voice codecs to support
- connectivity
String | "Public
Address" How to connect back to the operator network, e.g. MAPS
- e911Type
String | "Standard" | "Direct
To Esrp" How to handle 911 calls
- platforms
List<String | "Operator
Connect" | "Teams Phone Mobile"> What platforms to support
- resource
Group StringName The name of the resource group. The name is case insensitive.
- service
Locations List<Property Map> The regions in which to deploy the resources needed for Teams Calling
- api
Bridge Any Details of API bridge functionality, if required
- communications
Gateway StringName Unique identifier for this deployment
- location String
The geo-location where the resource lives
- Map<String>
Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the CommunicationsGateway resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string Resource provisioning state.
- Status string
The current status of the deployment.
- System
Data Pulumi.Azure Native. Voice Services. Outputs. System Data Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the resource
- Provisioning
State string Resource provisioning state.
- Status string
The current status of the deployment.
- System
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String Resource provisioning state.
- status String
The current status of the deployment.
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of the resource
- provisioning
State string Resource provisioning state.
- status string
The current status of the deployment.
- system
Data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of the resource
- provisioning_
state str Resource provisioning state.
- status str
The current status of the deployment.
- system_
data SystemData Response Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
The provider-assigned unique ID for this managed resource.
- name String
The name of the resource
- provisioning
State String Resource provisioning state.
- status String
The current status of the deployment.
- system
Data Property Map Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CommunicationsPlatform
- Operator
Connect - OperatorConnect
- Teams
Phone Mobile - TeamsPhoneMobile
- Communications
Platform Operator Connect - OperatorConnect
- Communications
Platform Teams Phone Mobile - TeamsPhoneMobile
- Operator
Connect - OperatorConnect
- Teams
Phone Mobile - TeamsPhoneMobile
- Operator
Connect - OperatorConnect
- Teams
Phone Mobile - TeamsPhoneMobile
- OPERATOR_CONNECT
- OperatorConnect
- TEAMS_PHONE_MOBILE
- TeamsPhoneMobile
- "Operator
Connect" - OperatorConnect
- "Teams
Phone Mobile" - TeamsPhoneMobile
Connectivity
- Public
Address - PublicAddress
This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
- Connectivity
Public Address - PublicAddress
This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
- Public
Address - PublicAddress
This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
- Public
Address - PublicAddress
This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
- PUBLIC_ADDRESS
- PublicAddress
This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
- "Public
Address" - PublicAddress
This deployment connects to the operator network using a Public IP address, e.g. when using MAPS
E911Type
- Standard
- Standard
Emergency calls are not handled different from other calls
- Direct
To Esrp - DirectToEsrp
Emergency calls are routed directly to the ESRP
- E911Type
Standard - Standard
Emergency calls are not handled different from other calls
- E911Type
Direct To Esrp - DirectToEsrp
Emergency calls are routed directly to the ESRP
- Standard
- Standard
Emergency calls are not handled different from other calls
- Direct
To Esrp - DirectToEsrp
Emergency calls are routed directly to the ESRP
- Standard
- Standard
Emergency calls are not handled different from other calls
- Direct
To Esrp - DirectToEsrp
Emergency calls are routed directly to the ESRP
- STANDARD
- Standard
Emergency calls are not handled different from other calls
- DIRECT_TO_ESRP
- DirectToEsrp
Emergency calls are routed directly to the ESRP
- "Standard"
- Standard
Emergency calls are not handled different from other calls
- "Direct
To Esrp" - DirectToEsrp
Emergency calls are routed directly to the ESRP
PrimaryRegionProperties
- Operator
Addresses List<string> IP address to use to contact the operator network from this region
- Esrp
Addresses List<string> IP address to use to contact the ESRP from this region
- Operator
Addresses []string IP address to use to contact the operator network from this region
- Esrp
Addresses []string IP address to use to contact the ESRP from this region
- operator
Addresses List<String> IP address to use to contact the operator network from this region
- esrp
Addresses List<String> IP address to use to contact the ESRP from this region
- operator
Addresses string[] IP address to use to contact the operator network from this region
- esrp
Addresses string[] IP address to use to contact the ESRP from this region
- operator_
addresses Sequence[str] IP address to use to contact the operator network from this region
- esrp_
addresses Sequence[str] IP address to use to contact the ESRP from this region
- operator
Addresses List<String> IP address to use to contact the operator network from this region
- esrp
Addresses List<String> IP address to use to contact the ESRP from this region
PrimaryRegionPropertiesResponse
- Operator
Addresses List<string> IP address to use to contact the operator network from this region
- Esrp
Addresses List<string> IP address to use to contact the ESRP from this region
- Operator
Addresses []string IP address to use to contact the operator network from this region
- Esrp
Addresses []string IP address to use to contact the ESRP from this region
- operator
Addresses List<String> IP address to use to contact the operator network from this region
- esrp
Addresses List<String> IP address to use to contact the ESRP from this region
- operator
Addresses string[] IP address to use to contact the operator network from this region
- esrp
Addresses string[] IP address to use to contact the ESRP from this region
- operator_
addresses Sequence[str] IP address to use to contact the operator network from this region
- esrp_
addresses Sequence[str] IP address to use to contact the ESRP from this region
- operator
Addresses List<String> IP address to use to contact the operator network from this region
- esrp
Addresses List<String> IP address to use to contact the ESRP from this region
ServiceRegionProperties
- Name string
The name of the region in which the resources needed for Teams Calling will be deployed.
- Primary
Region Pulumi.Properties Azure Native. Voice Services. Inputs. Primary Region Properties The configuration used in this region as primary, and other regions as backup.
- Name string
The name of the region in which the resources needed for Teams Calling will be deployed.
- Primary
Region PrimaryProperties Region Properties The configuration used in this region as primary, and other regions as backup.
- name String
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary
Region PrimaryProperties Region Properties The configuration used in this region as primary, and other regions as backup.
- name string
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary
Region PrimaryProperties Region Properties The configuration used in this region as primary, and other regions as backup.
- name str
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary_
region_ Primaryproperties Region Properties The configuration used in this region as primary, and other regions as backup.
- name String
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary
Region Property MapProperties The configuration used in this region as primary, and other regions as backup.
ServiceRegionPropertiesResponse
- Name string
The name of the region in which the resources needed for Teams Calling will be deployed.
- Primary
Region Pulumi.Properties Azure Native. Voice Services. Inputs. Primary Region Properties Response The configuration used in this region as primary, and other regions as backup.
- Name string
The name of the region in which the resources needed for Teams Calling will be deployed.
- Primary
Region PrimaryProperties Region Properties Response The configuration used in this region as primary, and other regions as backup.
- name String
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary
Region PrimaryProperties Region Properties Response The configuration used in this region as primary, and other regions as backup.
- name string
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary
Region PrimaryProperties Region Properties Response The configuration used in this region as primary, and other regions as backup.
- name str
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary_
region_ Primaryproperties Region Properties Response The configuration used in this region as primary, and other regions as backup.
- name String
The name of the region in which the resources needed for Teams Calling will be deployed.
- primary
Region Property MapProperties The configuration used in this region as primary, and other regions as backup.
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
TeamsCodecs
- PCMA
- PCMA
- PCMU
- PCMU
- G722
- G722
- G722_2
- G722_2
- SILK_8
- SILK_8
- SILK_16
- SILK_16
- Teams
Codecs PCMA - PCMA
- Teams
Codecs PCMU - PCMU
- Teams
Codecs G722 - G722
- Teams
Codecs_G722_2 - G722_2
- Teams
Codecs_SILK_8 - SILK_8
- Teams
Codecs_SILK_16 - SILK_16
- PCMA
- PCMA
- PCMU
- PCMU
- G722
- G722
- G722_2
- G722_2
- SILK_8
- SILK_8
- SILK_16
- SILK_16
- PCMA
- PCMA
- PCMU
- PCMU
- G722
- G722
- G722_2
- G722_2
- SILK_8
- SILK_8
- SILK_16
- SILK_16
- PCMA
- PCMA
- PCMU
- PCMU
- G722
- G722
- G722_2
- G722_2
- SIL_K_8
- SILK_8
- SIL_K_16
- SILK_16
- "PCMA"
- PCMA
- "PCMU"
- PCMU
- "G722"
- G722
- "G722_2"
- G722_2
- "SILK_8"
- SILK_8
- "SILK_16"
- SILK_16
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:voiceservices:CommunicationsGateway myname /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.VoiceService/communicationsGateway/myname
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0