Class: Azure::Profiles::V2020_09_01_Hybrid::Web::Mgmt::WebManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2020_09_01_Hybrid::Web::Mgmt::WebManagementClass
- Defined in:
- lib/v2020_09_01_hybrid/modules/web_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#app_service_certificate_orders ⇒ Object
readonly
Returns the value of attribute app_service_certificate_orders.
-
#app_service_environments ⇒ Object
readonly
Returns the value of attribute app_service_environments.
-
#app_service_plans ⇒ Object
readonly
Returns the value of attribute app_service_plans.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#billing_meters ⇒ Object
readonly
Returns the value of attribute billing_meters.
-
#certificate_registration_provider ⇒ Object
readonly
Returns the value of attribute certificate_registration_provider.
-
#certificates ⇒ Object
readonly
Returns the value of attribute certificates.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#deleted_web_apps ⇒ Object
readonly
Returns the value of attribute deleted_web_apps.
-
#diagnostics ⇒ Object
readonly
Returns the value of attribute diagnostics.
-
#domain_registration_provider ⇒ Object
readonly
Returns the value of attribute domain_registration_provider.
-
#domains ⇒ Object
readonly
Returns the value of attribute domains.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#recommendations ⇒ Object
readonly
Returns the value of attribute recommendations.
-
#resource_health_metadata_operations ⇒ Object
readonly
Returns the value of attribute resource_health_metadata_operations.
-
#top_level_domains ⇒ Object
readonly
Returns the value of attribute top_level_domains.
-
#web_apps ⇒ Object
readonly
Returns the value of attribute web_apps.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ WebManagementClass
constructor
A new instance of WebManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ WebManagementClass
Returns a new instance of WebManagementClass.
370 371 372 373 374 375 376 377 378 379 380 381 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 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 370 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::Web::Mgmt::V2016_03_01::WebSiteManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @billing_meters = @client_0.billing_meters @client_1 = Azure::Web::Mgmt::V2016_09_01::WebSiteManagementClient.new(configurable.credentials, base_url, ) if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) @client_2 = Azure::Web::Mgmt::V2018_02_01::WebSiteManagementClient.new(configurable.credentials, base_url, ) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) @app_service_certificate_orders = @client_2.app_service_certificate_orders @certificate_registration_provider = @client_2.certificate_registration_provider @domains = @client_2.domains @top_level_domains = @client_2.top_level_domains @domain_registration_provider = @client_2.domain_registration_provider @certificates = @client_2.certificates @deleted_web_apps = @client_2.deleted_web_apps @diagnostics = @client_2.diagnostics @provider = @client_2.provider @recommendations = @client_2.recommendations @web_apps = @client_2.web_apps @app_service_environments = @client_2.app_service_environments @app_service_plans = @client_2.app_service_plans @resource_health_metadata_operations = @client_2. @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
414 415 416 417 418 419 420 421 422 423 424 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 414 def method_missing(method, *args) if @client_2.respond_to?method @client_2.send(method, *args) elsif @client_1.respond_to?method @client_1.send(method, *args) elsif @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#app_service_certificate_orders ⇒ Object (readonly)
Returns the value of attribute app_service_certificate_orders.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def app_service_certificate_orders @app_service_certificate_orders end |
#app_service_environments ⇒ Object (readonly)
Returns the value of attribute app_service_environments.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def app_service_environments @app_service_environments end |
#app_service_plans ⇒ Object (readonly)
Returns the value of attribute app_service_plans.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def app_service_plans @app_service_plans end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def base_url @base_url end |
#billing_meters ⇒ Object (readonly)
Returns the value of attribute billing_meters.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def billing_meters @billing_meters end |
#certificate_registration_provider ⇒ Object (readonly)
Returns the value of attribute certificate_registration_provider.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def certificate_registration_provider @certificate_registration_provider end |
#certificates ⇒ Object (readonly)
Returns the value of attribute certificates.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def certificates @certificates end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def configurable @configurable end |
#deleted_web_apps ⇒ Object (readonly)
Returns the value of attribute deleted_web_apps.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def deleted_web_apps @deleted_web_apps end |
#diagnostics ⇒ Object (readonly)
Returns the value of attribute diagnostics.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def diagnostics @diagnostics end |
#domain_registration_provider ⇒ Object (readonly)
Returns the value of attribute domain_registration_provider.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def domain_registration_provider @domain_registration_provider end |
#domains ⇒ Object (readonly)
Returns the value of attribute domains.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def domains @domains end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def @options end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def provider @provider end |
#recommendations ⇒ Object (readonly)
Returns the value of attribute recommendations.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def recommendations @recommendations end |
#resource_health_metadata_operations ⇒ Object (readonly)
Returns the value of attribute resource_health_metadata_operations.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def @resource_health_metadata_operations end |
#top_level_domains ⇒ Object (readonly)
Returns the value of attribute top_level_domains.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def top_level_domains @top_level_domains end |
#web_apps ⇒ Object (readonly)
Returns the value of attribute web_apps.
368 369 370 |
# File 'lib/v2020_09_01_hybrid/modules/web_profile_module.rb', line 368 def web_apps @web_apps end |