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,105 @@
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
+ # Properties reported by cluster agent.
10
+ #
11
+ class ClusterReportedProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the on-prem cluster connected to this
16
+ # resource.
17
+ attr_accessor :cluster_name
18
+
19
+ # @return [String] Unique id generated by the on-prem cluster.
20
+ attr_accessor :cluster_id
21
+
22
+ # @return [String] Version of the cluster software.
23
+ attr_accessor :cluster_version
24
+
25
+ # @return [Array<ClusterNode>] List of nodes reported by the cluster.
26
+ attr_accessor :nodes
27
+
28
+ # @return [DateTime] Last time the cluster reported the data.
29
+ attr_accessor :last_updated
30
+
31
+
32
+ #
33
+ # Mapper for ClusterReportedProperties class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'ClusterReportedProperties',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'ClusterReportedProperties',
44
+ model_properties: {
45
+ cluster_name: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'clusterName',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ cluster_id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'clusterId',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ cluster_version: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'clusterVersion',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ nodes: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'nodes',
77
+ type: {
78
+ name: 'Sequence',
79
+ element: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'ClusterNodeElementType',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'ClusterNode'
86
+ }
87
+ }
88
+ }
89
+ },
90
+ last_updated: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ read_only: true,
94
+ serialized_name: 'lastUpdated',
95
+ type: {
96
+ name: 'DateTime'
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ end
103
+ end
104
+ end
105
+ end
@@ -0,0 +1,54 @@
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 to update.
10
+ #
11
+ class ClusterUpdate
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags.
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for ClusterUpdate class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ClusterUpdate',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ClusterUpdate',
31
+ model_properties: {
32
+ tags: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'tags',
36
+ type: {
37
+ name: 'Dictionary',
38
+ value: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,59 @@
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 management error additional info.
10
+ #
11
+ class ErrorAdditionalInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The additional info type.
16
+ attr_accessor :type
17
+
18
+ # @return The additional info.
19
+ attr_accessor :info
20
+
21
+
22
+ #
23
+ # Mapper for ErrorAdditionalInfo class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ErrorAdditionalInfo',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ErrorAdditionalInfo',
34
+ model_properties: {
35
+ type: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'type',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ info: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'info',
49
+ type: {
50
+ name: 'Object'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,47 @@
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 management error response.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ErrorResponseError] The error object.
16
+ attr_accessor :error
17
+
18
+
19
+ #
20
+ # Mapper for ErrorResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ErrorResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ErrorResponse',
31
+ model_properties: {
32
+ error: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ErrorResponseError'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,113 @@
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 error object.
10
+ #
11
+ class ErrorResponseError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] The error message.
19
+ attr_accessor :message
20
+
21
+ # @return [String] The error target.
22
+ attr_accessor :target
23
+
24
+ # @return [Array<ErrorResponse>] The error details.
25
+ attr_accessor :details
26
+
27
+ # @return [Array<ErrorAdditionalInfo>] The error additional info.
28
+ attr_accessor :additional_info
29
+
30
+
31
+ #
32
+ # Mapper for ErrorResponseError class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'ErrorResponse_error',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ErrorResponseError',
43
+ model_properties: {
44
+ code: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'code',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ message: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'message',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ target: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'target',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ details: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'details',
76
+ type: {
77
+ name: 'Sequence',
78
+ element: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'ErrorResponseElementType',
82
+ type: {
83
+ name: 'Composite',
84
+ class_name: 'ErrorResponse'
85
+ }
86
+ }
87
+ }
88
+ },
89
+ additional_info: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ read_only: true,
93
+ serialized_name: 'additionalInfo',
94
+ type: {
95
+ name: 'Sequence',
96
+ element: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'ErrorAdditionalInfoElementType',
100
+ type: {
101
+ name: 'Composite',
102
+ class_name: 'ErrorAdditionalInfo'
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ end
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,59 @@
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
+ # Operation details.
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the operation.
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplay] Operation properties.
19
+ attr_accessor :display
20
+
21
+
22
+ #
23
+ # Mapper for Operation class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'Operation',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Operation',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ display: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'display',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'OperationDisplay'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,79 @@
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
+ # Operation properties.
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource provider name.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource type name.
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Operation name.
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Operation description.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationDisplay class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'OperationDisplay',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'OperationDisplay',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'provider',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'resource',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ operation: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'operation',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ description: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'description',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end