import * as pulumi from "@pulumi/pulumi"; /** * Manages a Microsoft Foundry "Guardrails + Controls" blocklist. Microsoft Foundry was previously known as "Cognitive Account". * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "Brazil South", * }); * const exampleAccount = new azure.cognitive.Account("example", { * name: "example-ca", * location: example.location, * resourceGroupName: example.name, * kind: "OpenAI", * skuName: "S0", * }); * const exampleAccountRaiBlocklist = new azure.cognitive.AccountRaiBlocklist("example", { * name: "example-crb", * cognitiveAccountId: exampleAccount.id, * description: "Azure OpenAI Rai Blocklist", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.CognitiveServices` - 2025-06-01 * * ## Import * * Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:cognitive/accountRaiBlocklist:AccountRaiBlocklist example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1 * ``` */ export declare class AccountRaiBlocklist extends pulumi.CustomResource { /** * Get an existing AccountRaiBlocklist resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AccountRaiBlocklistState, opts?: pulumi.CustomResourceOptions): AccountRaiBlocklist; /** * Returns true if the given object is an instance of AccountRaiBlocklist. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AccountRaiBlocklist; /** * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. */ readonly cognitiveAccountId: pulumi.Output; /** * A short description for the Cognitive Account Rai Blocklist. */ readonly description: pulumi.Output; /** * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. */ readonly name: pulumi.Output; /** * A mapping of tags assigned to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a AccountRaiBlocklist resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccountRaiBlocklistArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountRaiBlocklist resources. */ export interface AccountRaiBlocklistState { /** * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. */ cognitiveAccountId?: pulumi.Input; /** * A short description for the Cognitive Account Rai Blocklist. */ description?: pulumi.Input; /** * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. */ name?: pulumi.Input; /** * A mapping of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a AccountRaiBlocklist resource. */ export interface AccountRaiBlocklistArgs { /** * The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created. */ cognitiveAccountId: pulumi.Input; /** * A short description for the Cognitive Account Rai Blocklist. */ description?: pulumi.Input; /** * The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created. */ name?: pulumi.Input; /** * A mapping of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }