Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions docs/data-sources/no_drop_dscp_match_interface_policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
# 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: "Access Policies"
layout: "aci"
page_title: "ACI: aci_no_drop_dscp_match_interface_policy"
sidebar_current: "docs-aci-data-source-aci_no_drop_dscp_match_interface_policy"
description: |-
Data source for ACI No-Drop-DSCP Match Interface Policy
---

# aci_no_drop_dscp_match_interface_policy #

Data source for ACI No-Drop-DSCP Match Interface Policy

## API Information ##

* Class: [qosNodropDscpMatchIfPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosNodropDscpMatchIfPol/overview)

* Supported in ACI versions: 6.1(4) and later.

* Distinguished Name Format: `uni/infra/nodropDscpMatch-{name}`

## GUI Information ##

* Location: `Fabric -> Access Policies -> Policies -> Interface -> No-Drop-DSCP Match Policy`

## Example Usage ##

```hcl

data "aci_no_drop_dscp_match_interface_policy" "example" {
name = "test_name"
}

```

## Schema ##

### Required ###

* `name` (name) - (string) The name of the No-Drop-DSCP Match Interface Policy object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the No-Drop-DSCP Match Interface Policy object.
* `annotation` (annotation) - (string) The annotation of the No-Drop-DSCP Match Interface Policy object.
* `description` (descr) - (string) The description of the No-Drop-DSCP Match Interface Policy object.
* `admin_state` (dscpMatchAdminSt) - (string) The administrative state of the No-Drop-DSCP Match Interface Policy object.
* `name_alias` (nameAlias) - (string) The name alias of the No-Drop-DSCP Match Interface 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.
* `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.
122 changes: 122 additions & 0 deletions docs/resources/no_drop_dscp_match_interface_policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
---
# 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: "Access Policies"
layout: "aci"
page_title: "ACI: aci_no_drop_dscp_match_interface_policy"
sidebar_current: "docs-aci-resource-aci_no_drop_dscp_match_interface_policy"
description: |-
Manages ACI No-Drop-DSCP Match Interface Policy
---

# aci_no_drop_dscp_match_interface_policy #

Manages ACI No-Drop-DSCP Match Interface Policy



## API Information ##

* Class: [qosNodropDscpMatchIfPol](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/qosNodropDscpMatchIfPol/overview)

* Supported in ACI versions: 6.1(4) and later.

* Distinguished Name Format: `uni/infra/nodropDscpMatch-{name}`

## GUI Information ##

* Location: `Fabric -> Access Policies -> Policies -> Interface -> No-Drop-DSCP Match Policy`

## Example Usage ##

The configuration snippet below creates a No-Drop-DSCP Match Interface Policy with only required attributes.

```hcl

resource "aci_no_drop_dscp_match_interface_policy" "example" {
name = "test_name"
}

```
The configuration snippet below shows all possible attributes of the No-Drop-DSCP Match Interface Policy.

!> This example might not be valid configuration and is only used to show all possible attributes.

```hcl

resource "aci_no_drop_dscp_match_interface_policy" "full_example" {
annotation = "annotation"
description = "description_1"
admin_state = "off"
name = "test_name"
name_alias = "name_alias_1"
owner_key = "owner_key_1"
owner_tag = "owner_tag_1"
annotations = [
{
key = "key_0"
value = "value_1"
}
]
tags = [
{
key = "key_0"
value = "value_1"
}
]
}

```

All examples for the No-Drop-DSCP Match Interface Policy resource can be found in the [examples](https://github.com/CiscoDevNet/terraform-provider-aci/tree/master/examples/resources/aci_no_drop_dscp_match_interface_policy) folder.

## Schema ##

### Required ###

* `name` (name) - (string) The name of the No-Drop-DSCP Match Interface Policy object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the No-Drop-DSCP Match Interface Policy object.

### Optional ###

* `annotation` (annotation) - (string) The annotation of the No-Drop-DSCP Match Interface Policy object.
- Default: `"orchestrator:terraform"`
* `description` (descr) - (string) The description of the No-Drop-DSCP Match Interface Policy object.
* `admin_state` (dscpMatchAdminSt) - (string) The administrative state of the No-Drop-DSCP Match Interface Policy object.
- Default: `"off"`
- Valid Values: `"off"`, `"on"`.
* `name_alias` (nameAlias) - (string) The name alias of the No-Drop-DSCP Match Interface 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.
* `annotations` - (list) A list of Annotations (ACI object [tagAnnotation](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/tagAnnotation/overview)). Annotations can also be configured using a separate [aci_annotation](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/annotation) resource. This attribute is supported in ACI versions: 3.2(1l) and later.
#### Required ####

* `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)). Tags can also be configured using a separate [aci_tag](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/tag) resource. This attribute is supported in ACI versions: 3.2(1l) and later.
#### Required ####

* `key` (key) - (string) The key used to uniquely identify this configuration object.
* `value` (value) - (string) The value of the property.

## Importing

An existing No-Drop-DSCP Match Interface Policy can be [imported](https://www.terraform.io/docs/import/index.html) into this resource with its distinguished name (DN), via the following command:

```
terraform import aci_no_drop_dscp_match_interface_policy.example uni/infra/nodropDscpMatch-{name}
```

Starting in Terraform version 1.5, an existing No-Drop-DSCP Match Interface Policy can be imported
using [import blocks](https://developer.hashicorp.com/terraform/language/import) via the following configuration:

```
import {
id = "uni/infra/nodropDscpMatch-{name}"
to = aci_no_drop_dscp_match_interface_policy.example
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

data "aci_no_drop_dscp_match_interface_policy" "example" {
name = "test_name"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
url = ""
insecure = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
terraform {
required_providers {
aci = {
source = "ciscodevnet/aci"
}
}
}

provider "aci" {
username = ""
password = ""
url = ""
insecure = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

resource "aci_no_drop_dscp_match_interface_policy" "full_example" {
annotation = "annotation"
description = "description_1"
admin_state = "off"
name = "test_name"
name_alias = "name_alias_1"
owner_key = "owner_key_1"
owner_tag = "owner_tag_1"
annotations = [
{
key = "key_0"
value = "value_1"
}
]
tags = [
{
key = "key_0"
value = "value_1"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

resource "aci_no_drop_dscp_match_interface_policy" "example" {
name = "test_name"
}
7 changes: 7 additions & 0 deletions gen/definitions/classes/qosNodropDscpMatchIfPol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
contained_by:
- polUni
resource_name: no_drop_dscp_match_interface_policy
rn_prepend: infra
sub_category: Access Policies
ui_locations:
- Fabric -> Access Policies -> Policies -> Interface -> No-Drop-DSCP Match Policy
1 change: 1 addition & 0 deletions gen/definitions/properties/global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ resource_name_doc_overwrite:
Mld: MLD
Nd: Neighbor Discovery (ND)
Netflow: NetFlow
No Drop Dscp: No-Drop-DSCP
Ospf: OSPF
Pc Vpc Override Policy: PC VPC Override Policy
Pim: PIM
Expand Down
4 changes: 4 additions & 0 deletions gen/definitions/properties/qosNodropDscpMatchIfPol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
documentation:
dscpMatchAdminSt: The administrative state of the %s object.
overwrites:
dscp_match_admin_st: admin_state
Loading
Loading