azure_mgmt_azurestack_hci 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci.rb +46 -0
  4. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/azure_stack_hciclient.rb +135 -0
  5. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/clusters.rb +850 -0
  6. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/azure_entity_resource.rb +75 -0
  7. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster.rb +184 -0
  8. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_list.rb +99 -0
  9. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_node.rb +144 -0
  10. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_reported_properties.rb +105 -0
  11. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_update.rb +54 -0
  12. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/error_additional_info.rb +59 -0
  13. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/error_response.rb +47 -0
  14. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/error_response_error.rb +113 -0
  15. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/operation.rb +59 -0
  16. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/operation_display.rb +79 -0
  17. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/operation_list.rb +67 -0
  18. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/provisioning_state.rb +19 -0
  19. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/proxy_resource.rb +63 -0
  20. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/resource.rb +83 -0
  21. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/status.rb +19 -0
  22. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/tracked_resource.rb +92 -0
  23. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/module_definition.rb +9 -0
  24. data/lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/operations.rb +110 -0
  25. data/lib/azure_mgmt_azurestack_hci.rb +6 -0
  26. data/lib/module_definition.rb +7 -0
  27. data/lib/profiles/latest/azurestackhci_latest_profile_client.rb +40 -0
  28. data/lib/profiles/latest/azurestackhci_module_definition.rb +8 -0
  29. data/lib/profiles/latest/modules/azurestackhci_profile_module.rb +131 -0
  30. data/lib/version.rb +7 -0
  31. metadata +146 -0
@@ -0,0 +1,75 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AzureStackHCI::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,184 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AzureStackHCI::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Cluster details.
10
+ #
11
+ class Cluster < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ProvisioningState] Provisioning state. Possible values
16
+ # include: 'Succeeded', 'Failed', 'Canceled', 'Accepted', 'Provisioning'
17
+ attr_accessor :provisioning_state
18
+
19
+ # @return [Status] Status of the cluster agent. Possible values include:
20
+ # 'NeverConnected', 'ConnectedRecently', 'NotConnectedRecently',
21
+ # 'Expired', 'Error'
22
+ attr_accessor :status
23
+
24
+ # @return [String] Unique, immutable resource id.
25
+ attr_accessor :cloud_id
26
+
27
+ # @return [String] App id of cluster AAD identity.
28
+ attr_accessor :aad_client_id
29
+
30
+ # @return [String] Tenant id of cluster AAD identity.
31
+ attr_accessor :aad_tenant_id
32
+
33
+ # @return [ClusterReportedProperties] Properties reported by cluster
34
+ # agent.
35
+ attr_accessor :reported_properties
36
+
37
+ # @return [Float] Number of days remaining in the trial period.
38
+ attr_accessor :trial_days_remaining
39
+
40
+ # @return [String] Type of billing applied to the resource.
41
+ attr_accessor :billing_model
42
+
43
+
44
+ #
45
+ # Mapper for Cluster class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'Cluster',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'Cluster',
56
+ model_properties: {
57
+ id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'id',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ name: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'name',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ type: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'type',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ tags: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'tags',
88
+ type: {
89
+ name: 'Dictionary',
90
+ value: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'StringElementType',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ }
98
+ }
99
+ },
100
+ location: {
101
+ client_side_validation: true,
102
+ required: true,
103
+ serialized_name: 'location',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ provisioning_state: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ read_only: true,
112
+ serialized_name: 'properties.provisioningState',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ status: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ read_only: true,
121
+ serialized_name: 'properties.status',
122
+ type: {
123
+ name: 'String'
124
+ }
125
+ },
126
+ cloud_id: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ read_only: true,
130
+ serialized_name: 'properties.cloudId',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ aad_client_id: {
136
+ client_side_validation: true,
137
+ required: true,
138
+ serialized_name: 'properties.aadClientId',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ aad_tenant_id: {
144
+ client_side_validation: true,
145
+ required: true,
146
+ serialized_name: 'properties.aadTenantId',
147
+ type: {
148
+ name: 'String'
149
+ }
150
+ },
151
+ reported_properties: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ serialized_name: 'properties.reportedProperties',
155
+ type: {
156
+ name: 'Composite',
157
+ class_name: 'ClusterReportedProperties'
158
+ }
159
+ },
160
+ trial_days_remaining: {
161
+ client_side_validation: true,
162
+ required: false,
163
+ read_only: true,
164
+ serialized_name: 'properties.trialDaysRemaining',
165
+ type: {
166
+ name: 'Double'
167
+ }
168
+ },
169
+ billing_model: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ read_only: true,
173
+ serialized_name: 'properties.billingModel',
174
+ type: {
175
+ name: 'String'
176
+ }
177
+ }
178
+ }
179
+ }
180
+ }
181
+ end
182
+ end
183
+ end
184
+ end
@@ -0,0 +1,99 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AzureStackHCI::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # List of clusters.
10
+ #
11
+ class ClusterList
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<Cluster>] List of clusters.
17
+ attr_accessor :value
18
+
19
+ # @return [String] Link to the next set of results.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<Cluster>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [ClusterList] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for ClusterList class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'ClusterList',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'ClusterList',
66
+ model_properties: {
67
+ value: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'value',
71
+ type: {
72
+ name: 'Sequence',
73
+ element: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'ClusterElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'Cluster'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ next_link: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,144 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::AzureStackHCI::Mgmt::V2020_03_01_preview
7
+ module Models
8
+ #
9
+ # Cluster node details.
10
+ #
11
+ class ClusterNode
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the cluster node.
16
+ attr_accessor :name
17
+
18
+ # @return [Float] Id of the node in the cluster.
19
+ attr_accessor :id
20
+
21
+ # @return [String] Manufacturer of the cluster node hardware.
22
+ attr_accessor :manufacturer
23
+
24
+ # @return [String] Model name of the cluster node hardware.
25
+ attr_accessor :model
26
+
27
+ # @return [String] Operating system running on the cluster node.
28
+ attr_accessor :os_name
29
+
30
+ # @return [String] Version of the operating system running on the cluster
31
+ # node.
32
+ attr_accessor :os_version
33
+
34
+ # @return [String] Immutable id of the cluster node.
35
+ attr_accessor :serial_number
36
+
37
+ # @return [Float] Number of physical cores on the cluster node.
38
+ attr_accessor :core_count
39
+
40
+ # @return [Float] Total available memory on the cluster node (in GiB).
41
+ attr_accessor :memory_in_gi_b
42
+
43
+
44
+ #
45
+ # Mapper for ClusterNode class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'ClusterNode',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'ClusterNode',
56
+ model_properties: {
57
+ name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ id: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'id',
71
+ type: {
72
+ name: 'Double'
73
+ }
74
+ },
75
+ manufacturer: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'manufacturer',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ model: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'model',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ os_name: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'osName',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ os_version: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ read_only: true,
106
+ serialized_name: 'osVersion',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ serial_number: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'serialNumber',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ core_count: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ read_only: true,
124
+ serialized_name: 'coreCount',
125
+ type: {
126
+ name: 'Double'
127
+ }
128
+ },
129
+ memory_in_gi_b: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ read_only: true,
133
+ serialized_name: 'memoryInGiB',
134
+ type: {
135
+ name: 'Double'
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ end
142
+ end
143
+ end
144
+ end