Class: Azure::Profiles::V2018_03_01::Web::Mgmt::WebManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::V2018_03_01::Web::Mgmt::WebManagementClass
- Defined in:
- lib/v2018_03_01/modules/web_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#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.
-
#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.
-
#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.
-
#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.
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 312 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) @certificates = @client_0.certificates @deleted_web_apps = @client_0.deleted_web_apps @diagnostics = @client_0.diagnostics @provider = @client_0.provider @recommendations = @client_0.recommendations @resource_health_metadata_operations = @client_0. @billing_meters = @client_0.billing_meters @client_1 = Azure::Web::Mgmt::V2016_08_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) @web_apps = @client_1.web_apps @client_2 = Azure::Web::Mgmt::V2016_09_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_environments = @client_2.app_service_environments @app_service_plans = @client_2.app_service_plans @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
351 352 353 354 355 356 357 358 359 360 361 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 351 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_environments ⇒ Object (readonly)
Returns the value of attribute app_service_environments.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def app_service_environments @app_service_environments end |
#app_service_plans ⇒ Object (readonly)
Returns the value of attribute app_service_plans.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def app_service_plans @app_service_plans end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def base_url @base_url end |
#billing_meters ⇒ Object (readonly)
Returns the value of attribute billing_meters.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def billing_meters @billing_meters end |
#certificates ⇒ Object (readonly)
Returns the value of attribute certificates.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def certificates @certificates end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def configurable @configurable end |
#deleted_web_apps ⇒ Object (readonly)
Returns the value of attribute deleted_web_apps.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def deleted_web_apps @deleted_web_apps end |
#diagnostics ⇒ Object (readonly)
Returns the value of attribute diagnostics.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def diagnostics @diagnostics end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def @options end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def provider @provider end |
#recommendations ⇒ Object (readonly)
Returns the value of attribute recommendations.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def recommendations @recommendations end |
#resource_health_metadata_operations ⇒ Object (readonly)
Returns the value of attribute resource_health_metadata_operations.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def @resource_health_metadata_operations end |
#web_apps ⇒ Object (readonly)
Returns the value of attribute web_apps.
310 311 312 |
# File 'lib/v2018_03_01/modules/web_profile_module.rb', line 310 def web_apps @web_apps end |