-
Notifications
You must be signed in to change notification settings - Fork 12
/
v2_plugin.yaml
1654 lines (1654 loc) · 53.5 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:
azure:
executor: central_deployment_agent
package_name: cloudify-azure-plugin
package_version: 3.8.9
data_types:
cloudify.datatypes.azure.Config:
properties:
environment_variables:
type: dict
default: {}
username:
type: string
required: false
password:
type: string
required: false
endpoints_active_directory:
type: string
default: https://login.microsoftonline.com
endpoints_resource_manager:
type: string
default: https://management.azure.com
endpoint_resource:
type: string
default: https://management.core.windows.net/
endpoint_verify:
type: boolean
default: true
subscription_id:
type: string
required: false
tenant_id:
type: string
required: false
client_id:
type: string
required: false
client_secret:
type: string
required: false
scale_name_separator:
type: string
required: false
default: _
scale_name_suffix_chars:
type: string
required: true
default: '1234567890'
certificate:
type: string
required: false
default: ''
thumbprint:
type: string
required: false
default: ''
cloud_environment:
type: string
required: false
default: ''
cloudify.datatypes.azure.Common:
description: >
The properties, which are common to all types.
properties:
name: &id001
type: string
required: false
azure_config: &id002
type: cloudify.datatypes.azure.Config
required: false
client_config: &id003
type: cloudify.datatypes.azure.Config
required: false
cloudify.datatypes.azure.ExistingResources:
properties:
use_external_resource: &id004
type: boolean
default: false
required: true
create_if_missing: &id005
type: boolean
required: true
default: false
use_if_exists: &id006
type: boolean
required: true
default: false
cloudify.datatypes.azure.storage.StorageAccountConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163564.aspx
properties:
accountType:
type: string
required: false
networkAcls:
required: false
supportsHttpsTrafficOnly:
required: false
encryption:
required: false
keySource:
required: false
cloudify.datatypes.azure.storage.DataDiskConfig:
properties:
container_name:
type: string
default: vhds
size:
default: 20
required: true
force_delete:
default: false
cloudify.datatypes.azure.storage.FileShareConfig:
properties:
metadata:
required: false
quota:
required: false
cloudify.datatypes.azure.network.VirtualNetworkConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163661.aspx
properties:
addressSpace:
default:
addressPrefixes:
- 10.10.0.0/16
- 172.16.0.0/16
required: true
dhcpOptions:
required: false
subnets:
required: false
cloudify.datatypes.azure.network.NetworkSecurityGroupConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163656.aspx
properties:
securityRules:
required: false
cloudify.datatypes.azure.network.NetworkSecurityRuleConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163645.aspx
properties:
description:
type: string
required: false
protocol:
type: string
required: true
sourcePortRange:
type: string
required: false
destinationPortRange:
type: string
required: false
sourceAddressPrefix:
type: string
required: true
destinationAddressPrefix:
type: string
required: true
access:
type: string
required: true
priority:
type: integer
required: true
direction:
type: string
required: true
cloudify.datatypes.azure.network.SubnetConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163621.aspx
properties:
addressPrefix:
required: false
networkSecurityGroup:
required: false
routeTable:
required: false
cloudify.datatypes.azure.network.RouteTableConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt502548.aspx
properties:
routes:
required: false
cloudify.datatypes.azure.network.RouteConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt459110.aspx
properties:
addressPrefix:
type: string
required: true
nextHopType:
type: string
required: true
nextHopIpAddress:
type: string
required: false
cloudify.datatypes.azure.network.NetworkInterfaceCardConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163668.aspx
properties:
networkSecurityGroups:
required: false
ipConfigurations:
required: false
dnsSettings:
required: false
cloudify.datatypes.azure.network.IPConfigurationConfig:
properties:
privateIPAddress:
type: string
required: false
privateIPAllocationMethod:
type: string
required: true
cloudify.datatypes.azure.network.PublicIPAddressConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163590.aspx
properties:
publicIPAllocationMethod:
type: string
required: true
idleTimeoutInMinutes:
type: integer
required: false
domainNameLabel:
type: string
required: false
reverseFqdn:
type: string
required: false
cloudify.datatypes.azure.compute.AvailabilitySetConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163607.aspx
properties:
platformUpdateDomainCount:
type: integer
required: false
platformFaultDomainCount:
type: integer
required: false
sku:
required: false
cloudify.datatypes.azure.compute.VirtualMachineSpotConfig:
description: >
check the paramaters from this link : https://www.shorturl.at/wHTU2
properties:
is_spot_instance:
type: boolean
default: false
required: false
priority:
type: string
default: Spot
required: false
eviction_policy:
type: string
default: Deallocate
required: false
billing_profile:
default:
max_price:
description: >
the default max price is -1 if it is not provided
default: -1.0
required: false
cloudify.datatypes.azure.compute.VirtualMachineConfig:
description: >
https://msdn.microsoft.com/en-us/library/azure/mt163591.aspx
properties:
hardwareProfile:
required: true
storageProfile:
required: true
osProfile:
required: true
spot_instance:
type: cloudify.datatypes.azure.compute.VirtualMachineSpotConfig
required: false
cloudify.datatypes.azure.network.LoadBalancerConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163574.aspx
properties:
frontendIPConfigurations:
required: false
backendAddressPools:
required: false
loadBalancingRules:
required: false
probes:
required: false
inboundNatRules:
required: false
cloudify.datatypes.azure.network.LoadBalancerProbeConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163574.aspx
properties:
protocol:
type: string
default: Tcp
required: true
port:
type: integer
required: true
requestPath:
type: string
required: false
intervalInSeconds:
type: integer
default: 5
required: true
numberOfProbes:
type: integer
default: 16
required: true
cloudify.datatypes.azure.network.LoadBalancerIncomingNATRuleConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163574.aspx
properties:
protocol:
type: string
default: Tcp
required: true
frontendPort:
type: integer
required: true
backendPort:
type: integer
required: true
cloudify.datatypes.azure.network.LoadBalancerRuleConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163574.aspx
properties:
protocol:
type: string
default: Tcp
required: true
frontendPort:
type: integer
required: true
backendPort:
type: integer
required: true
enableFloatingIP:
type: boolean
required: false
default: false
idleTimeoutInMinutes:
type: integer
required: false
default: 5
loadDistribution:
type: string
required: false
default: Default
cloudify.datatypes.azure.compute.ManagedClusterConfig:
description: >
See https://docs.microsoft.com/en-us/rest/api/aks/managedclusters
properties:
location:
type: string
default: ''
tags:
default: {}
kubernetes_version:
type: string
default: ''
dns_prefix:
type: string
default: ''
agent_pool_profiles:
default: []
linux_profile:
default: {}
network_profile:
default: {}
windows_profile:
default: {}
service_principal_profile:
default: {}
addon_profiles:
default: {}
enable_rbac:
type: boolean
default: true
cloudify.datatypes.azure.CustomResource:
description: General use type that can be used with any Azure API in the wheels of the Azure Plugin wagon.
properties:
custom_resource_module:
type: string
required: true
custom_resource_class_name:
type: string
required: true
custom_resource_object_name:
type: string
required: true
create_fn_name:
type: string
required: true
update_fn_name:
type: string
required: true
delete_fn_name:
type: string
required: true
get_fn_name:
type: string
required: true
default: get
get_params:
type: dict
required: true
cloudify.datatypes.azure.CustomResourceOperationConfig:
description: Mappings for custom operation configs.
properties:
create:
type: dict
required: true
update:
type: dict
required: false
default: {}
delete:
type: dict
required: true
node_types:
cloudify.azure.nodes.ResourceGroup:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2017-05-10'
location:
type: string
required: false
tags:
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.resourcegroup.create
delete: azure.cloudify_azure.resources.resourcegroup.delete
cloudify.azure.nodes.storage.StorageAccount:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2015-06-15'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
sku:
required: false
resource_config:
type: cloudify.datatypes.azure.storage.StorageAccountConfig
required: true
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.storage.storageaccount.create
delete: azure.cloudify_azure.resources.storage.storageaccount.delete
cloudify.azure.nodes.storage.DataDisk:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
location:
type: string
required: false
retry_after:
type: integer
required: false
resource_config:
type: cloudify.datatypes.azure.storage.DataDiskConfig
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.storage.disk.create_data_disk
delete: azure.cloudify_azure.resources.storage.disk.delete_data_disk
cloudify.azure.nodes.storage.FileShare:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
location:
type: string
required: false
storage_account_name:
type: string
required: false
retry_after:
type: integer
required: false
resource_config:
type: cloudify.datatypes.azure.storage.FileShareConfig
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.storage.file.create
delete: azure.cloudify_azure.resources.storage.file.delete
cloudify.azure.nodes.network.VirtualNetwork:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.VirtualNetworkConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.virtualnetwork.create
delete: azure.cloudify_azure.resources.network.virtualnetwork.delete
cloudify.azure.nodes.network.NetworkSecurityGroup:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.NetworkSecurityGroupConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.networksecuritygroup.create
delete: azure.cloudify_azure.resources.network.networksecuritygroup.delete
cloudify.azure.nodes.network.NetworkSecurityRule:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
network_security_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.NetworkSecurityRuleConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.networksecurityrule.create
delete: azure.cloudify_azure.resources.network.networksecurityrule.delete
cloudify.azure.nodes.network.Subnet:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
virtual_network_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.SubnetConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.subnet.create
delete: azure.cloudify_azure.resources.network.subnet.delete
cloudify.azure.nodes.network.RouteTable:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.RouteTableConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.routetable.create
delete: azure.cloudify_azure.resources.network.routetable.delete
cloudify.azure.nodes.network.Route:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
route_table_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.RouteConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.route.create
delete: azure.cloudify_azure.resources.network.route.delete
cloudify.azure.nodes.network.NetworkInterfaceCard:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
primary:
required: false
default: false
resource_config:
type: cloudify.datatypes.azure.network.NetworkInterfaceCardConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.networkinterfacecard.create
configure: azure.cloudify_azure.resources.network.networkinterfacecard.configure
start: azure.cloudify_azure.resources.network.networkinterfacecard.start
delete: azure.cloudify_azure.resources.network.networkinterfacecard.delete
cloudify.azure.nodes.network.IPConfiguration:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.IPConfigurationConfig
required: true
retry_after:
type: integer
required: false
cloudify.azure.nodes.network.PublicIPAddress:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-09-01'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.network.PublicIPAddressConfig
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.network.publicipaddress.create
start: azure.cloudify_azure.resources.network.publicipaddress.start
delete: azure.cloudify_azure.resources.network.publicipaddress.delete
cloudify.azure.nodes.compute.AvailabilitySet:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-03-30'
resource_group_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
resource_config:
type: cloudify.datatypes.azure.compute.AvailabilitySetConfig
required: true
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.compute.availabilityset.create
delete: azure.cloudify_azure.resources.compute.availabilityset.delete
cloudify.azure.nodes.compute.VirtualMachine:
derived_from: cloudify.nodes.Compute
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2017-03-30'
resource_group_name:
type: string
required: false
use_public_ip:
type: boolean
default: false
location:
type: string
required: false
tags:
required: false
plan:
required: false
resource_config:
type: cloudify.datatypes.azure.compute.VirtualMachineConfig
required: true
retry_after:
type: integer
required: false
ip:
type: string
required: false
os_family:
default: linux
agent_config:
type: cloudify.datatypes.AgentConfig
default:
install_method: remote
port: 22
storage_endpoint:
type: string
default: core.windows.net
interfaces:
cloudify.interfaces.lifecycle:
create: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.create
configure: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.configure
start:
implementation: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.start
inputs:
command_to_execute:
default: ''
file_uris:
default: []
stop:
implementation: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.stop
delete: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.delete
cloudify.interfaces.operations:
restart: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.restart
resize:
implementation: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.resize
inputs:
vm_size:
type: string
default: ''
run_command:
implementation: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.run_command
inputs:
command_id:
type: string
default: RunShellScript
script:
type: list
default: []
parameters:
type: list
default: []
cloudify.azure.nodes.compute.WindowsVirtualMachine:
derived_from: cloudify.azure.nodes.compute.VirtualMachine
properties:
os_family:
default: windows
agent_config:
default:
install_method: remote
port: 5985
interfaces:
cloudify.interfaces.lifecycle:
start:
implementation: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.start
inputs:
command_to_execute:
default: powershell -ExecutionPolicy Unrestricted -file ps_enable_winrm_http.ps1
file_uris:
default:
- https://raw.githubusercontent.com/cloudify-cosmo/cloudify-azure-plugin/master/scripts/ps_enable_winrm_http.ps1
cloudify.interfaces.operations:
run_command:
implementation: azure.cloudify_azure.resources.compute.virtualmachine.virtualmachine.run_command
inputs:
command_id:
type: string
default: RunPowerShellScript
script:
type: list
default: []
parameters:
type: list
default: []
cloudify.azure.nodes.compute.VirtualMachineExtension:
derived_from: cloudify.nodes.Root
properties:
name: *id001
azure_config: *id002
client_config: *id003
use_external_resource: *id004
create_if_missing: *id005
use_if_exists: *id006
api_version:
type: string
default: '2016-03-30'
resource_group_name:
type: string
required: false
virtual_machine_name:
type: string
required: false
location:
type: string
required: false
tags:
required: false
retry_after:
type: integer
required: false
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: azure.cloudify_azure.resources.compute.virtualmachineextension.create
inputs:
resource_config:
default:
publisher:
type: string
required: true
ext_type:
description: >
Since "type" is a reserved name, "ext_type" maps to "type"
type: string
required: true
typeHandlerVersion:
type: string
required: true
default: 1.9
settings:
required: false