Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
micahlmartin committed Sep 23, 2021
1 parent 334298d commit 3df7872
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 37 deletions.
11 changes: 0 additions & 11 deletions docs/resources/cloudprovider_azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,11 @@ resource "harness_cloudprovider_azure" "azure" {
### Optional

- **environment_type** (String) The type of environment. Valid options are [AZURE AZURE_US_GOVERNMENT]
- **usage_scope** (Block Set) Usage scopes (see [below for nested schema](#nestedblock--usage_scope))

### Read-Only

- **id** (String) The id of the cloud provider.

<a id="nestedblock--usage_scope"></a>
### Nested Schema for `usage_scope`

Optional:

- **application_filter_type** (String) Type of application filter applied. ALL if not application id supplied, otherwise NULL
- **application_id** (String) Id of the application scoping
- **environment_filter_type** (String) Type of environment filter applied. ALL if not filter applied
- **environment_id** (String) Id of the environment scoping

## Import

Import is supported using the following syntax:
Expand Down
14 changes: 0 additions & 14 deletions docs/resources/cloudprovider_spot.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,10 @@ resource "harness_cloudprovider_spot" "example" {
- **name** (String) The name of the cloud provider.
- **token_secret_name** (String) The name of the Harness secret containing the spot account token

### Optional

- **usage_scope** (Block Set) Usage scopes (see [below for nested schema](#nestedblock--usage_scope))

### Read-Only

- **id** (String) The id of the cloud provider.

<a id="nestedblock--usage_scope"></a>
### Nested Schema for `usage_scope`

Optional:

- **application_filter_type** (String) Type of application filter applied. ALL if not application id supplied, otherwise NULL
- **application_id** (String) Id of the application scoping
- **environment_filter_type** (String) Type of environment filter applied. ALL if not filter applied
- **environment_id** (String) Id of the environment scoping

## Import

Import is supported using the following syntax:
Expand Down
11 changes: 0 additions & 11 deletions docs/resources/cloudprovider_tanzu.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,13 @@ resource "harness_cloudprovider_tanzu" "example" {
### Optional

- **skip_validation** (Boolean) Skip validation of Tanzu configuration.
- **usage_scope** (Block Set) Usage scopes (see [below for nested schema](#nestedblock--usage_scope))
- **username** (String) The username to use to authenticate to Tanzu.
- **username_secret_name** (String) The name of the Harness secret containing the username to authenticate to Tanzu with.

### Read-Only

- **id** (String) The id of the cloud provider.

<a id="nestedblock--usage_scope"></a>
### Nested Schema for `usage_scope`

Optional:

- **application_filter_type** (String) Type of application filter applied. ALL if not application id supplied, otherwise NULL
- **application_id** (String) Id of the application scoping
- **environment_filter_type** (String) Type of environment filter applied. ALL if not filter applied
- **environment_id** (String) Id of the environment scoping

## Import

Import is supported using the following syntax:
Expand Down
14 changes: 13 additions & 1 deletion docs/resources/git_connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ resource "harness_git_connector" "example" {
- **commit_details** (Block Set, Max: 1) Custom details to use when making commits using this git connector (see [below for nested schema](#nestedblock--commit_details))
- **delegate_selectors** (Set of String) Delegate selectors to apply to this git connector.
- **generate_webhook_url** (Boolean) Boolean indicating whether or not to generate a webhook url.
- **password_secret_id** (String) The id of the secret for connecting to the git repository
- **password_secret_id** (String) The id of the secret for connecting to the git repository.
- **ssh_setting_id** (String) The id of the SSH secret to use
- **usage_scope** (Block Set) Usage scopes (see [below for nested schema](#nestedblock--usage_scope))
- **username** (String) The name of the user used to connect to the git repository

### Read-Only
Expand All @@ -68,6 +69,17 @@ Optional:
- **author_name** (String) The name of the author
- **message** (String) Commit message


<a id="nestedblock--usage_scope"></a>
### Nested Schema for `usage_scope`

Optional:

- **application_filter_type** (String) Type of application filter applied. ALL if not application id supplied, otherwise NULL
- **application_id** (String) Id of the application scoping
- **environment_filter_type** (String) Type of environment filter applied. ALL if not filter applied
- **environment_id** (String) Id of the environment scoping

## Import

Import is supported using the following syntax:
Expand Down

0 comments on commit 3df7872

Please sign in to comment.