Skip to content

Commit

Permalink
doc: updated the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
feliperezende-barbosa committed Dec 11, 2024
1 parent 010ba49 commit 94a21ec
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
subcategory: "Cognitive Services"
layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_cognitive_rai_blocklist"
page_title: "Azure Resource Manager: azurerm_cognitive_account_rai_blocklist"
description: |-
Manages a Cognitive Rai Blocklist.
Manages a Cognitive Account Rai Blocklist.
---

# azurerm_cognitive_rai_blocklist
# azurerm_cognitive_account_rai_blocklist

Manages a Cognitive Rai Blocklist.
Manages a Cognitive Account Rai Blocklist.

## Example Usage

Expand All @@ -26,7 +26,7 @@ resource "azurerm_cognitive_account" "example" {
sku_name = "S0"
}
resource "azurerm_cognitive_rai_blocklist" "example" {
resource "azurerm_cognitive_account_rai_blocklist" "example" {
name = "example-crb"
cognitive_account_id = azurerm_cognitive_account.example.id
description = "Azure OpenAI Rai Blocklist"
Expand All @@ -37,32 +37,32 @@ resource "azurerm_cognitive_rai_blocklist" "example" {

The following arguments are supported:

* `name` - (Required) The name of the Cognitive Services Rai Blocklist. Changing this forces a new Cognitive Rai Blocklist Example to be created.
* `name` - (Required) The name of the Cognitive Account Rai Blocklist. Changing this forces a new Cognitive Account Rai Blocklist to be created.

* `cognitive_account_id` - (Required) The ID of the Cognitive Services Account. Changing this forces a new Cognitive Rai Blocklist Example to be created.
* `cognitive_account_id` - (Required) The ID of the Cognitive Services Account. Changing this forces a new Cognitive Account Rai Blocklist to be created.

---

* `description` - (Optional) A short description for the Rai Blocklist.
* `description` - (Optional) A short description for the Cognitive Account Rai Blocklist.

## Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

* `id` - The ID of the Cognitive Rai Blocklist.
* `id` - The ID of the Cognitive Account Rai Blocklist.

## Timeouts

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions:

* `create` - (Defaults to 30 minutes) Used when creating the Cognitive Rai Blocklist.
* `read` - (Defaults to 5 minutes) Used when retrieving the Cognitive Rai Blocklist.
* `update` - (Defaults to 30 minutes) Used when updating the Cognitive Rai Blocklist.
* `delete` - (Defaults to 30 minutes) Used when deleting the Cognitive Rai Blocklist.
* `create` - (Defaults to 30 minutes) Used when creating the Cognitive Account Rai Blocklist.
* `read` - (Defaults to 5 minutes) Used when retrieving the Cognitive Account Rai Blocklist.
* `update` - (Defaults to 30 minutes) Used when updating the Cognitive Account Rai Blocklist.
* `delete` - (Defaults to 30 minutes) Used when deleting the Cognitive Account Rai Blocklist.

## Import

Cognitive Rai Blocklist can be imported using the `resource id`, e.g.
Cognitive Account Rai Blocklist can be imported using the `resource id`, e.g.

```shell
terraform import azurerm_cognitive_rai_blocklist.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.CognitiveServices/accounts/account1/raiBlocklists/raiblocklist1
Expand Down

0 comments on commit 94a21ec

Please sign in to comment.