UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

98 lines (97 loc) 2.61 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Contact * * Uses Azure REST API version 2022-12-01-preview. */ export declare function getContact(args: GetContactArgs, opts?: pulumi.InvokeOptions): Promise<GetContactResult>; export interface GetContactArgs { /** * Unique identifier for this deployment */ communicationsGatewayName: string; /** * Unique identifier for this contact */ contactName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A Contact resource */ export interface GetContactResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Full name of contact */ readonly contactName: string; /** * Email address of contact */ readonly email: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Telephone number of contact */ readonly phoneNumber: string; /** * Resource provisioning state. */ readonly provisioningState: string; /** * Job title of contact */ readonly role: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.voiceservices.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a Contact * * Uses Azure REST API version 2022-12-01-preview. */ export declare function getContactOutput(args: GetContactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContactResult>; export interface GetContactOutputArgs { /** * Unique identifier for this deployment */ communicationsGatewayName: pulumi.Input<string>; /** * Unique identifier for this contact */ contactName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }