Class: Azure::MediaServices::Profiles::Latest::Mgmt::MediaServicesManagementClass
- Inherits:
-
Object
- Object
- Azure::MediaServices::Profiles::Latest::Mgmt::MediaServicesManagementClass
- Defined in:
- lib/profiles/latest/modules/mediaservices_profile_module.rb
Overview
MediaServicesManagementClass
Direct Known Subclasses
Instance Attribute Summary collapse
-
#account_filters ⇒ Object
readonly
Returns the value of attribute account_filters.
-
#asset_filters ⇒ Object
readonly
Returns the value of attribute asset_filters.
-
#assets ⇒ Object
readonly
Returns the value of attribute assets.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#content_key_policies ⇒ Object
readonly
Returns the value of attribute content_key_policies.
-
#jobs ⇒ Object
readonly
Returns the value of attribute jobs.
-
#live_events ⇒ Object
readonly
Returns the value of attribute live_events.
-
#live_outputs ⇒ Object
readonly
Returns the value of attribute live_outputs.
-
#locations ⇒ Object
readonly
Returns the value of attribute locations.
-
#mediaservices ⇒ Object
readonly
Returns the value of attribute mediaservices.
-
#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.
-
#private_endpoint_connections ⇒ Object
readonly
Returns the value of attribute private_endpoint_connections.
-
#private_link_resources ⇒ Object
readonly
Returns the value of attribute private_link_resources.
-
#streaming_endpoints ⇒ Object
readonly
Returns the value of attribute streaming_endpoints.
-
#streaming_locators ⇒ Object
readonly
Returns the value of attribute streaming_locators.
-
#streaming_policies ⇒ Object
readonly
Returns the value of attribute streaming_policies.
-
#transforms ⇒ Object
readonly
Returns the value of attribute transforms.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(options = {}) ⇒ MediaServicesManagementClass
constructor
A new instance of MediaServicesManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ MediaServicesManagementClass
Returns a new instance of MediaServicesManagementClass.
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 282 def initialize( = {}) if .is_a?(Hash) && .length == 0 = else = end reset!() @configurable = self @base_url = [:base_url].nil? ? nil:options[:base_url] = [:options].nil? ? nil:options[:options] @client_0 = Azure::MediaServices::Mgmt::V2020_05_01::AzureMediaServices.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @account_filters = @client_0.account_filters @operations = @client_0.operations @mediaservices = @client_0.mediaservices @private_link_resources = @client_0.private_link_resources @private_endpoint_connections = @client_0.private_endpoint_connections @locations = @client_0.locations @assets = @client_0.assets @asset_filters = @client_0.asset_filters @content_key_policies = @client_0.content_key_policies @transforms = @client_0.transforms @jobs = @client_0.jobs @streaming_policies = @client_0.streaming_policies @streaming_locators = @client_0.streaming_locators @live_events = @client_0.live_events @live_outputs = @client_0.live_outputs @streaming_endpoints = @client_0.streaming_endpoints @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
325 326 327 328 329 330 331 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 325 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#account_filters ⇒ Object (readonly)
Returns the value of attribute account_filters.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def account_filters @account_filters end |
#asset_filters ⇒ Object (readonly)
Returns the value of attribute asset_filters.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def asset_filters @asset_filters end |
#assets ⇒ Object (readonly)
Returns the value of attribute assets.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def assets @assets end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def configurable @configurable end |
#content_key_policies ⇒ Object (readonly)
Returns the value of attribute content_key_policies.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def content_key_policies @content_key_policies end |
#jobs ⇒ Object (readonly)
Returns the value of attribute jobs.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def jobs @jobs end |
#live_events ⇒ Object (readonly)
Returns the value of attribute live_events.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def live_events @live_events end |
#live_outputs ⇒ Object (readonly)
Returns the value of attribute live_outputs.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def live_outputs @live_outputs end |
#locations ⇒ Object (readonly)
Returns the value of attribute locations.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def locations @locations end |
#mediaservices ⇒ Object (readonly)
Returns the value of attribute mediaservices.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def mediaservices @mediaservices end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def end |
#private_endpoint_connections ⇒ Object (readonly)
Returns the value of attribute private_endpoint_connections.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def private_endpoint_connections @private_endpoint_connections end |
#private_link_resources ⇒ Object (readonly)
Returns the value of attribute private_link_resources.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def private_link_resources @private_link_resources end |
#streaming_endpoints ⇒ Object (readonly)
Returns the value of attribute streaming_endpoints.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def streaming_endpoints @streaming_endpoints end |
#streaming_locators ⇒ Object (readonly)
Returns the value of attribute streaming_locators.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def streaming_locators @streaming_locators end |
#streaming_policies ⇒ Object (readonly)
Returns the value of attribute streaming_policies.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def streaming_policies @streaming_policies end |
#transforms ⇒ Object (readonly)
Returns the value of attribute transforms.
280 281 282 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 280 def transforms @transforms end |
Instance Method Details
#add_telemetry(client) ⇒ Object
320 321 322 323 |
# File 'lib/profiles/latest/modules/mediaservices_profile_module.rb', line 320 def add_telemetry(client) profile_information = 'Profiles/Latest/MediaServices/Mgmt' client.add_user_agent_information(profile_information) end |