Skip to content

Commit

Permalink
Merge pull request #709 from Juniper/bug/695-documentation
Browse files Browse the repository at this point in the history
Bug #695 - Documentation Fix
  • Loading branch information
chrismarget-j authored Jul 12, 2024
2 parents 6ae1b78 + 78891cf commit e28b2cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apstra/resource_interface_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ func (o *resourceInterfaceMap) Schema(_ context.Context, _ resource.SchemaReques
Validators: []validator.String{stringvalidator.LengthAtLeast(1)},
},
"interfaces": schema.SetNestedAttribute{
MarkdownDescription: "Ordered list of interface mapping info.",
MarkdownDescription: "Set of interface mapping info.",
Required: true,
Validators: []validator.Set{setvalidator.SizeAtLeast(1)},
NestedObject: schema.NestedAttributeObject{
Attributes: rInterfaceMapInterface{}.attributes(),
},
},
"unused_interfaces": schema.SetNestedAttribute{
MarkdownDescription: "Ordered list of interface mapping info for unused interfaces.",
MarkdownDescription: "Set of of interface mapping info detailing unused interfaces.",
Computed: true,
NestedObject: schema.NestedAttributeObject{
Attributes: rInterfaceMapInterface{}.unusedAttributes(),
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/interface_map.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ resource "apstra_interface_map" "with_loops" {
### Required

- `device_profile_id` (String) ID of Device Profile to be mapped.
- `interfaces` (Attributes Set) Ordered list of interface mapping info. (see [below for nested schema](#nestedatt--interfaces))
- `interfaces` (Attributes Set) Set of interface mapping info. (see [below for nested schema](#nestedatt--interfaces))
- `logical_device_id` (String) ID of Logical Device to be mapped.
- `name` (String) Interface Map name as displayed in the web UI

### Read-Only

- `id` (String) Apstra ID number of the Interface Map
- `unused_interfaces` (Attributes Set) Ordered list of interface mapping info for unused interfaces. (see [below for nested schema](#nestedatt--unused_interfaces))
- `unused_interfaces` (Attributes Set) Set of of interface mapping info detailing unused interfaces. (see [below for nested schema](#nestedatt--unused_interfaces))

<a id="nestedatt--interfaces"></a>
### Nested Schema for `interfaces`
Expand Down

0 comments on commit e28b2cd

Please sign in to comment.