Class: Azure::Profiles::Latest::NetApp::Mgmt::NetAppManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::NetApp::Mgmt::NetAppManagementClass
- Defined in:
- lib/latest/modules/netapp_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#account_backups ⇒ Object
readonly
Returns the value of attribute account_backups.
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
-
#backup_policies ⇒ Object
readonly
Returns the value of attribute backup_policies.
-
#backups ⇒ Object
readonly
Returns the value of attribute backups.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#net_app_resource ⇒ Object
readonly
Returns the value of attribute net_app_resource.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#pools ⇒ Object
readonly
Returns the value of attribute pools.
-
#snapshot_policies ⇒ Object
readonly
Returns the value of attribute snapshot_policies.
-
#snapshots ⇒ Object
readonly
Returns the value of attribute snapshots.
-
#vaults ⇒ Object
readonly
Returns the value of attribute vaults.
-
#volumes ⇒ Object
readonly
Returns the value of attribute volumes.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ NetAppManagementClass
constructor
A new instance of NetAppManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ NetAppManagementClass
Returns a new instance of NetAppManagementClass.
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 94 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::NetApp::Mgmt::V2020_06_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @operations = @client_0.operations @net_app_resource = @client_0.net_app_resource @accounts = @client_0.accounts @pools = @client_0.pools @volumes = @client_0.volumes @snapshots = @client_0.snapshots @snapshot_policies = @client_0.snapshot_policies @account_backups = @client_0.account_backups @backups = @client_0.backups @backup_policies = @client_0.backup_policies @vaults = @client_0.vaults @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
122 123 124 125 126 127 128 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 122 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#account_backups ⇒ Object (readonly)
Returns the value of attribute account_backups.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def account_backups @account_backups end |
#accounts ⇒ Object (readonly)
Returns the value of attribute accounts.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def accounts @accounts end |
#backup_policies ⇒ Object (readonly)
Returns the value of attribute backup_policies.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def backup_policies @backup_policies end |
#backups ⇒ Object (readonly)
Returns the value of attribute backups.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def backups @backups end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def model_classes @model_classes end |
#net_app_resource ⇒ Object (readonly)
Returns the value of attribute net_app_resource.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def net_app_resource @net_app_resource end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def @options end |
#pools ⇒ Object (readonly)
Returns the value of attribute pools.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def pools @pools end |
#snapshot_policies ⇒ Object (readonly)
Returns the value of attribute snapshot_policies.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def snapshot_policies @snapshot_policies end |
#snapshots ⇒ Object (readonly)
Returns the value of attribute snapshots.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def snapshots @snapshots end |
#vaults ⇒ Object (readonly)
Returns the value of attribute vaults.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def vaults @vaults end |
#volumes ⇒ Object (readonly)
Returns the value of attribute volumes.
92 93 94 |
# File 'lib/latest/modules/netapp_profile_module.rb', line 92 def volumes @volumes end |