azure_mgmt_web 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-04-01/generated/azure_mgmt_web.rb +41 -39
  3. data/lib/2015-04-01/generated/azure_mgmt_web/domain_registration_provider.rb +1 -1
  4. data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +1 -1
  5. data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  6. data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  7. data/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  8. data/lib/2015-04-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  9. data/lib/2015-04-01/generated/azure_mgmt_web/top_level_domains.rb +1 -1
  10. data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +11 -10
  11. data/lib/2015-08-01/generated/azure_mgmt_web.rb +2 -0
  12. data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +1 -1
  13. data/lib/2015-08-01/generated/azure_mgmt_web/certificate_registration_provider.rb +1 -1
  14. data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  15. data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  16. data/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  17. data/lib/2015-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  18. data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
  19. data/lib/2016-03-01/generated/azure_mgmt_web.rb +76 -52
  20. data/lib/2016-03-01/generated/azure_mgmt_web/billing_meters.rb +235 -0
  21. data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +1 -1
  22. data/lib/2016-03-01/generated/azure_mgmt_web/deleted_web_apps.rb +1 -1
  23. data/lib/2016-03-01/generated/azure_mgmt_web/diagnostics.rb +1143 -111
  24. data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
  25. data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
  26. data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter.rb +126 -0
  27. data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
  28. data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
  29. data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
  30. data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
  31. data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
  32. data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
  33. data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
  34. data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
  35. data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
  36. data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
  37. data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  38. data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  39. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb +57 -22
  40. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
  41. data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb +49 -14
  42. data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
  43. data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
  44. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +93 -0
  45. data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
  46. data/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  47. data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
  48. data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
  49. data/lib/2016-03-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  50. data/lib/2016-03-01/generated/azure_mgmt_web/provider.rb +277 -17
  51. data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +582 -67
  52. data/lib/2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1161 -0
  53. data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +16 -6
  54. data/lib/2016-08-01/generated/azure_mgmt_web.rb +2 -0
  55. data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  56. data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  57. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  58. data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource.rb +26 -0
  59. data/lib/2016-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  60. data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +87 -102
  61. data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
  62. data/lib/2016-09-01/generated/azure_mgmt_web.rb +2 -0
  63. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +3 -3
  64. data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +1 -1
  65. data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
  66. data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
  67. data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
  68. data/lib/2016-09-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  69. data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
  70. data/lib/2018-02-01/generated/azure_mgmt_web.rb +369 -0
  71. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +2651 -0
  72. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +8089 -0
  73. data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +4314 -0
  74. data/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb +243 -0
  75. data/lib/2018-02-01/generated/azure_mgmt_web/certificates.rb +882 -0
  76. data/lib/2018-02-01/generated/azure_mgmt_web/deleted_web_apps.rb +231 -0
  77. data/lib/2018-02-01/generated/azure_mgmt_web/diagnostics.rb +3845 -0
  78. data/lib/2018-02-01/generated/azure_mgmt_web/domain_registration_provider.rb +243 -0
  79. data/lib/2018-02-01/generated/azure_mgmt_web/domains.rb +2145 -0
  80. data/lib/2018-02-01/generated/azure_mgmt_web/models/abnormal_time_period.rb +98 -0
  81. data/lib/2018-02-01/generated/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
  82. data/lib/2018-02-01/generated/azure_mgmt_web/models/address.rb +101 -0
  83. data/lib/2018-02-01/generated/azure_mgmt_web/models/address_response.rb +97 -0
  84. data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_data.rb +118 -0
  85. data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_definition.rb +82 -0
  86. data/lib/2018-02-01/generated/azure_mgmt_web/models/api_definition_info.rb +46 -0
  87. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate.rb +76 -0
  88. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +99 -0
  89. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +359 -0
  90. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +99 -0
  91. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb +335 -0
  92. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb +112 -0
  93. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +136 -0
  94. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment.rb +570 -0
  95. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +99 -0
  96. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb +605 -0
  97. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +629 -0
  98. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan.rb +329 -0
  99. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +99 -0
  100. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +293 -0
  101. data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
  102. data/lib/2018-02-01/generated/azure_mgmt_web/models/application_logs_config.rb +74 -0
  103. data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
  104. data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
  105. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
  106. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +72 -0
  107. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +58 -0
  108. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +61 -0
  109. data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +91 -0
  110. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +73 -0
  111. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +72 -0
  112. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
  113. data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +60 -0
  114. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item.rb +257 -0
  115. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_collection.rb +99 -0
  116. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_status.rb +24 -0
  117. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_request.rb +128 -0
  118. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +19 -0
  119. data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_schedule.rb +116 -0
  120. data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb +137 -0
  121. data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
  122. data/lib/2018-02-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +19 -0
  123. data/lib/2018-02-01/generated/azure_mgmt_web/models/capability.rb +68 -0
  124. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate.rb +335 -0
  125. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_collection.rb +99 -0
  126. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_details.rb +143 -0
  127. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_email.rb +92 -0
  128. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action.rb +101 -0
  129. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb +28 -0
  130. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_status.rb +24 -0
  131. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb +311 -0
  132. data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_product_type.rb +16 -0
  133. data/lib/2018-02-01/generated/azure_mgmt_web/models/channels.rb +19 -0
  134. data/lib/2018-02-01/generated/azure_mgmt_web/models/check_name_resource_types.rb +22 -0
  135. data/lib/2018-02-01/generated/azure_mgmt_web/models/clone_ability_result.rb +17 -0
  136. data/lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb +170 -0
  137. data/lib/2018-02-01/generated/azure_mgmt_web/models/compute_mode_options.rb +17 -0
  138. data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb +71 -0
  139. data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +60 -0
  140. data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +90 -0
  141. data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
  142. data/lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb +138 -0
  143. data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job.rb +192 -0
  144. data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +99 -0
  145. data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_status.rb +19 -0
  146. data/lib/2018-02-01/generated/azure_mgmt_web/models/cors_settings.rb +56 -0
  147. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +71 -0
  148. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +99 -0
  149. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description.rb +82 -0
  150. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +47 -0
  151. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_display.rb +79 -0
  152. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +49 -0
  153. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +58 -0
  154. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +91 -0
  155. data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +99 -0
  156. data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
  157. data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +249 -0
  158. data/lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb +74 -0
  159. data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
  160. data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
  161. data/lib/2018-02-01/generated/azure_mgmt_web/models/database_backup_setting.rb +84 -0
  162. data/lib/2018-02-01/generated/azure_mgmt_web/models/database_type.rb +18 -0
  163. data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
  164. data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
  165. data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
  166. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_app_restore_request.rb +107 -0
  167. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_site.rb +107 -0
  168. data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +99 -0
  169. data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment.rb +170 -0
  170. data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_collection.rb +99 -0
  171. data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb +98 -0
  172. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb +153 -0
  173. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_definition.rb +118 -0
  174. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
  175. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
  176. data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
  177. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb +153 -0
  178. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +99 -0
  179. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category.rb +82 -0
  180. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +99 -0
  181. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
  182. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +99 -0
  183. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb +197 -0
  184. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb +109 -0
  185. data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb +113 -0
  186. data/lib/2018-02-01/generated/azure_mgmt_web/models/dimension.rb +81 -0
  187. data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_type.rb +16 -0
  188. data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
  189. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain.rb +372 -0
  190. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +73 -0
  191. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_collection.rb +99 -0
  192. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +72 -0
  193. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +81 -0
  194. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +99 -0
  195. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_patch_resource.rb +348 -0
  196. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
  197. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +58 -0
  198. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_status.rb +35 -0
  199. data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_type.rb +16 -0
  200. data/lib/2018-02-01/generated/azure_mgmt_web/models/enabled_config.rb +47 -0
  201. data/lib/2018-02-01/generated/azure_mgmt_web/models/error_entity.rb +118 -0
  202. data/lib/2018-02-01/generated/azure_mgmt_web/models/experiments.rb +55 -0
  203. data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +49 -0
  204. data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +78 -0
  205. data/lib/2018-02-01/generated/azure_mgmt_web/models/frequency_unit.rb +16 -0
  206. data/lib/2018-02-01/generated/azure_mgmt_web/models/ftps_state.rb +17 -0
  207. data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope.rb +177 -0
  208. data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +99 -0
  209. data/lib/2018-02-01/generated/azure_mgmt_web/models/function_secrets.rb +92 -0
  210. data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region.rb +94 -0
  211. data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region_collection.rb +99 -0
  212. data/lib/2018-02-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +131 -0
  213. data/lib/2018-02-01/generated/azure_mgmt_web/models/handler_mapping.rb +73 -0
  214. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name.rb +119 -0
  215. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding.rb +179 -0
  216. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +99 -0
  217. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +106 -0
  218. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
  219. data/lib/2018-02-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
  220. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb +57 -0
  221. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +57 -0
  222. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +70 -0
  223. data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
  224. data/lib/2018-02-01/generated/azure_mgmt_web/models/http_logs_config.rb +61 -0
  225. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection.rb +163 -0
  226. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +99 -0
  227. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +95 -0
  228. data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +95 -0
  229. data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier.rb +81 -0
  230. data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier_collection.rb +99 -0
  231. data/lib/2018-02-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
  232. data/lib/2018-02-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +17 -0
  233. data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_filter_tag.rb +16 -0
  234. data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +120 -0
  235. data/lib/2018-02-01/generated/azure_mgmt_web/models/issue_type.rb +22 -0
  236. data/lib/2018-02-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
  237. data/lib/2018-02-01/generated/azure_mgmt_web/models/localizable_string.rb +57 -0
  238. data/lib/2018-02-01/generated/azure_mgmt_web/models/log_level.rb +19 -0
  239. data/lib/2018-02-01/generated/azure_mgmt_web/models/log_specification.rb +68 -0
  240. data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
  241. data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity.rb +91 -0
  242. data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +16 -0
  243. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availabilily.rb +57 -0
  244. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availability.rb +57 -0
  245. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_definition.rb +128 -0
  246. data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_specification.rb +218 -0
  247. data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +94 -0
  248. data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +108 -0
  249. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy.rb +165 -0
  250. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log.rb +91 -0
  251. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +73 -0
  252. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb +17 -0
  253. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb +19 -0
  254. data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_status.rb +132 -0
  255. data/lib/2018-02-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb +16 -0
  256. data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier.rb +46 -0
  257. data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +99 -0
  258. data/lib/2018-02-01/generated/azure_mgmt_web/models/name_value_pair.rb +57 -0
  259. data/lib/2018-02-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +81 -0
  260. data/lib/2018-02-01/generated/azure_mgmt_web/models/network_features.rb +140 -0
  261. data/lib/2018-02-01/generated/azure_mgmt_web/models/notification_level.rb +18 -0
  262. data/lib/2018-02-01/generated/azure_mgmt_web/models/operation.rb +135 -0
  263. data/lib/2018-02-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
  264. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +99 -0
  265. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_response.rb +69 -0
  266. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +68 -0
  267. data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_set.rb +100 -0
  268. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on.rb +149 -0
  269. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +184 -0
  270. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +99 -0
  271. data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_patch_resource.rb +125 -0
  272. data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access.rb +102 -0
  273. data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb +58 -0
  274. data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_virtual_network.rb +91 -0
  275. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info.rb +509 -0
  276. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info_collection.rb +99 -0
  277. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info.rb +192 -0
  278. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +99 -0
  279. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info.rb +214 -0
  280. data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +99 -0
  281. data/lib/2018-02-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
  282. data/lib/2018-02-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +83 -0
  283. data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate.rb +106 -0
  284. data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +99 -0
  285. data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_location.rb +17 -0
  286. data/lib/2018-02-01/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
  287. data/lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb +123 -0
  288. data/lib/2018-02-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +141 -0
  289. data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation.rb +360 -0
  290. data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
  291. data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_rule.rb +237 -0
  292. data/lib/2018-02-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +116 -0
  293. data/lib/2018-02-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +147 -0
  294. data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
  295. data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
  296. data/lib/2018-02-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +104 -0
  297. data/lib/2018-02-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +57 -0
  298. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource.rb +112 -0
  299. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_collection.rb +98 -0
  300. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric.rb +163 -0
  301. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +59 -0
  302. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +99 -0
  303. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +148 -0
  304. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +99 -0
  305. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_name.rb +59 -0
  306. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb +57 -0
  307. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_value.rb +129 -0
  308. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability.rb +78 -0
  309. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +71 -0
  310. data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
  311. data/lib/2018-02-01/generated/azure_mgmt_web/models/response_meta_data.rb +48 -0
  312. data/lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb +217 -0
  313. data/lib/2018-02-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
  314. data/lib/2018-02-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
  315. data/lib/2018-02-01/generated/azure_mgmt_web/models/service_specification.rb +76 -0
  316. data/lib/2018-02-01/generated/azure_mgmt_web/models/site.rb +554 -0
  317. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_auth_settings.rb +477 -0
  318. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
  319. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability.rb +113 -0
  320. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +57 -0
  321. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config.rb +676 -0
  322. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource.rb +711 -0
  323. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +99 -0
  324. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +94 -0
  325. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +101 -0
  326. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info.rb +301 -0
  327. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +99 -0
  328. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_type.rb +16 -0
  329. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_instance.rb +82 -0
  330. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_limits.rb +68 -0
  331. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
  332. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_logs_config.rb +118 -0
  333. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_machine_key.rb +79 -0
  334. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_patch_resource.rb +518 -0
  335. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +114 -0
  336. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal.rb +46 -0
  337. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal_request.rb +58 -0
  338. data/lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb +129 -0
  339. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_capacity.rb +83 -0
  340. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb +142 -0
  341. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info.rb +70 -0
  342. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info_collection.rb +99 -0
  343. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_infos.rb +67 -0
  344. data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_name.rb +22 -0
  345. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +108 -0
  346. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference.rb +157 -0
  347. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +99 -0
  348. data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_swap_status.rb +71 -0
  349. data/lib/2018-02-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +68 -0
  350. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot.rb +82 -0
  351. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_collection.rb +100 -0
  352. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb +62 -0
  353. data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb +133 -0
  354. data/lib/2018-02-01/generated/azure_mgmt_web/models/solution.rb +148 -0
  355. data/lib/2018-02-01/generated/azure_mgmt_web/models/solution_type.rb +17 -0
  356. data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control.rb +114 -0
  357. data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control_collection.rb +99 -0
  358. data/lib/2018-02-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
  359. data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
  360. data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
  361. data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity.rb +167 -0
  362. data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +99 -0
  363. data/lib/2018-02-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +90 -0
  364. data/lib/2018-02-01/generated/azure_mgmt_web/models/status_options.rb +17 -0
  365. data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_options.rb +119 -0
  366. data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_response.rb +83 -0
  367. data/lib/2018-02-01/generated/azure_mgmt_web/models/string_dictionary.rb +89 -0
  368. data/lib/2018-02-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
  369. data/lib/2018-02-01/generated/azure_mgmt_web/models/swift_virtual_network.rb +96 -0
  370. data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +79 -0
  371. data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +99 -0
  372. data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain.rb +82 -0
  373. data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +61 -0
  374. data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +99 -0
  375. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history.rb +91 -0
  376. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +99 -0
  377. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_run.rb +193 -0
  378. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job.rb +191 -0
  379. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +99 -0
  380. data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb +17 -0
  381. data/lib/2018-02-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
  382. data/lib/2018-02-01/generated/azure_mgmt_web/models/usage.rb +168 -0
  383. data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_collection.rb +99 -0
  384. data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
  385. data/lib/2018-02-01/generated/azure_mgmt_web/models/user.rb +125 -0
  386. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_request.rb +155 -0
  387. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
  388. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response.rb +59 -0
  389. data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response_error.rb +57 -0
  390. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_application.rb +90 -0
  391. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_directory.rb +57 -0
  392. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +79 -0
  393. data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +81 -0
  394. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_gateway.rb +93 -0
  395. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb +153 -0
  396. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_parameters.rb +103 -0
  397. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_route.rb +115 -0
  398. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +102 -0
  399. data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +93 -0
  400. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_collection.rb +99 -0
  401. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +99 -0
  402. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job.rb +157 -0
  403. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_collection.rb +99 -0
  404. data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_type.rb +16 -0
  405. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool.rb +102 -0
  406. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +99 -0
  407. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +149 -0
  408. data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_size_options.rb +21 -0
  409. data/lib/2018-02-01/generated/azure_mgmt_web/module_definition.rb +9 -0
  410. data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +661 -0
  411. data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +1331 -0
  412. data/lib/2018-02-01/generated/azure_mgmt_web/top_level_domains.rb +566 -0
  413. data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +45908 -0
  414. data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +2701 -0
  415. data/lib/azure_mgmt_web.rb +3 -2
  416. data/lib/profiles/latest/modules/web_profile_module.rb +1045 -969
  417. data/lib/version.rb +1 -1
  418. metadata +382 -5
@@ -24,15 +24,16 @@ module Azure::Web::Mgmt::V2015_08_01
24
24
  # @return [String] API Version
25
25
  attr_reader :api_version
26
26
 
27
- # @return [String] Gets or sets the preferred language for the response.
27
+ # @return [String] The preferred language for the response.
28
28
  attr_accessor :accept_language
29
29
 
30
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
31
- # Running Operations. Default value is 30.
30
+ # @return [Integer] The retry timeout in seconds for Long Running
31
+ # Operations. Default value is 30.
32
32
  attr_accessor :long_running_operation_retry_timeout
33
33
 
34
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
35
- # is generated and included in each request. Default is true.
34
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
35
+ # generated. When set to true a unique x-ms-client-request-id value is
36
+ # generated and included in each request. Default is true.
36
37
  attr_accessor :generate_client_request_id
37
38
 
38
39
  # @return [AppServiceCertificateOrders] app_service_certificate_orders
@@ -129,7 +130,7 @@ module Azure::Web::Mgmt::V2015_08_01
129
130
  #
130
131
  def add_telemetry
131
132
  sdk_information = 'azure_mgmt_web'
132
- sdk_information = "#{sdk_information}/0.16.0"
133
+ sdk_information = "#{sdk_information}/0.17.0"
133
134
  add_user_agent_information(sdk_information)
