Skip to content

Commit

Permalink
[ignore] Add changes to rest docs to prevent reverting the changes ma…
Browse files Browse the repository at this point in the history
…de in escape html PR
  • Loading branch information
akinross committed Apr 30, 2024
1 parent 15464f5 commit 2481e98
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions legacy-docs/docs/d/rest.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ data "aci_rest" "tenant_rest_children" {

- `id` - Dishtiguished name of object being managed.
- `class_name` - Class name of object being managed.
- `content` - Map of key-value pairs which represents the attributes for the object being managed.
- `content` - A map of key-value pairs which represents the attributes for the object being managed.
- `dn` - Distinguished name of object being managed.
- `children` - Set of children of the object being managed.
- `children.child_class_name` - Class name of the child of the object being managed.
- `children.child_content` - Map of key-value pairs which represents the attributes for child of the object being managed.
- `children.child_content` - A map of key-value pairs which represents the attributes for child of the object being managed.
4 changes: 2 additions & 2 deletions legacy-docs/docs/d/rest_managed.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ data "aci_rest_managed" "example" {
* `class_name` - (string) Which class object is being created.
* `id` - (string) The Distinguished Name of the object.
* `annotation` - (string) Annotation for the class object that is being created. When annotation is provided in content this will take precedence.
* `content` (map) Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
* `content` - (map) A map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.

* `child` - (list) A list of child objects.
* `rn` - (string) The Relative Name of the child object.
* `class_name` - (string) Class name of child object.
* `content` (map) Map of key-value pairs which represents the attributes for the child object.
* `content` - (map) A map of key-value pairs which represents the attributes for the child object.
2 changes: 1 addition & 1 deletion legacy-docs/docs/r/rest.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ resource "aci_rest" "rest_yaml" {

- `path` - (Required) ACI path where object should be created. Starting with api/node/mo/{parent-dn}(if applicable)/{rn of object}.json
- `class_name` - (Optional) Which class object is being created. (Make sure there is no colon in the classname )
- `content` - (Optional) Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
- `content` - (Optional) A map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
- `payload` - (Optional) Freestyle JSON or YAML payload which can directly be passed to the REST endpoint added in path. Either of content or payload is required.
- `dn` - (Optional) Distinguished name of object being managed.

Expand Down
7 changes: 5 additions & 2 deletions legacy-docs/docs/r/rest_managed.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@ resource "aci_rest_managed" "example_tenant_with_child" {

* `annotation` - (string) Annotation for the class object that is being created.
- Default: `orchestrator:terraform`
* `content` (map) Map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.
* `content` - (map) A map of key-value pairs those needed to be passed to the Model object as parameters. Make sure the key name matches the name with the object parameter in ACI.

!> The annotation property is not allowed to be set in the content map of the resource.

* `escape_html` - (Boolean) Enable escaping of HTML characters when encoding the JSON payload.
- Default: `true`

* `child` - (list) A list of child objects.

#### Required ####
Expand All @@ -94,7 +97,7 @@ resource "aci_rest_managed" "example_tenant_with_child" {

#### Optional ###

* `content` (map) Map of key-value pairs which represents the attributes for the child object. When annotation is provided in the content of the child it will take precedence over the annotation set at the parent level.
* `content` - (map) A map of key-value pairs which represents the attributes for the child object. When annotation is provided in the content of the child it will take precedence over the annotation set at the parent level.

## Importing ##

Expand Down

0 comments on commit 2481e98

Please sign in to comment.