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
 
@@ -8,47 +8,48 @@ module Azure::ARM::DevTestLabs
8
8
  #
9
9
  # A lab.
10
10
  #
11
- class Lab
11
+ class Lab < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The lab's default storage account.
16
17
  attr_accessor :default_storage_account
17
18
 
18
- # @return [String] The artifact storage account of the lab.
19
+ # @return [String] The lab's default premium storage account.
20
+ attr_accessor :default_premium_storage_account
21
+
22
+ # @return [String] The lab's artifact storage account.
19
23
  attr_accessor :artifacts_storage_account
20
24
 
21
- # @return [String] The name of the key vault of the lab.
25
+ # @return [String] The lab's premium data disk storage account.
26
+ attr_accessor :premium_data_disk_storage_account
27
+
28
+ # @return [String] The lab's Key vault.
22
29
  attr_accessor :vault_name
23
30
 
24
- # @return [LabStorageType] The type of the lab storage. Possible values
25
- # include: 'Standard', 'Premium'
31
+ # @return [StorageType] Type of storage used by the lab. It can be either
32
+ # Premium or Standard. Default is Premium. Possible values include:
33
+ # 'Standard', 'Premium'
26
34
  attr_accessor :lab_storage_type
27
35
 
28
36
  # @return [DateTime] The creation date of the lab.
29
37
  attr_accessor :created_date
30
38
 
39
+ # @return [PremiumDataDisk] The setting to enable usage of premium data
40
+ # disks.
41
+ # When its value is 'Enabled', creation of standard or premium data disks
42
+ # is allowed.
43
+ # When its value is 'Disabled', only creation of standard data disks is
44
+ # allowed. Possible values include: 'Disabled', 'Enabled'
45
+ attr_accessor :premium_data_disks
46
+
31
47
  # @return [String] The provisioning status of the resource.
32
48
  attr_accessor :provisioning_state
33
49
 
34
50
  # @return [String] The unique immutable identifier of a resource (Guid).
35
51
  attr_accessor :unique_identifier
36
52
 
37
- # @return [String] The identifier of the resource.
38
- attr_accessor :id
39
-
40
- # @return [String] The name of the resource.
41
- attr_accessor :name
42
-
43
- # @return [String] The type of the resource.
44
- attr_accessor :type
45
-
46
- # @return [String] The location of the resource.
47
- attr_accessor :location
48
-
49
- # @return [Hash{String => String}] The tags of the resource.
50
- attr_accessor :tags
51
-
52
53
 
53
54
  #
54
55
  # Mapper for Lab class as Ruby Hash.
@@ -62,95 +63,125 @@ module Azure::ARM::DevTestLabs
62
63
  name: 'Composite',
63
64
  class_name: 'Lab',
