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
@@ -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
 
@@ -12,6 +12,7 @@ module Azure::ARM::DevTestLabs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<VirtualNetwork>] Results of the list operation.
16
17
  attr_accessor :value
17
18
 
@@ -0,0 +1,57 @@
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
+ module Models
8
+ #
9
+ # Properties for retargeting a virtual machine schedule.
10
+ #
11
+ class RetargetScheduleProperties
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The resource Id of the virtual machine on which the
17
+ # schedule operates
18
+ attr_accessor :current_resource_id
19
+
20
+ # @return [String] The resource Id of the virtual machine that the
21
+ # schedule should be retargeted to
22
+ attr_accessor :target_resource_id
23
+
24
+
25
+ #
26
+ # Mapper for RetargetScheduleProperties class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'RetargetScheduleProperties',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'RetargetScheduleProperties',
36
+ model_properties: {
37
+ current_resource_id: {
38
+ required: false,
39
+ serialized_name: 'currentResourceId',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ target_resource_id: {
45
+ required: false,
46
+ serialized_name: 'targetResourceId',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -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
 
@@ -8,50 +8,49 @@ module Azure::ARM::DevTestLabs
8
8
  #
9
9
  # A schedule.
10
10
  #
11
- class Schedule
11
+ class Schedule < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [EnableStatus] The status of the schedule. Possible values
16
- # include: 'Enabled', 'Disabled'
15
+ include MsRest::JSONable
16
+ # @return [EnableStatus] The status of the schedule (i.e. Enabled,
17
+ # Disabled). Possible values include: 'Enabled', 'Disabled'
17
18
  attr_accessor :status
18
19
 
19
- # @return [String] The task type of the schedule.
20
+ # @return [String] The task type of the schedule (e.g.
21
+ # LabVmsShutdownTask, LabVmAutoStart).
20
22
  attr_accessor :task_type
21
23
 
22
- # @return [WeekDetails] The weekly recurrence of the schedule.
24
+ # @return [WeekDetails] If the schedule will occur only some days of the
25
+ # week, specify the weekly recurrence.
23
26
  attr_accessor :weekly_recurrence
24
27
 
25
- # @return [DayDetails] The daily recurrence of the schedule.
28
+ # @return [DayDetails] If the schedule will occur once each day of the
29
+ # week, specify the daily recurrence.
26
30
  attr_accessor :daily_recurrence
27
31
 
28
- # @return [HourDetails] The hourly recurrence of the schedule.
32
+ # @return [HourDetails] If the schedule will occur multiple times a day,
33
+ # specify the hourly recurrence.
29
34
  attr_accessor :hourly_recurrence
30
35
 
31
- # @return [String] The time zone id.
36
+ # @return [String] The time zone ID (e.g. Pacific Standard time).
32
37
  attr_accessor :time_zone_id
33
38
 
39
+ # @return [NotificationSettings] Notification settings.
40
+ attr_accessor :notification_settings
41
+
42
+ # @return [DateTime] The creation date of the schedule.
43
+ attr_accessor :created_date
44
+
45
+ # @return [String] The resource ID to which the schedule belongs
46
+ attr_accessor :target_resource_id
47
+
34
48
  # @return [String] The provisioning status of the resource.
35
49
  attr_accessor :provisioning_state
36
50
 
37
51
  # @return [String] The unique immutable identifier of a resource (Guid).
38
52
  attr_accessor :unique_identifier
39
53
 
40
- # @return [String] The identifier of the resource.
41
- attr_accessor :id
42
-
43
- # @return [String] The name of the resource.
44
- attr_accessor :name
45
-
46
- # @return [String] The type of the resource.
47
- attr_accessor :type
48
-
49
- # @return [String] The location of the resource.
50
- attr_accessor :location
51
-
52
- # @return [Hash{String => String}] The tags of the resource.
53
- attr_accessor :tags
54
-
55
54
 
56
55
  #
57
56
  # Mapper for Schedule class as Ruby Hash.
@@ -65,6 +64,51 @@ module Azure::ARM::DevTestLabs
65
64
  name: 'Composite',
66
65
  class_name: 'Schedule',
67
66
  model_properties: {
67
+ id: {
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'id',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ name: {
76
+ required: false,
77
+ read_only: true,
78
+ serialized_name: 'name',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ type: {
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'type',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ location: {
92
+ required: false,
93
+ serialized_name: 'location',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ tags: {
99
+ required: false,
100
+ serialized_name: 'tags',
101
+ type: {
102
+ name: 'Dictionary',
103
+ value: {
104
+ required: false,
105
+ serialized_name: 'StringElementType',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ }
110
+ }
111
+ },
68
112
  status: {
69
113
  required: false,
70
114
  serialized_name: 'properties.status',
@@ -110,61 +154,42 @@ module Azure::ARM::DevTestLabs
110
154
  name: 'String'
111
155
  }
112
156
  },
113
- provisioning_state: {
114
- required: false,
115
- serialized_name: 'properties.provisioningState',
116
- type: {
117
- name: 'String'
118
- }
119
- },
120
- unique_identifier: {
157
+ notification_settings: {
121
158
  required: false,
122
- serialized_name: 'properties.uniqueIdentifier',
159
+ serialized_name: 'properties.notificationSettings',
123
160
  type: {
124
- name: 'String'
161
+ name: 'Composite',
162
+ class_name: 'NotificationSettings'
125
163
  }
126
164
  },
127
- id: {
165
+ created_date: {
128
166
  required: false,
129
- serialized_name: 'id',
167
+ read_only: true,
168
+ serialized_name: 'properties.createdDate',
130
169
  type: {
131
- name: 'String'
170
+ name: 'DateTime'
132
171
  }
133
172
  },
134
- name: {
173
+ target_resource_id: {
135
174
  required: false,
136
- serialized_name: 'name',
175
+ serialized_name: 'properties.targetResourceId',
137
176
  type: {
138
177
  name: 'String'
139
178
  }
140
179
  },
141
- type: {
180
+ provisioning_state: {
142
181
  required: false,
143
- serialized_name: 'type',
182
+ serialized_name: 'properties.provisioningState',
144
183
  type: {
145
184
  name: 'String'
146
185
  }
147
186
  },
148
- location: {
187
+ unique_identifier: {
149
188
  required: false,
150
- serialized_name: 'location',
189
+ serialized_name: 'properties.uniqueIdentifier',
151
190
  type: {
152
191
  name: 'String'
153
192
  }
154
- },
155
- tags: {
156
- required: false,
157
- serialized_name: 'tags',
158
- type: {
159
- name: 'Dictionary',
160
- value: {
161
- required: false,
162
- serialized_name: 'StringElementType',
163
- type: {
164
- name: 'String'
165
- }
166
- }
167
- }
168
193
  }
169
194
  }
170
195
  }
@@ -0,0 +1,189 @@
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
+ module Models
8
+ #
9
+ # A schedule.
10
+ #
11
+ class ScheduleFragment < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [EnableStatus] The status of the schedule (i.e. Enabled,
17
+ # Disabled). Possible values include: 'Enabled', 'Disabled'
18
+ attr_accessor :status
19
+
20
+ # @return [String] The task type of the schedule (e.g.
21
+ # LabVmsShutdownTask, LabVmAutoStart).
22
+ attr_accessor :task_type
23
+
24
+ # @return [WeekDetailsFragment] If the schedule will occur only some days
25
+ # of the week, specify the weekly recurrence.
26
+ attr_accessor :weekly_recurrence
27
+
28
+ # @return [DayDetailsFragment] If the schedule will occur once each day
29
+ # of the week, specify the daily recurrence.
30
+ attr_accessor :daily_recurrence
31
+
32
+ # @return [HourDetailsFragment] If the schedule will occur multiple times
33
+ # a day, specify the hourly recurrence.
34
+ attr_accessor :hourly_recurrence
35
+
36
+ # @return [String] The time zone ID (e.g. Pacific Standard time).
37
+ attr_accessor :time_zone_id
38
+
39
+ # @return [NotificationSettingsFragment] Notification settings.
40
+ attr_accessor :notification_settings
41
+
42
+ # @return [String] The resource ID to which the schedule belongs
43
+ attr_accessor :target_resource_id
44
+
45
+ # @return [String] The provisioning status of the resource.
46
+ attr_accessor :provisioning_state
47
+
48
+ # @return [String] The unique immutable identifier of a resource (Guid).
49
+ attr_accessor :unique_identifier
50
+
51
+
52
+ #
53
+ # Mapper for ScheduleFragment class as Ruby Hash.
54
+ # This will be used for serialization/deserialization.
55
+ #
56
+ def self.mapper()
57
+ {
58
+ required: false,
59
+ serialized_name: 'ScheduleFragment',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'ScheduleFragment',
63
+ model_properties: {
64
+ id: {
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'id',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ name: {
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'name',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ type: {
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'type',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ location: {
89
+ required: false,
90
+ serialized_name: 'location',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ tags: {
96
+ required: false,
97
+ serialized_name: 'tags',
98
+ type: {
99
+ name: 'Dictionary',
100
+ value: {
101
+ required: false,
102
+ serialized_name: 'StringElementType',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ }
107
+ }
108
+ },
109
+ status: {
110
+ required: false,
111
+ serialized_name: 'properties.status',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ },
116
+ task_type: {
117
+ required: false,
118
+ serialized_name: 'properties.taskType',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ weekly_recurrence: {
124
+ required: false,
125
+ serialized_name: 'properties.weeklyRecurrence',
126
+ type: {
127
+ name: 'Composite',
128
+ class_name: 'WeekDetailsFragment'
129
+ }
130
+ },
131
+ daily_recurrence: {
132
+ required: false,
133
+ serialized_name: 'properties.dailyRecurrence',
134
+ type: {
135
+ name: 'Composite',
136
+ class_name: 'DayDetailsFragment'
137
+ }
138
+ },
139
+ hourly_recurrence: {
140
+ required: false,
141
+ serialized_name: 'properties.hourlyRecurrence',
142
+ type: {
143
+ name: 'Composite',
144
+ class_name: 'HourDetailsFragment'
145
+ }
146
+ },
147
+ time_zone_id: {
148
+ required: false,
149
+ serialized_name: 'properties.timeZoneId',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ notification_settings: {
155
+ required: false,
156
+ serialized_name: 'properties.notificationSettings',
157
+ type: {
158
+ name: 'Composite',
159
+ class_name: 'NotificationSettingsFragment'
160
+ }
161
+ },
162
+ target_resource_id: {
163
+ required: false,
164
+ serialized_name: 'properties.targetResourceId',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ provisioning_state: {
170
+ required: false,
171
+ serialized_name: 'properties.provisioningState',
172
+ type: {
173
+ name: 'String'
174
+ }
175
+ },
176
+ unique_identifier: {
177
+ required: false,
178
+ serialized_name: 'properties.uniqueIdentifier',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ end
187
+ end
188
+ end
189
+ end