azure_mgmt_web 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (240) hide show
  1. checksums.yaml +13 -5
  2. data/azure_mgmt_web.gemspec +2 -2
  3. data/lib/azure_mgmt_web.rb +27 -4
  4. data/lib/azure_mgmt_web/certificate_orders.rb +1596 -0
  5. data/lib/azure_mgmt_web/certificates.rb +383 -55
  6. data/lib/azure_mgmt_web/classic_mobile_services.rb +107 -16
  7. data/lib/azure_mgmt_web/domains.rb +227 -33
  8. data/lib/azure_mgmt_web/global.rb +446 -78
  9. data/lib/azure_mgmt_web/global_certificate_order.rb +206 -0
  10. data/lib/azure_mgmt_web/global_domain_registration.rb +174 -29
  11. data/lib/azure_mgmt_web/global_resource_groups.rb +33 -7
  12. data/lib/azure_mgmt_web/hosting_environments.rb +1500 -213
  13. data/lib/azure_mgmt_web/managed_hosting_environments.rb +346 -55
  14. data/lib/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
  15. data/lib/azure_mgmt_web/models/address.rb +1 -1
  16. data/lib/azure_mgmt_web/models/address_response.rb +1 -1
  17. data/lib/azure_mgmt_web/models/api_definition_info.rb +1 -1
  18. data/lib/azure_mgmt_web/models/application_logs_config.rb +1 -1
  19. data/lib/azure_mgmt_web/models/arm_plan.rb +1 -1
  20. data/lib/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
  21. data/lib/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
  22. data/lib/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
  23. data/lib/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
  24. data/lib/azure_mgmt_web/models/auto_heal_triggers.rb +1 -1
  25. data/lib/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
  26. data/lib/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
  27. data/lib/azure_mgmt_web/models/azure_resource_type.rb +1 -1
  28. data/lib/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
  29. data/lib/azure_mgmt_web/models/backup_item.rb +7 -1
  30. data/lib/azure_mgmt_web/models/backup_item_collection.rb +1 -1
  31. data/lib/azure_mgmt_web/models/backup_item_properties.rb +1 -1
  32. data/lib/azure_mgmt_web/models/backup_item_status.rb +1 -1
  33. data/lib/azure_mgmt_web/models/backup_request.rb +7 -1
  34. data/lib/azure_mgmt_web/models/backup_request_properties.rb +1 -1
  35. data/lib/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
  36. data/lib/azure_mgmt_web/models/backup_schedule.rb +1 -1
  37. data/lib/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
  38. data/lib/azure_mgmt_web/models/certificate.rb +7 -1
  39. data/lib/azure_mgmt_web/models/certificate_collection.rb +1 -1
  40. data/lib/azure_mgmt_web/models/certificate_details.rb +98 -0
  41. data/lib/azure_mgmt_web/models/certificate_details_properties.rb +133 -0
  42. data/lib/azure_mgmt_web/models/certificate_email.rb +98 -0
  43. data/lib/azure_mgmt_web/models/certificate_email_properties.rb +67 -0
  44. data/lib/azure_mgmt_web/models/certificate_order.rb +98 -0
  45. data/lib/azure_mgmt_web/models/certificate_order_action.rb +98 -0
  46. data/lib/azure_mgmt_web/models/certificate_order_action_properties.rb +74 -0
  47. data/lib/azure_mgmt_web/models/certificate_order_action_type.rb +23 -0
  48. data/lib/azure_mgmt_web/models/certificate_order_certificate.rb +99 -0
  49. data/lib/azure_mgmt_web/models/certificate_order_certificate_collection.rb +85 -0
  50. data/lib/azure_mgmt_web/models/certificate_order_certificate_properties.rb +82 -0
  51. data/lib/azure_mgmt_web/models/certificate_order_collection.rb +85 -0
  52. data/lib/azure_mgmt_web/models/certificate_order_properties.rb +254 -0
  53. data/lib/azure_mgmt_web/models/certificate_order_status.rb +24 -0
  54. data/lib/azure_mgmt_web/models/certificate_product_type.rb +16 -0
  55. data/lib/azure_mgmt_web/models/certificate_properties.rb +1 -1
  56. data/lib/azure_mgmt_web/models/channels.rb +1 -1
  57. data/lib/azure_mgmt_web/models/classic_mobile_service.rb +7 -1
  58. data/lib/azure_mgmt_web/models/classic_mobile_service_collection.rb +1 -1
  59. data/lib/azure_mgmt_web/models/classic_mobile_service_properties.rb +1 -1
  60. data/lib/azure_mgmt_web/models/clone_ability_result.rb +1 -1
  61. data/lib/azure_mgmt_web/models/cloning_info.rb +1 -1
  62. data/lib/azure_mgmt_web/models/compute_mode_options.rb +2 -1
  63. data/lib/azure_mgmt_web/models/conn_string_info.rb +1 -1
  64. data/lib/azure_mgmt_web/models/conn_string_value_type_pair.rb +1 -1
  65. data/lib/azure_mgmt_web/models/connection_string_dictionary.rb +7 -1
  66. data/lib/azure_mgmt_web/models/contact.rb +1 -1
  67. data/lib/azure_mgmt_web/models/cors_settings.rb +1 -1
  68. data/lib/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
  69. data/lib/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
  70. data/lib/azure_mgmt_web/models/csm_site_recovery_entity.rb +11 -1
  71. data/lib/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
  72. data/lib/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
  73. data/lib/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
  74. data/lib/azure_mgmt_web/models/csr.rb +7 -1
  75. data/lib/azure_mgmt_web/models/csr_properties.rb +1 -1
  76. data/lib/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
  77. data/lib/azure_mgmt_web/models/database_backup_setting.rb +1 -1
  78. data/lib/azure_mgmt_web/models/database_server_type.rb +1 -1
  79. data/lib/azure_mgmt_web/models/deleted_site.rb +7 -1
  80. data/lib/azure_mgmt_web/models/deleted_site_collection.rb +1 -1
  81. data/lib/azure_mgmt_web/models/deleted_site_properties.rb +40 -1
  82. data/lib/azure_mgmt_web/models/deployment.rb +7 -1
  83. data/lib/azure_mgmt_web/models/deployment_collection.rb +1 -1
  84. data/lib/azure_mgmt_web/models/deployment_properties.rb +1 -1
  85. data/lib/azure_mgmt_web/models/domain.rb +7 -1
  86. data/lib/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
  87. data/lib/azure_mgmt_web/models/domain_collection.rb +1 -1
  88. data/lib/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
  89. data/lib/azure_mgmt_web/models/domain_properties.rb +15 -5
  90. data/lib/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
  91. data/lib/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
  92. data/lib/azure_mgmt_web/models/domain_registration_input.rb +7 -1
  93. data/lib/azure_mgmt_web/models/domain_registration_input_properties.rb +15 -5
  94. data/lib/azure_mgmt_web/models/domain_status.rb +1 -1
  95. data/lib/azure_mgmt_web/models/domain_type.rb +1 -1
  96. data/lib/azure_mgmt_web/models/enabled_config.rb +1 -1
  97. data/lib/azure_mgmt_web/models/experiments.rb +1 -1
  98. data/lib/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
  99. data/lib/azure_mgmt_web/models/file_system_http_logs_config.rb +1 -1
  100. data/lib/azure_mgmt_web/models/frequency_unit.rb +1 -1
  101. data/lib/azure_mgmt_web/models/geo_region.rb +7 -1
  102. data/lib/azure_mgmt_web/models/geo_region_collection.rb +1 -1
  103. data/lib/azure_mgmt_web/models/geo_region_properties.rb +1 -1
  104. data/lib/azure_mgmt_web/models/handler_mapping.rb +1 -1
  105. data/lib/azure_mgmt_web/models/host_name.rb +1 -1
  106. data/lib/azure_mgmt_web/models/host_name_binding.rb +7 -1
  107. data/lib/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
  108. data/lib/azure_mgmt_web/models/host_name_binding_properties.rb +1 -1
  109. data/lib/azure_mgmt_web/models/host_name_ssl_state.rb +1 -1
  110. data/lib/azure_mgmt_web/models/host_name_type.rb +1 -1
  111. data/lib/azure_mgmt_web/models/hosting_environment.rb +7 -1
  112. data/lib/azure_mgmt_web/models/hosting_environment_collection.rb +1 -1
  113. data/lib/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
  114. data/lib/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
  115. data/lib/azure_mgmt_web/models/hosting_environment_properties.rb +63 -17
  116. data/lib/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
  117. data/lib/azure_mgmt_web/models/http_logs_config.rb +1 -1
  118. data/lib/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
  119. data/lib/azure_mgmt_web/models/ip_security_restriction.rb +66 -0
  120. data/lib/azure_mgmt_web/models/key_value_pair_string_string.rb +1 -1
  121. data/lib/azure_mgmt_web/models/key_vault_secret_status.rb +24 -0
  122. data/lib/azure_mgmt_web/models/localizable_string.rb +1 -1
  123. data/lib/azure_mgmt_web/models/log_level.rb +1 -1
  124. data/lib/azure_mgmt_web/models/managed_hosting_environment.rb +7 -1
  125. data/lib/azure_mgmt_web/models/managed_hosting_environment_collection.rb +1 -1
  126. data/lib/azure_mgmt_web/models/managed_hosting_environment_properties.rb +1 -1
  127. data/lib/azure_mgmt_web/models/managed_hosting_environment_status.rb +1 -1
  128. data/lib/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
  129. data/lib/azure_mgmt_web/models/metric_availabilily.rb +1 -1
  130. data/lib/azure_mgmt_web/models/metric_definition.rb +7 -1
  131. data/lib/azure_mgmt_web/models/metric_definition_collection.rb +1 -1
  132. data/lib/azure_mgmt_web/models/metric_definition_properties.rb +1 -1
  133. data/lib/azure_mgmt_web/models/name_identifier.rb +1 -1
  134. data/lib/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
  135. data/lib/azure_mgmt_web/models/name_value_pair.rb +1 -1
  136. data/lib/azure_mgmt_web/models/network_access_control_entry.rb +1 -1
  137. data/lib/azure_mgmt_web/models/network_features.rb +7 -1
  138. data/lib/azure_mgmt_web/models/network_features_properties.rb +1 -1
  139. data/lib/azure_mgmt_web/models/notification_level.rb +1 -1
  140. data/lib/azure_mgmt_web/models/premier_add_on_request.rb +1 -1
  141. data/lib/azure_mgmt_web/models/provisioning_state.rb +1 -1
  142. data/lib/azure_mgmt_web/models/ramp_up_rule.rb +1 -1
  143. data/lib/azure_mgmt_web/models/recommendation.rb +36 -1
  144. data/lib/azure_mgmt_web/models/recommendation_rule.rb +12 -1
  145. data/lib/azure_mgmt_web/models/reissue_certificate_order_request.rb +98 -0
  146. data/lib/azure_mgmt_web/models/reissue_certificate_order_request_properties.rb +68 -0
  147. data/lib/azure_mgmt_web/models/relay_service_connection_entity.rb +7 -1
  148. data/lib/azure_mgmt_web/models/relay_service_connection_entity_properties.rb +1 -1
  149. data/lib/azure_mgmt_web/models/renew_certificate_order_request.rb +98 -0
  150. data/lib/azure_mgmt_web/models/renew_certificate_order_request_properties.rb +57 -0
  151. data/lib/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
  152. data/lib/azure_mgmt_web/models/resource_metric.rb +1 -1
  153. data/lib/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
  154. data/lib/azure_mgmt_web/models/resource_metric_name.rb +1 -1
  155. data/lib/azure_mgmt_web/models/resource_metric_value.rb +1 -1
  156. data/lib/azure_mgmt_web/models/resource_name_availability.rb +1 -1
  157. data/lib/azure_mgmt_web/models/resource_name_availability_request.rb +1 -1
  158. data/lib/azure_mgmt_web/models/restore_request.rb +7 -1
  159. data/lib/azure_mgmt_web/models/restore_request_properties.rb +1 -1
  160. data/lib/azure_mgmt_web/models/restore_response.rb +7 -1
  161. data/lib/azure_mgmt_web/models/restore_response_properties.rb +1 -1
  162. data/lib/azure_mgmt_web/models/routing_rule.rb +1 -1
  163. data/lib/azure_mgmt_web/models/server_farm_collection.rb +1 -1
  164. data/lib/azure_mgmt_web/models/server_farm_with_rich_sku.rb +7 -1
  165. data/lib/azure_mgmt_web/models/server_farm_with_rich_sku_properties.rb +1 -1
  166. data/lib/azure_mgmt_web/models/site.rb +7 -1
  167. data/lib/azure_mgmt_web/models/site_auth_settings.rb +13 -1
  168. data/lib/azure_mgmt_web/models/site_availability_state.rb +1 -1
  169. data/lib/azure_mgmt_web/models/site_cloneability.rb +1 -1
  170. data/lib/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
  171. data/lib/azure_mgmt_web/models/site_collection.rb +1 -1
  172. data/lib/azure_mgmt_web/models/site_config.rb +7 -1
  173. data/lib/azure_mgmt_web/models/site_config_properties.rb +51 -21
  174. data/lib/azure_mgmt_web/models/site_instance.rb +7 -1
  175. data/lib/azure_mgmt_web/models/site_instance_collection.rb +1 -1
  176. data/lib/azure_mgmt_web/models/site_instance_properties.rb +1 -1
  177. data/lib/azure_mgmt_web/models/site_limits.rb +1 -1
  178. data/lib/azure_mgmt_web/models/site_load_balancing.rb +1 -1
  179. data/lib/azure_mgmt_web/models/site_logs_config.rb +7 -1
  180. data/lib/azure_mgmt_web/models/site_logs_config_properties.rb +1 -1
  181. data/lib/azure_mgmt_web/models/site_properties.rb +40 -1
  182. data/lib/azure_mgmt_web/models/site_source_control.rb +7 -1
  183. data/lib/azure_mgmt_web/models/site_source_control_properties.rb +1 -1
  184. data/lib/azure_mgmt_web/models/sku_capacity.rb +1 -1
  185. data/lib/azure_mgmt_web/models/sku_description.rb +1 -1
  186. data/lib/azure_mgmt_web/models/sku_info.rb +1 -1
  187. data/lib/azure_mgmt_web/models/sku_info_collection.rb +1 -1
  188. data/lib/azure_mgmt_web/models/slot_config_names.rb +1 -1
  189. data/lib/azure_mgmt_web/models/slot_config_names_resource.rb +7 -1
  190. data/lib/azure_mgmt_web/models/slot_config_names_resource_properties.rb +1 -1
  191. data/lib/azure_mgmt_web/models/slot_difference.rb +7 -1
  192. data/lib/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
  193. data/lib/azure_mgmt_web/models/slot_difference_properties.rb +1 -1
  194. data/lib/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
  195. data/lib/azure_mgmt_web/models/source_control.rb +7 -1
  196. data/lib/azure_mgmt_web/models/source_control_collection.rb +1 -1
  197. data/lib/azure_mgmt_web/models/source_control_properties.rb +1 -1
  198. data/lib/azure_mgmt_web/models/ssl_state.rb +1 -1
  199. data/lib/azure_mgmt_web/models/stamp_capacity.rb +2 -2
  200. data/lib/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
  201. data/lib/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
  202. data/lib/azure_mgmt_web/models/status_options.rb +1 -1
  203. data/lib/azure_mgmt_web/models/string_dictionary.rb +7 -1
  204. data/lib/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
  205. data/lib/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
  206. data/lib/azure_mgmt_web/models/top_level_domain.rb +7 -1
  207. data/lib/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
  208. data/lib/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
  209. data/lib/azure_mgmt_web/models/top_level_domain_properties.rb +1 -1
  210. data/lib/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
  211. data/lib/azure_mgmt_web/models/usage.rb +7 -1
  212. data/lib/azure_mgmt_web/models/usage_collection.rb +1 -1
  213. data/lib/azure_mgmt_web/models/usage_properties.rb +2 -2
  214. data/lib/azure_mgmt_web/models/usage_state.rb +1 -1
  215. data/lib/azure_mgmt_web/models/user.rb +7 -1
  216. data/lib/azure_mgmt_web/models/user_properties.rb +11 -1
  217. data/lib/azure_mgmt_web/models/virtual_application.rb +1 -1
  218. data/lib/azure_mgmt_web/models/virtual_directory.rb +1 -1
  219. data/lib/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
  220. data/lib/azure_mgmt_web/models/virtual_network_profile.rb +1 -1
  221. data/lib/azure_mgmt_web/models/vnet_gateway.rb +7 -1
  222. data/lib/azure_mgmt_web/models/vnet_gateway_properties.rb +1 -1
  223. data/lib/azure_mgmt_web/models/vnet_info.rb +7 -1
  224. data/lib/azure_mgmt_web/models/vnet_info_properties.rb +20 -1
  225. data/lib/azure_mgmt_web/models/vnet_route.rb +7 -1
  226. data/lib/azure_mgmt_web/models/vnet_route_properties.rb +1 -1
  227. data/lib/azure_mgmt_web/models/worker_pool.rb +7 -1
  228. data/lib/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
  229. data/lib/azure_mgmt_web/models/worker_pool_properties.rb +2 -2
  230. data/lib/azure_mgmt_web/models/worker_size_options.rb +1 -1
  231. data/lib/azure_mgmt_web/module_definition.rb +1 -1
  232. data/lib/azure_mgmt_web/provider.rb +171 -28
  233. data/lib/azure_mgmt_web/recommendations.rb +183 -23
  234. data/lib/azure_mgmt_web/server_farms.rb +817 -109
  235. data/lib/azure_mgmt_web/sites.rb +7132 -1264
  236. data/lib/azure_mgmt_web/top_level_domains.rb +106 -17
  237. data/lib/azure_mgmt_web/usage_operations.rb +41 -6
  238. data/lib/azure_mgmt_web/version.rb +2 -2
  239. data/lib/azure_mgmt_web/web_site_management_client.rb +9 -1
  240. metadata +54 -24
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -45,6 +45,10 @@ module Azure::ARM::Web
45
45
  # apply. Possible values include: 'Notification', 'Api', 'Email', 'All'
46
46
  attr_accessor :channels
47
47
 
48
+ # @return [Array<String>] The list of category tags that this
49
+ # recommendation belongs to.
50
+ attr_accessor :tags
51
+
48
52
  # @return [String] Name of action recommended by this object.
49
53
  attr_accessor :action_name
50
54
 
@@ -52,6 +56,14 @@ module Azure::ARM::Web
52
56
  # or disabled.
53
57
  attr_accessor :enabled
54
58
 
59
+ # @return [DateTime] The beginning time of a range that the
60
+ # recommendation refers to.
61
+ attr_accessor :start_time
62
+
63
+ # @return [DateTime] The end time of a range that the recommendation
64
+ # refers to.
65
+ attr_accessor :end_time
66
+
55
67
  # @return [DateTime] When to notify this recommendation next. Null means
56
68
  # that this will never be notified anymore.
57
69
  attr_accessor :next_notification_time
@@ -72,6 +84,7 @@ module Azure::ARM::Web
72
84
  def validate
73
85
  fail MsRest::ValidationError, 'property level is nil' if @level.nil?
74
86
  fail MsRest::ValidationError, 'property channels is nil' if @channels.nil?
87
+ @tags.each{ |e| e.validate if e.respond_to?(:validate) } unless @tags.nil?
75
88
  end
