Class: Azure::CDN::Profiles::Latest::Mgmt::CDNManagementClass
- Inherits:
-
Object
- Object
- Azure::CDN::Profiles::Latest::Mgmt::CDNManagementClass
- Defined in:
- lib/profiles/latest/modules/cdn_profile_module.rb
Overview
CDNManagementClass
Direct Known Subclasses
Instance Attribute Summary collapse
-
#afdcustom_domains ⇒ Object
readonly
Returns the value of attribute afdcustom_domains.
-
#afdendpoints ⇒ Object
readonly
Returns the value of attribute afdendpoints.
-
#afdorigin_groups ⇒ Object
readonly
Returns the value of attribute afdorigin_groups.
-
#afdorigins ⇒ Object
readonly
Returns the value of attribute afdorigins.
-
#afdprofiles ⇒ Object
readonly
Returns the value of attribute afdprofiles.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#custom_domains ⇒ Object
readonly
Returns the value of attribute custom_domains.
-
#edge_nodes ⇒ Object
readonly
Returns the value of attribute edge_nodes.
-
#endpoints ⇒ Object
readonly
Returns the value of attribute endpoints.
-
#log_analytics ⇒ Object
readonly
Returns the value of attribute log_analytics.
-
#managed_rule_sets ⇒ Object
readonly
Returns the value of attribute managed_rule_sets.
-
#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.
-
#origin_groups ⇒ Object
readonly
Returns the value of attribute origin_groups.
-
#origins ⇒ Object
readonly
Returns the value of attribute origins.
-
#policies ⇒ Object
readonly
Returns the value of attribute policies.
-
#profiles ⇒ Object
readonly
Returns the value of attribute profiles.
-
#resource_usage_operations ⇒ Object
readonly
Returns the value of attribute resource_usage_operations.
-
#routes ⇒ Object
readonly
Returns the value of attribute routes.
-
#rule_sets ⇒ Object
readonly
Returns the value of attribute rule_sets.
-
#rules ⇒ Object
readonly
Returns the value of attribute rules.
-
#secrets ⇒ Object
readonly
Returns the value of attribute secrets.
-
#security_policies ⇒ Object
readonly
Returns the value of attribute security_policies.
-
#validate ⇒ Object
readonly
Returns the value of attribute validate.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(options = {}) ⇒ CDNManagementClass
constructor
A new instance of CDNManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ CDNManagementClass
Returns a new instance of CDNManagementClass.
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 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 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 296 def initialize( = {}) if .is_a?(Hash) && .length == 0 @options = else @options = end reset!() @configurable = self @base_url = [:base_url].nil? ? nil:[:base_url] @options = [:options].nil? ? nil:[:options] @client_0 = Azure::CDN::Mgmt::V2020_09_01::CdnManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @profiles = @client_0.profiles @endpoints = @client_0.endpoints @origins = @client_0.origins @origin_groups = @client_0.origin_groups @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations @operations = @client_0.operations @edge_nodes = @client_0.edge_nodes @afdprofiles = @client_0.afdprofiles @afdcustom_domains = @client_0.afdcustom_domains @afdendpoints = @client_0.afdendpoints @afdorigin_groups = @client_0.afdorigin_groups @afdorigins = @client_0.afdorigins @routes = @client_0.routes @rule_sets = @client_0.rule_sets @rules = @client_0.rules @security_policies = @client_0.security_policies @secrets = @client_0.secrets @validate = @client_0.validate @log_analytics = @client_0.log_analytics @policies = @client_0.policies @managed_rule_sets = @client_0.managed_rule_sets @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
345 346 347 348 349 350 351 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 345 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#afdcustom_domains ⇒ Object (readonly)
Returns the value of attribute afdcustom_domains.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def afdcustom_domains @afdcustom_domains end |
#afdendpoints ⇒ Object (readonly)
Returns the value of attribute afdendpoints.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def afdendpoints @afdendpoints end |
#afdorigin_groups ⇒ Object (readonly)
Returns the value of attribute afdorigin_groups.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def afdorigin_groups @afdorigin_groups end |
#afdorigins ⇒ Object (readonly)
Returns the value of attribute afdorigins.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def afdorigins @afdorigins end |
#afdprofiles ⇒ Object (readonly)
Returns the value of attribute afdprofiles.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def afdprofiles @afdprofiles end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def configurable @configurable end |
#custom_domains ⇒ Object (readonly)
Returns the value of attribute custom_domains.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def custom_domains @custom_domains end |
#edge_nodes ⇒ Object (readonly)
Returns the value of attribute edge_nodes.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def edge_nodes @edge_nodes end |
#endpoints ⇒ Object (readonly)
Returns the value of attribute endpoints.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def endpoints @endpoints end |
#log_analytics ⇒ Object (readonly)
Returns the value of attribute log_analytics.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def log_analytics @log_analytics end |
#managed_rule_sets ⇒ Object (readonly)
Returns the value of attribute managed_rule_sets.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def managed_rule_sets @managed_rule_sets end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def @options end |
#origin_groups ⇒ Object (readonly)
Returns the value of attribute origin_groups.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def origin_groups @origin_groups end |
#origins ⇒ Object (readonly)
Returns the value of attribute origins.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def origins @origins end |
#policies ⇒ Object (readonly)
Returns the value of attribute policies.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def policies @policies end |
#profiles ⇒ Object (readonly)
Returns the value of attribute profiles.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def profiles @profiles end |
#resource_usage_operations ⇒ Object (readonly)
Returns the value of attribute resource_usage_operations.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def resource_usage_operations @resource_usage_operations end |
#routes ⇒ Object (readonly)
Returns the value of attribute routes.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def routes @routes end |
#rule_sets ⇒ Object (readonly)
Returns the value of attribute rule_sets.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def rule_sets @rule_sets end |
#rules ⇒ Object (readonly)
Returns the value of attribute rules.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def rules @rules end |
#secrets ⇒ Object (readonly)
Returns the value of attribute secrets.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def secrets @secrets end |
#security_policies ⇒ Object (readonly)
Returns the value of attribute security_policies.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def security_policies @security_policies end |
#validate ⇒ Object (readonly)
Returns the value of attribute validate.
294 295 296 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 294 def validate @validate end |
Instance Method Details
#add_telemetry(client) ⇒ Object
340 341 342 343 |
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 340 def add_telemetry(client) profile_information = 'Profiles/Latest/CDN/Mgmt' client.add_user_agent_information(profile_information) end |