-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
122 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1,129 @@ | ||
{ | ||
"version": "0.1", | ||
"provider": { | ||
"name": "windows", | ||
"schema": { | ||
"version": "0.1", | ||
"provider": { | ||
"name": "windows", | ||
"schema": { | ||
"attributes": [ | ||
{ | ||
"name": "endpoint", | ||
"string": { | ||
"optional_required": "required", | ||
"description": "Define the hostname or ip-address of the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "ssh", | ||
"single_nested": { | ||
"optional_required": "optional", | ||
"description": "Define the SSH connection parameters. Exactly one of 'winrm' or 'ssh' must be set for the provider to connect to a Windows target system. Define an empty 'ssh' attribute if you wish to use the environment variables.", | ||
"attributes": [ | ||
{ | ||
"name": "endpoint", | ||
"string": { | ||
"optional_required": "required", | ||
"description": "Define the hostname or ip-address of the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "ssh", | ||
"single_nested": { | ||
"optional_required": "optional", | ||
"description": "Define the SSH connection parameters. Exactly one of 'winrm' or 'ssh' must be set for the provider to connect to a Windows target system. Define an empty 'ssh' attribute if you wish to use the environment variables.", | ||
"attributes": [ | ||
{ | ||
"name": "insecure", | ||
"bool": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_INSECURE`) (Default: `false`)<br>Accept insecure SSH connections. This includes e.g. the acceptance of unknown or changed host keys." | ||
} | ||
}, | ||
{ | ||
"name": "known_hosts_path", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_KNOWN_HOSTS_PATH`)<br>Define the path to the known hosts file to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "password", | ||
"string": { | ||
"optional_required": "optional", | ||
"sensitive": true, | ||
"description": "(Env: `WIN_SSH_PASSWORD`)<br>Define the password to connect with the target Windows system. Exactly one of 'password', 'private_key' or 'private_key_path' is required if ssh is set." | ||
} | ||
}, | ||
{ | ||
"name": "port", | ||
"int64": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_PORT`) (Default: `22`)<br>Define the port to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "private_key", | ||
"string": { | ||
"optional_required": "optional", | ||
"sensitive": true, | ||
"description": "(Env: `WIN_SSH_PRIVATE_KEY`)<br>Define the private key to connect with the target Windows system. Exactly one of 'password', 'private_key' or 'private_key_path' is required if ssh is set." | ||
} | ||
}, | ||
{ | ||
"name": "private_key_path", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_PRIVATE_KEY_PATH`)<br>Define the path to the private key file to connect with the target Windows system. Exactly one of 'password', 'private_key' or 'private_key_path' is required if ssh is set." | ||
} | ||
}, | ||
{ | ||
"name": "username", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_USERNAME`)<br>Define the username to connect with the target Windows system. Required if ssh is set." | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "winrm", | ||
"single_nested": { | ||
"optional_required": "optional", | ||
"description": "Define the WinRM connection parameters. Exactly one of 'winrm' or 'ssh' must be set for the provider to connect to a Windows target system. Define an empty 'winrm' attribute if you wish to use the environment variables.", | ||
"attributes": [ | ||
{ | ||
"name": "insecure", | ||
"bool": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_INSECURE`) (Default: `false`)<br>Accept insecure WinRM connection. This includes e.g. the acceptance of untrusted certificates." | ||
} | ||
}, | ||
{ | ||
"name": "password", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_PASSWORD`)<br>Define the password to connect with the target Windows system. Required if winrm is set.", | ||
"sensitive": true | ||
} | ||
}, | ||
{ | ||
"name": "port", | ||
"int64": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_PORT`) (Default: `5986`)<br>Define the port to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "timeout", | ||
"int64": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_TIMEOUT`) (Default: `0`)<br>Define the connection timeout in minutes for the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "use_tls", | ||
"bool": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_USE_TLS`) (Default: `true`)<br>Define if TLS (https) should be used to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "username", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_USERNAME`)<br>Define the username to connect with the target Windows system. Required if winrm is set." | ||
} | ||
} | ||
] | ||
} | ||
{ | ||
"name": "insecure", | ||
"bool": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_INSECURE`) (Default: `false`)<br>Accept insecure SSH connections. This includes e.g. the acceptance of unknown or changed host keys." | ||
} | ||
}, | ||
{ | ||
"name": "known_hosts_path", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_KNOWN_HOSTS_PATH`)<br>Define the path to the known hosts file to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "password", | ||
"string": { | ||
"optional_required": "optional", | ||
"sensitive": true, | ||
"description": "(Env: `WIN_SSH_PASSWORD`)<br>Define the password to connect with the target Windows system. Exactly one of 'password', 'private_key' or 'private_key_path' is required if ssh is set." | ||
} | ||
}, | ||
{ | ||
"name": "port", | ||
"int64": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_PORT`) (Default: `22`)<br>Define the port to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "private_key", | ||
"string": { | ||
"optional_required": "optional", | ||
"sensitive": true, | ||
"description": "(Env: `WIN_SSH_PRIVATE_KEY`)<br>Define the private key to connect with the target Windows system. Exactly one of 'password', 'private_key' or 'private_key_path' is required if ssh is set." | ||
} | ||
}, | ||
{ | ||
"name": "private_key_path", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_PRIVATE_KEY_PATH`)<br>Define the path to the private key file to connect with the target Windows system. Exactly one of 'password', 'private_key' or 'private_key_path' is required if ssh is set." | ||
} | ||
}, | ||
{ | ||
"name": "username", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_SSH_USERNAME`)<br>Define the username to connect with the target Windows system. Required if ssh is set." | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "winrm", | ||
"single_nested": { | ||
"optional_required": "optional", | ||
"description": "Define the WinRM connection parameters. Exactly one of 'winrm' or 'ssh' must be set for the provider to connect to a Windows target system. Define an empty 'winrm' attribute if you wish to use the environment variables.", | ||
"attributes": [ | ||
{ | ||
"name": "insecure", | ||
"bool": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_INSECURE`) (Default: `false`)<br>Accept insecure WinRM connection. This includes e.g. the acceptance of untrusted certificates." | ||
} | ||
}, | ||
{ | ||
"name": "password", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_PASSWORD`)<br>Define the password to connect with the target Windows system. Required if winrm is set.", | ||
"sensitive": true | ||
} | ||
}, | ||
{ | ||
"name": "port", | ||
"int64": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_PORT`) (Default: `5986`)<br>Define the port to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "timeout", | ||
"int64": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_TIMEOUT`) (Default: `0`)<br>Define the connection timeout in minutes for the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "use_tls", | ||
"bool": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_USE_TLS`) (Default: `true`)<br>Define if TLS (https) should be used to connect with the target Windows system." | ||
} | ||
}, | ||
{ | ||
"name": "username", | ||
"string": { | ||
"optional_required": "optional", | ||
"description": "(Env: `WIN_WINRM_USERNAME`)<br>Define the username to connect with the target Windows system. Required if winrm is set." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |