Skip to content

Commit

Permalink
[minor_change] Add default parent dn for Data Plane Policing Policy r…
Browse files Browse the repository at this point in the history
…esource
  • Loading branch information
akinross committed Aug 7, 2024
1 parent c97e512 commit 3631de8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs/data-sources/data_plane_policing_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ data "aci_data_plane_policing_policy" "example_tenant" {
- The distinguished name (DN) of classes below can be used but currently there is no available resource for it:
- [infraInfra](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraInfra/overview)

- Default: `uni/infra`

* `name` (name) - (string) The name of the Data Plane Policing Policy object.

### Read-Only ###
Expand Down
11 changes: 6 additions & 5 deletions docs/resources/data_plane_policing_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,19 @@ All examples for the Data Plane Policing Policy resource can be found in the [ex

### Required ###

* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_tenant](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/tenant) ([fvTenant](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvTenant/overview))
- The distinguished name (DN) of classes below can be used but currently there is no available resource for it:
- [infraInfra](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraInfra/overview)

* `name` (name) - (string) The name of the Data Plane Policing Policy object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the Data Plane Policing Policy object.

### Optional ###
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources:
- [aci_tenant](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/tenant) ([fvTenant](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvTenant/overview))
- The distinguished name (DN) of classes below can be used but currently there is no available resource for it:
- [infraInfra](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/infraInfra/overview)

- Default: `uni/infra`

* `admin_state` (adminSt) - (string) The administrative state of the Data Plane Policing Policy object.
- Default: `disabled`
Expand Down
1 change: 1 addition & 0 deletions gen/definitions/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ fhsTrustCtrlPol:

qosDppPol:
default_values:
parent_dn: "uni/infra"
pir: "0"
rate: "0"
documentation:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion internal/provider/resource_aci_data_plane_policing_policy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3631de8

Please sign in to comment.