Skip to content

Commit

Permalink
[ignore] Fixed documentation for cloud_l4_l7_native_load_balancer by …
Browse files Browse the repository at this point in the history
…adding static_ip_address and added Type to the missing aruments in aci_connection docs.
  • Loading branch information
anvitha-jain committed Mar 4, 2024
1 parent fa46bc2 commit b397141
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 51 deletions.
2 changes: 1 addition & 1 deletion aci/data_source_aci_cloudlb.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func dataSourceAciCloudL4L7LoadBalancer() *schema.Resource {
"static_ip_address": &schema.Schema{
Type: schema.TypeSet,
Elem: &schema.Schema{Type: schema.TypeString},
Optional: true,
Computed: true,
Set: schema.HashString,
},
}),
Expand Down
3 changes: 2 additions & 1 deletion docs/data-sources/cloud_l4_l7_native_load_balancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ data "aci_cloud_l4_l7_native_load_balancer" "example" {
* `trunking` - (Read-Only) For virtual devices, if a trunking port group is to be used. Type: String.
* `cloud_l4l7_load_balancer_type` - (Read-Only) Type of the Cloud L4-L7 Native Load Balancer object. Type: String.
* `relation_cloud_rs_ldev_to_cloud_subnet` - (Read-Only) Represents the relation to a Relation from Cloud LDev to Cloud Subnet (class cloudSubnet). Type: List.
* `aaa_domain_dn` - (Read-Only) Represents the relation to a Relation from AAA Domain to Cloud L4L7 Native Load Balancer (class aaaRbacAnnotation). Type: List.
* `aaa_domain_dn` - (Read-Only) Represents the relation to a Relation from AAA Domain to Cloud L4L7 Native Load Balancer (class aaaRbacAnnotation). Type: List.
* `static_ip_address` - (Read-Only) Static IP Address of the Cloud L4-L7 Native Load Balancer object. Type: Set of String.
22 changes: 11 additions & 11 deletions docs/data-sources/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ data "aci_connection" "check" {

## Argument Reference

- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object.
- `name` - (Required) Name of Object connection.
- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object. Type: String.
- `name` - (Required) Name of Object connection. Type: String.

## Attribute Reference

- `id` - Attribute id set to the Dn of the Connection.
- `adj_type` - Connector adjacency type.
- `annotation` - Annotation for object connection.
- `description` - Description for object connection.
- `conn_dir` - Connection direction for object connection.
- `conn_type` - Connection type for object connection.
- `direct_connect` - Direct connect for object connection.
- `name_alias` - Name alias for object connection.
- `unicast_route` - Unicast route for object connection.
- `id` - Attribute id set to the Dn of the Connection. Type: String.
- `adj_type` - Connector adjacency type. Type: String.
- `annotation` - Annotation for object connection. Type: String.
- `description` - Description for object connection. Type: String.
- `conn_dir` - Connection direction for object connection. Type: String.
- `conn_type` - Connection type for object connection. Type: String.
- `direct_connect` - Direct connect for object connection. Type: String.
- `name_alias` - Name alias for object connection. Type: String.
- `unicast_route` - Unicast route for object connection. Type: String.
1 change: 1 addition & 0 deletions docs/resources/cloud_l4_l7_native_load_balancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ resource "aci_cloud_l4_l7_native_load_balancer" "example" {
* `cloud_l4l7_load_balancer_type` - (Optional) Type of the Cloud L4-L7 Native Load Balancer object. Allowed values are "application", "network", and default value is "application". Type: String.
* `relation_cloud_rs_ldev_to_cloud_subnet` - (Optional) Represents the relation to a Relation from Cloud LDev to Cloud Subnet (class cloudSubnet). Type: List.
* `aaa_domain_dn` - (Optional) Represents the relation to a Relation from AAA Domain to Cloud L4L7 Native Load Balancer (class aaaRbacAnnotation). Type: List.
* `static_ip_address` - (Optional) Static IP Address of the Cloud L4-L7 Native Load Balancer object. Type: Set of String.


## Importing ##
Expand Down
24 changes: 12 additions & 12 deletions docs/resources/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ resource "aci_connection" "conn2" {

## Argument Reference

- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object.
- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object. Type: String.
- `name` - (Required) Name of object connection. The valid connection name format is `CONX`, where X is a number starting with 0. Type: String.
- `adj_type` - (Optional) Connector adjacency type. Allowed values are "L2", "L3". Default value is "L2".
- `annotation` - (Optional) Annotation for object connection.
- `description` - (Optional) Description for object connection.
- `conn_dir` - (Optional) Connection directory for object connection. Allowed values are "consumer", "provider". Default value is "provider".
- `conn_type` - (Optional) Connection type of connection object. Allowed values are "external", "internal". Default value is "external".
- `direct_connect` - (Optional) Direct connect for object connection. Allowed values are "yes" and "no". Default value is "no".
- `name_alias` - (Optional) Name alias for object connection.
- `unicast_route` - (Optional) Unicast route for connection object. Unicast route setting should be true for L3 connections. Allowed values are "yes" and "no". Default value is "yes".

- `relation_vns_rs_abs_copy_connection` - (Optional) List of relation to class vnsAConn. Cardinality - ONE_TO_M. Type - Set of String.
- `relation_vns_rs_abs_connection_conns` - (Optional) list of relation to class vnsAConn. Cardinality - ONE_TO_M. Type - Set of String.
- `adj_type` - (Optional) Connector adjacency type. Allowed values are "L2", "L3". Default value is "L2". Type: String.
- `annotation` - (Optional) Annotation for object connection. Type: String.
- `description` - (Optional) Description for object connection. Type: String.
- `conn_dir` - (Optional) Connection directory for object connection. Allowed values are "consumer", "provider". Default value is "provider". Type: String.
- `conn_type` - (Optional) Connection type of connection object. Allowed values are "external", "internal". Default value is "external". Type: String.
- `direct_connect` - (Optional) Direct connect for object connection. Allowed values are "yes" and "no". Default value is "no". Type: String.
- `name_alias` - (Optional) Name alias for object connection. Type: String.
- `unicast_route` - (Optional) Unicast route for connection object. Unicast route setting should be true for L3 connections. Allowed values are "yes" and "no". Default value is "yes". Type: String.

- `relation_vns_rs_abs_copy_connection` - (Optional) List of relation to class vnsAConn. Cardinality - ONE_TO_M. Type: Set of String.
- `relation_vns_rs_abs_connection_conns` - (Optional) list of relation to class vnsAConn. Cardinality - ONE_TO_M. Type: Set of String.

## Attribute Reference

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@ data "aci_cloud_l4_l7_native_load_balancer" "example" {
* `trunking` - (Read-Only) For virtual devices, if a trunking port group is to be used. Type: String.
* `cloud_l4l7_load_balancer_type` - (Read-Only) Type of the Cloud L4-L7 Native Load Balancer object. Type: String.
* `relation_cloud_rs_ldev_to_cloud_subnet` - (Read-Only) Represents the relation to a Relation from Cloud LDev to Cloud Subnet (class cloudSubnet). Type: List.
* `aaa_domain_dn` - (Read-Only) Represents the relation to a Relation from AAA Domain to Cloud L4L7 Native Load Balancer (class aaaRbacAnnotation). Type: List.
* `aaa_domain_dn` - (Read-Only) Represents the relation to a Relation from AAA Domain to Cloud L4L7 Native Load Balancer (class aaaRbacAnnotation). Type: List.
* `static_ip_address` - (Read-Only) Static IP Address of the Cloud L4-L7 Native Load Balancer object. Type: Set of String.
22 changes: 11 additions & 11 deletions legacy-docs/docs/d/connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ data "aci_connection" "check" {

## Argument Reference

- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object.
- `name` - (Required) Name of Object connection.
- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object. Type: String.
- `name` - (Required) Name of Object connection. Type: String.

## Attribute Reference

- `id` - Attribute id set to the Dn of the Connection.
- `adj_type` - Connector adjacency type.
- `annotation` - Annotation for object connection.
- `description` - Description for object connection.
- `conn_dir` - Connection direction for object connection.
- `conn_type` - Connection type for object connection.
- `direct_connect` - Direct connect for object connection.
- `name_alias` - Name alias for object connection.
- `unicast_route` - Unicast route for object connection.
- `id` - Attribute id set to the Dn of the Connection. Type: String.
- `adj_type` - Connector adjacency type. Type: String.
- `annotation` - Annotation for object connection. Type: String.
- `description` - Description for object connection. Type: String.
- `conn_dir` - Connection direction for object connection. Type: String.
- `conn_type` - Connection type for object connection. Type: String.
- `direct_connect` - Direct connect for object connection. Type: String.
- `name_alias` - Name alias for object connection. Type: String.
- `unicast_route` - Unicast route for object connection. Type: String.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ resource "aci_cloud_l4_l7_native_load_balancer" "example" {
* `cloud_l4l7_load_balancer_type` - (Optional) Type of the Cloud L4-L7 Native Load Balancer object. Allowed values are "application", "network", and default value is "application". Type: String.
* `relation_cloud_rs_ldev_to_cloud_subnet` - (Optional) Represents the relation to a Relation from Cloud LDev to Cloud Subnet (class cloudSubnet). Type: List.
* `aaa_domain_dn` - (Optional) Represents the relation to a Relation from AAA Domain to Cloud L4L7 Native Load Balancer (class aaaRbacAnnotation). Type: List.
* `static_ip_address` - (Optional) Static IP Address of the Cloud L4-L7 Native Load Balancer object. Type: Set of String.


## Importing ##
Expand Down
27 changes: 13 additions & 14 deletions legacy-docs/docs/r/connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,24 @@ resource "aci_connection" "conn2" {

## Argument Reference

- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object.
- `name` - (Required) Name of object connection.
- `adj_type` - (Optional) Connector adjacency type. Allowed values are "L2", "L3". Default value is "L2".
- `annotation` - (Optional) Annotation for object connection.
- `description` - (Optional) Description for object connection.
- `conn_dir` - (Optional) Connection directory for object connection. Allowed values are "consumer", "provider". Default value is "provider".
- `conn_type` - (Optional) Connection type of connection object. Allowed values are "external", "internal". Default value is "external".
- `direct_connect` - (Optional) Direct connect for object connection. Allowed values are "yes" and "no". Default value is "no".
- `name_alias` - (Optional) Name alias for object connection.
- `unicast_route` - (Optional) Unicast route for connection object. Unicast route setting should be true for L3 connections. Allowed values are "yes" and "no". Default value is "yes".

- `relation_vns_rs_abs_copy_connection` - (Optional) List of relation to class vnsAConn. Cardinality - ONE_TO_M. Type - Set of String.
- `relation_vns_rs_abs_connection_conns` - (Optional) list of relation to class vnsAConn. Cardinality - ONE_TO_M. Type - Set of String.
- `l4_l7_service_graph_template_dn` - (Required) Distinguished name of parent L4-L7 Service Graph Template object. Type: String.
- `name` - (Required) Name of object connection. The valid connection name format is `CONX`, where X is a number starting with 0. Type: String.
- `adj_type` - (Optional) Connector adjacency type. Allowed values are "L2", "L3". Default value is "L2". Type: String.
- `annotation` - (Optional) Annotation for object connection. Type: String.
- `description` - (Optional) Description for object connection. Type: String.
- `conn_dir` - (Optional) Connection directory for object connection. Allowed values are "consumer", "provider". Default value is "provider". Type: String.
- `conn_type` - (Optional) Connection type of connection object. Allowed values are "external", "internal". Default value is "external". Type: String.
- `direct_connect` - (Optional) Direct connect for object connection. Allowed values are "yes" and "no". Default value is "no". Type: String.
- `name_alias` - (Optional) Name alias for object connection. Type: String.
- `unicast_route` - (Optional) Unicast route for connection object. Unicast route setting should be true for L3 connections. Allowed values are "yes" and "no". Default value is "yes". Type: String.

- `relation_vns_rs_abs_copy_connection` - (Optional) List of relation to class vnsAConn. Cardinality - ONE_TO_M. Type: Set of String.
- `relation_vns_rs_abs_connection_conns` - (Optional) list of relation to class vnsAConn. Cardinality - ONE_TO_M. Type: Set of String.

## Attribute Reference

The only attribute that this resource exports is the `id`, which is set to the
Dn of the Connection.

## Importing

An existing Connection can be [imported][docs-import] into this resource via its Dn, via the following command:
Expand Down

0 comments on commit b397141

Please sign in to comment.