134
135
  end
135
136
  end
@@ -25,99 +25,115 @@ module Azure::Web::Mgmt::V2016_03_01
25
25
  autoload :Diagnostics, '2016-03-01/generated/azure_mgmt_web/diagnostics.rb'
26
26
  autoload :Provider, '2016-03-01/generated/azure_mgmt_web/provider.rb'
27
27
  autoload :Recommendations, '2016-03-01/generated/azure_mgmt_web/recommendations.rb'
28
+ autoload :ResourceHealthMetadataOperations, '2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb'
29
+ autoload :BillingMeters, '2016-03-01/generated/azure_mgmt_web/billing_meters.rb'
28
30
  autoload :WebSiteManagementClient, '2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb'
29
31
 
30
32
  module Models
31
- autoload :MetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb'
32
- autoload :MetricSpecification, '2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb'
33
- autoload :HostingEnvironmentDeploymentInfo, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb'
33
+ autoload :DefaultErrorResponseErrorDetailsItem, '2016-03-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb'
34
+ autoload :HostingEnvironmentProfile, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
35
+ autoload :DefaultErrorResponseError, '2016-03-01/generated/azure_mgmt_web/models/default_error_response_error.rb'
34
36
  autoload :CertificateCollection, '2016-03-01/generated/azure_mgmt_web/models/certificate_collection.rb'
