Class: Azure::Profiles::Latest::StorSimple8000Series::Mgmt::StorSimple8000SeriesManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::StorSimple8000Series::Mgmt::StorSimple8000SeriesManagementClass
- Defined in:
- lib/latest/modules/storsimple8000series_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#access_control_records ⇒ Object
readonly
Returns the value of attribute access_control_records.
-
#alerts ⇒ Object
readonly
Returns the value of attribute alerts.
-
#backup_policies ⇒ Object
readonly
Returns the value of attribute backup_policies.
-
#backup_schedules ⇒ Object
readonly
Returns the value of attribute backup_schedules.
-
#backups ⇒ Object
readonly
Returns the value of attribute backups.
-
#bandwidth_settings ⇒ Object
readonly
Returns the value of attribute bandwidth_settings.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#cloud_appliances ⇒ Object
readonly
Returns the value of attribute cloud_appliances.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#device_settings ⇒ Object
readonly
Returns the value of attribute device_settings.
-
#devices ⇒ Object
readonly
Returns the value of attribute devices.
-
#hardware_component_groups ⇒ Object
readonly
Returns the value of attribute hardware_component_groups.
-
#jobs ⇒ Object
readonly
Returns the value of attribute jobs.
-
#managers ⇒ Object
readonly
Returns the value of attribute managers.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#storage_account_credentials ⇒ Object
readonly
Returns the value of attribute storage_account_credentials.
-
#volume_containers ⇒ Object
readonly
Returns the value of attribute volume_containers.
-
#volumes ⇒ Object
readonly
Returns the value of attribute volumes.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ StorSimple8000SeriesManagementClass
constructor
A new instance of StorSimple8000SeriesManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ StorSimple8000SeriesManagementClass
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 192 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, = configurable, base_url, @client_0 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorSimple8000SeriesManagementClient.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 @managers = @client_0.managers @access_control_records = @client_0.access_control_records @alerts = @client_0.alerts @bandwidth_settings = @client_0.bandwidth_settings @cloud_appliances = @client_0.cloud_appliances @devices = @client_0.devices @device_settings = @client_0.device_settings @backup_policies = @client_0.backup_policies @backup_schedules = @client_0.backup_schedules @backups = @client_0.backups @hardware_component_groups = @client_0.hardware_component_groups @jobs = @client_0.jobs @volume_containers = @client_0.volume_containers @volumes = @client_0.volumes @storage_account_credentials = @client_0.storage_account_credentials @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
225 226 227 228 229 230 231 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 225 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#access_control_records ⇒ Object (readonly)
Returns the value of attribute access_control_records.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def access_control_records @access_control_records end |
#alerts ⇒ Object (readonly)
Returns the value of attribute alerts.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def alerts @alerts end |
#backup_policies ⇒ Object (readonly)
Returns the value of attribute backup_policies.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def backup_policies @backup_policies end |
#backup_schedules ⇒ Object (readonly)
Returns the value of attribute backup_schedules.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def backup_schedules @backup_schedules end |
#backups ⇒ Object (readonly)
Returns the value of attribute backups.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def backups @backups end |
#bandwidth_settings ⇒ Object (readonly)
Returns the value of attribute bandwidth_settings.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def bandwidth_settings @bandwidth_settings end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def base_url @base_url end |
#cloud_appliances ⇒ Object (readonly)
Returns the value of attribute cloud_appliances.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def cloud_appliances @cloud_appliances end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def configurable @configurable end |
#device_settings ⇒ Object (readonly)
Returns the value of attribute device_settings.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def device_settings @device_settings end |
#devices ⇒ Object (readonly)
Returns the value of attribute devices.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def devices @devices end |
#hardware_component_groups ⇒ Object (readonly)
Returns the value of attribute hardware_component_groups.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def hardware_component_groups @hardware_component_groups end |
#jobs ⇒ Object (readonly)
Returns the value of attribute jobs.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def jobs @jobs end |
#managers ⇒ Object (readonly)
Returns the value of attribute managers.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def managers @managers end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def end |
#storage_account_credentials ⇒ Object (readonly)
Returns the value of attribute storage_account_credentials.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def storage_account_credentials @storage_account_credentials end |
#volume_containers ⇒ Object (readonly)
Returns the value of attribute volume_containers.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def volume_containers @volume_containers end |
#volumes ⇒ Object (readonly)
Returns the value of attribute volumes.
190 191 192 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190 def volumes @volumes end |
Instance Method Details
#add_telemetry(client) ⇒ Object
220 221 222 223 |
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 220 def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/StorSimple8000Series/Mgmt" client.add_user_agent_information(profile_information) end |