-
Notifications
You must be signed in to change notification settings - Fork 13
/
v2_plugin.yaml
1951 lines (1951 loc) · 65.2 KB
/
v2_plugin.yaml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
plugins:
gcp_plugin:
executor: central_deployment_agent
package_name: cloudify-gcp-plugin
package_version: 1.9.8
dsl_definitions:
use_external_resource_desc: >
Indicate whether the resource exists or if Cloudify should create the resource, true if you are bringing an existing resource, false if you want cloudify to create it.
resource_id_desc: >
The GCP resource ID of the external resource, if use_external_resource is true. Otherwise it is an empty string.
external_resource:
use_external_resource: &id001
type: boolean
default: false
resource_id:
resource_id: &id002
type: string
default: ''
gcp_config:
gcp_config: &id003
default: {}
client_config: &id004
default: {}
node_types:
cloudify.nodes.gcp.project:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
project_id:
type: string
default: ''
parent:
type: dict
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.admin.projects.create
delete:
implementation: gcp_plugin.cloudify_gcp.admin.projects.delete
cloudify.gcp.project:
derived_from: cloudify.nodes.gcp.project
cloudify.gcp.nodes.project:
derived_from: cloudify.nodes.gcp.project
cloudify.nodes.gcp.PolicyBinding:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
resource:
type: string
default: ''
policy:
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.iam.policy_binding.create
inputs:
resource:
default: { get_property: [SELF, resource] }
policy:
default: { get_property: [SELF, policy] }
delete:
implementation: gcp_plugin.cloudify_gcp.iam.policy_binding.delete
inputs:
resource:
default: { get_property: [SELF, resource] }
policy:
default: { get_property: [SELF, policy] }
cloudify.gcp.nodes.PolicyBinding:
derived_from: cloudify.nodes.gcp.PolicyBinding
cloudify.nodes.gcp.Instance:
derived_from: cloudify.nodes.Compute
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
use_public_ip:
type: boolean
default: false
image_id:
type: string
default: {}
instance_type:
type: string
default: n1-standard-1
name:
type: string
default: ''
zone:
type: string
default: ''
tags:
type: string
default: ''
block_project_ssh_keys:
type: boolean
default: false
can_ip_forward:
type: boolean
default: false
scopes:
default: []
startup_script:
default: ''
external_ip:
type: boolean
default: false
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
configure:
implementation: gcp_plugin.cloudify_gcp.compute.instance.create
inputs:
startup_script:
default: { get_property: [SELF, startup_script] }
external_ip:
default: { get_property: [SELF, external_ip] }
instance_type:
default: { get_property: [SELF, instance_type] }
image_id:
default: { get_property: [SELF, image_id] }
name:
default: { get_property: [SELF, name] }
zone:
default: { get_property: [SELF, zone] }
scopes:
default: { get_property: [SELF, scopes] }
tags:
default: { get_property: [SELF, tags] }
can_ip_forward:
default: { get_property: [SELF, can_ip_forward] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
start:
implementation: gcp_plugin.cloudify_gcp.compute.instance.start
inputs:
name:
default: { get_attribute: [SELF, name] }
stop:
implementation: gcp_plugin.cloudify_gcp.compute.instance.stop
inputs:
name:
default: { get_attribute: [SELF, name] }
zone:
default: { get_attribute: [SELF, zone] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.instance.delete
inputs:
name:
default: { get_attribute: [SELF, name] }
zone:
default: { get_attribute: [SELF, zone] }
cloudify.interfaces.operation:
resize:
implementation: gcp_plugin.cloudify_gcp.compute.instance.resize
inputs:
name:
default: { get_attribute: [SELF, name] }
zone:
default: { get_attribute: [SELF, zone] }
machine_type:
type: string
default: e2-standard-2
cloudify.gcp.nodes.Instance:
derived_from: cloudify.nodes.gcp.Instance
cloudify.nodes.gcp.InstanceGroup:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
named_ports:
default: []
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.instance_group.create
inputs:
name:
default: { get_property: [SELF, name] }
named_ports:
default: { get_property: [SELF, named_ports] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.instance_group.delete
cloudify.gcp.nodes.InstanceGroup:
derived_from: cloudify.nodes.gcp.InstanceGroup
cloudify.nodes.gcp.Volume:
derived_from: cloudify.nodes.Volume
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
image:
default: ''
name:
type: string
default: ''
size:
type: integer
default: 10
boot:
type: boolean
default: false
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.disk.create
inputs:
image:
default: { get_property: [SELF, image] }
name:
default: { get_property: [SELF, name] }
size:
default: { get_property: [SELF, size] }
boot:
default: { get_property: [SELF, boot] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.disk.delete
cloudify.interfaces.operation:
resize:
implementation: gcp_plugin.cloudify_gcp.compute.disk.resize
inputs:
name:
default: { get_attribute: [SELF, name] }
zone:
default: { get_attribute: [SELF, zone] }
size_gb:
default: { get_attribute: [SELF, size] }
cloudify.gcp.nodes.Volume:
derived_from: cloudify.nodes.gcp.Volume
cloudify.nodes.gcp.Snapshot:
derived_from: cloudify.nodes.Root
properties:
gcp_config: *id003
client_config: *id004
disk_name:
type: string
required: false
interfaces:
cloudify.interfaces.snapshot:
create:
implementation: gcp_plugin.cloudify_gcp.compute.snapshot.create
inputs:
disk_name:
default: { get_property: [SELF, disk_name] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.snapshot.delete
inputs: {}
cloudify.gcp.nodes.Snapshot:
derived_from: cloudify.nodes.gcp.Snapshot
cloudify.nodes.gcp.Network:
derived_from: cloudify.nodes.Network
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
default: ''
auto_subnets:
default: true
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.network.create
inputs:
name:
default: { get_property: [SELF, name] }
auto_subnets:
default: { get_property: [SELF, auto_subnets] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.network.delete
inputs:
name:
default: { get_property: [SELF, name] }
cloudify.gcp.nodes.Network:
derived_from: cloudify.nodes.gcp.Network
cloudify.nodes.gcp.SubNetwork:
derived_from: cloudify.nodes.Subnet
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
default: ''
region:
type: string
default: ''
subnet:
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.subnetwork.create
inputs:
name:
default: { get_property: [SELF, name] }
region:
default: { get_property: [SELF, region] }
subnet:
default: { get_property: [SELF, subnet] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.subnetwork.delete
cloudify.interfaces.validation:
create:
implementation: gcp_plugin.cloudify_gcp.compute.subnetwork.creation_validation
cloudify.gcp.nodes.SubNetwork:
derived_from: cloudify.nodes.gcp.SubNetwork
cloudify.nodes.gcp.VPCNetworkPeering:
derived_from: cloudify.nodes.Network
properties:
gcp_config: *id003
client_config: *id004
name:
default: ''
network:
default: ''
peerNetwork:
default: ''
autoCreateRoutes:
default: true
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.network.add_peering
inputs:
name:
default: { get_property: [SELF, name] }
network:
default: { get_property: [SELF, network] }
peerNetwork:
default: { get_property: [SELF, peerNetwork] }
autoCreateRoutes:
default: { get_property: [SELF, autoCreateRoutes] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.network.remove_peering
inputs:
name:
default: { get_property: [SELF, name] }
network:
default: { get_property: [SELF, network] }
peerNetwork:
default: { get_property: [SELF, peerNetwork] }
cloudify.gcp.nodes.VPCNetworkPeering:
derived_from: cloudify.nodes.gcp.VPCNetworkPeering
cloudify.nodes.gcp.Route:
derived_from: cloudify.nodes.Router
properties:
gcp_config: *id003
client_config: *id004
dest_range: {}
name:
default: ''
tags:
default: []
next_hop:
default: ''
priority:
default: 1000
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.route.create
inputs:
name:
default: { get_property: [SELF, name] }
dest_range:
default: { get_property: [SELF, dest_range] }
tags:
default: { get_property: [SELF, tags] }
next_hop:
default: { get_property: [SELF, next_hop] }
priority:
default: { get_property: [SELF, priority] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.route.delete
inputs:
name:
default: { get_attribute: [SELF, name] }
cloudify.gcp.nodes.Route:
derived_from: cloudify.nodes.gcp.Route
cloudify.nodes.gcp.FirewallRule:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
default: ''
allowed: {}
sources: {}
target_tags:
default: []
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.firewall.create
inputs:
name:
default: { get_property: [SELF, name] }
allowed:
default: { get_property: [SELF, allowed] }
sources:
default: { get_property: [SELF, sources] }
target_tags:
default: { get_property: [SELF, target_tags] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.firewall.delete
cloudify.gcp.nodes.FirewallRule:
derived_from: cloudify.nodes.gcp.FirewallRule
cloudify.nodes.gcp.SecurityGroup:
derived_from: cloudify.nodes.SecurityGroup
properties:
gcp_config: *id003
client_config: *id004
name:
default: ''
rules:
default: []
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.security_group.create
inputs:
rules:
default: { get_property: [SELF, rules] }
name:
default: { get_property: [SELF, name] }
configure:
implementation: gcp_plugin.cloudify_gcp.compute.security_group.configure
delete:
implementation: gcp_plugin.cloudify_gcp.compute.security_group.delete
cloudify.interfaces.validation:
create:
implementation: gcp_plugin.cloudify_gcp.compute.security_group.creation_validation
cloudify.gcp.nodes.SecurityGroup:
derived_from: cloudify.nodes.gcp.SecurityGroup
cloudify.nodes.gcp.Access:
derived_from: cloudify.nodes.Root
properties:
gcp_config: *id003
client_config: *id004
name: {}
interface: {}
cloudify.gcp.nodes.Access:
derived_from: cloudify.nodes.gcp.Access
cloudify.nodes.gcp.KeyPair:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
private_key_path:
type: string
default: ''
public_key_path:
type: string
default: ''
user:
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.keypair.create
inputs:
user:
default: { get_property: [SELF, user] }
private_key_path:
default: { get_property: [SELF, private_key_path] }
public_key_path:
default: { get_property: [SELF, public_key_path] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.keypair.delete
inputs:
user:
default: { get_property: [SELF, user] }
private_key_path:
default: { get_property: [SELF, private_key_path] }
cloudify.gcp.nodes.KeyPair:
derived_from: cloudify.nodes.gcp.KeyPair
cloudify.nodes.gcp.ExternalIP:
derived_from: cloudify.nodes.VirtualIP
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
ip_address:
type: string
default: ''
cloudify.gcp.nodes.ExternalIP:
derived_from: cloudify.nodes.gcp.ExternalIP
cloudify.nodes.gcp.GlobalAddress:
derived_from: cloudify.nodes.VirtualIP
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.address.create
inputs:
name:
default: { get_property: [SELF, name] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.address.delete
cloudify.gcp.nodes.GlobalAddress:
derived_from: cloudify.nodes.gcp.GlobalAddress
cloudify.nodes.gcp.StaticIP:
derived_from: cloudify.nodes.gcp.GlobalAddress
cloudify.gcp.nodes.StaticIP:
derived_from: cloudify.nodes.gcp.StaticIP
cloudify.nodes.gcp.Address:
derived_from: cloudify.nodes.gcp.GlobalAddress
properties:
gcp_config: *id003
client_config: *id004
region:
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.address.create
inputs:
name:
default: { get_property: [SELF, name] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
region:
default: { get_property: [SELF, region] }
cloudify.gcp.nodes.Address:
derived_from: cloudify.nodes.gcp.Address
cloudify.nodes.gcp.Image:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
image_name:
default: ''
image_path:
default: ''
family:
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.image.create
inputs:
image_name:
default: { get_property: [SELF, image_name] }
image_path:
default: { get_property: [SELF, image_path] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.image.delete
cloudify.gcp.nodes.Image:
derived_from: cloudify.nodes.gcp.Image
cloudify.nodes.gcp.HealthCheck:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
health_check_type:
type: string
default: http
port:
default: 80
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.health_check.create
inputs:
name:
default: { get_property: [SELF, name] }
health_check_type:
default: { get_property: [SELF, health_check_type] }
port:
default: { get_property: [SELF, port] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.health_check.delete
inputs:
health_check_type:
default: { get_property: [SELF, health_check_type] }
cloudify.gcp.nodes.HealthCheck:
derived_from: cloudify.nodes.gcp.HealthCheck
cloudify.nodes.gcp.BackendService:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
health_check:
type: string
default: ''
protocol:
default: HTTP
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.backend_service.create
inputs:
name:
default: { get_property: [SELF, name] }
health_check:
default: { get_property: [SELF, health_check] }
protocol:
default: { get_property: [SELF, protocol] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.backend_service.delete
cloudify.gcp.nodes.BackendService:
derived_from: cloudify.nodes.gcp.BackendService
cloudify.nodes.gcp.RegionBackendService:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
region:
type: string
default: ''
health_check:
type: string
default: ''
protocol:
default: HTTP
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.region_backend_service.create
inputs:
name:
default: { get_property: [SELF, name] }
region:
default: { get_property: [SELF, region] }
health_check:
default: { get_property: [SELF, health_check] }
protocol:
default: { get_property: [SELF, protocol] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.region_backend_service.delete
cloudify.gcp.nodes.RegionBackendService:
derived_from: cloudify.nodes.gcp.RegionBackendService
cloudify.nodes.gcp.UrlMap:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
default_service:
type: string
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.url_map.create
inputs:
name:
default: { get_property: [SELF, name] }
default_service:
default: { get_property: [SELF, default_service] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.url_map.delete
cloudify.gcp.nodes.UrlMap:
derived_from: cloudify.nodes.gcp.UrlMap
cloudify.nodes.gcp.TargetProxy:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
target_proxy_type:
type: string
default: http
url_map:
type: string
default: ''
ssl_certificate:
type: string
default: ''
service:
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.target_proxy.create
inputs:
name:
default: { get_property: [SELF, name] }
target_proxy_type:
default: { get_property: [SELF, target_proxy_type] }
url_map:
default: { get_property: [SELF, url_map] }
ssl_certificate:
default: { get_property: [SELF, ssl_certificate] }
service:
default: { get_property: [SELF, service] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.target_proxy.delete
cloudify.gcp.nodes.TargetProxy:
derived_from: cloudify.nodes.gcp.TargetProxy
cloudify.nodes.gcp.SslCertificate:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
private_key:
default: {}
certificate:
default: {}
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.ssl_certificate.create
inputs:
name:
default: { get_property: [SELF, name] }
private_key:
default: { get_property: [SELF, private_key] }
certificate:
default: { get_property: [SELF, certificate] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.ssl_certificate.delete
cloudify.gcp.nodes.SslCertificate:
derived_from: cloudify.nodes.gcp.SslCertificate
cloudify.nodes.gcp.ForwardingRule:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
region:
type: string
default: ''
scheme:
type: string
default: EXTERNAL
ports:
default: []
network:
default: ''
subnet:
default: ''
backend_service:
default: ''
target_proxy:
type: string
default: ''
port_range:
type: string
default: ''
ip_address:
type: string
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.forwarding_rule.create
inputs:
name:
default: { get_property: [SELF, name] }
region:
default: { get_property: [SELF, region] }
scheme:
default: { get_property: [SELF, scheme] }
ports:
default: { get_property: [SELF, ports] }
network:
default: { get_property: [SELF, network] }
subnet:
default: { get_property: [SELF, subnet] }
backend_service:
default: { get_property: [SELF, backend_service] }
target_proxy:
default: { get_property: [SELF, target_proxy] }
port_range:
default: { get_property: [SELF, port_range] }
ip_address:
default: { get_property: [SELF, ip_address] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.forwarding_rule.delete
cloudify.interfaces.validation:
create:
implementation: gcp_plugin.cloudify_gcp.compute.forwarding_rule.creation_validation
cloudify.gcp.nodes.ForwardingRule:
derived_from: cloudify.nodes.gcp.ForwardingRule
cloudify.nodes.gcp.GlobalForwardingRule:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
target_proxy:
type: string
default: ''
port_range:
type: string
default: '80'
ip_address:
type: string
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.compute.global_forwarding_rule.create
inputs:
name:
default: { get_property: [SELF, name] }
target_proxy:
default: { get_property: [SELF, target_proxy] }
port_range:
default: { get_property: [SELF, port_range] }
ip_address:
default: { get_property: [SELF, ip_address] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.compute.global_forwarding_rule.delete
cloudify.interfaces.validation:
create:
implementation: gcp_plugin.cloudify_gcp.compute.global_forwarding_rule.creation_validation
cloudify.gcp.nodes.GlobalForwardingRule:
derived_from: cloudify.nodes.gcp.GlobalForwardingRule
cloudify.nodes.gcp.DNSZone:
derived_from: cloudify.nodes.Root
properties:
use_external_resource: *id001
resource_id: *id002
gcp_config: *id003
client_config: *id004
name:
type: string
default: ''
dns_name:
type: string
default: ''
additional_settings:
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.dns.dns.create
inputs:
name:
default: { get_property: [SELF, name] }
dns_name:
default: { get_property: [SELF, dns_name] }
additional_settings:
default: { get_property: [SELF, additional_settings] }
delete:
implementation: gcp_plugin.cloudify_gcp.dns.dns.delete
cloudify.gcp.nodes.DNSZone:
derived_from: cloudify.nodes.gcp.DNSZone
cloudify.nodes.gcp.DNSRecord:
derived_from: cloudify.nodes.Root
properties:
gcp_config: *id003
client_config: *id004
type:
type: string
default: A
name:
type: string
default: ''
resources:
default: []
ttl:
type: integer
default: 86400
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.cloudify_gcp.dns.record.create
inputs:
type:
default: { get_property: [SELF, type] }
name:
default: { get_property: [SELF, name] }
resources:
default: { get_property: [SELF, resources] }
ttl: