azure_mgmt_devtestlabs 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_devtestlabs.rb +149 -55
  3. data/lib/generated/azure_mgmt_devtestlabs/arm_templates.rb +363 -0
  4. data/lib/generated/azure_mgmt_devtestlabs/{artifact_source_operations.rb → artifact_sources.rb} +85 -69
  5. data/lib/generated/azure_mgmt_devtestlabs/{artifact_operations.rb → artifacts.rb} +59 -43
  6. data/lib/generated/azure_mgmt_devtestlabs/costs.rb +244 -0
  7. data/lib/generated/azure_mgmt_devtestlabs/{custom_image_operations.rb → custom_images.rb} +81 -68
  8. data/lib/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +73 -37
  9. data/lib/generated/azure_mgmt_devtestlabs/disks.rb +975 -0
  10. data/lib/generated/azure_mgmt_devtestlabs/environments.rb +672 -0
  11. data/lib/generated/azure_mgmt_devtestlabs/{formula_operations.rb → formulas.rb} +82 -64
  12. data/lib/generated/azure_mgmt_devtestlabs/{gallery_image_operations.rb → gallery_images.rb} +33 -26
  13. data/lib/generated/azure_mgmt_devtestlabs/global_schedules.rb +1121 -0
  14. data/lib/generated/azure_mgmt_devtestlabs/{lab_operations.rb → labs.rb} +439 -141
  15. data/lib/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb +105 -0
  16. data/lib/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb +105 -0
  17. data/lib/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +2 -1
  18. data/lib/generated/azure_mgmt_devtestlabs/models/arm_template.rb +167 -0
  19. data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +2 -1
  20. data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb +55 -0
  21. data/lib/generated/azure_mgmt_devtestlabs/models/artifact.rb +70 -53
  22. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +2 -1
  23. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb +68 -0
  24. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +43 -1
  25. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb +105 -0
  26. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +2 -1
  27. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb +55 -0
  28. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +75 -62
  29. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb +185 -0
  30. data/lib/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb +46 -0
  31. data/lib/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb +66 -0
  32. data/lib/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb +45 -0
  33. data/lib/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb +76 -0
  34. data/lib/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb +76 -0
  35. data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb +65 -0
  36. data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb +65 -0
  37. data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb +131 -0
  38. data/lib/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb +131 -0
  39. data/lib/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb +92 -0
  40. data/lib/generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb +16 -0
  41. data/lib/generated/azure_mgmt_devtestlabs/models/{lab_cost_type.rb → cost_type.rb} +3 -3
  42. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image.rb +58 -57
  43. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb +1 -1
  44. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb +5 -4
  45. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +2 -1
  46. data/lib/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb +70 -0
  47. data/lib/generated/azure_mgmt_devtestlabs/models/day_details.rb +3 -2
  48. data/lib/generated/azure_mgmt_devtestlabs/models/{subscription_notification_properties.rb → day_details_fragment.rb} +11 -11
  49. data/lib/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb +46 -0
  50. data/lib/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb +46 -0
  51. data/lib/generated/azure_mgmt_devtestlabs/models/disk.rb +186 -0
  52. data/lib/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb +146 -0
  53. data/lib/generated/azure_mgmt_devtestlabs/models/enable_status.rb +1 -1
  54. data/lib/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb +64 -0
  55. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +2 -1
  56. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +2 -1
  57. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +2 -1
  58. data/lib/generated/azure_mgmt_devtestlabs/models/event.rb +47 -0
  59. data/lib/generated/azure_mgmt_devtestlabs/models/event_fragment.rb +47 -0
  60. data/lib/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb +58 -0
  61. data/lib/generated/azure_mgmt_devtestlabs/models/external_subnet.rb +55 -0
  62. data/lib/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb +55 -0
  63. data/lib/generated/azure_mgmt_devtestlabs/models/file_upload_options.rb +16 -0
  64. data/lib/generated/azure_mgmt_devtestlabs/models/formula.rb +53 -61
  65. data/lib/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +2 -1
  66. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +44 -54
  67. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +2 -1
  68. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb +85 -0
  69. data/lib/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +14 -1
  70. data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +2 -1
  71. data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +2 -1
  72. data/lib/generated/azure_mgmt_devtestlabs/models/host_caching_options.rb +17 -0
  73. data/lib/generated/azure_mgmt_devtestlabs/models/hour_details.rb +2 -1
  74. data/lib/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb +45 -0
  75. data/lib/generated/azure_mgmt_devtestlabs/models/identity_properties.rb +75 -0
  76. data/lib/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb +70 -0
  77. data/lib/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb +70 -0
  78. data/lib/generated/azure_mgmt_devtestlabs/models/lab.rb +85 -54
  79. data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost.rb +204 -0
  80. data/lib/generated/azure_mgmt_devtestlabs/models/{cost_per_day_properties.rb → lab_cost_details_properties.rb} +7 -6
  81. data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb +45 -0
  82. data/lib/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb +127 -0
  83. data/lib/generated/azure_mgmt_devtestlabs/models/{resource_cost_properties.rb → lab_resource_cost_properties.rb} +49 -28
  84. data/lib/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +3 -2
  85. data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +141 -42
  86. data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb +412 -0
  87. data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb +410 -0
  88. data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +5 -3
  89. data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb +1 -1
  90. data/lib/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb +130 -0
  91. data/lib/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb +130 -0
  92. data/lib/generated/azure_mgmt_devtestlabs/models/notification_channel.rb +150 -0
  93. data/lib/generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb +16 -0
  94. data/lib/generated/azure_mgmt_devtestlabs/models/{cost.rb → notification_channel_fragment.rb} +64 -64
  95. data/lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb +69 -0
  96. data/lib/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb +69 -0
  97. data/lib/generated/azure_mgmt_devtestlabs/models/notification_status.rb +16 -0
  98. data/lib/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb +56 -0
  99. data/lib/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +5 -5
  100. data/lib/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb +55 -0
  101. data/lib/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb +45 -0
  102. data/lib/generated/azure_mgmt_devtestlabs/models/policy.rb +62 -58
  103. data/lib/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb +1 -1
  104. data/lib/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb +4 -1
  105. data/lib/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb +168 -0
  106. data/lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +2 -1
  107. data/lib/generated/azure_mgmt_devtestlabs/models/policy_status.rb +1 -1
  108. data/lib/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +2 -1
  109. data/lib/generated/azure_mgmt_devtestlabs/models/port.rb +56 -0
  110. data/lib/generated/azure_mgmt_devtestlabs/models/port_fragment.rb +56 -0
  111. data/lib/generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb +16 -0
  112. data/lib/generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb +16 -0
  113. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb +94 -0
  114. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +2 -1
  115. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +2 -1
  116. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +2 -1
  117. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb +94 -0
  118. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb +95 -0
  119. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +2 -1
  120. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +2 -1
  121. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +2 -1
  122. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +2 -1
  123. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +2 -1
  124. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb +96 -0
  125. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +2 -1
  126. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +2 -1
  127. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb +94 -0
  128. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb +94 -0
  129. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb +94 -0
  130. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +2 -1
  131. data/lib/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb +57 -0
  132. data/lib/generated/azure_mgmt_devtestlabs/models/schedule.rb +82 -57
  133. data/lib/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb +189 -0
  134. data/lib/generated/azure_mgmt_devtestlabs/models/secret.rb +110 -0
  135. data/lib/generated/azure_mgmt_devtestlabs/models/service_runner.rb +91 -0
  136. data/lib/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb +54 -0
  137. data/lib/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb +55 -0
  138. data/lib/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb +147 -0
  139. data/lib/generated/azure_mgmt_devtestlabs/models/source_control_type.rb +1 -1
  140. data/lib/generated/azure_mgmt_devtestlabs/models/{lab_storage_type.rb → storage_type.rb} +3 -3
  141. data/lib/generated/azure_mgmt_devtestlabs/models/subnet.rb +8 -7
  142. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb +67 -0
  143. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +29 -6
  144. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb +101 -0
  145. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb +54 -0
  146. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb +55 -0
  147. data/lib/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb +105 -0
  148. data/lib/generated/azure_mgmt_devtestlabs/models/target_cost_status.rb +16 -0
  149. data/lib/generated/azure_mgmt_devtestlabs/models/transport_protocol.rb +16 -0
  150. data/lib/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb +1 -1
  151. data/lib/generated/azure_mgmt_devtestlabs/models/user.rb +133 -0
  152. data/lib/generated/azure_mgmt_devtestlabs/models/user_fragment.rb +122 -0
  153. data/lib/generated/azure_mgmt_devtestlabs/models/user_identity.rb +91 -0
  154. data/lib/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb +91 -0
  155. data/lib/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb +55 -0
  156. data/lib/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb +55 -0
  157. data/lib/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb +16 -0
  158. data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +77 -59
  159. data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb +177 -0
  160. data/lib/generated/azure_mgmt_devtestlabs/models/week_details.rb +5 -3
  161. data/lib/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb +63 -0
  162. data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +4 -2
  163. data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb +1 -1
  164. data/lib/generated/azure_mgmt_devtestlabs/module_definition.rb +1 -1
  165. data/lib/generated/azure_mgmt_devtestlabs/notification_channels.rb +764 -0
  166. data/lib/generated/azure_mgmt_devtestlabs/{policy_operations.rb → policies.rb} +82 -69
  167. data/lib/generated/azure_mgmt_devtestlabs/{policy_set.rb → policy_sets.rb} +18 -16
  168. data/lib/generated/azure_mgmt_devtestlabs/{virtual_machine.rb → schedules.rb} +282 -417
  169. data/lib/generated/azure_mgmt_devtestlabs/secrets.rb +573 -0
  170. data/lib/generated/azure_mgmt_devtestlabs/service_runners.rb +545 -0
  171. data/lib/generated/azure_mgmt_devtestlabs/users.rb +704 -0
  172. data/lib/generated/azure_mgmt_devtestlabs/version.rb +2 -2
  173. data/lib/generated/azure_mgmt_devtestlabs/{schedule_operations.rb → virtual_machine_schedules.rb} +132 -92
  174. data/lib/generated/azure_mgmt_devtestlabs/virtual_machines.rb +1669 -0
  175. data/lib/generated/azure_mgmt_devtestlabs/{virtual_network_operations.rb → virtual_networks.rb} +94 -81
  176. metadata +118 -24
  177. data/lib/generated/azure_mgmt_devtestlabs/cost_operations.rb +0 -121
  178. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb +0 -68
  179. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb +0 -20
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee4f23c9f4061c476ff5b2d1065e6d5761944699
4
- data.tar.gz: 8b27e5271dad99555c77fad58bad9c6101a02be1
3
+ metadata.gz: 5fbc05871385bac3e3d03caa56c4f28af52709fe
4
+ data.tar.gz: 9973435293bd7aebcf0c929e26acd0981abeb82c
5
5
  SHA512:
6
- metadata.gz: b95689e6e849512a117a55b1a7852e647f0852d7c12a81eb134418991041283ffdb036b8df0bd0c99d51f46c584018573760303337ea0c4302351d644d4a61e3
7
- data.tar.gz: b04609ab0f9020c34e18c70134162a08c328101312e9b0cecfa3ff90517978b38cf144bf3d443aa038e74bc3644d8078a582fe102cec9f99a23aa82ad805e53e
6
+ metadata.gz: a4b208b40c0221b6d83cbc406df152f58cf6cf2ecccdb989ff94c1ed7eabb1ef2c22e7cb195ffbd34cf8eeff7bcf8049fb3574ac76f61e9a5906e29e835d9460
7
+ data.tar.gz: 2c7fc0a90828ee23e01a075af23bb76745ba26dfed1ee7c0114650371c70648a6f203bc9c156fca2af30183fcbb031aeeee169d15d2f5bf57aa29d0af726bd41
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -20,84 +20,178 @@ require 'generated/azure_mgmt_devtestlabs/module_definition'
20
20
  require 'ms_rest_azure'
21
21
 
22
22
  module Azure::ARM::DevTestLabs
23
- autoload :LabOperations, 'generated/azure_mgmt_devtestlabs/lab_operations.rb'
24
- autoload :ArtifactSourceOperations, 'generated/azure_mgmt_devtestlabs/artifact_source_operations.rb'
25
- autoload :ArtifactOperations, 'generated/azure_mgmt_devtestlabs/artifact_operations.rb'
26
- autoload :CostOperations, 'generated/azure_mgmt_devtestlabs/cost_operations.rb'
27
- autoload :CustomImageOperations, 'generated/azure_mgmt_devtestlabs/custom_image_operations.rb'
28
- autoload :FormulaOperations, 'generated/azure_mgmt_devtestlabs/formula_operations.rb'
29
- autoload :GalleryImageOperations, 'generated/azure_mgmt_devtestlabs/gallery_image_operations.rb'
30
- autoload :PolicySet, 'generated/azure_mgmt_devtestlabs/policy_set.rb'
31
- autoload :PolicyOperations, 'generated/azure_mgmt_devtestlabs/policy_operations.rb'
32
- autoload :ScheduleOperations, 'generated/azure_mgmt_devtestlabs/schedule_operations.rb'
33
- autoload :VirtualMachine, 'generated/azure_mgmt_devtestlabs/virtual_machine.rb'
34
- autoload :VirtualNetworkOperations, 'generated/azure_mgmt_devtestlabs/virtual_network_operations.rb'
23
+ autoload :Labs, 'generated/azure_mgmt_devtestlabs/labs.rb'
24
+ autoload :GlobalSchedules, 'generated/azure_mgmt_devtestlabs/global_schedules.rb'
25
+ autoload :ArtifactSources, 'generated/azure_mgmt_devtestlabs/artifact_sources.rb'
26
+ autoload :ArmTemplates, 'generated/azure_mgmt_devtestlabs/arm_templates.rb'
27
+ autoload :Artifacts, 'generated/azure_mgmt_devtestlabs/artifacts.rb'
28
+ autoload :Costs, 'generated/azure_mgmt_devtestlabs/costs.rb'
29
+ autoload :CustomImages, 'generated/azure_mgmt_devtestlabs/custom_images.rb'
30
+ autoload :Formulas, 'generated/azure_mgmt_devtestlabs/formulas.rb'
31
+ autoload :GalleryImages, 'generated/azure_mgmt_devtestlabs/gallery_images.rb'
32
+ autoload :NotificationChannels, 'generated/azure_mgmt_devtestlabs/notification_channels.rb'
33
+ autoload :PolicySets, 'generated/azure_mgmt_devtestlabs/policy_sets.rb'
34
+ autoload :Policies, 'generated/azure_mgmt_devtestlabs/policies.rb'
35
+ autoload :Schedules, 'generated/azure_mgmt_devtestlabs/schedules.rb'
36
+ autoload :ServiceRunners, 'generated/azure_mgmt_devtestlabs/service_runners.rb'
37
+ autoload :Users, 'generated/azure_mgmt_devtestlabs/users.rb'
38
+ autoload :Disks, 'generated/azure_mgmt_devtestlabs/disks.rb'
39
+ autoload :Environments, 'generated/azure_mgmt_devtestlabs/environments.rb'
40
+ autoload :Secrets, 'generated/azure_mgmt_devtestlabs/secrets.rb'
41
+ autoload :VirtualMachines, 'generated/azure_mgmt_devtestlabs/virtual_machines.rb'
42
+ autoload :VirtualMachineSchedules, 'generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb'
43
+ autoload :VirtualNetworks, 'generated/azure_mgmt_devtestlabs/virtual_networks.rb'
35
44
  autoload :DevTestLabsClient, 'generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb'
36
45
 
37
46
  module Models
38
- autoload :Formula, 'generated/azure_mgmt_devtestlabs/models/formula.rb'
39
- autoload :GalleryImage, 'generated/azure_mgmt_devtestlabs/models/gallery_image.rb'
40
- autoload :ArtifactInstallProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb'
47
+ autoload :FormulaPropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb'
48
+ autoload :WeekDetails, 'generated/azure_mgmt_devtestlabs/models/week_details.rb'
49
+ autoload :ExportResourceUsageParameters, 'generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb'
50
+ autoload :ExternalSubnet, 'generated/azure_mgmt_devtestlabs/models/external_subnet.rb'
51
+ autoload :NotificationSettings, 'generated/azure_mgmt_devtestlabs/models/notification_settings.rb'
52
+ autoload :ExternalSubnetFragment, 'generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb'
53
+ autoload :EvaluatePoliciesResponse, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
54
+ autoload :Event, 'generated/azure_mgmt_devtestlabs/models/event.rb'
55
+ autoload :DayDetailsFragment, 'generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb'
56
+ autoload :EventFragment, 'generated/azure_mgmt_devtestlabs/models/event_fragment.rb'
57
+ autoload :NotificationSettingsFragment, 'generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb'
58
+ autoload :HourDetails, 'generated/azure_mgmt_devtestlabs/models/hour_details.rb'
59
+ autoload :ResponseWithContinuationServiceRunner, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb'
60
+ autoload :ArtifactParameterProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb'
61
+ autoload :ResponseWithContinuationLab, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb'
62
+ autoload :ApplyArtifactsRequest, 'generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
63
+ autoload :ResponseWithContinuationLabVhd, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb'
64
+ autoload :UserSecretStore, 'generated/azure_mgmt_devtestlabs/models/user_secret_store.rb'
65
+ autoload :GalleryImageReference, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
66
+ autoload :ArmTemplateParameterProperties, 'generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb'
67
+ autoload :InboundNatRule, 'generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb'
68
+ autoload :ArtifactDeploymentStatusProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
69
+ autoload :SharedPublicIpAddressConfiguration, 'generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb'
70
+ autoload :ArtifactParameterPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb'
71
+ autoload :NetworkInterfaceProperties, 'generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb'
72
+ autoload :ResponseWithContinuationUser, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb'
73
+ autoload :LabVirtualMachineCreationParameter, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb'
74
+ autoload :AttachDiskProperties, 'generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb'
75
+ autoload :DayDetails, 'generated/azure_mgmt_devtestlabs/models/day_details.rb'
76
+ autoload :BulkCreationParameters, 'generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb'
77
+ autoload :UserSecretStoreFragment, 'generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb'
78
+ autoload :UserIdentityFragment, 'generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb'
79
+ autoload :ComputeDataDiskFragment, 'generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb'
80
+ autoload :GalleryImageReferenceFragment, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb'
81
+ autoload :ComputeVmInstanceViewStatusFragment, 'generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb'
41
82
  autoload :ParameterInfo, 'generated/azure_mgmt_devtestlabs/models/parameter_info.rb'
42
- autoload :ArmTemplateInfo, 'generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
83
+ autoload :ComputeVmPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb'
43
84
  autoload :GenerateArmTemplateRequest, 'generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb'
44
- autoload :ArtifactDeploymentStatusProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
85
+ autoload :CostThresholdProperties, 'generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb'
45
86
  autoload :GenerateUploadUriParameter, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb'
46
- autoload :GenerateUploadUriResponse, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb'
47
- autoload :CostPerDayProperties, 'generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb'
48
- autoload :HourDetails, 'generated/azure_mgmt_devtestlabs/models/hour_details.rb'
49
- autoload :Cost, 'generated/azure_mgmt_devtestlabs/models/cost.rb'
50
- autoload :Lab, 'generated/azure_mgmt_devtestlabs/models/lab.rb'
51
87
  autoload :LinuxOsInfo, 'generated/azure_mgmt_devtestlabs/models/linux_os_info.rb'
52
- autoload :LabVhd, 'generated/azure_mgmt_devtestlabs/models/lab_vhd.rb'
88
+ autoload :GenerateUploadUriResponse, 'generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb'
53
89
  autoload :CustomImagePropertiesCustom, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb'
54
- autoload :Policy, 'generated/azure_mgmt_devtestlabs/models/policy.rb'
55
- autoload :DayDetails, 'generated/azure_mgmt_devtestlabs/models/day_details.rb'
56
- autoload :ResponseWithContinuationArtifact, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb'
90
+ autoload :IdentityProperties, 'generated/azure_mgmt_devtestlabs/models/identity_properties.rb'
91
+ autoload :DataDiskProperties, 'generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb'
92
+ autoload :InboundNatRuleFragment, 'generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb'
93
+ autoload :DetachDiskProperties, 'generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb'
94
+ autoload :SubnetOverrideFragment, 'generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb'
95
+ autoload :EnvironmentDeploymentProperties, 'generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb'
96
+ autoload :TargetCostProperties, 'generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb'
97
+ autoload :EvaluatePoliciesProperties, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb'
98
+ autoload :LabCostSummaryProperties, 'generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb'
99
+ autoload :PolicyViolation, 'generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
100
+ autoload :LabCostDetailsProperties, 'generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb'
101
+ autoload :WeekDetailsFragment, 'generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb'
102
+ autoload :LabResourceCostProperties, 'generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb'
103
+ autoload :UserIdentity, 'generated/azure_mgmt_devtestlabs/models/user_identity.rb'
104
+ autoload :SubnetSharedPublicIpAddressConfigurationFragment, 'generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb'
105
+ autoload :ParametersValueFileInfo, 'generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb'
106
+ autoload :SubnetFragment, 'generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb'
107
+ autoload :ResponseWithContinuationSecret, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb'
108
+ autoload :LabVhd, 'generated/azure_mgmt_devtestlabs/models/lab_vhd.rb'
109
+ autoload :ArtifactInstallPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb'
110
+ autoload :ShutdownNotificationContent, 'generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb'
111
+ autoload :AttachNewDataDiskOptions, 'generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb'
112
+ autoload :SharedPublicIpAddressConfigurationFragment, 'generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb'
113
+ autoload :ComputeDataDisk, 'generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb'
114
+ autoload :NetworkInterfacePropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb'
115
+ autoload :ComputeVmProperties, 'generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb'
116
+ autoload :RetargetScheduleProperties, 'generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb'
117
+ autoload :WindowsOsInfo, 'generated/azure_mgmt_devtestlabs/models/windows_os_info.rb'
118
+ autoload :ResponseWithContinuationVirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb'
119
+ autoload :ResponseWithContinuationPolicy, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb'
120
+ autoload :SubnetOverride, 'generated/azure_mgmt_devtestlabs/models/subnet_override.rb'
121
+ autoload :ResponseWithContinuationNotificationChannel, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb'
122
+ autoload :NotifyParameters, 'generated/azure_mgmt_devtestlabs/models/notify_parameters.rb'
57
123
  autoload :EvaluatePoliciesRequest, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb'
124
+ autoload :SubnetSharedPublicIpAddressConfiguration, 'generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb'
125
+ autoload :HourDetailsFragment, 'generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb'
126
+ autoload :Subnet, 'generated/azure_mgmt_devtestlabs/models/subnet.rb'
127
+ autoload :ArmTemplateInfo, 'generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
128
+ autoload :Port, 'generated/azure_mgmt_devtestlabs/models/port.rb'
129
+ autoload :ResponseWithContinuationSchedule, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb'
130
+ autoload :PortFragment, 'generated/azure_mgmt_devtestlabs/models/port_fragment.rb'
131
+ autoload :ComputeVmInstanceViewStatus, 'generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb'
132
+ autoload :CustomImagePropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
133
+ autoload :ResponseWithContinuationArmTemplate, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb'
134
+ autoload :ResponseWithContinuationLabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb'
135
+ autoload :ResponseWithContinuationArtifact, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb'
136
+ autoload :ArtifactInstallProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb'
58
137
  autoload :ResponseWithContinuationArtifactSource, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb'
59
- autoload :PolicySetResult, 'generated/azure_mgmt_devtestlabs/models/policy_set_result.rb'
60
138
  autoload :ResponseWithContinuationCustomImage, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb'
61
- autoload :GalleryImageReference, 'generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
139
+ autoload :DetachDataDiskProperties, 'generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb'
140
+ autoload :ResponseWithContinuationDisk, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb'
141
+ autoload :ArtifactDeploymentStatusPropertiesFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb'
142
+ autoload :ResponseWithContinuationDtlEnvironment, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb'
143
+ autoload :PolicySetResult, 'generated/azure_mgmt_devtestlabs/models/policy_set_result.rb'
62
144
  autoload :ResponseWithContinuationFormula, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb'
63
- autoload :FormulaPropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb'
145
+ autoload :PercentageCostThresholdProperties, 'generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb'
64
146
  autoload :ResponseWithContinuationGalleryImage, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb'
65
- autoload :ApplyArtifactsRequest, 'generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
66
- autoload :ResponseWithContinuationLab, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb'
67
- autoload :ArtifactSource, 'generated/azure_mgmt_devtestlabs/models/artifact_source.rb'
68
- autoload :ResponseWithContinuationLabVhd, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb'
69
- autoload :ResourceCostProperties, 'generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb'
70
- autoload :ResponseWithContinuationLabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb'
71
- autoload :CustomImagePropertiesFromVm, 'generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
72
- autoload :ResponseWithContinuationPolicy, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb'
73
- autoload :EvaluatePoliciesProperties, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb'
74
- autoload :WeekDetails, 'generated/azure_mgmt_devtestlabs/models/week_details.rb'
75
- autoload :EvaluatePoliciesResponse, 'generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
76
147
  autoload :Schedule, 'generated/azure_mgmt_devtestlabs/models/schedule.rb'
77
- autoload :ArtifactParameterProperties, 'generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb'
78
- autoload :ResponseWithContinuationSchedule, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb'
79
- autoload :Subnet, 'generated/azure_mgmt_devtestlabs/models/subnet.rb'
148
+ autoload :ApplicableSchedule, 'generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb'
149
+ autoload :ScheduleFragment, 'generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb'
150
+ autoload :ApplicableScheduleFragment, 'generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb'
151
+ autoload :ArmTemplate, 'generated/azure_mgmt_devtestlabs/models/arm_template.rb'
152
+ autoload :Artifact, 'generated/azure_mgmt_devtestlabs/models/artifact.rb'
153
+ autoload :ArtifactSource, 'generated/azure_mgmt_devtestlabs/models/artifact_source.rb'
154
+ autoload :ArtifactSourceFragment, 'generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb'
80
155
  autoload :CustomImage, 'generated/azure_mgmt_devtestlabs/models/custom_image.rb'
81
- autoload :SubnetOverride, 'generated/azure_mgmt_devtestlabs/models/subnet_override.rb'
156
+ autoload :Disk, 'generated/azure_mgmt_devtestlabs/models/disk.rb'
157
+ autoload :DtlEnvironment, 'generated/azure_mgmt_devtestlabs/models/dtl_environment.rb'
158
+ autoload :Formula, 'generated/azure_mgmt_devtestlabs/models/formula.rb'
159
+ autoload :GalleryImage, 'generated/azure_mgmt_devtestlabs/models/gallery_image.rb'
160
+ autoload :Lab, 'generated/azure_mgmt_devtestlabs/models/lab.rb'
161
+ autoload :LabCost, 'generated/azure_mgmt_devtestlabs/models/lab_cost.rb'
162
+ autoload :LabFragment, 'generated/azure_mgmt_devtestlabs/models/lab_fragment.rb'
82
163
  autoload :LabVirtualMachine, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb'
164
+ autoload :LabVirtualMachineFragment, 'generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb'
165
+ autoload :NotificationChannel, 'generated/azure_mgmt_devtestlabs/models/notification_channel.rb'
166
+ autoload :NotificationChannelFragment, 'generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb'
167
+ autoload :Policy, 'generated/azure_mgmt_devtestlabs/models/policy.rb'
168
+ autoload :PolicyFragment, 'generated/azure_mgmt_devtestlabs/models/policy_fragment.rb'
169
+ autoload :Secret, 'generated/azure_mgmt_devtestlabs/models/secret.rb'
170
+ autoload :ServiceRunner, 'generated/azure_mgmt_devtestlabs/models/service_runner.rb'
171
+ autoload :User, 'generated/azure_mgmt_devtestlabs/models/user.rb'
83
172
  autoload :VirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/virtual_network.rb'
84
- autoload :WindowsOsInfo, 'generated/azure_mgmt_devtestlabs/models/windows_os_info.rb'
85
- autoload :ResponseWithContinuationVirtualNetwork, 'generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb'
86
- autoload :Artifact, 'generated/azure_mgmt_devtestlabs/models/artifact.rb'
87
- autoload :SubscriptionNotificationProperties, 'generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb'
88
- autoload :PolicyViolation, 'generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
89
- autoload :SubscriptionNotification, 'generated/azure_mgmt_devtestlabs/models/subscription_notification.rb'
90
- autoload :SourceControlType, 'generated/azure_mgmt_devtestlabs/models/source_control_type.rb'
173
+ autoload :UserFragment, 'generated/azure_mgmt_devtestlabs/models/user_fragment.rb'
174
+ autoload :VirtualNetworkFragment, 'generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb'
91
175
  autoload :EnableStatus, 'generated/azure_mgmt_devtestlabs/models/enable_status.rb'
92
- autoload :LabCostType, 'generated/azure_mgmt_devtestlabs/models/lab_cost_type.rb'
176
+ autoload :NotificationStatus, 'generated/azure_mgmt_devtestlabs/models/notification_status.rb'
177
+ autoload :SourceControlType, 'generated/azure_mgmt_devtestlabs/models/source_control_type.rb'
178
+ autoload :StorageType, 'generated/azure_mgmt_devtestlabs/models/storage_type.rb'
179
+ autoload :CostThresholdStatus, 'generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb'
93
180
  autoload :WindowsOsState, 'generated/azure_mgmt_devtestlabs/models/windows_os_state.rb'
94
181
  autoload :LinuxOsState, 'generated/azure_mgmt_devtestlabs/models/linux_os_state.rb'
95
182
  autoload :CustomImageOsType, 'generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb'
96
- autoload :LabStorageType, 'generated/azure_mgmt_devtestlabs/models/lab_storage_type.rb'
183
+ autoload :HostCachingOptions, 'generated/azure_mgmt_devtestlabs/models/host_caching_options.rb'
184
+ autoload :NotificationChannelEventType, 'generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb'
185
+ autoload :TransportProtocol, 'generated/azure_mgmt_devtestlabs/models/transport_protocol.rb'
186
+ autoload :VirtualMachineCreationSource, 'generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb'
187
+ autoload :FileUploadOptions, 'generated/azure_mgmt_devtestlabs/models/file_upload_options.rb'
188
+ autoload :PremiumDataDisk, 'generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb'
189
+ autoload :TargetCostStatus, 'generated/azure_mgmt_devtestlabs/models/target_cost_status.rb'
190
+ autoload :ReportingCycleType, 'generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb'
191
+ autoload :CostType, 'generated/azure_mgmt_devtestlabs/models/cost_type.rb'
97
192
  autoload :PolicyStatus, 'generated/azure_mgmt_devtestlabs/models/policy_status.rb'
98
193
  autoload :PolicyFactName, 'generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb'
99
194
  autoload :PolicyEvaluatorType, 'generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb'
100
195
  autoload :UsagePermissionType, 'generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb'
101
- autoload :SubscriptionNotificationState, 'generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb'
102
196
  end
103
197
  end
@@ -0,0 +1,363 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DevTestLabs
7
+ #
8
+ # The DevTest Labs Client.
9
+ #
10
+ class ArmTemplates
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the ArmTemplates class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [DevTestLabsClient] reference to the DevTestLabsClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # List azure resource manager templates in a given artifact source.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param lab_name [String] The name of the lab.
29
+ # @param artifact_source_name [String] The name of the artifact source.
30
+ # @param expand [String] Specify the $expand query. Example:
31
+ # 'properties($select=displayName)'
32
+ # @param filter [String] The filter to apply to the operation.
33
+ # @param top [Integer] The maximum number of resources to return from the
34
+ # operation.
35
+ # @param orderby [String] The ordering expression for the results, using OData
36
+ # notation.
37
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
38
+ # will be added to the HTTP request.
39
+ #
40
+ # @return [Array<ArmTemplate>] operation results.
41
+ #
42
+ def list(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
43
+ first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers)
44
+ first_page.get_all_items
45
+ end
46
+
47
+ #
48
+ # List azure resource manager templates in a given artifact source.
49
+ #
50
+ # @param resource_group_name [String] The name of the resource group.
51
+ # @param lab_name [String] The name of the lab.
52
+ # @param artifact_source_name [String] The name of the artifact source.
53
+ # @param expand [String] Specify the $expand query. Example:
54
+ # 'properties($select=displayName)'
55
+ # @param filter [String] The filter to apply to the operation.
56
+ # @param top [Integer] The maximum number of resources to return from the
57
+ # operation.
58
+ # @param orderby [String] The ordering expression for the results, using OData
59
+ # notation.
60
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
61
+ # will be added to the HTTP request.
62
+ #
63
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
64
+ #
65
+ def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
66
+ list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value!
67
+ end
68
+
69
+ #
70
+ # List azure resource manager templates in a given artifact source.
71
+ #
72
+ # @param resource_group_name [String] The name of the resource group.
73
+ # @param lab_name [String] The name of the lab.
74
+ # @param artifact_source_name [String] The name of the artifact source.
75
+ # @param expand [String] Specify the $expand query. Example:
76
+ # 'properties($select=displayName)'
77
+ # @param filter [String] The filter to apply to the operation.
78
+ # @param top [Integer] The maximum number of resources to return from the
79
+ # operation.
80
+ # @param orderby [String] The ordering expression for the results, using OData
81
+ # notation.
82
+ # @param [Hash{String => String}] A hash of custom headers that will be added
83
+ # to the HTTP request.
84
+ #
85
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
86
+ #
87
+ def list_async(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
88
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
89
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
90
+ fail ArgumentError, 'lab_name is nil' if lab_name.nil?
91
+ fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil?
92
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
93
+
94
+
95
+ request_headers = {}
96
+
97
+ # Set Headers
98
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
99
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
100
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates'
101
+
102
+ request_url = @base_url || @client.base_url
103
+
104
+ options = {
105
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
106
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name,'artifactSourceName' => artifact_source_name},
107
+ query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'api-version' => @client.api_version},
108
+ headers: request_headers.merge(custom_headers || {}),
109
+ base_url: request_url
110
+ }
111
+ promise = @client.make_request_async(:get, path_template, options)
112
+
113
+ promise = promise.then do |result|
114
+ http_response = result.response
115
+ status_code = http_response.status
116
+ response_content = http_response.body
117
+ unless status_code == 200
118
+ error_model = JSON.load(response_content)
119
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
120
+ end
121
+
122
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
123
+ # Deserialize Response
124
+ if status_code == 200
125
+ begin
126
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
127
+ result_mapper = Azure::ARM::DevTestLabs::Models::ResponseWithContinuationArmTemplate.mapper()
128
+ result.body = @client.deserialize(result_mapper, parsed_response)
129
+ rescue Exception => e
130
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
131
+ end
132
+ end
133
+
134
+ result
135
+ end
136
+
137
+ promise.execute
138
+ end
139
+
140
+ #
141
+ # Get azure resource manager template.
142
+ #
143
+ # @param resource_group_name [String] The name of the resource group.
144
+ # @param lab_name [String] The name of the lab.
145
+ # @param artifact_source_name [String] The name of the artifact source.
146
+ # @param name [String] The name of the azure Resource Manager template.
147
+ # @param expand [String] Specify the $expand query. Example:
148
+ # 'properties($select=displayName)'
149
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
150
+ # will be added to the HTTP request.
151
+ #
152
+ # @return [ArmTemplate] operation results.
153
+ #
154
+ def get(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil)
155
+ response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value!
156
+ response.body unless response.nil?
157
+ end
158
+
159
+ #
160
+ # Get azure resource manager template.
161
+ #
162
+ # @param resource_group_name [String] The name of the resource group.
163
+ # @param lab_name [String] The name of the lab.
164
+ # @param artifact_source_name [String] The name of the artifact source.
165
+ # @param name [String] The name of the azure Resource Manager template.
166
+ # @param expand [String] Specify the $expand query. Example:
167
+ # 'properties($select=displayName)'
168
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
169
+ # will be added to the HTTP request.
170
+ #
171
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
172
+ #
173
+ def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil)
174
+ get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value!
175
+ end
176
+
177
+ #
178
+ # Get azure resource manager template.
179
+ #
180
+ # @param resource_group_name [String] The name of the resource group.
181
+ # @param lab_name [String] The name of the lab.
182
+ # @param artifact_source_name [String] The name of the artifact source.
183
+ # @param name [String] The name of the azure Resource Manager template.
184
+ # @param expand [String] Specify the $expand query. Example:
185
+ # 'properties($select=displayName)'
186
+ # @param [Hash{String => String}] A hash of custom headers that will be added
187
+ # to the HTTP request.
188
+ #
189
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
190
+ #
191
+ def get_async(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil)
192
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
193
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
194
+ fail ArgumentError, 'lab_name is nil' if lab_name.nil?
195
+ fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil?
196
+ fail ArgumentError, 'name is nil' if name.nil?
197
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
198
+
199
+
200
+ request_headers = {}
201
+
202
+ # Set Headers
203
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
204
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
205
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}'
206
+
207
+ request_url = @base_url || @client.base_url
208
+
209
+ options = {
210
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
211
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name,'artifactSourceName' => artifact_source_name,'name' => name},
212
+ query_params: {'$expand' => expand,'api-version' => @client.api_version},
213
+ headers: request_headers.merge(custom_headers || {}),
214
+ base_url: request_url
215
+ }
216
+ promise = @client.make_request_async(:get, path_template, options)
217
+
218
+ promise = promise.then do |result|
219
+ http_response = result.response
220
+ status_code = http_response.status
221
+ response_content = http_response.body
222
+ unless status_code == 200
223
+ error_model = JSON.load(response_content)
224
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
225
+ end
226
+
227
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
228
+ # Deserialize Response
229
+ if status_code == 200
230
+ begin
231
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
232
+ result_mapper = Azure::ARM::DevTestLabs::Models::ArmTemplate.mapper()
233
+ result.body = @client.deserialize(result_mapper, parsed_response)
234
+ rescue Exception => e
235
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
236
+ end
237
+ end
238
+
239
+ result
240
+ end
241
+
242
+ promise.execute
243
+ end
244
+
245
+ #
246
+ # List azure resource manager templates in a given artifact source.
247
+ #
248
+ # @param next_page_link [String] The NextLink from the previous successful call
249
+ # to List operation.
250
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
251
+ # will be added to the HTTP request.
252
+ #
253
+ # @return [ResponseWithContinuationArmTemplate] operation results.
254
+ #
255
+ def list_next(next_page_link, custom_headers = nil)
256
+ response = list_next_async(next_page_link, custom_headers).value!
257
+ response.body unless response.nil?
258
+ end
259
+
260
+ #
261
+ # List azure resource manager templates in a given artifact source.
262
+ #
263
+ # @param next_page_link [String] The NextLink from the previous successful call
264
+ # to List operation.
265
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
266
+ # will be added to the HTTP request.
267
+ #
268
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
269
+ #
270
+ def list_next_with_http_info(next_page_link, custom_headers = nil)
271
+ list_next_async(next_page_link, custom_headers).value!
272
+ end
273
+
274
+ #
275
+ # List azure resource manager templates in a given artifact source.
276
+ #
277
+ # @param next_page_link [String] The NextLink from the previous successful call
278
+ # to List operation.
279
+ # @param [Hash{String => String}] A hash of custom headers that will be added
280
+ # to the HTTP request.
281
+ #
282
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
283
+ #
284
+ def list_next_async(next_page_link, custom_headers = nil)
285
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
286
+
287
+
288
+ request_headers = {}
289
+
290
+ # Set Headers
291
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
292
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
293
+ path_template = '{nextLink}'
294
+
295
+ request_url = @base_url || @client.base_url
296
+
297
+ options = {
298
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
299
+ skip_encoding_path_params: {'nextLink' => next_page_link},
300
+ headers: request_headers.merge(custom_headers || {}),
301
+ base_url: request_url
302
+ }
303
+ promise = @client.make_request_async(:get, path_template, options)
304
+
305
+ promise = promise.then do |result|
306
+ http_response = result.response
307
+ status_code = http_response.status
308
+ response_content = http_response.body
309
+ unless status_code == 200
310
+ error_model = JSON.load(response_content)
311
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
312
+ end
313
+
314
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
315
+ # Deserialize Response
316
+ if status_code == 200
317
+ begin
318
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
319
+ result_mapper = Azure::ARM::DevTestLabs::Models::ResponseWithContinuationArmTemplate.mapper()
320
+ result.body = @client.deserialize(result_mapper, parsed_response)
321
+ rescue Exception => e
322
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
323
+ end
324
+ end
325
+
326
+ result
327
+ end
328
+
329
+ promise.execute
330
+ end
331
+
332
+ #
333
+ # List azure resource manager templates in a given artifact source.
334
+ #
335
+ # @param resource_group_name [String] The name of the resource group.
336
+ # @param lab_name [String] The name of the lab.
337
+ # @param artifact_source_name [String] The name of the artifact source.
338
+ # @param expand [String] Specify the $expand query. Example:
339
+ # 'properties($select=displayName)'
340
+ # @param filter [String] The filter to apply to the operation.
341
+ # @param top [Integer] The maximum number of resources to return from the
342
+ # operation.
343
+ # @param orderby [String] The ordering expression for the results, using OData
344
+ # notation.
345
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
346
+ # will be added to the HTTP request.
347
+ #
348
+ # @return [ResponseWithContinuationArmTemplate] which provide lazy access to
349
+ # pages of the response.
350
+ #
351
+ def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil)
352
+ response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value!
353
+ unless response.nil?
354
+ page = response.body
355
+ page.next_method = Proc.new do |next_page_link|
356
+ list_next_async(next_page_link, custom_headers)
357
+ end
358
+ page
359
+ end
360
+ end
361
+
362
+ end
363
+ end