76
89
 
77
90
  #
@@ -111,12 +124,23 @@ module Azure::ARM::Web
111
124
  serialized_property = object.message
112
125
  output_object['message'] = serialized_property unless serialized_property.nil?
113
126
 
127
+ serialized_property = object.tags
128
+ output_object['tags'] = serialized_property unless serialized_property.nil?
129
+
114
130
  serialized_property = object.action_name
115
131
  output_object['actionName'] = serialized_property unless serialized_property.nil?
116
132
 
117
133
  serialized_property = object.enabled
118
134
  output_object['enabled'] = serialized_property unless serialized_property.nil?
119
135
 
136
+ serialized_property = object.start_time
137
+ serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
138
+ output_object['startTime'] = serialized_property unless serialized_property.nil?
139
+
140
+ serialized_property = object.end_time
141
+ serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
142
+ output_object['endTime'] = serialized_property unless serialized_property.nil?
143
+
120
144
  serialized_property = object.next_notification_time
121
145
  serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
122
146
  output_object['nextNotificationTime'] = serialized_property unless serialized_property.nil?
@@ -180,6 +204,9 @@ module Azure::ARM::Web
180
204
  deserialized_property = object['message']
181
205
  output_object.message = deserialized_property
182
206
 
207
+ deserialized_property = object['tags']
208
+ output_object.tags = deserialized_property
209
+
183
210
  deserialized_property = object['actionName']
