Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutisuryawanshigenesys committed Jul 16, 2024
1 parent c384a7f commit 0156b0f
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/data-sources/supported_content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "genesyscloud_supported_content Data Source - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud supported content data source. Select an supported content by name
---

# genesyscloud_supported_content (Data Source)

Genesys Cloud supported content data source. Select an supported content by name



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) supported content name

### Read-Only

- `id` (String) The ID of this resource.
69 changes: 69 additions & 0 deletions docs/resources/supported_content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
page_title: "genesyscloud_supported_content Resource - terraform-provider-genesyscloud"
subcategory: ""
description: |-
Genesys Cloud supported content
---
# genesyscloud_supported_content (Resource)

Genesys Cloud supported content

## API Usage
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations:

**No APIs**



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) The name of the supported content profile

### Optional

- `media_types` (Block List, Max: 1) Defines the allowable media that may be accepted for an inbound message or to be sent in an outbound message. The following is an example of allowing all inbound media, and for outbound all images and only mpeg video: {
"mediaTypes": {
"allow": {
"inbound": [{"type": "*/*"}],
"outbound": [{"type": "image/*"}, {"type": "video/mpeg"}]
}
}
} (see [below for nested schema](#nestedblock--media_types))

### Read-Only

- `id` (String) The ID of this resource.

<a id="nestedblock--media_types"></a>
### Nested Schema for `media_types`

Optional:

- `allow` (Block List, Max: 1) Specify allowed media types for inbound and outbound messages. If this field is empty, all inbound and outbound media will be blocked. (see [below for nested schema](#nestedblock--media_types--allow))

<a id="nestedblock--media_types--allow"></a>
### Nested Schema for `media_types.allow`

Optional:

- `inbound` (Block List) List of media types allowed for inbound messages from customers. If inbound messages from a customer contain media that is not in this list, the media will be dropped from the outbound message. (see [below for nested schema](#nestedblock--media_types--allow--inbound))
- `outbound` (Block List) List of media types allowed for outbound messages to customers. If an outbound message is sent that contains media that is not in this list, the message will not be sent. (see [below for nested schema](#nestedblock--media_types--allow--outbound))

<a id="nestedblock--media_types--allow--inbound"></a>
### Nested Schema for `media_types.allow.inbound`

Optional:

- `type` (String) The media type string as defined by RFC 2046. You can define specific types such as 'image/jpeg', 'video/mpeg', or specify wild cards for a range of types, 'image/*', or all types '*/*'. See https://www.iana.org/assignments/media-types/media-types.xhtml for a list of registered media types.


<a id="nestedblock--media_types--allow--outbound"></a>
### Nested Schema for `media_types.allow.outbound`

Optional:

- `type` (String) The media type string as defined by RFC 2046. You can define specific types such as 'image/jpeg', 'video/mpeg', or specify wild cards for a range of types, 'image/*', or all types '*/*'. See https://www.iana.org/assignments/media-types/media-types.xhtml for a list of registered media types.

0 comments on commit 0156b0f

Please sign in to comment.