Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.44 KB

File metadata and controls

62 lines (43 loc) · 2.44 KB
subcategory Access Policies
layout aci
page_title ACI: aci_access_port_selector
sidebar_current docs-aci-list-resource-aci_access_port_selector
description Manages ACI Access Port Selector

aci_access_port_selector

List existing ACI Access Port Selector objects with the terraform query command.

For more information about the usage see the official Hashicorp documentation for importing existing resources in bulk.

API Information

  • Class: infraHPortS

  • Supported in ACI versions: 1.0(1e) and later.

  • Distinguished Name Formats:

    • uni/infra/accportprof-{name}/hports-{name}-typ-{type}
    • uni/infra/fexprof-{name}/hports-{name}-typ-{type}

GUI Information

  • Location: Fabric -> Access Policies -> Interfaces -> Leaf Interfaces -> Profiles -> Interface Selectors

Example Usage

The configuration snippet below shows an example for Access Port Selector with only required attributes. This snippet retrieves a list of all Access Port Selector objects.

list "aci_access_port_selector" "example" {
  provider = aci
}

The configuration snippet below shows an example for Access Port Selector with filter capabilties.

list "aci_access_port_selector" "example" {
  provider = aci
  config {
    filter = "query-target-filter=eq(infraHPortS.dn,\"uni/infra/fexprof-{name}/hports-{name}-typ-{type}\")"
  }
}

Schema

Optional