import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * 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`](https://learn.microsoft.com/en-us/azure/communications-gateway/prepare-to-deploy#prerequisites).
 *
 * !> **Note:** Access to Azure Communications Gateway is restricted, see [`Get access to Azure Communications Gateway for your Azure subscription`](https://learn.microsoft.com/en-us/azure/communications-gateway/prepare-to-deploy#9-get-access-to-azure-communications-gateway-for-your-azure-subscription) for details.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleServicesCommunicationsGateway = new azure.voice.ServicesCommunicationsGateway("example", {
 *     name: "example-vcg",
 *     location: "West Europe",
 *     resourceGroupName: example.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",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.VoiceServices` - 2023-04-03
 *
 * ## Import
 *
 * Voice Services Communications Gateways can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:voice/servicesCommunicationsGateway:ServicesCommunicationsGateway example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.VoiceServices/communicationsGateways/communicationsGateway1
 * ```
 */
export declare class ServicesCommunicationsGateway extends pulumi.CustomResource {
    /**
     * Get an existing ServicesCommunicationsGateway resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServicesCommunicationsGatewayState, opts?: pulumi.CustomResourceOptions): ServicesCommunicationsGateway;
    /**
     * Returns true if the given object is an instance of ServicesCommunicationsGateway.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ServicesCommunicationsGateway;
    /**
     * Details of API bridge functionality, if required.
     */
    readonly apiBridge: pulumi.Output<string | undefined>;
    /**
     * 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`.
     */
    readonly autoGeneratedDomainNameLabelScope: pulumi.Output<string | undefined>;
    /**
     * The voice codecs expected for communication with Teams. Possible values are `PCMA`, `PCMU`,`G722`,`G722_2`,`SILK_8` and `SILK_16`.
     */
    readonly codecs: pulumi.Output<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.
     */
    readonly connectivity: pulumi.Output<string>;
    /**
     * How to handle 911 calls. Possible values are `Standard` and `DirectToEsrp`.
     */
    readonly e911Type: pulumi.Output<string>;
    /**
     * A list of dial strings used for emergency calling.
     */
    readonly emergencyDialStrings: pulumi.Output<string[] | undefined>;
    /**
     * Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
     */
    readonly location: pulumi.Output<string>;
    /**
     * This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
     */
    readonly microsoftTeamsVoicemailPilotNumber: pulumi.Output<string | undefined>;
    /**
     * Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Whether an on-premises Mobile Control Point is in use.
     */
    readonly onPremMcpEnabled: pulumi.Output<boolean | undefined>;
    /**
     * The Voice Services Communications GatewaysAvailable supports platform types. Possible values are `OperatorConnect`, `TeamsPhoneMobile`.
     */
    readonly platforms: pulumi.Output<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.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * A `serviceLocation` block as defined below.
     */
    readonly serviceLocations: pulumi.Output<outputs.voice.ServicesCommunicationsGatewayServiceLocation[]>;
    /**
     * A mapping of tags which should be assigned to the Voice Services Communications Gateways.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Create a ServicesCommunicationsGateway resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ServicesCommunicationsGatewayArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ServicesCommunicationsGateway resources.
 */
export interface ServicesCommunicationsGatewayState {
    /**
     * Details of API bridge functionality, if required.
     */
    apiBridge?: pulumi.Input<string | undefined>;
    /**
     * 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`.
     */
    autoGeneratedDomainNameLabelScope?: pulumi.Input<string | undefined>;
    /**
     * The voice codecs expected for communication with Teams. Possible values are `PCMA`, `PCMU`,`G722`,`G722_2`,`SILK_8` and `SILK_16`.
     */
    codecs?: pulumi.Input<string | undefined>;
    /**
     * 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.
     */
    connectivity?: pulumi.Input<string | undefined>;
    /**
     * How to handle 911 calls. Possible values are `Standard` and `DirectToEsrp`.
     */
    e911Type?: pulumi.Input<string | undefined>;
    /**
     * A list of dial strings used for emergency calling.
     */
    emergencyDialStrings?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
     */
    microsoftTeamsVoicemailPilotNumber?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Whether an on-premises Mobile Control Point is in use.
     */
    onPremMcpEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The Voice Services Communications GatewaysAvailable supports platform types. Possible values are `OperatorConnect`, `TeamsPhoneMobile`.
     */
    platforms?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies the name of the Resource Group where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * A `serviceLocation` block as defined below.
     */
    serviceLocations?: pulumi.Input<pulumi.Input<inputs.voice.ServicesCommunicationsGatewayServiceLocation>[] | undefined>;
    /**
     * A mapping of tags which should be assigned to the Voice Services Communications Gateways.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
/**
 * The set of arguments for constructing a ServicesCommunicationsGateway resource.
 */
export interface ServicesCommunicationsGatewayArgs {
    /**
     * Details of API bridge functionality, if required.
     */
    apiBridge?: pulumi.Input<string | undefined>;
    /**
     * 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`.
     */
    autoGeneratedDomainNameLabelScope?: pulumi.Input<string | undefined>;
    /**
     * The voice codecs expected for communication with Teams. Possible values are `PCMA`, `PCMU`,`G722`,`G722_2`,`SILK_8` and `SILK_16`.
     */
    codecs: pulumi.Input<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.
     */
    connectivity: pulumi.Input<string>;
    /**
     * How to handle 911 calls. Possible values are `Standard` and `DirectToEsrp`.
     */
    e911Type: pulumi.Input<string>;
    /**
     * A list of dial strings used for emergency calling.
     */
    emergencyDialStrings?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies the Azure Region where the Voice Services Communications Gateways should exist. Changing this forces a new resource to be created.
     */
    location?: pulumi.Input<string | undefined>;
    /**
     * This number is used in Teams Phone Mobile scenarios for access to the voicemail IVR from the native dialer.
     */
    microsoftTeamsVoicemailPilotNumber?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name which should be used for this Voice Services Communications Gateways. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Whether an on-premises Mobile Control Point is in use.
     */
    onPremMcpEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * The Voice Services Communications GatewaysAvailable supports platform types. Possible values are `OperatorConnect`, `TeamsPhoneMobile`.
     */
    platforms: pulumi.Input<pulumi.Input<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.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * A `serviceLocation` block as defined below.
     */
    serviceLocations: pulumi.Input<pulumi.Input<inputs.voice.ServicesCommunicationsGatewayServiceLocation>[]>;
    /**
     * A mapping of tags which should be assigned to the Voice Services Communications Gateways.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
}
//# sourceMappingURL=servicesCommunicationsGateway.d.ts.map