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,67 @@
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
+ # Model object.
10
+ #
11
+ class SubscriptionNotification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ attr_accessor :registration_date
17
+
18
+ # @return [SubscriptionNotificationState] Possible values include:
19
+ # 'NotDefined', 'Registered', 'Unregistered', 'Warned', 'Suspended',
20
+ # 'Deleted'
21
+ attr_accessor :state
22
+
23
+ # @return [SubscriptionNotificationProperties]
24
+ attr_accessor :properties
25
+
26
+
27
+ #
28
+ # Mapper for SubscriptionNotification class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'SubscriptionNotification',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'SubscriptionNotification',
38
+ model_properties: {
39
+ registration_date: {
40
+ required: false,
41
+ serialized_name: 'registrationDate',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ state: {
47
+ required: false,
48
+ serialized_name: 'state',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ properties: {
54
+ required: false,
55
+ serialized_name: 'properties',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'SubscriptionNotificationProperties'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ 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
+ # Model object.
10
+ #
11
+ class SubscriptionNotificationProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ attr_accessor :tenant_id
17
+
18
+
19
+ #
20
+ # Mapper for SubscriptionNotificationProperties class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'SubscriptionNotificationProperties',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'SubscriptionNotificationProperties',
30
+ model_properties: {
31
+ tenant_id: {
32
+ required: false,
33
+ serialized_name: 'tenantId',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,20 @@
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 SubscriptionNotificationState
10
+ #
11
+ module SubscriptionNotificationState
12
+ NotDefined = "NotDefined"
13
+ Registered = "Registered"
14
+ Unregistered = "Unregistered"
15
+ Warned = "Warned"
16
+ Suspended = "Suspended"
17
+ Deleted = "Deleted"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
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 UsagePermissionType
10
+ #
11
+ module UsagePermissionType
12
+ Default = "Default"
13
+ Deny = "Deny"
14
+ Allow = "Allow"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,169 @@
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 virtual network.
10
+ #
11
+ class VirtualNetwork
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Subnet>] The allowed subnets of the virtual network.
16
+ attr_accessor :allowed_subnets
17
+
18
+ # @return [String] The description of the virtual network.
19
+ attr_accessor :description
20
+
21
+ # @return [String] The Microsoft.Network resource identifier of the
22
+ # virtual network.
23
+ attr_accessor :external_provider_resource_id
24
+
25
+ # @return [Array<SubnetOverride>] The subnet overrides of the virtual
26
+ # network.
27
+ attr_accessor :subnet_overrides
28
+
29
+ # @return [String] The provisioning status of the resource.
30
+ attr_accessor :provisioning_state
31
+
32
+ # @return [String] The unique immutable identifier of a resource (Guid).
33
+ attr_accessor :unique_identifier
34
+
35
+ # @return [String] The identifier of the resource.
36
+ attr_accessor :id
37
+
38
+ # @return [String] The name of the resource.
39
+ attr_accessor :name
40
+
41
+ # @return [String] The type of the resource.
42
+ attr_accessor :type
43
+
44
+ # @return [String] The location of the resource.
45
+ attr_accessor :location
46
+
47
+ # @return [Hash{String => String}] The tags of the resource.
48
+ attr_accessor :tags
49
+
50
+
51
+ #
52
+ # Mapper for VirtualNetwork class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ required: false,
58
+ serialized_name: 'VirtualNetwork',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'VirtualNetwork',
62
+ model_properties: {
63
+ allowed_subnets: {
64
+ required: false,
65
+ serialized_name: 'properties.allowedSubnets',
66
+ type: {
67
+ name: 'Sequence',
68
+ element: {
69
+ required: false,
70
+ serialized_name: 'SubnetElementType',
71
+ type: {
72
+ name: 'Composite',
73
+ class_name: 'Subnet'
74
+ }
75
+ }
76
+ }
77
+ },
78
+ description: {
79
+ required: false,
80
+ serialized_name: 'properties.description',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ external_provider_resource_id: {
86
+ required: false,
87
+ serialized_name: 'properties.externalProviderResourceId',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ subnet_overrides: {
93
+ required: false,
94
+ serialized_name: 'properties.subnetOverrides',
95
+ type: {
96
+ name: 'Sequence',
97
+ element: {
98
+ required: false,
99
+ serialized_name: 'SubnetOverrideElementType',
100
+ type: {
101
+ name: 'Composite',
102
+ class_name: 'SubnetOverride'
103
+ }
104
+ }
105
+ }
106
+ },
107
+ provisioning_state: {
108
+ required: false,
109
+ serialized_name: 'properties.provisioningState',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ unique_identifier: {
115
+ required: false,
116
+ serialized_name: 'properties.uniqueIdentifier',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ },
121
+ id: {
122
+ required: false,
123
+ serialized_name: 'id',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ name: {
129
+ required: false,
130
+ serialized_name: 'name',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ type: {
136
+ required: false,
137
+ serialized_name: 'type',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ },
142
+ location: {
143
+ required: false,
144
+ serialized_name: 'location',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ tags: {
150
+ required: false,
151
+ serialized_name: 'tags',
152
+ type: {
153
+ name: 'Dictionary',
154
+ value: {
155
+ required: false,
156
+ serialized_name: 'StringElementType',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ end
167
+ end
168
+ end
169
+ end
@@ -0,0 +1,61 @@
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 weekly schedule.
10
+ #
11
+ class WeekDetails
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] The days of the week.
16
+ attr_accessor :weekdays
17
+
18
+ # @return [String] The time of the day.
19
+ attr_accessor :time
20
+
21
+
22
+ #
23
+ # Mapper for WeekDetails class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'WeekDetails',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'WeekDetails',
33
+ model_properties: {
34
+ weekdays: {
35
+ required: false,
36
+ serialized_name: 'weekdays',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ },
48
+ time: {
49
+ required: false,
50
+ serialized_name: 'time',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -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 Windows OS.
10
+ #
11
+ class WindowsOsInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [WindowsOsState] The state of the Windows OS. Possible values
16
+ # include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied'
17
+ attr_accessor :windows_os_state
18
+
19
+
20
+ #
21
+ # Mapper for WindowsOsInfo class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'WindowsOsInfo',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'WindowsOsInfo',
31
+ model_properties: {
32
+ windows_os_state: {
33
+ required: false,
34
+ serialized_name: 'windowsOsState',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,17 @@
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 WindowsOsState
10
+ #
11
+ module WindowsOsState
12
+ NonSysprepped = "NonSysprepped"
13
+ SysprepRequested = "SysprepRequested"
14
+ SysprepApplied = "SysprepApplied"
15
+ end
16
+ end
17
+ end