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",
},
},
},
},
});
});
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

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

Properties

Link copied to clipboard
val apiBridge: Output<Any>?

Details of API bridge functionality, if required

Link copied to clipboard
val codecs: Output<List<String>>

Voice codecs to support

Link copied to clipboard
val connectivity: Output<String>

How to connect back to the operator network, e.g. MAPS

Link copied to clipboard
val e911Type: Output<String>

How to handle 911 calls

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val platforms: Output<List<String>>

What platforms to support

Link copied to clipboard

Resource provisioning state.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The regions in which to deploy the resources needed for Teams Calling

Link copied to clipboard
val status: Output<String>

The current status of the deployment.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>