import * as pulumi from "@pulumi/pulumi"; /** * Manages a Voice Services Communications Gateway Test Line. * * ## 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 Central US", * }); * const exampleServicesCommunicationsGateway = new azure.voice.ServicesCommunicationsGateway("example", { * name: "example-vcg", * resourceGroupName: example.name, * }); * const exampleServicesCommunicationsGatewayTestLine = new azure.voice.ServicesCommunicationsGatewayTestLine("example", { * name: "example-vtl", * location: "West Central US", * voiceServicesCommunicationsGatewayId: exampleServicesCommunicationsGateway.id, * phoneNumber: "123456789", * purpose: "Automated", * tags: { * key: "value", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.VoiceServices` - 2023-04-03 * * ## Import * * Voice Services Communications Gateway Test Line can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:voice/servicesCommunicationsGatewayTestLine:ServicesCommunicationsGatewayTestLine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.VoiceServices/communicationsGateways/communicationsGateway1/testLines/testLine1 * ``` */ export declare class ServicesCommunicationsGatewayTestLine extends pulumi.CustomResource { /** * Get an existing ServicesCommunicationsGatewayTestLine 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, state?: ServicesCommunicationsGatewayTestLineState, opts?: pulumi.CustomResourceOptions): ServicesCommunicationsGatewayTestLine; /** * Returns true if the given object is an instance of ServicesCommunicationsGatewayTestLine. 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 ServicesCommunicationsGatewayTestLine; /** * Specifies the Azure Region where the Voice Services Communications Gateway Test Line should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name which should be used for this Voice Services Communications Gateway Test Line. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the phone number. */ readonly phoneNumber: pulumi.Output; /** * The purpose of the Voice Services Communications Gateway Test Line. Possible values are `Automated` or `Manual`. */ readonly purpose: pulumi.Output; /** * A mapping of tags which should be assigned to the Voice Services Communications Gateway Test Line. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Specifies the ID of the Voice Services Communications Gateway. Changing this forces a new resource to be created. */ readonly voiceServicesCommunicationsGatewayId: pulumi.Output; /** * Create a ServicesCommunicationsGatewayTestLine 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: ServicesCommunicationsGatewayTestLineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServicesCommunicationsGatewayTestLine resources. */ export interface ServicesCommunicationsGatewayTestLineState { /** * Specifies the Azure Region where the Voice Services Communications Gateway Test Line should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Voice Services Communications Gateway Test Line. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the phone number. */ phoneNumber?: pulumi.Input; /** * The purpose of the Voice Services Communications Gateway Test Line. Possible values are `Automated` or `Manual`. */ purpose?: pulumi.Input; /** * A mapping of tags which should be assigned to the Voice Services Communications Gateway Test Line. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies the ID of the Voice Services Communications Gateway. Changing this forces a new resource to be created. */ voiceServicesCommunicationsGatewayId?: pulumi.Input; } /** * The set of arguments for constructing a ServicesCommunicationsGatewayTestLine resource. */ export interface ServicesCommunicationsGatewayTestLineArgs { /** * Specifies the Azure Region where the Voice Services Communications Gateway Test Line should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Voice Services Communications Gateway Test Line. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the phone number. */ phoneNumber: pulumi.Input; /** * The purpose of the Voice Services Communications Gateway Test Line. Possible values are `Automated` or `Manual`. */ purpose: pulumi.Input; /** * A mapping of tags which should be assigned to the Voice Services Communications Gateway Test Line. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies the ID of the Voice Services Communications Gateway. Changing this forces a new resource to be created. */ voiceServicesCommunicationsGatewayId: pulumi.Input; }