-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell-definition.yaml
More file actions
83 lines (72 loc) · 2.33 KB
/
shell-definition.yaml
File metadata and controls
83 lines (72 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
template_name: Google Cloud Provider
template_author: yaniv.k
template_version: 0.9.9
template_icon: shell-icon.png
description: >
Sample TOSCA based shell
imports:
- cloudshell_standard: cloudshell_cloud_provider_standard_1_0_0.yaml
node_types:
vendor.resource.Google Cloud Provider:
derived_from: cloudshell.nodes.CustomCloudProvider
capabilities:
concurrent_command_capability:
type: cloudshell.capabilities.SupportConcurrentCommands
auto_discovery_capability:
type: cloudshell.capabilities.AutoDiscovery
properties:
enable_auto_discovery:
type: boolean
default: true
auto_discovery_description:
type: string
default: Describe the auto discovery
inventory_description:
type: string
default: Describe the resource shell template
hide_address:
type: string
default: true
# ## Attributes available from the cloud provider standard
# Region:
# type: string
# default: ''
# Networks in use:
# type: string
# default: ''
# VLAN Type:
# type: string
# default: 'VLAN'
# Networking type:
# type: string
# default: 'L2'
#
## Adding custom attributes to the cloud provider discovery form
Credentials Json Path:
type: string
default:
description: Provide a path to a credentials json file or leave empty if you run from an execution server deployed on Google Cloud Compute
project:
type: string
default:
# ## Custom attributes definition
properties:
Credentials Json Path:
type: string
default:
description: Provide a path to a credentials json file or leave empty if you run from an execution server deployed on Google Cloud Compute
project:
type: string
default:
artifacts:
icon:
file: shell-icon.png
type: tosca.artifacts.File
driver:
file: GcCloudProviderDriver.zip
type: tosca.artifacts.File
deployment:
file: Deployments.zip
type: tosca.artifacts.File