azure_mgmt_web 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  3. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  4. data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  5. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  6. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
  7. data/lib/2018-02-01/generated/azure_mgmt_web.rb +99 -91
  8. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +40 -40
  9. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +8 -8
  10. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan.rb +26 -1
  11. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +26 -1
  12. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb +109 -0
  13. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_property_dictionary_resource.rb +90 -0
  14. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_state.rb +17 -0
  15. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_type.rb +16 -0
  16. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_request.rb +11 -0
  17. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +11 -0
  18. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_site.rb +54 -7
  19. data/lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb +70 -0
  20. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +93 -0
  21. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
  22. data/lib/2018-02-01/generated/azure_mgmt_web/models/site.rb +13 -1
  23. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config.rb +21 -0
  24. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource.rb +21 -0
  25. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_patch_resource.rb +13 -1
  26. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_name.rb +2 -0
  27. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +20 -0
  28. data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +16 -8
  29. data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +20 -20
  30. data/lib/2018-02-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1161 -0
  31. data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +1716 -312
  32. data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +36 -19
  33. data/lib/azure_mgmt_web.rb +1 -0
  34. data/lib/profiles/latest/modules/web_profile_module.rb +315 -285
  35. data/lib/profiles/v2018_03_01/modules/web_profile_module.rb +1235 -0
  36. data/lib/profiles/v2018_03_01/web_module_definition.rb +8 -0
  37. data/lib/profiles/v2018_03_01/web_v2018_03_01_profile_client.rb +40 -0
  38. data/lib/version.rb +1 -1
  39. metadata +14 -3
@@ -0,0 +1,70 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Web::Mgmt::V2018_02_01
7
+ module Models
8
+ #
9
+ # Network trace
10
+ #
11
+ class NetworkTrace
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Local file path for the captured network trace file.
16
+ attr_accessor :path
17
+
18
+ # @return [String] Current status of the network trace operation, same as
19
+ # Operation.Status (InProgress/Succeeded/Failed).
20
+ attr_accessor :status
21
+
22
+ # @return [String] Detailed message of a network trace operation, e.g.
23
+ # error message in case of failure.
24
+ attr_accessor :message
25
+
26
+
27
+ #
28
+ # Mapper for NetworkTrace class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'NetworkTrace',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'NetworkTrace',
39
+ model_properties: {
40
+ path: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'path',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ status: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'status',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ message: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'message',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,93 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Web::Mgmt::V2018_02_01
7
+ module Models
8
+ #
9
+ # Used for getting ResourceHealthCheck settings.
10
+ #
11
+ class ResourceHealthMetadata < ProxyOnlyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The category that the resource matches in the RHC
16
+ # Policy File
17
+ attr_accessor :category
18
+
19
+ # @return [Boolean] Is there a health signal for the resource
20
+ attr_accessor :signal_availability
21
+
22
+
23
+ #
24
+ # Mapper for ResourceHealthMetadata class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'ResourceHealthMetadata',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'ResourceHealthMetadata',
35
+ model_properties: {
36
+ id: {
37
+ client_side_validation: true,
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'id',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ name: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'name',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ kind: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'kind',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'type',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ category: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'properties.category',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ signal_availability: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'properties.signalAvailability',
83
+ type: {
84
+ name: 'Boolean'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,99 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Web::Mgmt::V2018_02_01
7
+ module Models
8
+ #
9
+ # Collection of resource health metadata.
10
+ #
11
+ class ResourceHealthMetadataCollection
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ResourceHealthMetadata>] Collection of resources.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Link to next page of resources.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<ResourceHealthMetadata>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [ResourceHealthMetadataCollection] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for ResourceHealthMetadataCollection class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'ResourceHealthMetadataCollection',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ResourceHealthMetadataCollection',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: true,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'ResourceHealthMetadataElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'ResourceHealthMetadata'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -53,9 +53,12 @@ module Azure::Web::Mgmt::V2018_02_01
53
53
  # <code>false</code>. Default value: false .
54
54
  attr_accessor :reserved
55
55
 
56
- # @return [Boolean] Hyper-V sandbox. Default value: false .
56
+ # @return [Boolean] Obsolete: Hyper-V sandbox. Default value: false .
57
57
  attr_accessor :is_xenon
58
58
 
59
+ # @return [Boolean] Hyper-V sandbox. Default value: false .
60
+ attr_accessor :hyper_v
61
+
59
62
  # @return [DateTime] Last time the app was modified, in UTC. Read-only.
60
63
  attr_accessor :last_modified_time_utc
61
64
 
@@ -344,6 +347,15 @@ module Azure::Web::Mgmt::V2018_02_01
344
347
  name: 'Boolean'
345
348
  }
346
349
  },
350
+ hyper_v: {
351
+ client_side_validation: true,
352
+ required: false,
353
+ serialized_name: 'properties.hyperV',
354
+ default_value: false,
355
+ type: {
356
+ name: 'Boolean'
357
+ }
358
+ },
347
359
  last_modified_time_utc: {
348
360
  client_side_validation: true,
349
361
  required: false,
@@ -67,6 +67,10 @@ module Azure::Web::Mgmt::V2018_02_01
67
67
  # @return [Array<NameValuePair>] Application settings.
68
68
  attr_accessor :app_settings
69
69
 
70
+ # @return [Hash{String => AzureStorageInfoValue}] User-provided Azure
71
+ # storage accounts.
72
+ attr_accessor :azure_storage_accounts
73
+
70
74
  # @return [Array<ConnStringInfo>] Connection strings.
71
75
  attr_accessor :connection_strings
72
76
 
@@ -351,6 +355,23 @@ module Azure::Web::Mgmt::V2018_02_01
351
355
  }
352
356
  }
