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

90 lines (89 loc) 3.46 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified deployments 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 getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>; export interface GetDeploymentArgs { /** * The name of Cognitive Services account. */ accountName: string; /** * The name of the deployment associated with the Cognitive Services Account */ deploymentName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Cognitive Services account deployment. */ export interface GetDeploymentResult { /** * 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 name of the resource */ readonly name: string; /** * Properties of Cognitive Services account deployment. */ readonly properties: outputs.cognitiveservices.DeploymentPropertiesResponse; /** * The resource model definition representing SKU */ readonly sku?: outputs.cognitiveservices.SkuResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.cognitiveservices.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; } /** * Gets the specified deployments 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 getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeploymentResult>; export interface GetDeploymentOutputArgs { /** * The name of Cognitive Services account. */ accountName: pulumi.Input<string>; /** * The name of the deployment associated with the Cognitive Services Account */ deploymentName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }