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,6 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require '2020-03-01-preview/generated/azure_mgmt_azurestack_hci'
6
+ require 'profiles/latest/azurestackhci_latest_profile_client'
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::AzurestackHci end
7
+ module Azure::AzurestackHci::Mgmt end
@@ -0,0 +1,40 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/azurestackhci_module_definition'
6
+ require 'profiles/latest/modules/azurestackhci_profile_module'
7
+
8
+ module Azure::AzureStackHCI::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < AzureStackHCIManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::AzureStackHCI end
7
+ module Azure::AzureStackHCI::Profiles end
8
+ module Azure::AzureStackHCI::Profiles::Latest end
@@ -0,0 +1,131 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_mgmt_azurestack_hci'
6
+
7
+ module Azure::AzureStackHCI::Profiles::Latest
8
+ module Mgmt
9
+ Operations = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Operations
10
+ Clusters = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Clusters
11
+
12
+ module Models
13
+ OperationList = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationList
14
+ Operation = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Operation
15
+ ClusterNode = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterNode
16
+ ErrorAdditionalInfo = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorAdditionalInfo
17
+ ClusterList = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterList
18
+ OperationDisplay = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationDisplay
19
+ ErrorResponse = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponse
20
+ ClusterUpdate = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterUpdate
21
+ Resource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Resource
22
+ ClusterReportedProperties = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterReportedProperties
23
+ ErrorResponseError = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponseError
24
+ Cluster = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Cluster
25
+ ProxyResource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProxyResource
26
+ AzureEntityResource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::AzureEntityResource
27
+ TrackedResource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::TrackedResource
28
+ ProvisioningState = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProvisioningState
29
+ Status = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Status
30
+ end
31
+
32
+ #
33
+ # AzureStackHCIManagementClass
34
+ #
35
+ class AzureStackHCIManagementClass
36
+ attr_reader :operations, :clusters, :configurable, :base_url, :options, :model_classes
37
+
38
+ def initialize(options = {})
39
+ if options.is_a?(Hash) && options.length == 0
40
+ @options = setup_default_options
41
+ else
42
+ @options = options
43
+ end
44
+
45
+ reset!(options)
46
+
47
+ @configurable = self
48
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
49
+ @options = options[:options].nil? ? nil:options[:options]
50
+
51
+ @client_0 = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::AzureStackHCIClient.new(configurable.credentials, base_url, options)
52
+ if(@client_0.respond_to?(:subscription_id))
53
+ @client_0.subscription_id = configurable.subscription_id
54
+ end
55
+ add_telemetry(@client_0)
56
+ @operations = @client_0.operations
57
+ @clusters = @client_0.clusters
58
+
59
+ @model_classes = ModelClasses.new
60
+ end
61
+
62
+ def add_telemetry(client)
63
+ profile_information = 'Profiles/Latest/AzureStackHCI/Mgmt'
64
+ client.add_user_agent_information(profile_information)
65
+ end
66
+
67
+ def method_missing(method, *args)
68
+ if @client_0.respond_to?method
69
+ @client_0.send(method, *args)
70
+ else
71
+ super
72
+ end
73
+ end
74
+
75
+ end
76
+
77
+ class ModelClasses
78
+ def operation_list
79
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationList
80
+ end
81
+ def operation
82
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Operation
83
+ end
84
+ def cluster_node
85
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterNode
86
+ end
87
+ def error_additional_info
88
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorAdditionalInfo
89
+ end
90
+ def cluster_list
91
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterList
92
+ end
93
+ def operation_display
94
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationDisplay
95
+ end
96
+ def error_response
97
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponse
98
+ end
99
+ def cluster_update
100
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterUpdate
101
+ end
102
+ def resource
103
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Resource
104
+ end
105
+ def cluster_reported_properties
106
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterReportedProperties
107
+ end
108
+ def error_response_error
109
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponseError
110
+ end
111
+ def cluster
112
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Cluster
113
+ end
114
+ def proxy_resource
115
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProxyResource
116
+ end
117
+ def azure_entity_resource
118
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::AzureEntityResource
119
+ end
120
+ def tracked_resource
121
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::TrackedResource
122
+ end
123
+ def provisioning_state
124
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProvisioningState
125
+ end
126
+ def status
127
+ Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Status
128
+ end
129
+ end
130
+ end
131
+ end
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::AzurestackHci::Mgmt
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_azurestack_hci
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.17.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ms_rest_azure
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.12.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.12.0
83
+ description:
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci.rb
91
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/azure_stack_hciclient.rb
92
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/clusters.rb
93
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/azure_entity_resource.rb
94
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster.rb
95
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_list.rb
96
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_node.rb
97
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_reported_properties.rb
98
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/cluster_update.rb
99
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/error_additional_info.rb
100
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/error_response.rb
101
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/error_response_error.rb
102
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/operation.rb
103
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/operation_display.rb
104
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/operation_list.rb
105
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/provisioning_state.rb
106
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/proxy_resource.rb
107
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/resource.rb
108
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/status.rb
109
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/models/tracked_resource.rb
110
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/module_definition.rb
111
+ - lib/2020-03-01-preview/generated/azure_mgmt_azurestack_hci/operations.rb
112
+ - lib/azure_mgmt_azurestack_hci.rb
113
+ - lib/module_definition.rb
114
+ - lib/profiles/latest/azurestackhci_latest_profile_client.rb
115
+ - lib/profiles/latest/azurestackhci_module_definition.rb
116
+ - lib/profiles/latest/modules/azurestackhci_profile_module.rb
117
+ - lib/version.rb
118
+ homepage: https://aka.ms/azure-sdk-for-ruby
119
+ licenses:
120
+ - MIT
121
+ metadata:
122
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
123
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
124
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
125
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: 2.0.0
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubyforge_project:
142
+ rubygems_version: 2.7.8
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: Official Ruby client library to consume AzurestackHci
146
+ test_files: []