184
211
  output_object.action_name = deserialized_property
185
212
 
@@ -187,6 +214,14 @@ module Azure::ARM::Web
187
214
  deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
188
215
  output_object.enabled = deserialized_property
189
216
 
217
+ deserialized_property = object['startTime']
218
+ deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
219
+ output_object.start_time = deserialized_property
220
+
221
+ deserialized_property = object['endTime']
222
+ deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
223
+ output_object.end_time = deserialized_property
224
+
190
225
  deserialized_property = object['nextNotificationTime']
191
226
  deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
192
227
  output_object.next_notification_time = deserialized_property
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -47,12 +47,17 @@ module Azure::ARM::Web
47
47
  # Possible values include: 'Notification', 'Api', 'Email', 'All'
48
48
  attr_accessor :channels
49
49
 
50
+ # @return [Array<String>] An array of category tags that the rule
51
+ # contains.
52
+ attr_accessor :tags
53
+
50
54
  #
51
55
  # Validate the object. Throws ValidationError if validation fails.
52
56
  #
53
57
  def validate
54
58
  fail MsRest::ValidationError, 'property level is nil' if @level.nil?
55
59
  fail MsRest::ValidationError, 'property channels is nil' if @channels.nil?
60
+ @tags.each{ |e| e.validate if e.respond_to?(:validate) } unless @tags.nil?
56
61
  end
