@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.56 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the specified private endpoint connection associated with the Cognitive Services account.
*
* Uses Azure REST API version 2024-10-01.
*
* Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cognitiveservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateEndpointConnectionResult>;
export interface GetPrivateEndpointConnectionArgs {
/**
* The name of Cognitive Services account.
*/
accountName: string;
/**
* The name of the private endpoint connection associated with the Cognitive Services Account
*/
privateEndpointConnectionName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* The Private Endpoint Connection resource.
*/
export interface GetPrivateEndpointConnectionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Resource Etag.
*/
readonly etag: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The location of the private endpoint connection
*/
readonly location?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Resource properties.
*/
readonly properties: outputs.cognitiveservices.PrivateEndpointConnectionPropertiesResponse;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.cognitiveservices.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets the specified private endpoint connection associated with the Cognitive Services account.
*
* Uses Azure REST API version 2024-10-01.
*
* Other available API versions: 2023-05-01, 2023-10-01-preview, 2024-04-01-preview, 2024-06-01-preview, 2025-04-01-preview, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cognitiveservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateEndpointConnectionResult>;
export interface GetPrivateEndpointConnectionOutputArgs {
/**
* The name of Cognitive Services account.
*/
accountName: pulumi.Input<string>;
/**
* The name of the private endpoint connection associated with the Cognitive Services Account
*/
privateEndpointConnectionName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}