Class: Azure::Profiles::Latest::RecoveryServicesSiteRecovery::Mgmt::RecoveryServicesSiteRecoveryManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::RecoveryServicesSiteRecovery::Mgmt::RecoveryServicesSiteRecoveryManagementClass
- Defined in:
- lib/latest/modules/recoveryservicessiterecovery_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#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.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#recovery_points ⇒ Object
readonly
Returns the value of attribute recovery_points.
-
#replication_alert_settings ⇒ Object
readonly
Returns the value of attribute replication_alert_settings.
-
#replication_events ⇒ Object
readonly
Returns the value of attribute replication_events.
-
#replication_fabrics ⇒ Object
readonly
Returns the value of attribute replication_fabrics.
-
#replication_jobs ⇒ Object
readonly
Returns the value of attribute replication_jobs.
-
#replication_logical_networks ⇒ Object
readonly
Returns the value of attribute replication_logical_networks.
-
#replication_network_mappings ⇒ Object
readonly
Returns the value of attribute replication_network_mappings.
-
#replication_networks ⇒ Object
readonly
Returns the value of attribute replication_networks.
-
#replication_policies ⇒ Object
readonly
Returns the value of attribute replication_policies.
-
#replication_protectable_items ⇒ Object
readonly
Returns the value of attribute replication_protectable_items.
-
#replication_protected_items ⇒ Object
readonly
Returns the value of attribute replication_protected_items.
-
#replication_protection_container_mappings ⇒ Object
readonly
Returns the value of attribute replication_protection_container_mappings.
-
#replication_protection_containers ⇒ Object
readonly
Returns the value of attribute replication_protection_containers.
-
#replication_recovery_plans ⇒ Object
readonly
Returns the value of attribute replication_recovery_plans.
-
#replication_recovery_services_providers ⇒ Object
readonly
Returns the value of attribute replication_recovery_services_providers.
-
#replication_storage_classification_mappings ⇒ Object
readonly
Returns the value of attribute replication_storage_classification_mappings.
-
#replication_storage_classifications ⇒ Object
readonly
Returns the value of attribute replication_storage_classifications.
-
#replication_vault_health ⇒ Object
readonly
Returns the value of attribute replication_vault_health.
-
#replicationv_centers ⇒ Object
readonly
Returns the value of attribute replicationv_centers.
-
#target_compute_sizes ⇒ Object
readonly
Returns the value of attribute target_compute_sizes.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ RecoveryServicesSiteRecoveryManagementClass
constructor
A new instance of RecoveryServicesSiteRecoveryManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ RecoveryServicesSiteRecoveryManagementClass
Returns a new instance of RecoveryServicesSiteRecoveryManagementClass.
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 382 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::SiteRecoveryManagementClient.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 @replication_alert_settings = @client_0.replication_alert_settings @replication_events = @client_0.replication_events @replication_fabrics = @client_0.replication_fabrics @replication_logical_networks = @client_0.replication_logical_networks @replication_networks = @client_0.replication_networks @replication_network_mappings = @client_0.replication_network_mappings @replication_protection_containers = @client_0.replication_protection_containers @replication_protectable_items = @client_0.replication_protectable_items @replication_protected_items = @client_0.replication_protected_items @recovery_points = @client_0.recovery_points @target_compute_sizes = @client_0.target_compute_sizes @replication_protection_container_mappings = @client_0.replication_protection_container_mappings @replication_recovery_services_providers = @client_0.replication_recovery_services_providers @replication_storage_classifications = @client_0.replication_storage_classifications @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings @replicationv_centers = @client_0.replicationv_centers @replication_jobs = @client_0.replication_jobs @replication_policies = @client_0.replication_policies @replication_recovery_plans = @client_0.replication_recovery_plans @replication_vault_health = @client_0.replication_vault_health @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
420 421 422 423 424 425 426 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 420 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def @options end |
#recovery_points ⇒ Object (readonly)
Returns the value of attribute recovery_points.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def recovery_points @recovery_points end |
#replication_alert_settings ⇒ Object (readonly)
Returns the value of attribute replication_alert_settings.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_alert_settings @replication_alert_settings end |
#replication_events ⇒ Object (readonly)
Returns the value of attribute replication_events.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_events @replication_events end |
#replication_fabrics ⇒ Object (readonly)
Returns the value of attribute replication_fabrics.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_fabrics @replication_fabrics end |
#replication_jobs ⇒ Object (readonly)
Returns the value of attribute replication_jobs.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_jobs @replication_jobs end |
#replication_logical_networks ⇒ Object (readonly)
Returns the value of attribute replication_logical_networks.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_logical_networks @replication_logical_networks end |
#replication_network_mappings ⇒ Object (readonly)
Returns the value of attribute replication_network_mappings.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_network_mappings @replication_network_mappings end |
#replication_networks ⇒ Object (readonly)
Returns the value of attribute replication_networks.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_networks @replication_networks end |
#replication_policies ⇒ Object (readonly)
Returns the value of attribute replication_policies.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_policies @replication_policies end |
#replication_protectable_items ⇒ Object (readonly)
Returns the value of attribute replication_protectable_items.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_protectable_items @replication_protectable_items end |
#replication_protected_items ⇒ Object (readonly)
Returns the value of attribute replication_protected_items.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_protected_items @replication_protected_items end |
#replication_protection_container_mappings ⇒ Object (readonly)
Returns the value of attribute replication_protection_container_mappings.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_protection_container_mappings @replication_protection_container_mappings end |
#replication_protection_containers ⇒ Object (readonly)
Returns the value of attribute replication_protection_containers.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_protection_containers @replication_protection_containers end |
#replication_recovery_plans ⇒ Object (readonly)
Returns the value of attribute replication_recovery_plans.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_recovery_plans @replication_recovery_plans end |
#replication_recovery_services_providers ⇒ Object (readonly)
Returns the value of attribute replication_recovery_services_providers.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_recovery_services_providers @replication_recovery_services_providers end |
#replication_storage_classification_mappings ⇒ Object (readonly)
Returns the value of attribute replication_storage_classification_mappings.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_storage_classification_mappings @replication_storage_classification_mappings end |
#replication_storage_classifications ⇒ Object (readonly)
Returns the value of attribute replication_storage_classifications.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_storage_classifications @replication_storage_classifications end |
#replication_vault_health ⇒ Object (readonly)
Returns the value of attribute replication_vault_health.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replication_vault_health @replication_vault_health end |
#replicationv_centers ⇒ Object (readonly)
Returns the value of attribute replicationv_centers.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def replicationv_centers @replicationv_centers end |
#target_compute_sizes ⇒ Object (readonly)
Returns the value of attribute target_compute_sizes.
380 381 382 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 380 def target_compute_sizes @target_compute_sizes end |
Instance Method Details
#add_telemetry(client) ⇒ Object
415 416 417 418 |
# File 'lib/latest/modules/recoveryservicessiterecovery_profile_module.rb', line 415 def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/RecoveryServicesSiteRecovery/Mgmt" client.add_user_agent_information(profile_information) end |