-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[minor_change] Add daci_netflow_monitor_policy and aci_relation_to_ne…
…tflow_exporter resources and datasources (#1208)
- Loading branch information
Showing
61 changed files
with
7,295 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
--- | ||
# Documentation generated by "gen/generator.go"; DO NOT EDIT. | ||
# In order to regenerate this file execute `go generate` from the repository root. | ||
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md). | ||
subcategory: "Tenant Policies" | ||
layout: "aci" | ||
page_title: "ACI: aci_netflow_monitor_policy" | ||
sidebar_current: "docs-aci-data-source-aci_netflow_monitor_policy" | ||
description: |- | ||
Data source for Netflow Monitor Policy | ||
--- | ||
|
||
# aci_netflow_monitor_policy # | ||
|
||
Data source for Netflow Monitor Policy | ||
|
||
## API Information ## | ||
|
||
* Class: [netflowMonitorPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowMonitorPol/overview) | ||
|
||
|
||
* Distinguished Name Formats: | ||
- `uni/infra/monitorpol-{name}` | ||
- `uni/tn-{name}/monitorpol-{name}` | ||
|
||
## GUI Information ## | ||
|
||
* Locations: | ||
- `Tenants -> Policies -> NetFlow -> NetFlow Monitors` | ||
- `Fabric -> Access Policies -> Policies -> Interface -> NetFlow -> NetFlow Monitors` | ||
|
||
## Example Usage ## | ||
|
||
```hcl | ||
data "aci_netflow_monitor_policy" "example_tenant" { | ||
parent_dn = aci_tenant.example.id | ||
name = "netfow_monitor" | ||
} | ||
``` | ||
|
||
## Schema ## | ||
|
||
### 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 distinquised 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 Netflow Monitor Policy object. | ||
|
||
### Read-Only ### | ||
|
||
* `id` - (string) The distinguished name (DN) of the Netflow Monitor Policy object. | ||
* `annotation` (annotation) - (string) The annotation of the Netflow Monitor Policy object. | ||
* `description` (descr) - (string) The description of the Netflow Monitor Policy object. | ||
* `name_alias` (nameAlias) - (string) The name alias of the Netflow Monitor Policy object. | ||
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation. | ||
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object. | ||
|
||
* `relation_to_netflow_exporters` - (list) A list of Relation To Netflow Exporters (ACI object [netflowRsMonitorToExporter](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsMonitorToExporter/overview)) pointing to Netflow Exporter Policy (ACI Object [netflowExporterPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowExporterPol/overview)). | ||
* `annotation` (annotation) - (string) The annotation of the Relation To Netflow Exporter object. | ||
* `netflow_exporter_policy_name` (tnNetflowExporterPolName) - (string) Name. | ||
|
||
* `relation_to_netflow_record` - (list) A list of Relation To Netflow Record (ACI object [netflowRsMonitorToRecord](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsMonitorToRecord/overview)) pointing to Netflow Record Policy (ACI Object [netflowRecordPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRecordPol/overview)). | ||
* `annotation` (annotation) - (string) The annotation of the Relation To Netflow Record object. | ||
* `netflow_record_policy_name` (tnNetflowRecordPolName) - (string) Name. | ||
|
||
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later. | ||
* `key` (key) - (string) The key used to uniquely identify this configuration object. | ||
* `value` (value) - (string) The value of the property. | ||
|
||
* `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). This attribute is supported in ACI versions: 3.2(1l) and later. | ||
* `key` (key) - (string) The key used to uniquely identify this configuration object. | ||
* `value` (value) - (string) The value of the property. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
# Documentation generated by "gen/generator.go"; DO NOT EDIT. | ||
# In order to regenerate this file execute `go generate` from the repository root. | ||
# More details can be found in the [README](https://github.com/CiscoDevNet/terraform-provider-aci/blob/master/README.md). | ||
subcategory: "Tenant Policies" | ||
layout: "aci" | ||
page_title: "ACI: aci_relation_to_netflow_exporter" | ||
sidebar_current: "docs-aci-data-source-aci_relation_to_netflow_exporter" | ||
description: |- | ||
Data source for Relation To Netflow Exporter | ||
--- | ||
|
||
# aci_relation_to_netflow_exporter # | ||
|
||
Data source for Relation To Netflow Exporter | ||
|
||
## API Information ## | ||
|
||
* Class: [netflowRsMonitorToExporter](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowRsMonitorToExporter/overview) | ||
|
||
|
||
* Distinguished Name Formats: | ||
- `uni/infra/monitorpol-{name}/rsmonitorToExporter-{tnNetflowExporterPolName}` | ||
- `uni/tn-{name}/monitorpol-{name}/rsmonitorToExporter-{tnNetflowExporterPolName}` | ||
|
||
## GUI Information ## | ||
|
||
* Locations: | ||
- `Tenants -> Policies -> NetFlow -> NetFlow Monitors` | ||
- `Fabric -> Access Policies -> Policies -> Interface -> NetFlow -> NetFlow Monitors` | ||
|
||
## Example Usage ## | ||
|
||
```hcl | ||
data "aci_relation_to_netflow_exporter" "example_netflow_monitor_policy" { | ||
parent_dn = aci_netflow_monitor_policy.example.id | ||
netflow_exporter_policy_name = aci_netflow_exporter_policy.example.name | ||
} | ||
``` | ||
|
||
## Schema ## | ||
|
||
### Required ### | ||
|
||
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources: | ||
- [aci_netflow_monitor_policy](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/netflow_monitor_policy) ([netflowMonitorPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/netflowMonitorPol/overview)) | ||
* `netflow_exporter_policy_name` (tnNetflowExporterPolName) - (string) Name. This attribute can be referenced from a [resource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/netflow_exporter_policy) with `aci_netflow_exporter_policy.example.name` or from a [datasource](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/data-sources/netflow_exporter_policy) with `data.aci_netflow_exporter_policy.example.name`. | ||
|
||
### Read-Only ### | ||
|
||
* `id` - (string) The distinguished name (DN) of the Relation To Netflow Exporter object. | ||
* `annotation` (annotation) - (string) The annotation of the Relation To Netflow Exporter object. | ||
|
||
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). This attribute is supported in ACI versions: 3.2(1l) and later. | ||
* `key` (key) - (string) The key used to uniquely identify this configuration object. | ||
* `value` (value) - (string) The value of the property. | ||
|
||
* `tags` - (list) A list of Tags (ACI object [tagTag](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagTag/overview)). This attribute is supported in ACI versions: 3.2(1l) and later. | ||
* `key` (key) - (string) The key used to uniquely identify this configuration object. | ||
* `value` (value) - (string) The value of the property. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.