353
357
  },
358
+ azure_storage_accounts: {
359
+ client_side_validation: true,
360
+ required: false,
361
+ serialized_name: 'azureStorageAccounts',
362
+ type: {
363
+ name: 'Dictionary',
364
+ value: {
365
+ client_side_validation: true,
366
+ required: false,
367
+ serialized_name: 'AzureStorageInfoValueElementType',
368
+ type: {
369
+ name: 'Composite',
370
+ class_name: 'AzureStorageInfoValue'
371
+ }
372
+ }
373
+ }
374
+ },
354
375
  connection_strings: {
355
376
  client_side_validation: true,
356
377
  required: false,
@@ -67,6 +67,10 @@ module Azure::Web::Mgmt::V2018_02_01
67
67
  # @return [Array<NameValuePair>] Application settings.
68
68
  attr_accessor :app_settings
69
69
 
70
+ # @return [Hash{String => AzureStorageInfoValue}] User-provided Azure
71
+ # storage accounts.
72
+ attr_accessor :azure_storage_accounts
73
+
70
74
  # @return [Array<ConnStringInfo>] Connection strings.
71
75
  attr_accessor :connection_strings
72
76
 
@@ -386,6 +390,23 @@ module Azure::Web::Mgmt::V2018_02_01
386
390
  }
387
391
  }
388
392
  },
393
+ azure_storage_accounts: {
394
+ client_side_validation: true,
395
+ required: false,
396
+ serialized_name: 'properties.azureStorageAccounts',
397
+ type: {
398
+ name: 'Dictionary',
399
+ value: {
400
+ client_side_validation: true,
401
+ required: false,
402
+ serialized_name: 'AzureStorageInfoValueElementType',
403
+ type: {
404
+ name: 'Composite',
405
+ class_name: 'AzureStorageInfoValue'
406
+ }
407
+ }
408
+ }
409
+ },
389
410
  connection_strings: {
390
411
  client_side_validation: true,
391
412
  required: false,
@@ -53,9 +53,12 @@ module Azure::Web::Mgmt::V2018_02_01
53
53
  # <code>false</code>. Default value: false .
54
54
  attr_accessor :reserved
55
55
 
56
- # @return [Boolean] Hyper-V sandbox. Default value: false .
56
+ # @return [Boolean] Obsolete: Hyper-V sandbox. Default value: false .
57
57
  attr_accessor :is_xenon
58
58
 
59
+ # @return [Boolean] Hyper-V sandbox. Default value: false .
60
+ attr_accessor :hyper_v
61
+
59
62
  # @return [DateTime] Last time the app was modified, in UTC. Read-only.
60
63
  attr_accessor :last_modified_time_utc
61
64
 
@@ -317,6 +320,15 @@ module Azure::Web::Mgmt::V2018_02_01
317
320
  name: 'Boolean'
318
321
  }
319
322
  },