35
- autoload :Resource, '2016-03-01/generated/azure_mgmt_web/models/resource.rb'
37
+ autoload :DefaultErrorResponse, '2016-03-01/generated/azure_mgmt_web/models/default_error_response.rb'
38
+ autoload :CsmOperationDisplay, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb'
39
+ autoload :Dimension, '2016-03-01/generated/azure_mgmt_web/models/dimension.rb'
36
40
  autoload :ValidateResponse, '2016-03-01/generated/azure_mgmt_web/models/validate_response.rb'
37
- autoload :VirtualNetworkProfile, '2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb'
38
- autoload :ValidateRequest, '2016-03-01/generated/azure_mgmt_web/models/validate_request.rb'
39
- autoload :WorkerPool, '2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb'
41
+ autoload :MetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb'
40
42
  autoload :SnapshotRecoveryTarget, '2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
41
- autoload :VirtualIPMapping, '2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
43
+ autoload :MetricSpecification, '2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb'
42
44
  autoload :ResourceMetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
43
- autoload :StampCapacity, '2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb'
45
+ autoload :ServiceSpecification, '2016-03-01/generated/azure_mgmt_web/models/service_specification.rb'
46
+ autoload :SourceControlCollection, '2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb'
47
+ autoload :CsmOperationDescriptionProperties, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb'
44
48
  autoload :ResourceNameAvailabilityRequest, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb'
45
- autoload :NetworkAccessControlEntry, '2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
49
+ autoload :CsmOperationDescription, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb'
46
50
  autoload :PremierAddOnOfferCollection, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb'
47
- autoload :AppServiceEnvironment, '2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb'
48
- autoload :GeoRegionCollection, '2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb'
49
- autoload :AppServicePlanCollection, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
51
+ autoload :CsmOperationCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb'
50
52
  autoload :ManagedServiceIdentity, '2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
51
- autoload :CsmOperationDisplay, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb'
53
+ autoload :LocalizableString, '2016-03-01/generated/azure_mgmt_web/models/localizable_string.rb'
52
54
  autoload :CloningInfo, '2016-03-01/generated/azure_mgmt_web/models/cloning_info.rb'
53
- autoload :Dimension, '2016-03-01/generated/azure_mgmt_web/models/dimension.rb'
55
+ autoload :CsmUsageQuota, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
54
56
  autoload :ApiDefinitionInfo, '2016-03-01/generated/azure_mgmt_web/models/api_definition_info.rb'
55
- autoload :HostingEnvironmentProfile, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
57
+ autoload :CsmUsageQuotaCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
56
58
  autoload :AutoHealCustomAction, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
57
- autoload :CsmMoveResourceEnvelope, '2016-03-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb'
59
+ autoload :ErrorEntity, '2016-03-01/generated/azure_mgmt_web/models/error_entity.rb'
58
60
  autoload :SlowRequestsBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
59
- autoload :ServiceSpecification, '2016-03-01/generated/azure_mgmt_web/models/service_specification.rb'
61
+ autoload :StatusCodesBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
60
62
  autoload :RequestsBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
61
- autoload :CsmOperationDescriptionProperties, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb'
63
+ autoload :ApplicationStack, '2016-03-01/generated/azure_mgmt_web/models/application_stack.rb'
62
64
  autoload :AutoHealRules, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
63
- autoload :CsmOperationDescription, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb'
65
+ autoload :StackMajorVersion, '2016-03-01/generated/azure_mgmt_web/models/stack_major_version.rb'
64
66
  autoload :RampUpRule, '2016-03-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
65
- autoload :CsmOperationCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb'
66
- autoload :VirtualDirectory, '2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb'
67
- autoload :LocalizableString, '2016-03-01/generated/azure_mgmt_web/models/localizable_string.rb'
68
- autoload :HandlerMapping, '2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb'
69
- autoload :CsmUsageQuota, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
70
- autoload :ConnStringInfo, '2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb'
71
- autoload :CsmUsageQuotaCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
72
- autoload :SiteConfig, '2016-03-01/generated/azure_mgmt_web/models/site_config.rb'
73
- autoload :ErrorEntity, '2016-03-01/generated/azure_mgmt_web/models/error_entity.rb'
74
67
  autoload :DeploymentLocations, '2016-03-01/generated/azure_mgmt_web/models/deployment_locations.rb'
68
+ autoload :VirtualDirectory, '2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb'
75
69
  autoload :IdentifierCollection, '2016-03-01/generated/azure_mgmt_web/models/identifier_collection.rb'
76
- autoload :SkuCapacity, '2016-03-01/generated/azure_mgmt_web/models/sku_capacity.rb'
70
+ autoload :HandlerMapping, '2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb'
77
71
  autoload :NameIdentifier, '2016-03-01/generated/azure_mgmt_web/models/name_identifier.rb'
72
+ autoload :ConnStringInfo, '2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb'
78
73
  autoload :Operation, '2016-03-01/generated/azure_mgmt_web/models/operation.rb'
79
- autoload :SourceControlCollection, '2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb'
74
+ autoload :SiteConfig, '2016-03-01/generated/azure_mgmt_web/models/site_config.rb'
80
75
  autoload :ResourceMetricProperty, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_property.rb'
81
- autoload :ResourceMetricName, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
82
- autoload :ResourceMetricValue, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
83
76
  autoload :GlobalCsmSkuDescription, '2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb'
77
+ autoload :ResourceMetricValue, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
78
+ autoload :SkuCapacity, '2016-03-01/generated/azure_mgmt_web/models/sku_capacity.rb'
84
79
  autoload :ResourceMetric, '2016-03-01/generated/azure_mgmt_web/models/resource_metric.rb'
85
- autoload :SlotSwapStatus, '2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
80
+ autoload :GeoRegionCollection, '2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb'
86
81
  autoload :ResourceMetricCollection, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb'
87
- autoload :CorsSettings, '2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb'
82
+ autoload :VirtualNetworkProfile, '2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb'
88
83
  autoload :ResourceMetricDefinitionCollection, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
89
- autoload :StatusCodesBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
84
+ autoload :VirtualIPMapping, '2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
90
85
  autoload :WebAppCollection, '2016-03-01/generated/azure_mgmt_web/models/web_app_collection.rb'
91
- autoload :SiteLimits, '2016-03-01/generated/azure_mgmt_web/models/site_limits.rb'
86
+ autoload :NetworkAccessControlEntry, '2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
92
87
  autoload :DeletedSite, '2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb'
93
- autoload :VirtualApplication, '2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb'
88
+ autoload :AppServicePlanCollection, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
94
89
  autoload :DeletedWebAppCollection, '2016-03-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb'
95
- autoload :NameValuePair, '2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb'
90
+ autoload :ValidateResponseError, '2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb'
96
91
  autoload :Solution, '2016-03-01/generated/azure_mgmt_web/models/solution.rb'
97
- autoload :Capability, '2016-03-01/generated/azure_mgmt_web/models/capability.rb'
92
+ autoload :ResourceMetricName, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
98
93
  autoload :DetectorAbnormalTimePeriod, '2016-03-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb'
99
- autoload :ValidateResponseError, '2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb'
100
- autoload :AbnormalTimePeriod, '2016-03-01/generated/azure_mgmt_web/models/abnormal_time_period.rb'
101
94
  autoload :ResourceNameAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability.rb'
102
- autoload :RecommendationRule, '2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb'
103
- autoload :IpSecurityRestriction, '2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
95
+ autoload :AbnormalTimePeriod, '2016-03-01/generated/azure_mgmt_web/models/abnormal_time_period.rb'
96
+ autoload :SlotSwapStatus, '2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
97
+ autoload :HostingEnvironmentDeploymentInfo, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb'
98
+ autoload :CorsSettings, '2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb'
104
99
  autoload :DiagnosticMetricSample, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb'
105
100
  autoload :AutoHealTriggers, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
106
101
  autoload :DiagnosticMetricSet, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb'
107
- autoload :SiteMachineKey, '2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb'
102
+ autoload :Experiments, '2016-03-01/generated/azure_mgmt_web/models/experiments.rb'
108
103
  autoload :DataSource, '2016-03-01/generated/azure_mgmt_web/models/data_source.rb'
109
- autoload :SkuDescription, '2016-03-01/generated/azure_mgmt_web/models/sku_description.rb'
104
+ autoload :SiteMachineKey, '2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb'
110
105
  autoload :ResponseMetaData, '2016-03-01/generated/azure_mgmt_web/models/response_meta_data.rb'
111
- autoload :ProxyOnlyResource, '2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
106
+ autoload :HostNameSslState, '2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
112
107
  autoload :AnalysisData, '2016-03-01/generated/azure_mgmt_web/models/analysis_data.rb'
113
- autoload :Experiments, '2016-03-01/generated/azure_mgmt_web/models/experiments.rb'
114
- autoload :Recommendation, '2016-03-01/generated/azure_mgmt_web/models/recommendation.rb'
108
+ autoload :SkuDescription, '2016-03-01/generated/azure_mgmt_web/models/sku_description.rb'
109
+ autoload :CsmMoveResourceEnvelope, '2016-03-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb'
110
+ autoload :WorkerPool, '2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb'
111
+ autoload :DataTableResponseColumn, '2016-03-01/generated/azure_mgmt_web/models/data_table_response_column.rb'
112
+ autoload :AppServiceEnvironment, '2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb'
113
+ autoload :DataTableResponseObject, '2016-03-01/generated/azure_mgmt_web/models/data_table_response_object.rb'
114
+ autoload :ValidateRequest, '2016-03-01/generated/azure_mgmt_web/models/validate_request.rb'
115
+ autoload :DetectorInfo, '2016-03-01/generated/azure_mgmt_web/models/detector_info.rb'
116
+ autoload :ProxyOnlyResource, '2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
117
+ autoload :Rendering, '2016-03-01/generated/azure_mgmt_web/models/rendering.rb'
118
+ autoload :AutoHealActions, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
119
+ autoload :DiagnosticData, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_data.rb'
120
+ autoload :VirtualApplication, '2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb'
121
+ autoload :BillingMeterCollection, '2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb'
122
+ autoload :Capability, '2016-03-01/generated/azure_mgmt_web/models/capability.rb'
123
+ autoload :DetectorResponseCollection, '2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb'
124
+ autoload :StampCapacity, '2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb'
125
+ autoload :ResourceHealthMetadataCollection, '2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb'
115
126
  autoload :SkuInfos, '2016-03-01/generated/azure_mgmt_web/models/sku_infos.rb'
116
- autoload :DiagnosticDetectorCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb'
117
- autoload :HostNameSslState, '2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
118
127
  autoload :DiagnosticAnalysisCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb'
119
- autoload :AutoHealActions, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
128
+ autoload :SiteLimits, '2016-03-01/generated/azure_mgmt_web/models/site_limits.rb'
129
+ autoload :RecommendationCollection, '2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb'
130
+ autoload :Resource, '2016-03-01/generated/azure_mgmt_web/models/resource.rb'
120
131
  autoload :DiagnosticCategoryCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb'
