azure_mgmt_hanaonazure 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure.rb +47 -0
  4. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_instances.rb +942 -0
  5. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_management_client.rb +137 -0
  6. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb +72 -0
  7. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/display.rb +108 -0
  8. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/error_response.rb +57 -0
  9. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_hardware_type_names_enum.rb +16 -0
  10. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb +190 -0
  11. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_power_state_enum.rb +20 -0
  12. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_size_names_enum.rb +32 -0
  13. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instances_list_result.rb +98 -0
  14. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hardware_profile.rb +63 -0
  15. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/ip_address.rb +47 -0
  16. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/monitoring_details.rb +104 -0
  17. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/network_profile.rb +69 -0
  18. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/operation.rb +61 -0
  19. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/operation_list.rb +55 -0
  20. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb +72 -0
  21. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/resource.rb +112 -0
  22. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/storage_profile.rb +68 -0
  23. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/tags.rb +54 -0
  24. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/module_definition.rb +9 -0
  25. data/lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/operations.rb +107 -0
  26. data/lib/azure_mgmt_hanaonazure.rb +6 -0
  27. data/lib/module_definition.rb +7 -0
  28. data/lib/profiles/latest/hanaonazure_latest_profile_client.rb +40 -0
  29. data/lib/profiles/latest/hanaonazure_module_definition.rb +8 -0
  30. data/lib/profiles/latest/modules/hanaonazure_profile_module.rb +135 -0
  31. data/lib/version.rb +7 -0
  32. metadata +147 -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 '2017-11-03-preview/generated/azure_mgmt_hanaonazure'
6
+ require 'profiles/latest/hanaonazure_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::Hanaonazure end
7
+ module Azure::Hanaonazure::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/hanaonazure_module_definition'
6
+ require 'profiles/latest/modules/hanaonazure_profile_module'
7
+
8
+ module Azure::Hanaonazure::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < HanaonazureManagementClass
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::Hanaonazure end
7
+ module Azure::Hanaonazure::Profiles end
8
+ module Azure::Hanaonazure::Profiles::Latest end
@@ -0,0 +1,135 @@
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_hanaonazure'
6
+
7
+ module Azure::Hanaonazure::Profiles::Latest
8
+ module Mgmt
9
+ Operations = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Operations
10
+ HanaInstances = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::HanaInstances
11
+
12
+ module Models
13
+ Resource = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Resource
14
+ HanaInstancesListResult = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancesListResult
15
+ Disk = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
16
+ Display = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Display
17
+ OSProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile
18
+ Operation = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Operation
19
+ NetworkProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::NetworkProfile
20
+ OperationList = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OperationList
21
+ StorageProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::StorageProfile
22
+ ErrorResponse = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::ErrorResponse
23
+ HardwareProfile = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HardwareProfile
24
+ Tags = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Tags
25
+ IpAddress = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::IpAddress
26
+ MonitoringDetails = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails
27
+ HanaInstance = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance
28
+ HanaHardwareTypeNamesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaHardwareTypeNamesEnum
29
+ HanaInstanceSizeNamesEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstanceSizeNamesEnum
30
+ HanaInstancePowerStateEnum = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancePowerStateEnum
31
+ end
32
+
33
+ #
34
+ # HanaonazureManagementClass
35
+ #
36
+ class HanaonazureManagementClass
37
+ attr_reader :operations, :hana_instances, :configurable, :base_url, :options, :model_classes
38
+
39
+ def initialize(options = {})
40
+ if options.is_a?(Hash) && options.length == 0
41
+ @options = setup_default_options
42
+ else
43
+ @options = options
44
+ end
45
+
46
+ reset!(options)
47
+
48
+ @configurable = self
49
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
50
+ @options = options[:options].nil? ? nil:options[:options]
51
+
52
+ @client_0 = Azure::Hanaonazure::Mgmt::V2017_11_03_preview::HanaManagementClient.new(configurable.credentials, base_url, options)
53
+ if(@client_0.respond_to?(:subscription_id))
54
+ @client_0.subscription_id = configurable.subscription_id
55
+ end
56
+ add_telemetry(@client_0)
57
+ @operations = @client_0.operations
58
+ @hana_instances = @client_0.hana_instances
59
+
60
+ @model_classes = ModelClasses.new
61
+ end
62
+
63
+ def add_telemetry(client)
64
+ profile_information = 'Profiles/Latest/Hanaonazure/Mgmt'
65
+ client.add_user_agent_information(profile_information)
66
+ end
67
+
68
+ def method_missing(method, *args)
69
+ if @client_0.respond_to?method
70
+ @client_0.send(method, *args)
71
+ else
72
+ super
73
+ end
74
+ end
75
+
76
+ end
77
+
78
+ class ModelClasses
79
+ def resource
80
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Resource
81
+ end
82
+ def hana_instances_list_result
83
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancesListResult
84
+ end
85
+ def disk
86
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
87
+ end
88
+ def display
89
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Display
90
+ end
91
+ def osprofile
92
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OSProfile
93
+ end
94
+ def operation
95
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Operation
96
+ end
97
+ def network_profile
98
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::NetworkProfile
99
+ end
100
+ def operation_list
101
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::OperationList
102
+ end
103
+ def storage_profile
104
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::StorageProfile
105
+ end
106
+ def error_response
107
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::ErrorResponse
108
+ end
109
+ def hardware_profile
110
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HardwareProfile
111
+ end
112
+ def tags
113
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Tags
114
+ end
115
+ def ip_address
116
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::IpAddress
117
+ end
118
+ def monitoring_details
119
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::MonitoringDetails
120
+ end
121
+ def hana_instance
122
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance
123
+ end
124
+ def hana_hardware_type_names_enum
125
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaHardwareTypeNamesEnum
126
+ end
127
+ def hana_instance_size_names_enum
128
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstanceSizeNamesEnum
129
+ end
130
+ def hana_instance_power_state_enum
131
+ Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstancePowerStateEnum
132
+ end
133
+ end
134
+ end
135
+ 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::Hanaonazure::Mgmt
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_hanaonazure
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: 2019-05-03 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.11.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.11.0
83
+ description:
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure.rb
91
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_instances.rb
92
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/hana_management_client.rb
93
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb
94
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/display.rb
95
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/error_response.rb
96
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_hardware_type_names_enum.rb
97
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb
98
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_power_state_enum.rb
99
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance_size_names_enum.rb
100
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instances_list_result.rb
101
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hardware_profile.rb
102
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/ip_address.rb
103
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/monitoring_details.rb
104
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/network_profile.rb
105
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/operation.rb
106
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/operation_list.rb
107
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/osprofile.rb
108
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/resource.rb
109
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/storage_profile.rb
110
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/tags.rb
111
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/module_definition.rb
112
+ - lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/operations.rb
113
+ - lib/azure_mgmt_hanaonazure.rb
114
+ - lib/module_definition.rb
115
+ - lib/profiles/latest/hanaonazure_latest_profile_client.rb
116
+ - lib/profiles/latest/hanaonazure_module_definition.rb
117
+ - lib/profiles/latest/modules/hanaonazure_profile_module.rb
118
+ - lib/version.rb
119
+ homepage: https://aka.ms/azure-sdk-for-ruby
120
+ licenses:
121
+ - MIT
122
+ metadata:
123
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
124
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
125
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
126
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
127
+ post_install_message:
128
+ rdoc_options: []
129
+ require_paths:
130
+ - lib
131
+ required_ruby_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 2.0.0
136
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ requirements: []
142
+ rubyforge_project:
143
+ rubygems_version: 2.5.1
144
+ signing_key:
145
+ specification_version: 4
146
+ summary: Official Ruby client library to consume Hanaonazure
147
+ test_files: []