diff --git a/docs/resources/function_node.md b/docs/resources/function_node.md index da8a24455..ae043cc75 100644 --- a/docs/resources/function_node.md +++ b/docs/resources/function_node.md @@ -47,7 +47,7 @@ resource "aci_function_node" "example" { - `name` - (Required) Name of the Function Node object. Type: String. - The valid function node name format for cloud APICs is `NX`, where X is a number starting with 0. - The valid function node name format for on-prem APICs is `NX`, where X is a number starting with 1. - - The valid function node - copy name format for on-prem APICs is `CPX`, where X is a number starting with 1. + - The valid copy function node name format for on-premises APICs is `CPX`, where X is a number starting with 1. - `annotation` - (Optional) Annotation of the Function Node object. Type: String. - `description` - (Optional) Description of the Function Node object. Type: String. - `func_template_type` - (Optional) Function Template type of the Function Node object. Allowed values: "OTHER", "FW_TRANS", "FW_ROUTED", "CLOUD_VENDOR_LB", "CLOUD_VENDOR_FW", "CLOUD_NATIVE_LB", "CLOUD_NATIVE_FW", "ADC_TWO_ARM", "ADC_ONE_ARM". Default value: "OTHER". Type: String. diff --git a/examples/function_node/main.tf b/examples/function_node/main.tf index 1c037a57d..0bcfb16bd 100644 --- a/examples/function_node/main.tf +++ b/examples/function_node/main.tf @@ -17,6 +17,7 @@ provider "aci" { data "aci_tenant" "tf_tenant" { name = "tf_ansible_test" } + data "aci_vrf" "tf_vrf" { tenant_dn = data.aci_tenant.tf_tenant.id name = "tf_vrf" @@ -26,10 +27,12 @@ data "aci_cloud_context_profile" "ccp1" { tenant_dn = data.aci_tenant.tf_tenant.id name = "tf_ccp" } + data "aci_cloud_cidr_pool" "cidr1" { cloud_context_profile_dn = data.aci_cloud_context_profile.ccp1.id addr = "10.20.0.0/25" } + data "aci_cloud_subnet" "cs1" { cloud_cidr_pool_dn = data.aci_cloud_cidr_pool.cidr1.id ip = "10.20.0.0/25" @@ -67,13 +70,13 @@ resource "aci_cloud_l4_l7_native_load_balancer" "cloud_nlb" { relation_cloud_rs_ldev_to_cloud_subnet = [data.aci_cloud_subnet.cs1.id] allow_all = "yes" is_static_ip = "yes" - static_ip_addresses = ["10.20.0.0"] + static_ip_addresses = ["10.20.0.0"] scheme = "internal" cloud_l4l7_load_balancer_type = "network" } # 1. Create first L4-L7 Service Graph Template 'sg1' with type cloud -# Create two nodes with basic parameters +# Add two nodes with basic parameters # - The first node 'N0' with type ADC_ONE_ARM and relation to the cloud native load balancer # - The second node 'N1' with type FW_ROUTED and relation to the 3rd party firewall # Create the connection between the templates ('T1 - consumer' and 'T2 - provider') and nodes ('N0' and 'N1'). @@ -153,7 +156,7 @@ resource "aci_connection" "sg1_n1-t1" { } # 2. Create second L4-L7 Service Graph Template 'sg2' with type cloud -# Create two nodes with additional parameters +# Add two nodes with additional parameters # - The first node 'N0' with type ADC_ONE_ARM and relation to the cloud native load balancer # - The second node 'N1' with type FW_ROUTED and relation to the 3rd party firewall # Create the connection between the templates ('T1 - consumer' and 'T2 - provider') and nodes ('N0' and 'N1'). diff --git a/legacy-docs/docs/r/function_node.html.markdown b/legacy-docs/docs/r/function_node.html.markdown index f1fd25394..630036891 100644 --- a/legacy-docs/docs/r/function_node.html.markdown +++ b/legacy-docs/docs/r/function_node.html.markdown @@ -47,7 +47,7 @@ resource "aci_function_node" "example" { - `name` - (Required) Name of the Function Node object. Type: String. - The valid function node name format for cloud APICs is `NX`, where X is a number starting with 0. - The valid function node name format for on-prem APICs is `NX`, where X is a number starting with 1. - - The valid function node - copy name format for on-prem APICs is `CPX`, where X is a number starting with 1. + - The valid copy function node name format for on-premises APICs is `CPX`, where X is a number starting with 1. - `annotation` - (Optional) Annotation of the Function Node object. Type: String. - `description` - (Optional) Description of the Function Node object. Type: String. - `func_template_type` - (Optional) Function Template type of the Function Node object. Allowed values: "OTHER", "FW_TRANS", "FW_ROUTED", "CLOUD_VENDOR_LB", "CLOUD_VENDOR_FW", "CLOUD_NATIVE_LB", "CLOUD_NATIVE_FW", "ADC_TWO_ARM", "ADC_ONE_ARM". Default value: "OTHER". Type: String.