forked from CiscoDevNet/terraform-provider-aci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65b4375
commit 126f211
Showing
22 changed files
with
2,387 additions
and
5 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,66 @@ | ||
--- | ||
# 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: "Multi-Site" | ||
layout: "aci" | ||
page_title: "ACI: aci_remote_site_id_mappings" | ||
sidebar_current: "docs-aci-data-source-aci_remote_site_id_mappings" | ||
description: |- | ||
Data source for Remote Site Id Mappings | ||
--- | ||
|
||
# aci_remote_site_id_mappings # | ||
|
||
Data source for Remote Site Id Mappings | ||
|
||
## API Information ## | ||
|
||
* Class: [fvRemoteId](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRemoteId/overview) | ||
|
||
* Supported in ACI versions: 3.0(1k) and later. | ||
|
||
* Distinguished Name Format: `uni/tn-{name}/ctx-{name}/stAsc/site-{siteId}` | ||
|
||
## GUI Information ## | ||
|
||
* Location: `Not shown in UI` | ||
|
||
## Example Usage ## | ||
|
||
```hcl | ||
data "aci_remote_site_id_mappings" "example_associated_site" { | ||
parent_dn = aci_associated_site.example.id | ||
site_id = "0" | ||
} | ||
``` | ||
|
||
## Schema ## | ||
|
||
### Required ### | ||
|
||
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources: | ||
- [aci_associated_site](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/associated_site) ([fvSiteAssociated](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvSiteAssociated/overview)) | ||
* `site_id` (siteId) - (string) Remote Site ID. | ||
|
||
### Read-Only ### | ||
|
||
* `id` - (string) The distinguished name (DN) of the Remote Site Id Mappings object. | ||
* `annotation` (annotation) - (string) The annotation of the Remote Site Id Mappings object. | ||
* `description` (descr) - (string) The description of the Remote Site Id Mappings object. | ||
* `name` (name) - (string) The name of the Remote Site Id Mappings object. | ||
* `name_alias` (nameAlias) - (string) The name alias of the Remote Site Id Mappings 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. | ||
* `remote_ctx_pc_tag` (remoteCtxPcTag) - (string) Remote context's *pcTag*, mapping required for default route case. | ||
* `remote_pc_tag` (remotePcTag) - (string) Remote Class ID. | ||
|
||
* `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
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
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,134 @@ | ||
--- | ||
# 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: "Multi-Site" | ||
layout: "aci" | ||
page_title: "ACI: aci_remote_site_id_mappings" | ||
sidebar_current: "docs-aci-resource-aci_remote_site_id_mappings" | ||
description: |- | ||
Manages ACI Remote Site Id Mappings | ||
--- | ||
|
||
# aci_remote_site_id_mappings # | ||
|
||
Manages ACI Remote Site Id Mappings | ||
|
||
|
||
|
||
## API Information ## | ||
|
||
* Class: [fvRemoteId](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRemoteId/overview) | ||
|
||
* Supported in ACI versions: 3.0(1k) and later. | ||
|
||
* Distinguished Name Format: `uni/tn-{name}/ctx-{name}/stAsc/site-{siteId}` | ||
|
||
## GUI Information ## | ||
|
||
* Location: `Not shown in UI` | ||
|
||
## Example Usage ## | ||
|
||
The configuration snippet below creates a Remote Site Id Mappings with only required attributes. | ||
|
||
```hcl | ||
resource "aci_remote_site_id_mappings" "example_associated_site" { | ||
parent_dn = aci_associated_site.example.id | ||
site_id = "0" | ||
} | ||
``` | ||
The configuration snippet below shows all possible attributes of the Remote Site Id Mappings. | ||
|
||
!> This example might not be valid configuration and is only used to show all possible attributes. | ||
|
||
```hcl | ||
resource "aci_remote_site_id_mappings" "full_example_associated_site" { | ||
parent_dn = aci_associated_site.example.id | ||
annotation = "annotation" | ||
description = "description" | ||
name = "name" | ||
name_alias = "name_alias" | ||
owner_key = "owner_key" | ||
owner_tag = "owner_tag" | ||
remote_ctx_pc_tag = "remote_ctx_pc_tag" | ||
remote_pc_tag = "remote_pc_tag" | ||
site_id = "0" | ||
annotations = [ | ||
{ | ||
key = "key_0" | ||
value = "value_1" | ||
} | ||
] | ||
tags = [ | ||
{ | ||
key = "key_0" | ||
value = "value_1" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
All examples for the Remote Site Id Mappings resource can be found in the [examples](https://github.com/CiscoDevNet/terraform-provider-aci/tree/master/examples/resources/aci_remote_site_id_mappings) folder. | ||
|
||
## Schema ## | ||
|
||
### Required ### | ||
|
||
* `parent_dn` - (string) The distinguished name (DN) of the parent object, possible resources: | ||
- [aci_associated_site](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/associated_site) ([fvSiteAssociated](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvSiteAssociated/overview)) | ||
* `site_id` (siteId) - (string) Remote Site ID. | ||
|
||
### Read-Only ### | ||
|
||
* `id` - (string) The distinguished name (DN) of the Remote Site Id Mappings object. | ||
|
||
### Optional ### | ||
|
||
* `annotation` (annotation) - (string) The annotation of the Remote Site Id Mappings object. | ||
- Default: `orchestrator:terraform` | ||
* `description` (descr) - (string) The description of the Remote Site Id Mappings object. | ||
* `name` (name) - (string) The name of the Remote Site Id Mappings object. | ||
* `name_alias` (nameAlias) - (string) The name alias of the Remote Site Id Mappings 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. | ||
* `remote_ctx_pc_tag` (remoteCtxPcTag) - (string) Remote context's *pcTag*, mapping required for default route case. | ||
- Valid Values: `any`. | ||
* `remote_pc_tag` (remotePcTag) - (string) Remote Class ID. | ||
- Valid Values: `any`. | ||
|
||
* `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 Remote Site Id Mappings 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_remote_site_id_mappings.example_associated_site uni/tn-{name}/ctx-{name}/stAsc/site-{siteId} | ||
``` | ||
|
||
Starting in Terraform version 1.5, an existing Remote Site Id Mappings can be imported | ||
using [import blocks](https://developer.hashicorp.com/terraform/language/import) via the following configuration: | ||
|
||
``` | ||
import { | ||
id = "uni/tn-{name}/ctx-{name}/stAsc/site-{siteId}" | ||
to = aci_remote_site_id_mappings.example_associated_site | ||
} | ||
``` |
Oops, something went wrong.