64
65
  model_properties: {
65
- default_storage_account: {
66
+ id: {
66
67
  required: false,
67
- serialized_name: 'properties.defaultStorageAccount',
68
+ read_only: true,
69
+ serialized_name: 'id',
68
70
  type: {
69
71
  name: 'String'
70
72
  }
71
73
  },
72
- artifacts_storage_account: {
74
+ name: {
73
75
  required: false,
74
- serialized_name: 'properties.artifactsStorageAccount',
76
+ read_only: true,
77
+ serialized_name: 'name',
75
78
  type: {
76
79
  name: 'String'
77
80
  }
78
81
  },
79
- vault_name: {
82
+ type: {
80
83
  required: false,
81
- serialized_name: 'properties.vaultName',
84
+ read_only: true,
85
+ serialized_name: 'type',
82
86
  type: {
83
87
  name: 'String'
84
88
  }
85
89
  },
86
- lab_storage_type: {
90
+ location: {
87
91
  required: false,
88
- serialized_name: 'properties.labStorageType',
92
+ serialized_name: 'location',
89
93
  type: {
90
94
  name: 'String'
91
95
  }
92
96
  },
93
- created_date: {
97
+ tags: {
94
98
  required: false,
95
- serialized_name: 'properties.createdDate',
99
+ serialized_name: 'tags',
96
100
  type: {
97
- name: 'DateTime'
101
+ name: 'Dictionary',
102
+ value: {
103
+ required: false,
104
+ serialized_name: 'StringElementType',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ }
98
109
  }
99
110
  },
100
- provisioning_state: {
111
+ default_storage_account: {
101
112
  required: false,
102
- serialized_name: 'properties.provisioningState',
113
+ read_only: true,
114
+ serialized_name: 'properties.defaultStorageAccount',
103
115
  type: {
104
116
  name: 'String'
105
117
  }
106
118
  },
107
- unique_identifier: {
119
+ default_premium_storage_account: {
108
120
  required: false,
109
- serialized_name: 'properties.uniqueIdentifier',
121
+ read_only: true,
122
+ serialized_name: 'properties.defaultPremiumStorageAccount',
110
123
  type: {
111
124
  name: 'String'
112
125
  }
113
126
  },
114
- id: {
127
+ artifacts_storage_account: {
115
128
  required: false,
116
- serialized_name: 'id',
129
+ read_only: true,
130
+ serialized_name: 'properties.artifactsStorageAccount',
117
131
  type: {
118
132
  name: 'String'
119
133
  }
120
134
  },
121
- name: {
135
+ premium_data_disk_storage_account: {
122
136
  required: false,
123
- serialized_name: 'name',
137
+ read_only: true,
138
+ serialized_name: 'properties.premiumDataDiskStorageAccount',
124
139
  type: {
125
140
  name: 'String'
126
141
  }
127
142
  },
128
- type: {
143
+ vault_name: {
129
144
  required: false,
130
- serialized_name: 'type',
145
+ read_only: true,
146
+ serialized_name: 'properties.vaultName',
131
147
  type: {
132
148
  name: 'String'
133
149
  }
134
150
  },
135
- location: {
151
+ lab_storage_type: {
136
152
  required: false,
137
- serialized_name: 'location',
153
+ serialized_name: 'properties.labStorageType',
138
154
  type: {
139
155
  name: 'String'
140
156
  }
141
157
  },
142
- tags: {
158
+ created_date: {
143
159
  required: false,
144
- serialized_name: 'tags',
160
+ read_only: true,
161
+ serialized_name: 'properties.createdDate',
145
162
  type: {
146
- name: 'Dictionary',
147
- value: {
148
- required: false,
149
- serialized_name: 'StringElementType',
150
- type: {
151
- name: 'String'
152
- }
153
- }
163
+ name: 'DateTime'
164
+ }
165
+ },
166
+ premium_data_disks: {
167
+ required: false,
168
+ serialized_name: 'properties.premiumDataDisks',
169
+ type: {
170
+ name: 'String'
171
+ }
172
+ },
173
+ provisioning_state: {
174
+ required: false,
175
+ serialized_name: 'properties.provisioningState',
176
+ type: {
177
+ name: 'String'
178
+ }
179
+ },
180
+ unique_identifier: {
181
+ required: false,
182
+ serialized_name: 'properties.uniqueIdentifier',
183
+ type: {
184
+ name: 'String'
154
185
  }
155
186
  }
156
187
  }
@@ -0,0 +1,204 @@
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 cost item.
10
+ #
11
+ class LabCost < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [TargetCostProperties] The target cost properties
17
+ attr_accessor :target_cost
18
+
19
+ # @return [LabCostSummaryProperties] The lab cost summary component of
20
+ # the cost data.
21
+ attr_accessor :lab_cost_summary
22
+
23
+ # @return [Array<LabCostDetailsProperties>] The lab cost details
24
+ # component of the cost data.
25
+ attr_accessor :lab_cost_details
26
+
27
+ # @return [Array<LabResourceCostProperties>] The resource cost component
28
+ # of the cost data.
29
+ attr_accessor :resource_costs
30
+
31
+ # @return [String] The currency code of the cost.
32
+ attr_accessor :currency_code
33
+
34
+ # @return [DateTime] The start time of the cost data.
35
+ attr_accessor :start_date_time
36
+
37
+ # @return [DateTime] The end time of the cost data.
38
+ attr_accessor :end_date_time
39
+
40
+ # @return [DateTime] The creation date of the cost.
41
+ attr_accessor :created_date
42
+
43
+ # @return [String] The provisioning status of the resource.
44
+ attr_accessor :provisioning_state
45
+
46
+ # @return [String] The unique immutable identifier of a resource (Guid).
47
+ attr_accessor :unique_identifier
48
+
49
+
50
+ #
51
+ # Mapper for LabCost class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ required: false,
57
+ serialized_name: 'LabCost',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'LabCost',
61
+ model_properties: {
62
+ id: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'id',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ name: {
71
+ required: false,
72
+ read_only: true,
73
+ serialized_name: 'name',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ type: {
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'type',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ location: {
87
+ required: false,
88
+ serialized_name: 'location',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ tags: {
94
+ required: false,
95
+ serialized_name: 'tags',
96
+ type: {
97
+ name: 'Dictionary',
98
+ value: {
99
+ required: false,
100
+ serialized_name: 'StringElementType',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ target_cost: {
108
+ required: false,
109
+ serialized_name: 'properties.targetCost',
110
+ type: {
111
+ name: 'Composite',
112
+ class_name: 'TargetCostProperties'
113
+ }
114
+ },
115
+ lab_cost_summary: {
116
+ required: false,
117
+ read_only: true,
118
+ serialized_name: 'properties.labCostSummary',
119
+ type: {
120
+ name: 'Composite',
121
+ class_name: 'LabCostSummaryProperties'
122
+ }
123
+ },
124
+ lab_cost_details: {
125
+ required: false,
126
+ read_only: true,
127
+ serialized_name: 'properties.labCostDetails',
128
+ type: {
129
+ name: 'Sequence',
130
+ element: {
131
+ required: false,
132
+ serialized_name: 'LabCostDetailsPropertiesElementType',
133
+ type: {
134
+ name: 'Composite',
135
+ class_name: 'LabCostDetailsProperties'
136
+ }
137
+ }
138
+ }
139
+ },
140
+ resource_costs: {
141
+ required: false,
142
+ read_only: true,
143
+ serialized_name: 'properties.resourceCosts',
144
+ type: {
145
+ name: 'Sequence',
146
+ element: {
147
+ required: false,
148
+ serialized_name: 'LabResourceCostPropertiesElementType',
149
+ type: {
150
+ name: 'Composite',
151
+ class_name: 'LabResourceCostProperties'
152
+ }
153
+ }
154
+ }
155
+ },
156
+ currency_code: {
157
+ required: false,
158
+ serialized_name: 'properties.currencyCode',
159
+ type: {
160
+ name: 'String'
161
+ }
162
+ },
163
+ start_date_time: {
164
+ required: false,
165
+ serialized_name: 'properties.startDateTime',
166
+ type: {
167
+ name: 'DateTime'
168
+ }
169
+ },
170
+ end_date_time: {
171
+ required: false,
172
+ serialized_name: 'properties.endDateTime',
173
+ type: {
174
+ name: 'DateTime'
175
+ }
176
+ },
177
+ created_date: {
178
+ required: false,
179
+ serialized_name: 'properties.createdDate',
180
+ type: {
181
+ name: 'DateTime'
182
+ }
183
+ },
184
+ provisioning_state: {
185
+ required: false,
186
+ serialized_name: 'properties.provisioningState',
187
+ type: {
188
+ name: 'String'
189
+ }
190
+ },
191
+ unique_identifier: {
192
+ required: false,
193
+ serialized_name: 'properties.uniqueIdentifier',
194
+ type: {
195
+ name: 'String'
196
+ }
197
+ }
198
+ }
199
+ }
200
+ }
201
+ end
202
+ end
203
+ end
204
+ 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,32 +8,33 @@ module Azure::ARM::DevTestLabs
8
8
  #
9
9
  # The properties of a lab cost item.
10
10
  #
11
- class CostPerDayProperties
11
+ class LabCostDetailsProperties
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [DateTime] The date of the cost item.
16
17
  attr_accessor :date
17
18
 
18
19
  # @return [Float] The cost component of the cost item.
19
20
  attr_accessor :cost
20
21
 
21
- # @return [LabCostType] The type of the cost. Possible values include:
22
+ # @return [CostType] The type of the cost. Possible values include:
22
23
  # 'Unavailable', 'Reported', 'Projected'
23
24
  attr_accessor :cost_type
24
25
 
25
26
 
26
27
  #
27
- # Mapper for CostPerDayProperties class as Ruby Hash.
28
+ # Mapper for LabCostDetailsProperties class as Ruby Hash.
28
29
  # This will be used for serialization/deserialization.
29
30
  #
30
31
  def self.mapper()
31
32
  {
32
33
  required: false,
33
- serialized_name: 'CostPerDayProperties',
34
+ serialized_name: 'LabCostDetailsProperties',
34
35
  type: {
35
36
  name: 'Composite',
36
- class_name: 'CostPerDayProperties',
37
+ class_name: 'LabCostDetailsProperties',
37
38
  model_properties: {
38
39
  date: {
39
40
  required: false,