Class: Azure::Profiles::Latest::StorSimple8000Series::Mgmt::StorSimple8000SeriesManagementClass

Inherits:
Object
  • Object
show all
Defined in:
lib/latest/modules/storsimple8000series_profile_module.rb

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  @client_0 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorSimple8000SeriesManagementClient.new(configurable.credentials, base_url, options)
  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
   = @client_0.

  @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_recordsObject (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

#alertsObject (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_policiesObject (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_schedulesObject (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

#backupsObject (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_settingsObject (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_urlObject (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_appliancesObject (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

#configurableObject (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_settingsObject (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

#devicesObject (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_groupsObject (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

#jobsObject (readonly)

Returns the value of attribute jobs.



190
191
192
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190

def jobs
  @jobs
end

#managersObject (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_classesObject (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

#operationsObject (readonly)

Returns the value of attribute operations.



190
191
192
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



190
191
192
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190

def options
  @options
end

#storage_account_credentialsObject (readonly)

Returns the value of attribute storage_account_credentials.



190
191
192
# File 'lib/latest/modules/storsimple8000series_profile_module.rb', line 190

def 
  
end

#volume_containersObject (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

#volumesObject (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