Skip to content

Commit

Permalink
[minor_changes] fixed example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahammughal committed Jun 5, 2024
1 parent 73d10c2 commit b7243dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
7 changes: 1 addition & 6 deletions docs/data-sources/associated_site.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ Data source for Associated Site
* Class: [fvSiteAssociated](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvSiteAssociated/overview)


* Distinguished Name Formats:
- `uni/tn-{name}/BD-{name}/stAsc`
- `uni/tn-{name}/ap-{name}/epg-{name}/stAsc`
- `uni/tn-{name}/ctx-{name}/stAsc`
- `uni/tn-{name}/mscGraphXlateCont/epgDefXlate-[{epgDefDn}]/stAsc`
- `uni/tn-{name}/out-{name}/instP-{name}/stAsc`
* Distinguished Name Format: `uni/tn-{name}/ctx-{name}/stAsc`

## GUI Information ##

Expand Down
11 changes: 3 additions & 8 deletions docs/resources/associated_site.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ Manages ACI Associated Site
* Class: [fvSiteAssociated](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvSiteAssociated/overview)


* Distinguished Name Formats:
- `uni/tn-{name}/BD-{name}/stAsc`
- `uni/tn-{name}/ap-{name}/epg-{name}/stAsc`
- `uni/tn-{name}/ctx-{name}/stAsc`
- `uni/tn-{name}/mscGraphXlateCont/epgDefXlate-[{epgDefDn}]/stAsc`
- `uni/tn-{name}/out-{name}/instP-{name}/stAsc`
* Distinguished Name Format: `uni/tn-{name}/ctx-{name}/stAsc`

## GUI Information ##

Expand Down Expand Up @@ -152,15 +147,15 @@ All examples for the Associated Site resource can be found in the [examples](htt
An existing Associated Site 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_associated_site.example_application_epg uni/tn-{name}/mscGraphXlateCont/epgDefXlate-[{epgDefDn}]/stAsc
terraform import aci_associated_site.example_application_epg uni/tn-{name}/ctx-{name}/stAsc
```

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

```
import {
id = "uni/tn-{name}/mscGraphXlateCont/epgDefXlate-[{epgDefDn}]/stAsc"
id = "uni/tn-{name}/ctx-{name}/stAsc"
to = aci_associated_site.example_application_epg
}
```
2 changes: 2 additions & 0 deletions gen/definitions/classes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ fvSiteAssociated:
ui_locations:
- "Not shown in UI"
sub_category: "Multi-Site"
dn_formats:
- "uni/tn-{name}/ctx-{name}/stAsc"

l3extRsOutToFBRGroup:
resource_name: "relation_to_fallback_route_group"
Expand Down

0 comments on commit b7243dd

Please sign in to comment.