57
62
 
58
63
  #
@@ -91,6 +96,9 @@ module Azure::ARM::Web
91
96
  serialized_property = object.enabled
92
97
  output_object['enabled'] = serialized_property unless serialized_property.nil?
93
98
 
99
+ serialized_property = object.tags
100
+ output_object['tags'] = serialized_property unless serialized_property.nil?
101
+
94
102
  output_object
95
103
  end
96
104
 
@@ -139,6 +147,9 @@ module Azure::ARM::Web
139
147
  deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
140
148
  output_object.enabled = deserialized_property
141
149
 
150
+ deserialized_property = object['tags']
151
+ output_object.tags = deserialized_property
152
+
142
153
  output_object
143
154
  end
144
155
  end
@@ -0,0 +1,98 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Web
7
+ module Models
8
+ #
9
+ # Class representing certificate reissue request
10
+ #
11
+ class ReissueCertificateOrderRequest < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ReissueCertificateOrderRequestProperties]
16
+ attr_accessor :properties
17
+
18
+ #
19
+ # Validate the object. Throws ValidationError if validation fails.
20
+ #
21
+ def validate
22
+ @properties.validate unless @properties.nil?
23
+ end
24
+
25
+ #
26
+ # Serializes given Model object into Ruby Hash.
27
+ # @param object Model object to serialize.
28
+ # @return [Hash] Serialized object in form of Ruby Hash.
29
+ #
30
+ def self.serialize_object(object)
31
+ object.validate
32
+ output_object = {}
33
+
34
+ serialized_property = object.location
35
+ output_object['location'] = serialized_property unless serialized_property.nil?
36
+
37
+ serialized_property = object.id
38
+ output_object['id'] = serialized_property unless serialized_property.nil?
39
+
40
+ serialized_property = object.name
41
+ output_object['name'] = serialized_property unless serialized_property.nil?
42
+
43
+ serialized_property = object.kind
44
+ output_object['kind'] = serialized_property unless serialized_property.nil?
45
+
46
+ serialized_property = object.type
47
+ output_object['type'] = serialized_property unless serialized_property.nil?
48
+
49
+ serialized_property = object.tags
50
+ output_object['tags'] = serialized_property unless serialized_property.nil?
51
+
52
+ serialized_property = object.properties
53
+ unless serialized_property.nil?
54
+ serialized_property = ReissueCertificateOrderRequestProperties.serialize_object(serialized_property)
55
+ end
56
+ output_object['properties'] = serialized_property unless serialized_property.nil?
57
+
58
+ output_object
59
+ end
60
+
61
+ #
62
+ # Deserializes given Ruby Hash into Model object.
63
+ # @param object [Hash] Ruby Hash object to deserialize.
64
+ # @return [ReissueCertificateOrderRequest] Deserialized object.
65
+ #
66
+ def self.deserialize_object(object)
67
+ return if object.nil?
68
+ output_object = ReissueCertificateOrderRequest.new
69
+
70
+ deserialized_property = object['location']
71
+ output_object.location = deserialized_property
72
+
73
+ deserialized_property = object['id']
74
+ output_object.id = deserialized_property
75
+
76
+ deserialized_property = object['name']
77
+ output_object.name = deserialized_property
78
+
79
+ deserialized_property = object['kind']
80
+ output_object.kind = deserialized_property
81
+
82
+ deserialized_property = object['type']
83
+ output_object.type = deserialized_property
84
+
85
+ deserialized_property = object['tags']
86
+ output_object.tags = deserialized_property
87
+
88
+ deserialized_property = object['properties']
89
+ unless deserialized_property.nil?
90
+ deserialized_property = ReissueCertificateOrderRequestProperties.deserialize_object(deserialized_property)
91
+ end
92
+ output_object.properties = deserialized_property
93
+
94
+ output_object
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Web
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class ReissueCertificateOrderRequestProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Certificate Key Size
16
+ attr_accessor :key_size
17
+
18
+ # @return [Integer] Delay in hours to revoke existing certificate after
19
+ # the new certificate is issued
20
+ attr_accessor :delay_existing_revoke_in_hours
21
+
22
+ #
23
+ # Validate the object. Throws ValidationError if validation fails.
24
+ #
25
+ def validate
26
+ # Nothing to validate
27
+ end
28
+
29
+ #
30
+ # Serializes given Model object into Ruby Hash.
31
+ # @param object Model object to serialize.
32
+ # @return [Hash] Serialized object in form of Ruby Hash.
33
+ #
34
+ def self.serialize_object(object)
35
+ object.validate
36
+ output_object = {}
37
+
38
+ serialized_property = object.key_size
39
+ output_object['keySize'] = serialized_property unless serialized_property.nil?
40
+
41
+ serialized_property = object.delay_existing_revoke_in_hours
42
+ output_object['delayExistingRevokeInHours'] = serialized_property unless serialized_property.nil?
43
+
44
+ output_object
45
+ end
46
+
47
+ #
48
+ # Deserializes given Ruby Hash into Model object.
49
+ # @param object [Hash] Ruby Hash object to deserialize.
50
+ # @return [ReissueCertificateOrderRequestProperties] Deserialized object.
51
+ #
52
+ def self.deserialize_object(object)
53
+ return if object.nil?
54
+ output_object = ReissueCertificateOrderRequestProperties.new
55
+
56
+ deserialized_property = object['keySize']
57
+ deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
58
+ output_object.key_size = deserialized_property
59
+
60
+ deserialized_property = object['delayExistingRevokeInHours']
61
+ deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
62
+ output_object.delay_existing_revoke_in_hours = deserialized_property
63
+
64
+ output_object
65
+ end
66
+ end
67
+ end
68
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -40,6 +40,9 @@ module Azure::ARM::Web
40
40
  serialized_property = object.name
