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

86 lines (85 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified Content Filters associated with the Azure OpenAI account. * * Uses Azure REST API version 2024-10-01. * * Other available API versions: 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 getRaiPolicy(args: GetRaiPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRaiPolicyResult>; export interface GetRaiPolicyArgs { /** * The name of Cognitive Services account. */ accountName: string; /** * The name of the RaiPolicy associated with the Cognitive Services Account */ raiPolicyName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Cognitive Services RaiPolicy. */ export interface GetRaiPolicyResult { /** * 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 RaiPolicy. */ readonly properties: outputs.cognitiveservices.RaiPolicyPropertiesResponse; /** * 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 Content Filters associated with the Azure OpenAI account. * * Uses Azure REST API version 2024-10-01. * * Other available API versions: 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 getRaiPolicyOutput(args: GetRaiPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRaiPolicyResult>; export interface GetRaiPolicyOutputArgs { /** * The name of Cognitive Services account. */ accountName: pulumi.Input<string>; /** * The name of the RaiPolicy associated with the Cognitive Services Account */ raiPolicyName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }