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/priority_flow_control_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_priority_flow_control_interface_policy"
sidebar_current: "docs-aci-data-source-aci_priority_flow_control_interface_policy"
description: |-
Data source for ACI Priority Flow Control Interface Policy
---

# aci_priority_flow_control_interface_policy #

Data source for ACI Priority Flow Control Interface Policy

## API Information ##

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

* Supported in ACI versions: 2.0(1m) and later.

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

## GUI Information ##

* Location: `Fabric -> Access Policies -> Policies -> Interface -> Priority Flow Control`

## Example Usage ##

```hcl

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

```

## Schema ##

### Required ###

* `name` (name) - (string) The name of the Priority Flow Control Interface Policy object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the Priority Flow Control Interface Policy object.
* `state` (adminSt) - (string) The state of the Priority Flow Control Interface Policy object.
* `annotation` (annotation) - (string) The annotation of the Priority Flow Control Interface Policy object. This attribute is supported in ACI versions: 3.2(1l) and later.
* `description` (descr) - (string) The description of the Priority Flow Control Interface Policy object.
* `name_alias` (nameAlias) - (string) The name alias of the Priority Flow Control Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
* `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/priority_flow_control_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_priority_flow_control_interface_policy"
sidebar_current: "docs-aci-resource-aci_priority_flow_control_interface_policy"
description: |-
Manages ACI Priority Flow Control Interface Policy
---

# aci_priority_flow_control_interface_policy #

Manages ACI Priority Flow Control Interface Policy



## API Information ##

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

* Supported in ACI versions: 2.0(1m) and later.

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

## GUI Information ##

* Location: `Fabric -> Access Policies -> Policies -> Interface -> Priority Flow Control`

## Example Usage ##

The configuration snippet below creates a Priority Flow Control Interface Policy with only required attributes.

```hcl

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

```
The configuration snippet below shows all possible attributes of the Priority Flow Control Interface Policy.

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

```hcl

resource "aci_priority_flow_control_interface_policy" "full_example" {
state = "auto"
annotation = "annotation"
description = "description_1"
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 Priority Flow Control Interface Policy resource can be found in the [examples](https://github.com/CiscoDevNet/terraform-provider-aci/tree/master/examples/resources/aci_priority_flow_control_interface_policy) folder.

## Schema ##

### Required ###

* `name` (name) - (string) The name of the Priority Flow Control Interface Policy object.

### Read-Only ###

* `id` - (string) The distinguished name (DN) of the Priority Flow Control Interface Policy object.

### Optional ###

* `state` (adminSt) - (string) The state of the Priority Flow Control Interface Policy object.
- Default: `"auto"`
- Valid Values: `"auto"`, `"off"`, `"on"`.
* `annotation` (annotation) - (string) The annotation of the Priority Flow Control Interface Policy object. This attribute is supported in ACI versions: 3.2(1l) and later.
- Default: `"orchestrator:terraform"`
* `description` (descr) - (string) The description of the Priority Flow Control Interface Policy object.
* `name_alias` (nameAlias) - (string) The name alias of the Priority Flow Control Interface Policy object. This attribute is supported in ACI versions: 2.2(1k) and later.
* `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 Priority Flow Control 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_priority_flow_control_interface_policy.example uni/infra/pfc-{name}
```

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

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

data "aci_priority_flow_control_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_priority_flow_control_interface_policy" "full_example" {
state = "auto"
annotation = "annotation"
description = "description_1"
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_priority_flow_control_interface_policy" "example" {
name = "test_name"
}
9 changes: 9 additions & 0 deletions gen/definitions/classes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1266,3 +1266,12 @@ infraRsAccBndlSubgrp:

infraAccBndlSubgrp:
resource_name: "leaf_access_bundle_policy_sub_group"

qosPfcIfPol:
resource_name: "priority_flow_control_interface_policy"
sub_category: "Access Policies"
ui_locations:
- "Fabric -> Access Policies -> Policies -> Interface -> Priority Flow Control"
contained_by:
- "polUni"
rn_prepend: "infra"
6 changes: 6 additions & 0 deletions gen/definitions/properties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ global:
Pc Vpc Override Policy: "PC VPC Override Policy"
Fex: "FEX"
From Attachable Access Entity Profile To Domains: "To Domains"
Dot1x: "802.1x"
ignores:
- "userdom"

Expand Down Expand Up @@ -2895,3 +2896,8 @@ infraRsAccBndlSubgrp:
# Response Status Code: 400, Error Code: 182, Error Message: Validation failed PortBlk has a reln to AccBndlSubgrp not contained by AccBndlGrp its parent is associated to.
target_dn: ""

qosPfcIfPol:
overwrites:
admin_st: state
documentation:
adminSt: "The state of the %s object."
Loading
Loading