-
Notifications
You must be signed in to change notification settings - Fork 12
/
plugin_1_5.yaml
2315 lines (2174 loc) · 84 KB
/
plugin_1_5.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
properties_description: Manage Azure resources.
properties:
environment_variables:
display_label: Environment Variables
type: dict
description: You can provide any set of environment variables for use by managed identity. For more information, please see https://docs.microsoft.com/en-us/python/api/overview/azure/identity-readme?view=azure-python. If you use this approach other parameters will be ignored.
username:
display_label: Username
type: string
description: Your azure username.
password:
display_label: Password
type: string
description: Your azure password.
endpoints_active_directory:
display_label: Endpoints Active Directory
type: string
description: A Microsoft Azure Active Directory endpoint.
endpoints_resource_manager:
display_label: Endpoints Resource Manager
type: string
description: A Microsoft Azure Active Directory Resource Manager.
endpoint_resource:
display_label: Endpoints Resource
type: string
description: A Microsoft Azure Active Directory Resource Id.
endpoint_verify:
display_label: Endpoints Verify
type: boolean
description: Connection certificate verify.
subscription_id:
display_label: Subscription ID
type: string
description: A Microsoft Azure subscription ID. This is a unique user account in Azure. This can be found in the Subscriptions tab on your dashboard.
tenant_id:
display_label: Tenant ID
type: string
description: A Microsoft Azure tenant ID. This can be found in the Azure Active Directory dashboard by accessing your directory. Open the Application Endpoints dialog and your tenant ID will be in the URL for the OAUTH2.0 TOKEN ENDPOINT.
client_id:
display_label: Client ID
type: string
description: A Microsoft Azure client ID. This can be found in the Azure Active Directory dashboard by accessing your directory. View the Applications tab and select the application used to access Azure APIs. Your client ID can be found by expanding the ACCESS WEB APIS IN OTHER APPLICATIONS tab.
client_secret:
display_label: Client Secret
type: string
description: A Microsoft Azure client secret key. This can be found or generated in the same location as your client ID.
scale_name_separator:
display_label: Scale Name Separator
type: string
description: When scaling resources, a unique name must be sent to the Azure API. Since names are left to the user to manage (the service does not generate unique IDs), this plugin will attempt to append characters or numbers to the end of the resource name when resources are scaled out. This value should be a character, or characters, that will separate the base name from the generated unique characters. For instance, if the base name of a resource is "myvm", the separator is set to "_", and a scale workflow attempts to create another resource, the resulting name could be something like "myvm_1". This field can be left blank.
scale_name_suffix_chars:
display_label: Scale Name Suffix Characters
type: string
description: A string of characters (ASCII) to be used when generating unique suffix data when scaling resources. See "scale_name_separator" for more information.
certificate:
display_label: Certificate
type: string
description: Certificate private key.
thumbprint:
display_label: Certificate Thumbprint
type: string
description: Certificate thumbprint.
cloud_environment:
display_label: Cloud Environment
type: string
description: An alternative cloud environment.
data_types:
cloudify.datatypes.azure.Config:
properties:
environment_variables:
type: dict
description: |
You can provide any set of environment variables for use by managed identity.
For more information, please see: https://docs.microsoft.com/en-us/python/api/overview/azure/identity-readme?view=azure-python.
If you use this approach other parameters will be ignored.
default: {}
username:
type: string
required: false
description: Your azure username.
password:
type: string
required: false
description: Your azure password.
endpoints_active_directory:
description: >
A Microsoft Azure Active Directory endpoint.
type: string
default: https://login.microsoftonline.com
endpoints_resource_manager:
description: >
A Microsoft Azure Active Directory Resource Manager.
type: string
default: https://management.azure.com
endpoint_resource:
description: >
A Microsoft Azure Active Directory Resource Id.
type: string
default: https://management.core.windows.net/
endpoint_verify:
description: >
Connection certificate verify.
type: boolean
default: true
subscription_id:
description: >
A Microsoft Azure subscription ID. This is a unique
user account in Azure. This can be found in the
Subscriptions tab on your dashboard.
type: string
required: false
tenant_id:
description: >
A Microsoft Azure tenant ID. This can be found in
the Azure Active Directory dashboard by accessing
your directory. Open the Application Endpoints
dialog and your tenant ID will be in the URL for
the OAUTH2.0 TOKEN ENDPOINT.
type: string
required: false
client_id:
description: >
A Microsoft Azure client ID. This can be found in
the Azure Active Directory dashboard by accessing
your directory. View the Applications tab and select
the application used to access Azure APIs. Your
client ID can be found by expanding the ACCESS WEB
APIS IN OTHER APPLICATIONS tab.
type: string
required: false
client_secret:
description: >
A Microsoft Azure client secret key. This can be found
or generated in the same location as your client ID.
type: string
required: false
scale_name_separator:
description: >
When scaling resources, a unique name must be sent to
the Azure API. Since names are left to the user to
manage (the service does not generate unique IDs),
this plugin will attempt to append characters or
numbers to the end of the resource name when resources
are scaled out. This value should be a character, or
characters, that will separate the base name from the
generated unique characters. For instance, if the
base name of a resource is "myvm", the separator is
set to "_", and a scale workflow attempts to create
another resource, the resulting name could be
something like "myvm_1". This field can be left blank.
type: string
required: false
default: "_"
scale_name_suffix_chars:
description: >
A string of characters (ASCII) to be used when
generating unique suffix data when scaling resources.
See "scale_name_separator" for more information.
type: string
required: true
default: "1234567890"
certificate:
description: >
Certificate private key.
type: string
required: false
default: ""
thumbprint:
description: >
Certificate thumbprint.
type: string
required: false
default: ""
cloud_environment:
description: >
An alternative cloud environment.
type: string
required: false
default: ""
cloudify.datatypes.azure.Common:
description: >
The properties, which are common to all types.
properties: &common_properties
name:
type: string
description: >
Name for the resource. Storage account name must be between
3 and 24 characters in length and use numbers and lower-case
letters only.
required: false
azure_config:
description: >
A dictionary of values to pass to authenticate with the Azure API
type: cloudify.datatypes.azure.Config
required: false
client_config:
description: >
A dictionary of values to pass to authenticate with the Azure API
type: cloudify.datatypes.azure.Config
required: false
cloudify.datatypes.azure.ExistingResources:
properties: &existing_resources
use_external_resource: &use_external_resource
description: >
Indicate whether the resource exists or if Cloudify should create the resource
type: boolean
default: false
required: true
create_if_missing:
description: >
If use_external_resource is true and the resource does not exist, create it.
type: boolean
required: true
default: false
use_if_exists:
description: If use_external_resource is false, but the resource does exist, use it.
type: boolean
required: true
default: false
cloudify.datatypes.azure.storage.StorageAccountConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163564.aspx
properties:
accountType:
description: >
An storage account type (case sensitive)
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
description: >
Container for the resource.
default: vhds
size:
description: >
Size of the Page Blob (Azure disk) in GiB. Maximum of 1023 GiB allowed.
default: 20
required: true
force_delete:
description: >
If set to true, the resource's "delete" lifecycle will purge the
Azure Data Disk from the Azure Storage Account. If false, the
Data Disk is left as-is in the Storage Account.
default: false
cloudify.datatypes.azure.storage.FileShareConfig:
properties:
metadata:
description: >
Metadata (dict) for the File Share
required: false
quota:
description: >
Quote, in GiB, for the maximum size of the file share
required: false
# fail_on_exist:
# description: >
# If true, causes the operation to raise a NonRecoverableError if
# the file share already exists. If false, issues a warning and
# continues execution.
# default: 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
description: >
Static, private IP Address
required: false
privateIPAllocationMethod:
type: string
description: >
Defines how a private IP address is assigned. Options
are Static or Dynamic
required: true
cloudify.datatypes.azure.network.PublicIPAddressConfig:
description: >
See https://msdn.microsoft.com/en-us/library/mt163590.aspx
properties:
publicIPAllocationMethod:
type: string
description: >
Defines whether the IP address is stable or dynamic.
Options are Static or Dynamic
required: true
idleTimeoutInMinutes:
type: integer
description: >
Specifies the timeout (in minutes) for the TCP idle connection.
The value can be set between 4 and 30 minutes
required: false
domainNameLabel:
type: string
description: >
The concatenation of the domain name label and the regionalized
DNS zone make up the fully qualified domain name associated
with the public IP address.
required: false
reverseFqdn:
type: string
description: >
A fully qualified domain name that resolves to this
public IP address.
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:
description: >
dict to represent sku [for now we only provide name]
required: false
cloudify.datatypes.azure.compute.VirtualMachineSpotConfig:
description: >
check the paramaters from this link : https://www.shorturl.at/wHTU2
properties:
is_spot_instance:
description: >
set true if you want to consider spot instance params
type: boolean
default: false
required: false
priority:
type: string
description: >
Possible values include: 'Regular', 'Low', 'Spot'
default: 'Spot'
required: false
eviction_policy:
type: string
description: >
the only supported value is 'Deallocate'
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:
description: >
A dict containing resource tags
default: {}
kubernetes_version:
type: string
default: ''
dns_prefix:
type: string
default: ''
agent_pool_profiles:
description: >
An array to pass an array of dict for agent profile
default: []
linux_profile:
description: >
A dict to define linux profile with user name and public keys
default: {}
network_profile:
description: >
A dict to define network profile loadbalancer,outbound,IPs
default: {}
windows_profile:
description: >
A dict to define windows profile with user name and password
default: {}
service_principal_profile:
description: >
A dict to define service service_principal_profile [client_id, secret]
default: {}
addon_profiles:
description: >
A dict to define addons to the managed cluster
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
description: The import path, for example, azure.mgmt.resource.
custom_resource_class_name:
type: string
required: true
description: The class to import from the resource module, for example ResourceManagementClient.
custom_resource_object_name:
type: string
required: true
description: The object where we find the functions for create, update, and delete, for example resource_groups.
create_fn_name:
type: string
required: true
description: The function that is called for create, for example, create_or_update.
update_fn_name:
type: string
required: true
description: The function that is called for update, for example, create_or_update.
delete_fn_name:
type: string
required: true
description: The function that is called for create, for example, begin delete.
get_fn_name:
type: string
required: true
description: The get function name.
default: 'get'
get_params:
type: dict
required: true
description: The params for calling the get function.
cloudify.datatypes.azure.CustomResourceOperationConfig:
description: Mappings for custom operation configs.
properties:
create:
type: dict
required: true
description: A dict of keys and values, which will be sent to create_fn_name.
update:
type: dict
required: false
description: A dict of keys and values, which will be sent to update_fn_name.
default: {}
delete:
type: dict
required: true
description: A dict of keys and values, which will be sent to delete_fn_name.
node_types:
cloudify.azure.nodes.ResourceGroup:
derived_from: cloudify.nodes.Root
properties:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Resources API Version
default: "2017-05-10"
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
tags:
description: >
Specifies a dictionary of one or more name and value pairs that describe a tag
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
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:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Storage API Version
default: "2015-06-15"
resource_group_name:
type: string
description: >
Name of the Resource Group that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Resource Group node)
required: false
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
tags:
description: >
Specifies a dictionary of one or more name and value pairs that describe a tag
required: false
sku:
description: >
A Storage account SKU if needed.
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
type: cloudify.datatypes.azure.storage.StorageAccountConfig
required: true
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
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:
<<: *common_properties
<<: *existing_resources
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
type: integer
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
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:
<<: *common_properties
<<: *existing_resources
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
storage_account_name:
type: string
description: >
Name of the storage account that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a storage account node)
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
type: integer
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
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:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Network API Version
default: "2016-09-01"
resource_group_name:
type: string
description: >
Name of the Resource Group that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Resource Group node)
required: false
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
tags:
description: >
Specifies a dictionary of one or more name and value pairs that describe a tag
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
type: cloudify.datatypes.azure.network.VirtualNetworkConfig
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
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:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Network API Version
default: "2016-09-01"
resource_group_name:
type: string
description: >
Name of the Resource Group that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Resource Group node)
required: false
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
tags:
description: >
Specifies a dictionary of one or more name and value pairs that describe a tag
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
type: cloudify.datatypes.azure.network.NetworkSecurityGroupConfig
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
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:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Network API Version
default: "2016-09-01"
resource_group_name:
type: string
description: >
Name of the Resource Group that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Resource Group node)
required: false
network_security_group_name:
type: string
description: >
Name of the Network Security Group that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Network Security Groupnode)
required: false
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
tags:
description: >
Specifies a dictionary of one or more name and value pairs that describe a tag
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
type: cloudify.datatypes.azure.network.NetworkSecurityRuleConfig
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
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:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Network API Version
default: "2016-09-01"
resource_group_name:
type: string
description: >
Name of the Resource Group that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Resource Group node)
required: false
virtual_network_name:
type: string
description: >
Name of the Virtual Network that the existing resource belongs to
(this is only useful when not using a relationship between a resource
node and a Virtual Network node)
required: false
location:
type: string
description: >
Specifies the supported Azure location for the resource
required: false
tags:
description: >
Specifies a dictionary of one or more name and value pairs that describe a tag
required: false
resource_config:
description: >
A dictionary of values to pass as properties when creating the resource
type: cloudify.datatypes.azure.network.SubnetConfig
required: false
retry_after:
description: >
Overrides the Azure-specified "retry_after" response. This property
will set the number of seconds for each task retry interval (in the
case of iteratively checking the status of an asynchronous operation)
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:
<<: *common_properties
<<: *existing_resources
api_version:
type: string
description: >
Network API Version