azure_mgmt_netapp 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp.rb +55 -0
  4. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb +597 -0
  5. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +153 -0
  6. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool.rb +154 -0
  7. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
  8. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +46 -0
  9. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
  10. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/error.rb +57 -0
  11. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
  12. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/mount_target.rb +198 -0
  13. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/mount_target_list.rb +55 -0
  14. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account.rb +105 -0
  15. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
  16. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +46 -0
  17. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation.rb +83 -0
  18. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
  19. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
  20. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
  21. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
  22. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot.rb +150 -0
  23. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot_patch.rb +46 -0
  24. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
  25. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume.rb +179 -0
  26. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume_list.rb +55 -0
  27. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume_patch.rb +126 -0
  28. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/module_definition.rb +9 -0
  29. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/mount_targets.rb +128 -0
  30. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/operations.rb +107 -0
  31. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/pools.rb +631 -0
  32. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/snapshots.rb +664 -0
  33. data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb +650 -0
  34. data/lib/azure_mgmt_netapp.rb +6 -0
  35. data/lib/module_definition.rb +9 -0
  36. data/lib/profiles/latest/modules/netapp_profile_module.rb +159 -0
  37. data/lib/profiles/latest/netapp_latest_profile_client.rb +40 -0
  38. data/lib/profiles/latest/netapp_module_definition.rb +8 -0
  39. data/lib/version.rb +7 -0
  40. metadata +156 -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-08-15-preview/generated/azure_mgmt_netapp'
