azure_mgmt_devtestlabs 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/LICENSE.txt +21 -0
  4. data/Rakefile +5 -0
  5. data/azure_mgmt_devtestlabs.gemspec +34 -0
  6. data/lib/azure_mgmt_devtestlabs.rb +5 -0
  7. data/lib/generated/azure_mgmt_devtestlabs.rb +103 -0
  8. data/lib/generated/azure_mgmt_devtestlabs/artifact_operations.rb +477 -0
  9. data/lib/generated/azure_mgmt_devtestlabs/artifact_source_operations.rb +669 -0
  10. data/lib/generated/azure_mgmt_devtestlabs/cost_operations.rb +124 -0
  11. data/lib/generated/azure_mgmt_devtestlabs/custom_image_operations.rb +648 -0
  12. data/lib/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +110 -0
  13. data/lib/generated/azure_mgmt_devtestlabs/formula_operations.rb +608 -0
  14. data/lib/generated/azure_mgmt_devtestlabs/gallery_image_operations.rb +252 -0
  15. data/lib/generated/azure_mgmt_devtestlabs/lab_operations.rb +1403 -0
  16. data/lib/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +53 -0
  17. data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +54 -0
  18. data/lib/generated/azure_mgmt_devtestlabs/models/artifact.rb +151 -0
  19. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +66 -0
  20. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +63 -0
  21. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +54 -0
  22. data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +183 -0
  23. data/lib/generated/azure_mgmt_devtestlabs/models/cost.rb +139 -0
  24. data/lib/generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb +65 -0
  25. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image.rb +164 -0
  26. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb +17 -0
  27. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb +65 -0
  28. data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +66 -0
  29. data/lib/generated/azure_mgmt_devtestlabs/models/day_details.rb +44 -0
  30. data/lib/generated/azure_mgmt_devtestlabs/models/enable_status.rb +16 -0
  31. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +64 -0
  32. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +52 -0
  33. data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +52 -0
  34. data/lib/generated/azure_mgmt_devtestlabs/models/formula.rb +174 -0
  35. data/lib/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +45 -0
  36. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +153 -0
  37. data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +84 -0
  38. data/lib/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +72 -0
  39. data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +44 -0
  40. data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +44 -0
  41. data/lib/generated/azure_mgmt_devtestlabs/models/hour_details.rb +44 -0
  42. data/lib/generated/azure_mgmt_devtestlabs/models/lab.rb +162 -0
  43. data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost_type.rb +17 -0
  44. data/lib/generated/azure_mgmt_devtestlabs/models/lab_storage_type.rb +16 -0
  45. data/lib/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +44 -0
  46. data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +321 -0
  47. data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +46 -0
  48. data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb +17 -0
  49. data/lib/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +54 -0
  50. data/lib/generated/azure_mgmt_devtestlabs/models/policy.rb +175 -0
  51. data/lib/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb +16 -0
  52. data/lib/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb +19 -0
  53. data/lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +63 -0
  54. data/lib/generated/azure_mgmt_devtestlabs/models/policy_status.rb +16 -0
  55. data/lib/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +54 -0
  56. data/lib/generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb +106 -0
  57. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +93 -0
  58. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +94 -0
  59. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +93 -0
  60. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +93 -0
  61. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +93 -0
  62. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +93 -0
  63. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +93 -0
  64. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +95 -0
  65. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +93 -0
  66. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +93 -0
  67. data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +94 -0
  68. data/lib/generated/azure_mgmt_devtestlabs/models/schedule.rb +175 -0
  69. data/lib/generated/azure_mgmt_devtestlabs/models/source_control_type.rb +16 -0
  70. data/lib/generated/azure_mgmt_devtestlabs/models/subnet.rb +65 -0
  71. data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +78 -0
  72. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb +67 -0
  73. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb +44 -0
  74. data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb +20 -0
  75. data/lib/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb +17 -0
  76. data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +169 -0
  77. data/lib/generated/azure_mgmt_devtestlabs/models/week_details.rb +61 -0
  78. data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +45 -0
  79. data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb +17 -0
  80. data/lib/generated/azure_mgmt_devtestlabs/module_definition.rb +8 -0
  81. data/lib/generated/azure_mgmt_devtestlabs/policy_operations.rb +690 -0
  82. data/lib/generated/azure_mgmt_devtestlabs/policy_set.rb +137 -0
  83. data/lib/generated/azure_mgmt_devtestlabs/schedule_operations.rb +796 -0
  84. data/lib/generated/azure_mgmt_devtestlabs/version.rb +8 -0
  85. data/lib/generated/azure_mgmt_devtestlabs/virtual_machine.rb +1155 -0
  86. data/lib/generated/azure_mgmt_devtestlabs/virtual_network_operations.rb +759 -0
  87. metadata +199 -0
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 creating a custom image from a virtual machine.
10
+ #
11
+ class CustomImagePropertiesFromVm
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The source vm identifier.
16
+ attr_accessor :source_vm_id
17
+
18
+ # @return [WindowsOsInfo] The Windows OS information of the VM.
19
+ attr_accessor :windows_os_info
20
+
21
+ # @return [LinuxOsInfo] The Linux OS information of the VM.
22
+ attr_accessor :linux_os_info
23
+
24
+
25
+ #
26
+ # Mapper for CustomImagePropertiesFromVm class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'CustomImagePropertiesFromVm',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'CustomImagePropertiesFromVm',
36
+ model_properties: {
37
+ source_vm_id: {
38
+ required: false,
39
+ serialized_name: 'sourceVmId',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ windows_os_info: {
45
+ required: false,
46
+ serialized_name: 'windowsOsInfo',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'WindowsOsInfo'
50
+ }
51
+ },
52
+ linux_os_info: {
53
+ required: false,
54
+ serialized_name: 'linuxOsInfo',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'LinuxOsInfo'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,44 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 of a daily schedule.
10
+ #
11
+ class DayDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ attr_accessor :time
17
+
18
+
19
+ #
20
+ # Mapper for DayDetails class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'DayDetails',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'DayDetails',
30
+ model_properties: {
31
+ time: {
32
+ required: false,
33
+ serialized_name: 'time',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Defines values for EnableStatus
10
+ #
11
+ module EnableStatus
12
+ Enabled = "Enabled"
13
+ Disabled = "Disabled"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 evaluating a policy set.
10
+ #
11
+ class EvaluatePoliciesProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The fact name.
16
+ attr_accessor :fact_name
17
+
18
+ # @return [String] The fact data.
19
+ attr_accessor :fact_data
20
+
21
+ # @return [String] The value offset.
22
+ attr_accessor :value_offset
23
+
24
+
25
+ #
26
+ # Mapper for EvaluatePoliciesProperties class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'EvaluatePoliciesProperties',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'EvaluatePoliciesProperties',
36
+ model_properties: {
37
+ fact_name: {
38
+ required: false,
39
+ serialized_name: 'factName',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ fact_data: {
45
+ required: false,
46
+ serialized_name: 'factData',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ value_offset: {
52
+ required: false,
53
+ serialized_name: 'valueOffset',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Request body for evaluating a policy set.
10
+ #
11
+ class EvaluatePoliciesRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<EvaluatePoliciesProperties>] Policies to evaluate.
16
+ attr_accessor :policies
17
+
18
+
19
+ #
20
+ # Mapper for EvaluatePoliciesRequest class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'EvaluatePoliciesRequest',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'EvaluatePoliciesRequest',
30
+ model_properties: {
31
+ policies: {
32
+ required: false,
33
+ serialized_name: 'policies',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ required: false,
38
+ serialized_name: 'EvaluatePoliciesPropertiesElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'EvaluatePoliciesProperties'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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
+ # Response body for evaluating a policy set.
10
+ #
11
+ class EvaluatePoliciesResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<PolicySetResult>] Results of evaluating a policy set.
16
+ attr_accessor :results
17
+
18
+
19
+ #
20
+ # Mapper for EvaluatePoliciesResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'EvaluatePoliciesResponse',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'EvaluatePoliciesResponse',
30
+ model_properties: {
31
+ results: {
32
+ required: false,
33
+ serialized_name: 'results',
34
+ type: {
35
+ name: 'Sequence',
36
+ element: {
37
+ required: false,
38
+ serialized_name: 'PolicySetResultElementType',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'PolicySetResult'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,174 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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 formula.
10
+ #
11
+ class Formula
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The description of the formula.
16
+ attr_accessor :description
17
+
18
+ # @return [String] The author of the formula.
19
+ attr_accessor :author
20
+
21
+ # @return [String] The OS type of the formula.
22
+ attr_accessor :os_type
23
+
24
+ # @return [DateTime] The creation date of the formula.
25
+ attr_accessor :creation_date
26
+
27
+ # @return [LabVirtualMachine] The content of the formula.
28
+ attr_accessor :formula_content
29
+
30
+ # @return [FormulaPropertiesFromVm] Information about a VM from which a
31
+ # formula is to be created.
32
+ attr_accessor :vm
33
+
34
+ # @return [String] The provisioning status of the resource.
35
+ attr_accessor :provisioning_state
36
+
37
+ # @return [String] The unique immutable identifier of a resource (Guid).
38
+ attr_accessor :unique_identifier
39
+
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
+
56
+ #
57
+ # Mapper for Formula class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ required: false,
63
+ serialized_name: 'Formula',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'Formula',
67
+ model_properties: {
68
+ description: {
69
+ required: false,
70
+ serialized_name: 'properties.description',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ author: {
76
+ required: false,
77
+ serialized_name: 'properties.author',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ os_type: {
83
+ required: false,
84
+ serialized_name: 'properties.osType',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ creation_date: {
90
+ required: false,
91
+ serialized_name: 'properties.creationDate',
92
+ type: {
93
+ name: 'DateTime'
94
+ }
95
+ },
96
+ formula_content: {
97
+ required: false,
98
+ serialized_name: 'properties.formulaContent',
99
+ type: {
100
+ name: 'Composite',
101
+ class_name: 'LabVirtualMachine'
102
+ }
103
+ },
104
+ vm: {
105
+ required: false,
106
+ serialized_name: 'properties.vm',
107
+ type: {
108
+ name: 'Composite',
109
+ class_name: 'FormulaPropertiesFromVm'
110
+ }
111
+ },
112
+ provisioning_state: {
113
+ required: false,
114
+ serialized_name: 'properties.provisioningState',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ unique_identifier: {
120
+ required: false,
121
+ serialized_name: 'properties.uniqueIdentifier',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ id: {
127
+ required: false,
128
+ serialized_name: 'id',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ name: {
134
+ required: false,
135
+ serialized_name: 'name',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ type: {
141
+ required: false,
142
+ serialized_name: 'type',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ location: {
148
+ required: false,
149
+ serialized_name: 'location',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ tags: {
155
+ required: false,
156
+ serialized_name: 'tags',
157
+ type: {
158
+ name: 'Dictionary',
159
+ value: {
160
+ required: false,
161
+ serialized_name: 'StringElementType',
162
+ type: {
163
+ name: 'String'
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ end
172
+ end
173
+ end
174
+ end