azure_mgmt_web 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_web.rb +56 -0
  3. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/domains.rb +50 -50
  4. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/address.rb +1 -1
  5. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/azure_resource_type.rb +1 -1
  6. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/contact.rb +1 -1
  7. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
  8. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/dns_type.rb +1 -1
  9. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain.rb +1 -1
  10. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
  11. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_collection.rb +1 -1
  12. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
  13. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_ownership_identifier.rb +1 -1
  14. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +1 -1
  15. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
  16. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
  17. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_status.rb +1 -1
  18. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/domain_type.rb +1 -1
  19. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/host_name.rb +1 -1
  20. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/host_name_type.rb +1 -1
  21. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/name_identifier.rb +1 -1
  22. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
  23. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/provisioning_state.rb +1 -1
  24. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/proxy_only_resource.rb +1 -1
  25. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/resource.rb +1 -1
  26. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
  27. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
  28. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain.rb +1 -1
  29. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
  30. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
  31. data/lib/2015-04-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  32. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/top_level_domains.rb +14 -14
  33. data/lib/{generated → 2015-04-01/generated}/azure_mgmt_web/version.rb +2 -2
  34. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +134 -0
  35. data/lib/2015-08-01/generated/azure_mgmt_web.rb +48 -0
  36. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/app_service_certificate_orders.rb +60 -60
  37. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate.rb +1 -1
  38. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_collection.rb +1 -1
  39. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_order.rb +1 -1
  40. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_order_collection.rb +1 -1
  41. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/app_service_certificate_resource.rb +1 -1
  42. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_details.rb +1 -1
  43. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_email.rb +1 -1
  44. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_action.rb +1 -1
  45. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_action_type.rb +1 -1
  46. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_order_status.rb +1 -1
  47. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/certificate_product_type.rb +1 -1
  48. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/key_vault_secret_status.rb +1 -1
  49. data/lib/2015-08-01/generated/azure_mgmt_web/models/name_identifier.rb +44 -0
  50. data/lib/2015-08-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  51. data/lib/2015-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  52. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/reissue_certificate_order_request.rb +1 -1
  53. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/renew_certificate_order_request.rb +1 -1
  54. data/lib/2015-08-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  55. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/site_seal.rb +1 -1
  56. data/lib/{generated → 2015-08-01/generated}/azure_mgmt_web/models/site_seal_request.rb +1 -1
  57. data/lib/2015-08-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  58. data/lib/{generated/azure_mgmt_web/module_definition.rb → 2015-08-01/generated/azure_mgmt_web/version.rb} +3 -3
  59. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +130 -0
  60. data/lib/2016-03-01/generated/azure_mgmt_web.rb +77 -0
  61. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/certificates.rb +23 -23
  62. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/deleted_web_apps.rb +6 -6
  63. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/app_service_plan_restrictions.rb +1 -1
  64. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/capability.rb +1 -1
  65. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/certificate.rb +1 -1
  66. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/certificate_collection.rb +1 -1
  67. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/channels.rb +1 -1
  68. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/check_name_resource_types.rb +1 -1
  69. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
  70. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_collection.rb +1 -1
  71. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_description.rb +1 -1
  72. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_description_properties.rb +1 -1
  73. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/csm_operation_display.rb +1 -1
  74. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/deleted_site.rb +1 -1
  75. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/deleted_web_app_collection.rb +1 -1
  76. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/dimension.rb +1 -1
  77. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/geo_region.rb +1 -1
  78. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/geo_region_collection.rb +1 -1
  79. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/global_csm_sku_description.rb +1 -1
  80. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
  81. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/in_availability_reason_type.rb +1 -1
  82. data/lib/2016-03-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
  83. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/metric_availability.rb +1 -1
  84. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/metric_specification.rb +1 -1
  85. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/notification_level.rb +1 -1
  86. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/premier_add_on_offer.rb +1 -1
  87. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/premier_add_on_offer_collection.rb +1 -1
  88. data/lib/2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  89. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/recommendation.rb +1 -1
  90. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/recommendation_rule.rb +1 -1
  91. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  92. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_name_availability.rb +1 -1
  93. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_name_availability_request.rb +1 -1
  94. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/resource_scope_type.rb +1 -1
  95. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/service_specification.rb +1 -1
  96. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_capacity.rb +1 -1
  97. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_infos.rb +1 -1
  98. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/sku_name.rb +1 -1
  99. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/source_control.rb +1 -1
  100. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/source_control_collection.rb +1 -1
  101. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/user.rb +1 -1
  102. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_request.rb +1 -1
  103. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_resource_types.rb +1 -1
  104. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_response.rb +1 -1
  105. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/validate_response_error.rb +1 -1
  106. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_parameters.rb +1 -1
  107. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_validation_failure_details.rb +1 -1
  108. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/models/vnet_validation_test_failure.rb +1 -1
  109. data/lib/2016-03-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  110. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/provider.rb +10 -10
  111. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/recommendations.rb +17 -17
  112. data/lib/2016-03-01/generated/azure_mgmt_web/version.rb +8 -0
  113. data/lib/{generated → 2016-03-01/generated}/azure_mgmt_web/web_site_management_client.rb +43 -68
  114. data/lib/2016-08-01/generated/azure_mgmt_web.rb +190 -0
  115. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/api_definition_info.rb +1 -1
  116. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/application_logs_config.rb +1 -1
  117. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
  118. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
  119. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
  120. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
  121. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/auto_heal_triggers.rb +1 -1
  122. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
  123. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
  124. data/lib/2016-08-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
  125. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
  126. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item.rb +1 -1
  127. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item_collection.rb +1 -1
  128. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_item_status.rb +1 -1
  129. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_request.rb +1 -1
  130. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
  131. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/backup_schedule.rb +1 -1
  132. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
  133. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/clone_ability_result.rb +1 -1
  134. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/cloning_info.rb +1 -1
  135. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/conn_string_info.rb +1 -1
  136. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/conn_string_value_type_pair.rb +1 -1
  137. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/connection_string_dictionary.rb +1 -1
  138. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/connection_string_type.rb +1 -1
  139. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job.rb +1 -1
  140. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job_collection.rb +1 -1
  141. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/continuous_web_job_status.rb +1 -1
  142. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/cors_settings.rb +1 -1
  143. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
  144. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
  145. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
  146. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
  147. data/lib/2016-08-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
  148. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/custom_hostname_analysis_result.rb +1 -1
  149. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/database_backup_setting.rb +1 -1
  150. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/database_type.rb +1 -1
  151. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/deployment.rb +1 -1
  152. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/deployment_collection.rb +1 -1
  153. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/dns_verification_test_result.rb +1 -1
  154. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/enabled_config.rb +1 -1
  155. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/error_entity.rb +1 -1
  156. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/experiments.rb +1 -1
  157. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
  158. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/file_system_http_logs_config.rb +1 -1
  159. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/frequency_unit.rb +1 -1
  160. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_envelope.rb +1 -1
  161. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_envelope_collection.rb +1 -1
  162. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/function_secrets.rb +1 -1
  163. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/handler_mapping.rb +1 -1
  164. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_binding.rb +1 -1
  165. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
  166. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_name_ssl_state.rb +1 -1
  167. data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
  168. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/host_type.rb +1 -1
  169. data/lib/2016-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +66 -0
  170. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/http_logs_config.rb +1 -1
  171. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/hybrid_connection.rb +1 -1
  172. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/hybrid_connection_key.rb +1 -1
  173. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/identifier.rb +1 -1
  174. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/identifier_collection.rb +1 -1
  175. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ip_security_restriction.rb +1 -1
  176. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/localizable_string.rb +1 -1
  177. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/log_level.rb +1 -1
  178. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
  179. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/migrate_my_sql_request.rb +1 -1
  180. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/migrate_my_sql_status.rb +1 -1
  181. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy.rb +1 -1
  182. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log.rb +1 -1
  183. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log_entry.rb +1 -1
  184. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_log_entry_type.rb +1 -1
  185. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_provisioning_state.rb +1 -1
  186. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/msdeploy_status.rb +1 -1
  187. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/my_sql_migration_type.rb +1 -1
  188. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/name_value_pair.rb +1 -1
  189. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/network_features.rb +1 -1
  190. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/operation.rb +1 -1
  191. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/operation_status.rb +1 -1
  192. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_counter_collection.rb +1 -1
  193. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_response.rb +1 -1
  194. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_sample.rb +1 -1
  195. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/perf_mon_set.rb +1 -1
  196. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/premier_add_on.rb +1 -1
  197. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_info.rb +1 -1
  198. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_info_collection.rb +1 -1
  199. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_module_info.rb +1 -1
  200. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_module_info_collection.rb +1 -1
  201. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_thread_info.rb +1 -1
  202. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/process_thread_info_collection.rb +1 -1
  203. data/lib/2016-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  204. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate.rb +1 -1
  205. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate_collection.rb +1 -1
  206. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/public_certificate_location.rb +1 -1
  207. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/publishing_profile_format.rb +1 -1
  208. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/push_settings.rb +1 -1
  209. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ramp_up_rule.rb +1 -1
  210. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/relay_service_connection_entity.rb +1 -1
  211. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
  212. data/lib/2016-08-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  213. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric.rb +1 -1
  214. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_availability.rb +1 -1
  215. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
  216. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_definition.rb +1 -1
  217. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
  218. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_name.rb +1 -1
  219. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_property.rb +1 -1
  220. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/resource_metric_value.rb +1 -1
  221. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/restore_request.rb +1 -1
  222. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/restore_response.rb +1 -1
  223. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/route_type.rb +1 -1
  224. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/scm_type.rb +1 -1
  225. data/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb +473 -0
  226. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_auth_settings.rb +1 -1
  227. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_availability_state.rb +1 -1
  228. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_cloneability.rb +1 -1
  229. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
  230. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config.rb +1 -1
  231. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config_resource.rb +1 -1
  232. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_config_resource_collection.rb +1 -1
  233. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_configuration_snapshot_info.rb +1 -1
  234. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_info.rb +1 -1
  235. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_info_collection.rb +1 -1
  236. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_extension_type.rb +1 -1
  237. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_instance.rb +1 -1
  238. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_limits.rb +1 -1
  239. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_load_balancing.rb +1 -1
  240. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_logs_config.rb +1 -1
  241. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_machine_key.rb +1 -1
  242. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_php_error_log_flag.rb +1 -1
  243. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/site_source_control.rb +1 -1
  244. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_config_names_resource.rb +1 -1
  245. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_difference.rb +1 -1
  246. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
  247. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slot_swap_status.rb +1 -1
  248. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
  249. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot.rb +1 -1
  250. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_collection.rb +1 -1
  251. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_recovery_request.rb +1 -1
  252. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/snapshot_recovery_target.rb +1 -1
  253. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/ssl_state.rb +1 -1
  254. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
  255. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/storage_migration_options.rb +1 -1
  256. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/storage_migration_response.rb +1 -1
  257. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/string_dictionary.rb +1 -1
  258. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_history.rb +1 -1
  259. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_history_collection.rb +1 -1
  260. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_job_run.rb +1 -1
  261. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job.rb +1 -1
  262. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job_collection.rb +1 -1
  263. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/triggered_web_job_status.rb +1 -1
  264. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
  265. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/usage_state.rb +1 -1
  266. data/lib/2016-08-01/generated/azure_mgmt_web/models/user.rb +115 -0
  267. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/virtual_application.rb +1 -1
  268. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/virtual_directory.rb +1 -1
  269. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_gateway.rb +1 -1
  270. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_info.rb +1 -1
  271. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/vnet_route.rb +1 -1
  272. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_app_collection.rb +1 -1
  273. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_app_instance_collection.rb +1 -1
  274. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job.rb +1 -1
  275. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job_collection.rb +1 -1
  276. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/models/web_job_type.rb +1 -1
  277. data/lib/2016-08-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  278. data/lib/2016-08-01/generated/azure_mgmt_web/version.rb +8 -0
  279. data/lib/{generated → 2016-08-01/generated}/azure_mgmt_web/web_apps.rb +985 -985
  280. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +130 -0
  281. data/lib/2016-09-01/generated/azure_mgmt_web.rb +123 -0
  282. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/app_service_environments.rb +146 -146
  283. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/app_service_plans.rb +84 -84
  284. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
  285. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/address_response.rb +1 -1
  286. data/lib/2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb +44 -0
  287. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment.rb +1 -1
  288. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment_collection.rb +1 -1
  289. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_environment_resource.rb +1 -1
  290. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_plan.rb +1 -1
  291. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/app_service_plan_collection.rb +1 -1
  292. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
  293. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +68 -0
  294. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +55 -0
  295. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +58 -0
  296. data/lib/2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +85 -0
  297. data/lib/2016-09-01/generated/azure_mgmt_web/models/capability.rb +64 -0
  298. data/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb +169 -0
  299. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/compute_mode_options.rb +1 -1
  300. data/lib/2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb +67 -0
  301. data/lib/2016-09-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
  302. data/lib/2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb +53 -0
  303. data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +85 -0
  304. data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +94 -0
  305. data/lib/2016-09-01/generated/azure_mgmt_web/models/error_entity.rb +109 -0
  306. data/lib/2016-09-01/generated/azure_mgmt_web/models/experiments.rb +52 -0
  307. data/lib/2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb +69 -0
  308. data/lib/2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +99 -0
  309. data/lib/2016-09-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
  310. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
  311. data/lib/2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +66 -0
  312. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
  313. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb +139 -0
  314. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hybrid_connection_collection.rb +1 -1
  315. data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +88 -0
  316. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/hybrid_connection_limits.rb +1 -1
  317. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
  318. data/lib/2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +55 -0
  319. data/lib/2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb +54 -0
  320. data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
  321. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/metric_availabilily.rb +1 -1
  322. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/metric_definition.rb +1 -1
  323. data/lib/2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb +54 -0
  324. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/network_access_control_entry.rb +1 -1
  325. data/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb +125 -0
  326. data/lib/2016-09-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
  327. data/lib/2016-09-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  328. data/lib/2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +78 -0
  329. data/lib/2016-09-01/generated/azure_mgmt_web/models/push_settings.rb +114 -0
  330. data/lib/2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +132 -0
  331. data/lib/2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +54 -0
  332. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource.rb +104 -0
  333. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/resource_collection.rb +1 -1
  334. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb +150 -0
  335. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +56 -0
  336. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +94 -0
  337. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +159 -0
  338. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +94 -0
  339. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb +56 -0
  340. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb +54 -0
  341. data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb +119 -0
  342. data/lib/2016-09-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
  343. data/lib/2016-09-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
  344. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/site.rb +34 -34
  345. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
  346. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +539 -0
  347. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_limits.rb +64 -0
  348. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
  349. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb +74 -0
  350. data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb +78 -0
  351. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_description.rb +1 -1
  352. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_info.rb +1 -1
  353. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/sku_info_collection.rb +1 -1
  354. data/lib/2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb +67 -0
  355. data/lib/2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +64 -0
  356. data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb +122 -0
  357. data/lib/2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb +59 -0
  358. data/lib/2016-09-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
  359. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/stamp_capacity.rb +1 -1
  360. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
  361. data/lib/2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +84 -0
  362. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/status_options.rb +1 -1
  363. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/usage.rb +1 -1
  364. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/usage_collection.rb +1 -1
  365. data/lib/2016-09-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
  366. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_application.rb +84 -0
  367. data/lib/2016-09-01/generated/azure_mgmt_web/models/virtual_directory.rb +54 -0
  368. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
  369. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/virtual_network_profile.rb +1 -1
  370. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb +86 -0
  371. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb +141 -0
  372. data/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_route.rb +118 -0
  373. data/lib/2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +94 -0
  374. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool.rb +1 -1
  375. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
  376. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_pool_resource.rb +1 -1
  377. data/lib/{generated → 2016-09-01/generated}/azure_mgmt_web/models/worker_size_options.rb +1 -1
  378. data/lib/2016-09-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  379. data/lib/2016-09-01/generated/azure_mgmt_web/version.rb +8 -0
  380. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +134 -0
  381. data/lib/azure_mgmt_web.rb +6 -1
  382. data/lib/module_definition.rb +10 -0
  383. data/lib/profiles/common/configurable.rb +73 -0
  384. data/lib/profiles/common/default.rb +68 -0
  385. data/lib/profiles/latest/modules/web_profile_module.rb +1168 -0
  386. data/lib/profiles/latest/web_latest_profile_client.rb +33 -0
  387. data/lib/profiles/latest/web_module_definition.rb +9 -0
  388. data/lib/version.rb +7 -0
  389. metadata +388 -288
  390. data/lib/generated/azure_mgmt_web.rb +0 -309
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Web
6
+ module Azure::Web::Mgmt::V2016_09_01
7
7
  module Models