6
+ require 'profiles/latest/netapp_latest_profile_client'
@@ -0,0 +1,9 @@
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::NetApp end
7
+ module Azure::NetApp::Mgmt end
8
+
9
+
@@ -0,0 +1,159 @@
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_netapp'
6
+
7
+ module Azure::NetApp::Profiles::Latest
8
+ module Mgmt
9
+ Operations = Azure::NetApp::Mgmt::V2017_08_15_preview::Operations
10
+ Accounts = Azure::NetApp::Mgmt::V2017_08_15_preview::Accounts
11
+ Pools = Azure::NetApp::Mgmt::V2017_08_15_preview::Pools
12
+ Volumes = Azure::NetApp::Mgmt::V2017_08_15_preview::Volumes
13
+ MountTargets = Azure::NetApp::Mgmt::V2017_08_15_preview::MountTargets
14
+ Snapshots = Azure::NetApp::Mgmt::V2017_08_15_preview::Snapshots
15
+
16
+ module Models
17
+ CapacityPoolList = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::CapacityPoolList
18
+ CapacityPoolPatch = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::CapacityPoolPatch
19
+ Dimension = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Dimension
20
+ Volume = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Volume
21
+ ServiceSpecification = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::ServiceSpecification
22
+ VolumeList = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::VolumeList
23
+ OperationListResult = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::OperationListResult
24
+ VolumePatch = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::VolumePatch
25
+ NetAppAccountList = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::NetAppAccountList
26
+ MountTarget = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::MountTarget
27
+ CapacityPool = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::CapacityPool
28
+ MountTargetList = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::MountTargetList
29
+ MetricSpecification = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::MetricSpecification
30
+ Snapshot = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Snapshot
31
+ NetAppAccount = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::NetAppAccount
32
+ SnapshotsList = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::SnapshotsList
33
+ OperationDisplay = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::OperationDisplay
34
+ SnapshotPatch = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::SnapshotPatch
35
+ NetAppAccountPatch = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::NetAppAccountPatch
36
+ Error = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Error
37
+ Operation = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Operation
38
+ ServiceLevel = Azure::NetApp::Mgmt::V2017_08_15_preview::Models::ServiceLevel
39
+ end
40
+
41
+ #
42
+ # NetAppManagementClass
43
+ #
44
+ class NetAppManagementClass
45
+ attr_reader :operations, :accounts, :pools, :volumes, :mount_targets, :snapshots, :configurable, :base_url, :options, :model_classes
46
+
47
+ def initialize(options = {})
48
+ if options.is_a?(Hash) && options.length == 0
49
+ @options = setup_default_options
50
+ else
51
+ @options = options
52
+ end
53
+
54
+ reset!(options)
55
+
56
+ @configurable = self
57
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
58
+ @options = options[:options].nil? ? nil:options[:options]
59
+
60
+ @client_0 = Azure::NetApp::Mgmt::V2017_08_15_preview::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
61
+ if(@client_0.respond_to?(:subscription_id))
62
+ @client_0.subscription_id = configurable.subscription_id
63
+ end
64
+ add_telemetry(@client_0)
65
+ @operations = @client_0.operations
66
+ @accounts = @client_0.accounts
67
+ @pools = @client_0.pools
68
+ @volumes = @client_0.volumes
69
+ @mount_targets = @client_0.mount_targets
70
+ @snapshots = @client_0.snapshots
71
+
72
+ @model_classes = ModelClasses.new
73
+ end
74
+
75
+ def add_telemetry(client)
76
+ profile_information = 'Profiles/Latest/NetApp/Mgmt'
77
+ client.add_user_agent_information(profile_information)
78
+ end
79
+
80
+ def method_missing(method, *args)
81
+ if @client_0.respond_to?method
82
+ @client_0.send(method, *args)
83
+ else
84
+ super
85
+ end
86
+ end
87
+
88
+ end
89
+
90
+ class ModelClasses
91
+ def capacity_pool_list
92
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::CapacityPoolList
93
+ end
94
+ def capacity_pool_patch
95
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::CapacityPoolPatch
96
+ end
97
+ def dimension
98
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Dimension
99
+ end
100
+ def volume
101
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Volume
102
+ end
103
+ def service_specification
104
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::ServiceSpecification
105
+ end
106
+ def volume_list
107
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::VolumeList
108
+ end
109
+ def operation_list_result
110
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::OperationListResult
111
+ end
112
+ def volume_patch
113
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::VolumePatch
114
+ end
115
+ def net_app_account_list
116
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::NetAppAccountList
117
+ end
118
+ def mount_target
119
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::MountTarget
120
+ end
121
+ def capacity_pool
122
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::CapacityPool
123
+ end
124
+ def mount_target_list
125
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::MountTargetList
126
+ end
127
+ def metric_specification
128
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::MetricSpecification
129
+ end
130
+ def snapshot
131
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Snapshot
132
+ end
133
+ def net_app_account
134
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::NetAppAccount
135
+ end
136
+ def snapshots_list
137
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::SnapshotsList
138
+ end
139
+ def operation_display
140
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::OperationDisplay
141
+ end
142
+ def snapshot_patch
143
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::SnapshotPatch
144
+ end
145
+ def net_app_account_patch
146
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::NetAppAccountPatch
147
+ end
148
+ def error
149
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Error
150
+ end
151
+ def operation
152
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Operation
153
+ end
154
+ def service_level
155
+ Azure::NetApp::Mgmt::V2017_08_15_preview::Models::ServiceLevel
156
+ end
157
+ end
158
+ end
159
+ 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/netapp_module_definition'
6
+ require 'profiles/latest/modules/netapp_profile_module'
7
+
8
+ module Azure::NetApp::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < NetAppManagementClass
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::NetApp end
7
+ module Azure::NetApp::Profiles end
8
+ module Azure::NetApp::Profiles::Latest end
data/lib/version.rb ADDED
@@ -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::NetApp::Mgmt
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,156 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_netapp
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-03-04 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: Microsoft Azure NetApp Library for Ruby
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp.rb
91
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb
92
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb
93
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool.rb
94
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool_list.rb
95
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb
96
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/dimension.rb
97
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/error.rb
98
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/metric_specification.rb
99
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/mount_target.rb
100
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/mount_target_list.rb
101
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account.rb
102
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account_list.rb
103
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/net_app_account_patch.rb
104
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation.rb
105
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation_display.rb
106
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/operation_list_result.rb
107
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/service_level.rb
108
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/service_specification.rb
109
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot.rb
110
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot_patch.rb
111
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshots_list.rb
112
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume.rb
113
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume_list.rb
114
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/volume_patch.rb
115
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/module_definition.rb
116
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/mount_targets.rb
117
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/operations.rb
118
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/pools.rb
119
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/snapshots.rb
120
+ - lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb
121
+ - lib/azure_mgmt_netapp.rb
122
+ - lib/module_definition.rb
123
+ - lib/profiles/latest/modules/netapp_profile_module.rb
124
+ - lib/profiles/latest/netapp_latest_profile_client.rb
125
+ - lib/profiles/latest/netapp_module_definition.rb
126
+ - lib/version.rb
127
+ homepage: https://aka.ms/azure-sdk-for-ruby
128
+ licenses:
129
+ - MIT
130
+ metadata:
131
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
132
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
133
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
134
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
135
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_netapp
136
+ post_install_message:
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: 2.0.0
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 2.5.1
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Official Ruby client library to consume Microsoft Azure NetApp services.
156
+ test_files: []