import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Communication Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.communication.getService({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Communication` - 2023-03-31 */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getService. */ export interface GetServiceArgs { /** * The name of this Communication Service. * * */ name: string; /** * The name of the Resource Group where the Communication Service exists. * * */ resourceGroupName: string; } /** * A collection of values returned by getService. */ export interface GetServiceResult { /** * The location where the Communication service stores its data at rest. */ readonly dataLocation: string; /** * The hostname of the Communication Service. */ readonly hostname: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The immutable resource id of the Communication Service. */ readonly immutableResourceId: string; readonly name: string; /** * The primary connection string of the Communication Service. */ readonly primaryConnectionString: string; /** * The primary key of the Communication Service. */ readonly primaryKey: string; readonly resourceGroupName: string; /** * The secondary connection string of the Communication Service. */ readonly secondaryConnectionString: string; /** * The secondary key of the Communication Service. */ readonly secondaryKey: string; /** * A mapping of tags assigned to the Communication Service. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Communication Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.communication.getService({ * name: "existing", * resourceGroupName: "existing", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Communication` - 2023-03-31 */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getService. */ export interface GetServiceOutputArgs { /** * The name of this Communication Service. * * */ name: pulumi.Input; /** * The name of the Resource Group where the Communication Service exists. * * */ resourceGroupName: pulumi.Input; }