From e525dc953fcaf807f0deb06437f1dae6fb54e9f1 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 10 Apr 2017 12:12:22 -0400 Subject: [PATCH] Update clc provider --- website/source/docs/providers/clc/index.html.markdown | 2 +- .../source/docs/providers/clc/r/group.html.markdown | 5 ++--- .../docs/providers/clc/r/load_balancer.html.markdown | 10 ++-------- .../providers/clc/r/load_balancer_pool.html.markdown | 10 ++-------- .../docs/providers/clc/r/public_ip.html.markdown | 8 ++------ .../source/docs/providers/clc/r/server.html.markdown | 11 +++-------- 6 files changed, 12 insertions(+), 34 deletions(-) diff --git a/website/source/docs/providers/clc/index.html.markdown b/website/source/docs/providers/clc/index.html.markdown index bb65fed24..03d01aab1 100644 --- a/website/source/docs/providers/clc/index.html.markdown +++ b/website/source/docs/providers/clc/index.html.markdown @@ -20,7 +20,7 @@ For additional documentation, see the [CLC Developer Center](https://www.ctl.io/ ## Example Usage -``` +```hcl # Configure the CLC Provider provider "clc" { username = "${var.clc_username}" diff --git a/website/source/docs/providers/clc/r/group.html.markdown b/website/source/docs/providers/clc/r/group.html.markdown index 74f904dc3..b942f073f 100644 --- a/website/source/docs/providers/clc/r/group.html.markdown +++ b/website/source/docs/providers/clc/r/group.html.markdown @@ -6,7 +6,7 @@ description: |- Manages a CLC server group. --- -# clc\_group +# clc_group Manages a CLC server group. Either provisions or resolves to an existing group. @@ -14,7 +14,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#groups). ## Example Usage -``` +```hcl # Provision/Resolve a server group resource "clc_group" "frontends" { location_id = "WA1" @@ -51,4 +51,3 @@ up in advance. Each `custom_fields` block supports the following: * `id` - (Required, string) The ID of the custom field to set. * `value` - (Required, string) The value for the specified field. - diff --git a/website/source/docs/providers/clc/r/load_balancer.html.markdown b/website/source/docs/providers/clc/r/load_balancer.html.markdown index 8f0ac5036..f065d5afe 100644 --- a/website/source/docs/providers/clc/r/load_balancer.html.markdown +++ b/website/source/docs/providers/clc/r/load_balancer.html.markdown @@ -6,7 +6,7 @@ description: |- Manages a CLC load balacner. --- -# clc\_load\_balancer +# clc_load_balancer Manages a CLC load balancer. Manage connected backends with [clc_load_balancer_pool](load_balancer_pool.html) @@ -14,8 +14,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#shared-loa ## Example Usage - -``` +```hcl # Provision a load balancer resource "clc_load_balancer" "api" { data_center = "${clc_group.frontends.location_id}" @@ -38,8 +37,3 @@ The following arguments are supported: * `data_center` - (Required, string) The datacenter location of both parent group and this group. * `status` - (Required, string) Either "enabled" or "disabled" * `description` - (Optional, string) Description for server group (visible in control portal only) - - - - - diff --git a/website/source/docs/providers/clc/r/load_balancer_pool.html.markdown b/website/source/docs/providers/clc/r/load_balancer_pool.html.markdown index f843891c8..6ffe45e60 100644 --- a/website/source/docs/providers/clc/r/load_balancer_pool.html.markdown +++ b/website/source/docs/providers/clc/r/load_balancer_pool.html.markdown @@ -6,7 +6,7 @@ description: |- Manages a CLC load balancer pool. --- -# clc\_load\_balancer\_pool +# clc_load_balancer_pool Manages a CLC load balancer pool. Manage related frontend with [clc_load_balancer](load_balancer.html) @@ -15,7 +15,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#shared-loa ## Example Usage -``` +```hcl # Provision a load balancer pool resource "clc_load_balancer_pool" "pool" { data_center = "${clc_group.frontends.location_id}" @@ -68,9 +68,3 @@ following: * `ipAddress` (Required, string) The destination internal ip of pool node. * `privatePort` (Required, int) The destination port on the pool node. * `status` (Optional, string) Either "enabled" or "disabled". - - - - - - diff --git a/website/source/docs/providers/clc/r/public_ip.html.markdown b/website/source/docs/providers/clc/r/public_ip.html.markdown index 942e66410..18256c5ef 100644 --- a/website/source/docs/providers/clc/r/public_ip.html.markdown +++ b/website/source/docs/providers/clc/r/public_ip.html.markdown @@ -6,7 +6,7 @@ description: |- Manages a CLC public ip. --- -# clc\_public\_ip +# clc_public_ip Manages a CLC public ip (for an existing server). @@ -14,7 +14,7 @@ See also [Complete API documentation](https://www.ctl.io/api-docs/v2/#public-ip) ## Example Usage -``` +```hcl # Provision a public ip resource "clc_public_ip" "backdoor" { server_id = "${clc_server.node.0.id}" @@ -79,7 +79,3 @@ repeated to restrict ingress traffic on specified CIDR blocks. Each `source_restrictions` block supports the following: * `cidr` (Required, string) The IP or range of IPs in CIDR notation. - - - - diff --git a/website/source/docs/providers/clc/r/server.html.markdown b/website/source/docs/providers/clc/r/server.html.markdown index 4f73ab89b..6d710ea39 100644 --- a/website/source/docs/providers/clc/r/server.html.markdown +++ b/website/source/docs/providers/clc/r/server.html.markdown @@ -6,7 +6,7 @@ description: |- Manages the lifecycle of a CLC server. --- -# clc\_server +# clc_server Manages a CLC server. @@ -19,7 +19,7 @@ Resources and Documentation: ## Example Usage -``` +```hcl # Provision a server resource "clc_server" "node" { name_template = "trusty" @@ -162,7 +162,7 @@ are configured via this block. Example: -``` +```hcl # Configure the CLC Provider provider "clc_server" "ubuntu" { # ... @@ -172,8 +172,3 @@ provider "clc_server" "ubuntu" { } } ``` - - - - -