8
8
  #
9
9
  # Collection of resources.
@@ -0,0 +1,150 @@
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::V2016_09_01
7
+ module Models
8
+ #
9
+ # Object representing a metric for any resource .
10
+ #
11
+ class ResourceMetric
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ResourceMetricName] Name of metric.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Metric unit.
19
+ attr_accessor :unit
20
+
21
+ # @return [String] Metric granularity. E.g PT1H, PT5M, P1D
22
+ attr_accessor :time_grain
23
+
24
+ # @return [DateTime] Metric start time.
25
+ attr_accessor :start_time
26
+
27
+ # @return [DateTime] Metric end time.
28
+ attr_accessor :end_time
29
+
30
+ # @return [String] Metric resource Id.
31
+ attr_accessor :resource_id
32
+
33
+ # @return [String] Resource Id.
34
+ attr_accessor :id
35
+
36
+ # @return [Array<ResourceMetricValue>] Metric values.
37
+ attr_accessor :metric_values
38
+
39
+ # @return [Array<ResourceMetricProperty>] Properties.
40
+ attr_accessor :properties
41
+
42
+
43
+ #
44
+ # Mapper for ResourceMetric class as Ruby Hash.
45
+ # This will be used for serialization/deserialization.
46
+ #
47
+ def self.mapper()
48
+ {
49
+ required: false,
50
+ serialized_name: 'ResourceMetric',
51
+ type: {
52
+ name: 'Composite',
53
+ class_name: 'ResourceMetric',
54
+ model_properties: {
55
+ name: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'name',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'ResourceMetricName'
62
+ }
63
+ },
64
+ unit: {
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'unit',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ time_grain: {
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'timeGrain',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ start_time: {
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'startTime',
84
+ type: {
85
+ name: 'DateTime'
86
+ }
87
+ },
88
+ end_time: {
89
+ required: false,
90
+ read_only: true,
91
+ serialized_name: 'endTime',
92
+ type: {
93
+ name: 'DateTime'
94
+ }
95
+ },
96
+ resource_id: {
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'resourceId',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ id: {
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'id',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ metric_values: {
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'metricValues',
116
+ type: {
117
+ name: 'Sequence',
118
+ element: {
119
+ required: false,
120
+ serialized_name: 'ResourceMetricValueElementType',
121
+ type: {
122
+ name: 'Composite',
123
+ class_name: 'ResourceMetricValue'
124
+ }
125
+ }
126
+ }
127
+ },
128
+ properties: {
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'properties',
132
+ type: {
133
+ name: 'Sequence',
134
+ element: {
135
+ required: false,
136
+ serialized_name: 'ResourceMetricPropertyElementType',
137
+ type: {
138
+ name: 'Composite',
139
+ class_name: 'ResourceMetricProperty'
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ end
@@ -0,0 +1,56 @@
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::V2016_09_01
7
+ module Models
8
+ #
9
+ # Metrics availability and retention.
10
+ #
11
+ class ResourceMetricAvailability
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Time grain .
16
+ attr_accessor :time_grain
17
+
18
+ # @return [String] Retention period for the current time grain.
19
+ attr_accessor :retention
20
+
21
+
22
+ #
23
+ # Mapper for ResourceMetricAvailability class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'ResourceMetricAvailability',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ResourceMetricAvailability',
33
+ model_properties: {
34
+ time_grain: {
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'timeGrain',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ retention: {
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'retention',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,94 @@
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::V2016_09_01
7
+ module Models
8
+ #
9
+ # Collection of metric responses.
10
+ #
11
+ class ResourceMetricCollection
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<ResourceMetric>] 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<ResourceMetric>] 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 [ResourceMetricCollection] 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 ResourceMetricCollection class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ required: false,
61
+ serialized_name: 'ResourceMetricCollection',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'ResourceMetricCollection',
65
+ model_properties: {
66
+ value: {
67
+ required: true,
68
+ serialized_name: 'value',
69
+ type: {
70
+ name: 'Sequence',
71
+ element: {
72
+ required: false,
73
+ serialized_name: 'ResourceMetricElementType',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'ResourceMetric'
77
+ }
78
+ }
79
+ }
80
+ },
81
+ next_link: {
82
+ required: false,
83
+ serialized_name: 'nextLink',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,159 @@
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::V2016_09_01
7
+ module Models
8
+ #
9
+ # Metadata for the metrics.
10
+ #
11
+ class ResourceMetricDefinition < ProxyOnlyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ResourceMetricName] Name of the metric.
16
+ attr_accessor :resource_metric_definition_name
17
+
18
+ # @return [String] Unit of the metric.
19
+ attr_accessor :unit
20
+
21
+ # @return [String] Primary aggregation type.
22
+ attr_accessor :primary_aggregation_type
23
+
24
+ # @return [Array<ResourceMetricAvailability>] List of time grains
25
+ # supported for the metric together with retention period.
26
+ attr_accessor :metric_availabilities
27
+
28
+ # @return [String] Resource URI.
29
+ attr_accessor :resource_uri
30
+
31
+ # @return [String] Resource ID.
32
+ attr_accessor :resource_metric_definition_id
33
+
34
+ # @return [Hash{String => String}] Properties.
35
+ attr_accessor :properties
36
+
37
+
38
+ #
39
+ # Mapper for ResourceMetricDefinition class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ required: false,
45
+ serialized_name: 'ResourceMetricDefinition',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'ResourceMetricDefinition',
49
+ model_properties: {
50
+ id: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'id',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ name: {
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ kind: {
67
+ required: false,
68
+ serialized_name: 'kind',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ type: {
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'type',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ resource_metric_definition_name: {
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'properties.name',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'ResourceMetricName'
88
+ }
89
+ },
90
+ unit: {
91
+ required: false,
92
+ read_only: true,
93
+ serialized_name: 'properties.unit',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ primary_aggregation_type: {
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'properties.primaryAggregationType',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ metric_availabilities: {
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'properties.metricAvailabilities',
110
+ type: {
111
+ name: 'Sequence',
112
+ element: {
113
+ required: false,
114
+ serialized_name: 'ResourceMetricAvailabilityElementType',
115
+ type: {
116
+ name: 'Composite',
117
+ class_name: 'ResourceMetricAvailability'
118
+ }
119
+ }
120
+ }
121
+ },
122
+ resource_uri: {
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'properties.resourceUri',
126
+ type: {
127
+ name: 'String'
128
+ }
129
+ },
130
+ resource_metric_definition_id: {
131
+ required: false,
132
+ read_only: true,
133
+ serialized_name: 'properties.id',
134
+ type: {
135
+ name: 'String'
136
+ }
137
+ },
138
+ properties: {
139
+ required: false,
140
+ read_only: true,
141
+ serialized_name: 'properties.properties',
142
+ type: {
143
+ name: 'Dictionary',
144
+ value: {
145
+ required: false,
146
+ serialized_name: 'StringElementType',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ end
157
+ end
158
+ end
159
+ end