323
+ hyper_v: {
324
+ client_side_validation: true,
325
+ required: false,
326
+ serialized_name: 'properties.hyperV',
327
+ default_value: false,
328
+ type: {
329
+ name: 'Boolean'
330
+ }
331
+ },
320
332
  last_modified_time_utc: {
321
333
  client_side_validation: true,
322
334
  required: false,
@@ -17,6 +17,8 @@ module Azure::Web::Mgmt::V2018_02_01
17
17
  Dynamic = "Dynamic"
18
18
  Isolated = "Isolated"
19
19
  PremiumV2 = "PremiumV2"
20
+ ElasticPremium = "ElasticPremium"
21
+ ElasticIsolated = "ElasticIsolated"
20
22
  end
21
23
  end
22
24
  end
@@ -18,6 +18,10 @@ module Azure::Web::Mgmt::V2018_02_01
18
18
  # @return [Array<String>] List of application settings names.
19
19
  attr_accessor :app_setting_names
20
20
 
21
+ # @return [Array<String>] List of external Azure storage account
22
+ # identifiers.
23
+ attr_accessor :azure_storage_config_names
24
+
21
25
 
22
26
  #
23
27
  # Mapper for SlotConfigNamesResource class as Ruby Hash.
@@ -98,6 +102,22 @@ module Azure::Web::Mgmt::V2018_02_01
98
102
  }
99
103
  }
100
104
  }
105
+ },
106
+ azure_storage_config_names: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'properties.azureStorageConfigNames',
110
+ type: {
111
+ name: 'Sequence',
112
+ element: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'StringElementType',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ }
120
+ }
101
121
  }
102
122
  }
103
123
  }
@@ -26,7 +26,8 @@ module Azure::Web::Mgmt::V2018_02_01
26
26
  #
27
27
  # Get available application frameworks and their versions
28
28
  #
29
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
29
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
30
+ # 'WindowsFunctions', 'LinuxFunctions'
30
31
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
32
  # will be added to the HTTP request.
32
33
  #
@@ -42,7 +43,8 @@ module Azure::Web::Mgmt::V2018_02_01
42
43
  #
43
44
  # Get available application frameworks and their versions
44
45
  #
45
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
46
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
47
+ # 'WindowsFunctions', 'LinuxFunctions'
46
48
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
49
  # will be added to the HTTP request.
48
50
  #
@@ -57,7 +59,8 @@ module Azure::Web::Mgmt::V2018_02_01
57
59
  #
58
60
  # Get available application frameworks and their versions
59
61
  #
60
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
62
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
63
+ # 'WindowsFunctions', 'LinuxFunctions'
61
64
  # @param [Hash{String => String}] A hash of custom headers that will be added
62
65
  # to the HTTP request.
63
66
  #
@@ -211,7 +214,8 @@ module Azure::Web::Mgmt::V2018_02_01
211
214
  #
212
215
  # Get available application frameworks and their versions
213
216
  #
214
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
217
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
218
+ # 'WindowsFunctions', 'LinuxFunctions'
215
219
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
216
220
  # will be added to the HTTP request.
217
221
  #
@@ -227,7 +231,8 @@ module Azure::Web::Mgmt::V2018_02_01
227
231
  #
228
232
  # Get available application frameworks and their versions
229
233
  #
230
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
234
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
235
+ # 'WindowsFunctions', 'LinuxFunctions'
231
236
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
232
237
  # will be added to the HTTP request.
233
238
  #
@@ -242,7 +247,8 @@ module Azure::Web::Mgmt::V2018_02_01
242
247
  #
243
248
  # Get available application frameworks and their versions
244
249
  #
245
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
250
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
251
+ # 'WindowsFunctions', 'LinuxFunctions'
246
252
  # @param [Hash{String => String}] A hash of custom headers that will be added
247
253
  # to the HTTP request.
248
254
  #
@@ -592,7 +598,8 @@ module Azure::Web::Mgmt::V2018_02_01
592
598
  #
593
599
  # Get available application frameworks and their versions
594
600
  #
595
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
601
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
602
+ # 'WindowsFunctions', 'LinuxFunctions'
596
603
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
597
604
  # will be added to the HTTP request.
598
605
  #
@@ -639,7 +646,8 @@ module Azure::Web::Mgmt::V2018_02_01
639
646
  #
640
647
  # Get available application frameworks and their versions
641
648
  #
642
- # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux'
649
+ # @param os_type_selected [Enum] Possible values include: 'Windows', 'Linux',
650
+ # 'WindowsFunctions', 'LinuxFunctions'
643
651
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
644
652
  # will be added to the HTTP request.
645
653
  #