132
+ autoload :IpSecurityRestriction, '2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
133
+ autoload :DiagnosticDetectorCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb'
134
+ autoload :ApplicationStackCollection, '2016-03-01/generated/azure_mgmt_web/models/application_stack_collection.rb'
135
+ autoload :NameValuePair, '2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb'
136
+ autoload :StackMinorVersion, '2016-03-01/generated/azure_mgmt_web/models/stack_minor_version.rb'
121
137
  autoload :Certificate, '2016-03-01/generated/azure_mgmt_web/models/certificate.rb'
122
138
  autoload :CertificatePatchResource, '2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb'
123
139
  autoload :VnetRoute, '2016-03-01/generated/azure_mgmt_web/models/vnet_route.rb'
@@ -134,9 +150,14 @@ module Azure::Web::Mgmt::V2016_03_01
134
150
  autoload :AppServicePlan, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb'
135
151
  autoload :DetectorDefinition, '2016-03-01/generated/azure_mgmt_web/models/detector_definition.rb'
136
152
  autoload :AnalysisDefinition, '2016-03-01/generated/azure_mgmt_web/models/analysis_definition.rb'
153
+ autoload :DetectorResponse, '2016-03-01/generated/azure_mgmt_web/models/detector_response.rb'
137
154
  autoload :DiagnosticAnalysis, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb'
138
155
  autoload :DiagnosticCategory, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_category.rb'
139
156
  autoload :DiagnosticDetectorResponse, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb'
157
+ autoload :Recommendation, '2016-03-01/generated/azure_mgmt_web/models/recommendation.rb'
158
+ autoload :RecommendationRule, '2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb'
159
+ autoload :ResourceHealthMetadata, '2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata.rb'
160
+ autoload :BillingMeter, '2016-03-01/generated/azure_mgmt_web/models/billing_meter.rb'
140
161
  autoload :GeoRegion, '2016-03-01/generated/azure_mgmt_web/models/geo_region.rb'
141
162
  autoload :PremierAddOnOffer, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb'
142
163
  autoload :SourceControl, '2016-03-01/generated/azure_mgmt_web/models/source_control.rb'
@@ -145,11 +166,13 @@ module Azure::Web::Mgmt::V2016_03_01
145
166
  autoload :VnetValidationFailureDetails, '2016-03-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb'
146
167
  autoload :KeyVaultSecretStatus, '2016-03-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb'
147
168
  autoload :RouteType, '2016-03-01/generated/azure_mgmt_web/models/route_type.rb'
169
+ autoload :ManagedServiceIdentityType, '2016-03-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb'
148
170
  autoload :AutoHealActionType, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
149
171
  autoload :ConnectionStringType, '2016-03-01/generated/azure_mgmt_web/models/connection_string_type.rb'
150
172
  autoload :ScmType, '2016-03-01/generated/azure_mgmt_web/models/scm_type.rb'
151
173
  autoload :ManagedPipelineMode, '2016-03-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
152
174
  autoload :SiteLoadBalancing, '2016-03-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
175
+ autoload :SupportedTlsVersions, '2016-03-01/generated/azure_mgmt_web/models/supported_tls_versions.rb'
153
176
  autoload :SslState, '2016-03-01/generated/azure_mgmt_web/models/ssl_state.rb'
154
177
  autoload :HostType, '2016-03-01/generated/azure_mgmt_web/models/host_type.rb'
155
178
  autoload :UsageState, '2016-03-01/generated/azure_mgmt_web/models/usage_state.rb'
@@ -164,6 +187,7 @@ module Azure::Web::Mgmt::V2016_03_01
164
187
  autoload :OperationStatus, '2016-03-01/generated/azure_mgmt_web/models/operation_status.rb'
165
188
  autoload :IssueType, '2016-03-01/generated/azure_mgmt_web/models/issue_type.rb'
166
189
  autoload :SolutionType, '2016-03-01/generated/azure_mgmt_web/models/solution_type.rb'
190
+ autoload :RenderingType, '2016-03-01/generated/azure_mgmt_web/models/rendering_type.rb'
167
191
  autoload :ResourceScopeType, '2016-03-01/generated/azure_mgmt_web/models/resource_scope_type.rb'
168
192
  autoload :NotificationLevel, '2016-03-01/generated/azure_mgmt_web/models/notification_level.rb'
169
193
  autoload :Channels, '2016-03-01/generated/azure_mgmt_web/models/channels.rb'
@@ -0,0 +1,235 @@
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_03_01
7
+ #
8
+ # WebSite Management Client
9
+ #
10
+ class BillingMeters
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the BillingMeters class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [WebSiteManagementClient] reference to the WebSiteManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets a list of meters for a given location.
26
+ #
27
+ # Gets a list of meters for a given location.
28
+ #
29
+ # @param billing_location [String] Azure Location of billable resource
30
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ # @return [Array<BillingMeter>] operation results.
34
+ #
35
+ def list(billing_location:nil, custom_headers:nil)
36
+ first_page = list_as_lazy(billing_location:billing_location, custom_headers:custom_headers)
37
+ first_page.get_all_items
38
+ end
39
+
40
+ #
41
+ # Gets a list of meters for a given location.
42
+ #
43
+ # Gets a list of meters for a given location.
44
+ #
45
+ # @param billing_location [String] Azure Location of billable resource
46
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
+ # will be added to the HTTP request.
48
+ #
49
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
+ #
51
+ def list_with_http_info(billing_location:nil, custom_headers:nil)
52
+ list_async(billing_location:billing_location, custom_headers:custom_headers).value!
53
+ end
54
+
55
+ #
56
+ # Gets a list of meters for a given location.
57
+ #
58
+ # Gets a list of meters for a given location.
59
+ #
60
+ # @param billing_location [String] Azure Location of billable resource
61
+ # @param [Hash{String => String}] A hash of custom headers that will be added
62
+ # to the HTTP request.
63
+ #
64
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
+ #
66
+ def list_async(billing_location:nil, custom_headers:nil)
67
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
69
+
70
+
71
+ request_headers = {}
72
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
73
+
74
+ # Set Headers
75
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
76
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
77
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters'
78
+
79
+ request_url = @base_url || @client.base_url
80
+
81
+ options = {
82
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
83
+ path_params: {'subscriptionId' => @client.subscription_id},
84
+ query_params: {'billingLocation' => billing_location,'api-version' => @client.api_version},
85
+ headers: request_headers.merge(custom_headers || {}),
86
+ base_url: request_url
87
+ }
88
+ promise = @client.make_request_async(:get, path_template, options)
89
+
90
+ promise = promise.then do |result|
91
+ http_response = result.response
92
+ status_code = http_response.status
93
+ response_content = http_response.body
94
+ unless status_code == 200
95
+ error_model = JSON.load(response_content)
96
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
97
+ end
98
+
99
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
100
+ # Deserialize Response
101
+ if status_code == 200
102
+ begin
103
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
104
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection.mapper()
105
+ result.body = @client.deserialize(result_mapper, parsed_response)
106
+ rescue Exception => e
107
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
108
+ end
109
+ end
110
+
111
+ result
112
+ end
113
+
114
+ promise.execute
115
+ end
116
+
117
+ #
118
+ # Gets a list of meters for a given location.
119
+ #
120
+ # Gets a list of meters for a given location.
121
+ #
122
+ # @param next_page_link [String] The NextLink from the previous successful call
123
+ # to List operation.
124
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
125
+ # will be added to the HTTP request.
126
+ #
127
+ # @return [BillingMeterCollection] operation results.
128
+ #
129
+ def list_next(next_page_link, custom_headers:nil)
130
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
131
+ response.body unless response.nil?
132
+ end
133
+
134
+ #
135
+ # Gets a list of meters for a given location.
136
+ #
137
+ # Gets a list of meters for a given location.
138
+ #
139
+ # @param next_page_link [String] The NextLink from the previous successful call
140
+ # to List operation.
141
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
142
+ # will be added to the HTTP request.
143
+ #
144
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
145
+ #
146
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
147
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
148
+ end
149
+
150
+ #
151
+ # Gets a list of meters for a given location.
152
+ #
153
+ # Gets a list of meters for a given location.
154
+ #
155
+ # @param next_page_link [String] The NextLink from the previous successful call
156
+ # to List operation.
157
+ # @param [Hash{String => String}] A hash of custom headers that will be added
158
+ # to the HTTP request.
159
+ #
160
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
161
+ #
162
+ def list_next_async(next_page_link, custom_headers:nil)
163
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
164
+
165
+
166
+ request_headers = {}
167
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
168
+
169
+ # Set Headers
170
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
171
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
172
+ path_template = '{nextLink}'
173
+
174
+ request_url = @base_url || @client.base_url
175
+
176
+ options = {
177
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
178
+ skip_encoding_path_params: {'nextLink' => next_page_link},
179
+ headers: request_headers.merge(custom_headers || {}),
180
+ base_url: request_url
181
+ }
182
+ promise = @client.make_request_async(:get, path_template, options)
183
+
184
+ promise = promise.then do |result|
185
+ http_response = result.response
186
+ status_code = http_response.status
187
+ response_content = http_response.body
188
+ unless status_code == 200
189
+ error_model = JSON.load(response_content)
190
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
191
+ end
192
+
193
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
194
+ # Deserialize Response
195
+ if status_code == 200
196
+ begin
197
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
198
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection.mapper()
199
+ result.body = @client.deserialize(result_mapper, parsed_response)
200
+ rescue Exception => e
201
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
202
+ end
203
+ end
204
+
205
+ result
206
+ end
207
+
208
+ promise.execute
209
+ end
210
+
211
+ #
212
+ # Gets a list of meters for a given location.
213
+ #
214
+ # Gets a list of meters for a given location.
215
+ #
216
+ # @param billing_location [String] Azure Location of billable resource
217
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
218
+ # will be added to the HTTP request.
219
+ #
220
+ # @return [BillingMeterCollection] which provide lazy access to pages of the
221
+ # response.
222
+ #
223
+ def list_as_lazy(billing_location:nil, custom_headers:nil)
224
+ response = list_async(billing_location:billing_location, custom_headers:custom_headers).value!
225
+ unless response.nil?
226
+ page = response.body
227
+ page.next_method = Proc.new do |next_page_link|
228
+ list_next_async(next_page_link, custom_headers:custom_headers)
229
+ end
230
+ page
231
+ end
232
+ end
233
+
234
+ end
235
+ end