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) 3.71 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified commitmentPlans 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 getCommitmentPlan(args: GetCommitmentPlanArgs, opts?: pulumi.InvokeOptions): Promise<GetCommitmentPlanResult>; export interface GetCommitmentPlanArgs { /** * The name of Cognitive Services account. */ accountName: string; /** * The name of the commitmentPlan associated with the Cognitive Services Account */ commitmentPlanName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Cognitive Services account commitment plan. */ export interface GetCommitmentPlanResult { /** * 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 Kind of the resource. */ readonly kind?: string; /** * The geo-location where the resource lives */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * Properties of Cognitive Services account commitment plan. */ readonly properties: outputs.cognitiveservices.CommitmentPlanPropertiesResponse; /** * 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 commitmentPlans 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 getCommitmentPlanOutput(args: GetCommitmentPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCommitmentPlanResult>; export interface GetCommitmentPlanOutputArgs { /** * The name of Cognitive Services account. */ accountName: pulumi.Input<string>; /** * The name of the commitmentPlan associated with the Cognitive Services Account */ commitmentPlanName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }