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,45 @@
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
+ # Information about a VM from which a formula is to be created.
10
+ #
11
+ class FormulaPropertiesFromVm
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The identifier of the VM from which a formula is to
16
+ # be created.
17
+ attr_accessor :lab_vm_id
18
+
19
+
20
+ #
21
+ # Mapper for FormulaPropertiesFromVm class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'FormulaPropertiesFromVm',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'FormulaPropertiesFromVm',
31
+ model_properties: {
32
+ lab_vm_id: {
33
+ required: false,
34
+ serialized_name: 'labVmId',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,153 @@
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 gallery image.
10
+ #
11
+ class GalleryImage
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The author of the gallery image.
16
+ attr_accessor :author
17
+
18
+ # @return [DateTime] The creation date of the gallery image.
19
+ attr_accessor :created_date
20
+
21
+ # @return [String] The description of the gallery image.
22
+ attr_accessor :description
23
+
24
+ # @return [GalleryImageReference] The image reference of the gallery
25
+ # image.
26
+ attr_accessor :image_reference
27
+
28
+ # @return [String] The icon of the gallery image.
29
+ attr_accessor :icon
30
+
31
+ # @return [Boolean] Indicates whether this gallery image is enabled.
32
+ attr_accessor :enabled
33
+
34
+ # @return [String] The identifier of the resource.
35
+ attr_accessor :id
36
+
37
+ # @return [String] The name of the resource.
38
+ attr_accessor :name
39
+
40
+ # @return [String] The type of the resource.
41
+ attr_accessor :type
42
+
43
+ # @return [String] The location of the resource.
44
+ attr_accessor :location
45
+
46
+ # @return [Hash{String => String}] The tags of the resource.
47
+ attr_accessor :tags
48
+
49
+
50
+ #
51
+ # Mapper for GalleryImage class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ required: false,
57
+ serialized_name: 'GalleryImage',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'GalleryImage',
61
+ model_properties: {
62
+ author: {
63
+ required: false,
64
+ serialized_name: 'properties.author',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ created_date: {
70
+ required: false,
71
+ serialized_name: 'properties.createdDate',
72
+ type: {
73
+ name: 'DateTime'
74
+ }
75
+ },
76
+ description: {
77
+ required: false,
78
+ serialized_name: 'properties.description',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ image_reference: {
84
+ required: false,
85
+ serialized_name: 'properties.imageReference',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'GalleryImageReference'
89
+ }
90
+ },
91
+ icon: {
92
+ required: false,
93
+ serialized_name: 'properties.icon',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ enabled: {
99
+ required: false,
100
+ serialized_name: 'properties.enabled',
101
+ type: {
102
+ name: 'Boolean'
103
+ }
104
+ },
105
+ id: {
106
+ required: false,
107
+ serialized_name: 'id',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ name: {
113
+ required: false,
114
+ serialized_name: 'name',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ type: {
120
+ required: false,
121
+ serialized_name: 'type',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ location: {
127
+ required: false,
128
+ serialized_name: 'location',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ tags: {
134
+ required: false,
135
+ serialized_name: 'tags',
136
+ type: {
137
+ name: 'Dictionary',
138
+ value: {
139
+ required: false,
140
+ serialized_name: 'StringElementType',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ end
151
+ end
152
+ end
153
+ end
@@ -0,0 +1,84 @@
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
+ # The reference information for an Azure Marketplace image.
10
+ #
11
+ class GalleryImageReference
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The offer of the gallery image.
16
+ attr_accessor :offer
17
+
18
+ # @return [String] The publisher of the gallery image.
19
+ attr_accessor :publisher
20
+
21
+ # @return [String] The SKU of the gallery image.
22
+ attr_accessor :sku
23
+
24
+ # @return [String] The OS type of the gallery image.
25
+ attr_accessor :os_type
26
+
27
+ # @return [String] The version of the gallery image.
28
+ attr_accessor :version
29
+
30
+
31
+ #
32
+ # Mapper for GalleryImageReference class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'GalleryImageReference',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'GalleryImageReference',
42
+ model_properties: {
43
+ offer: {
44
+ required: false,
45
+ serialized_name: 'offer',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ publisher: {
51
+ required: false,
52
+ serialized_name: 'publisher',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ sku: {
58
+ required: false,
59
+ serialized_name: 'sku',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ os_type: {
65
+ required: false,
66
+ serialized_name: 'osType',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ version: {
72
+ required: false,
73
+ serialized_name: 'version',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,72 @@
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
+ # Parameters for generating an ARM template for deploying artifacts.
10
+ #
11
+ class GenerateArmTemplateRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource name of the virtual machine.
16
+ attr_accessor :virtual_machine_name
17
+
18
+ # @return [Array<ParameterInfo>] The parameters of the ARM template.
19
+ attr_accessor :parameters
20
+
21
+ # @return [String] The location of the virtual machine.
22
+ attr_accessor :location
23
+
24
+
25
+ #
26
+ # Mapper for GenerateArmTemplateRequest class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'GenerateArmTemplateRequest',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'GenerateArmTemplateRequest',
36
+ model_properties: {
37
+ virtual_machine_name: {
38
+ required: false,
39
+ serialized_name: 'virtualMachineName',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ parameters: {
45
+ required: false,
46
+ serialized_name: 'parameters',
47
+ type: {
48
+ name: 'Sequence',
49
+ element: {
50
+ required: false,
51
+ serialized_name: 'ParameterInfoElementType',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'ParameterInfo'
55
+ }
56
+ }
57
+ }
58
+ },
59
+ location: {
60
+ required: false,
61
+ serialized_name: 'location',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ 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 for generating an upload URI.
10
+ #
11
+ class GenerateUploadUriParameter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The blob name of the upload URI.
16
+ attr_accessor :blob_name
17
+
18
+
19
+ #
20
+ # Mapper for GenerateUploadUriParameter class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'GenerateUploadUriParameter',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'GenerateUploadUriParameter',
30
+ model_properties: {
31
+ blob_name: {
32
+ required: false,
33
+ serialized_name: 'blobName',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ 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
+ # Reponse body for generating an upload URI.
10
+ #
11
+ class GenerateUploadUriResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The upload URI for the VHD.
16
+ attr_accessor :upload_uri
17
+
18
+
19
+ #
20
+ # Mapper for GenerateUploadUriResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'GenerateUploadUriResponse',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'GenerateUploadUriResponse',
30
+ model_properties: {
31
+ upload_uri: {
32
+ required: false,
33
+ serialized_name: 'uploadUri',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end