41
41
  output_object['name'] = serialized_property unless serialized_property.nil?
42
42
 
43
+ serialized_property = object.kind
44
+ output_object['kind'] = serialized_property unless serialized_property.nil?
45
+
43
46
  serialized_property = object.type
44
47
  output_object['type'] = serialized_property unless serialized_property.nil?
45
48
 
@@ -73,6 +76,9 @@ module Azure::ARM::Web
73
76
  deserialized_property = object['name']
74
77
  output_object.name = deserialized_property
75
78
 
79
+ deserialized_property = object['kind']
80
+ output_object.kind = deserialized_property
81
+
76
82
  deserialized_property = object['type']
77
83
  output_object.type = deserialized_property
78
84
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,98 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Web
7
+ module Models
8
+ #
9
+ # Class representing certificate renew request
10
+ #
11
+ class RenewCertificateOrderRequest < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [RenewCertificateOrderRequestProperties]
16
+ attr_accessor :properties
17
+
18
+ #
19
+ # Validate the object. Throws ValidationError if validation fails.
20
+ #
21
+ def validate
22
+ @properties.validate unless @properties.nil?
23
+ end
24
+
25
+ #
26
+ # Serializes given Model object into Ruby Hash.
27
+ # @param object Model object to serialize.
28
+ # @return [Hash] Serialized object in form of Ruby Hash.
29
+ #
30
+ def self.serialize_object(object)
31
+ object.validate
32
+ output_object = {}
33
+
34
+ serialized_property = object.location
35
+ output_object['location'] = serialized_property unless serialized_property.nil?
36
+
37
+ serialized_property = object.id
38
+ output_object['id'] = serialized_property unless serialized_property.nil?
39
+
40
+ serialized_property = object.name
41
+ output_object['name'] = serialized_property unless serialized_property.nil?
42
+
43
+ serialized_property = object.kind
44
+ output_object['kind'] = serialized_property unless serialized_property.nil?
45
+
46
+ serialized_property = object.type
47
+ output_object['type'] = serialized_property unless serialized_property.nil?
48
+
49
+ serialized_property = object.tags
50
+ output_object['tags'] = serialized_property unless serialized_property.nil?
51
+
52
+ serialized_property = object.properties
53
+ unless serialized_property.nil?
54
+ serialized_property = RenewCertificateOrderRequestProperties.serialize_object(serialized_property)
55
+ end
56
+ output_object['properties'] = serialized_property unless serialized_property.nil?
57
+
58
+ output_object
59
+ end
60
+
61
+ #
62
+ # Deserializes given Ruby Hash into Model object.
63
+ # @param object [Hash] Ruby Hash object to deserialize.
64
+ # @return [RenewCertificateOrderRequest] Deserialized object.
65
+ #
66
+ def self.deserialize_object(object)
67
+ return if object.nil?
68
+ output_object = RenewCertificateOrderRequest.new
69
+
70
+ deserialized_property = object['location']
71
+ output_object.location = deserialized_property
72
+
73
+ deserialized_property = object['id']
74
+ output_object.id = deserialized_property
75
+
76
+ deserialized_property = object['name']
77
+ output_object.name = deserialized_property
78
+
79
+ deserialized_property = object['kind']
80
+ output_object.kind = deserialized_property
81
+
82
+ deserialized_property = object['type']
83
+ output_object.type = deserialized_property
84
+
85
+ deserialized_property = object['tags']
86
+ output_object.tags = deserialized_property
87
+
88
+ deserialized_property = object['properties']
89
+ unless deserialized_property.nil?
90
+ deserialized_property = RenewCertificateOrderRequestProperties.deserialize_object(deserialized_property)
91
+ end
92
+ output_object.properties = deserialized_property
93
+
94
+ output_object
95
+ end
96
+ end
97
+ end
98
+ end