@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Azure Resource Manager resource envelope.
*
* Uses Azure REST API version 2025-04-01-preview.
*
* Other available API versions: 2025-06-01, 2025-07-01-preview, 2025-09-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 getProjectCapabilityHost(args: GetProjectCapabilityHostArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectCapabilityHostResult>;
export interface GetProjectCapabilityHostArgs {
/**
* The name of Cognitive Services account.
*/
accountName: string;
/**
* The name of the capability host associated with the Cognitive Services Resource
*/
capabilityHostName: string;
/**
* The name of Cognitive Services account's project.
*/
projectName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Azure Resource Manager resource envelope.
*/
export interface GetProjectCapabilityHostResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* [Required] Additional attributes of the entity.
*/
readonly capabilityHostProperties: outputs.cognitiveservices.CapabilityHostResponse;
/**
* 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;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Azure Resource Manager resource envelope.
*
* Uses Azure REST API version 2025-04-01-preview.
*
* Other available API versions: 2025-06-01, 2025-07-01-preview, 2025-09-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 getProjectCapabilityHostOutput(args: GetProjectCapabilityHostOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectCapabilityHostResult>;
export interface GetProjectCapabilityHostOutputArgs {
/**
* The name of Cognitive Services account.
*/
accountName: pulumi.Input<string>;
/**
* The name of the capability host associated with the Cognitive Services Resource
*/
capabilityHostName: pulumi.Input<string>;
/**
* The name of Cognitive Services account's project.
*/
projectName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}