Class: Azure::Profiles::Latest::EventGrid::Mgmt::EventGridManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::EventGrid::Mgmt::EventGridManagementClass
- Defined in:
- lib/latest/modules/eventgrid_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.
-
#domain_topics ⇒ Object
readonly
Returns the value of attribute domain_topics.
-
#domains ⇒ Object
readonly
Returns the value of attribute domains.
-
#event_subscriptions ⇒ Object
readonly
Returns the value of attribute event_subscriptions.
-
#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.
-
#topic_types ⇒ Object
readonly
Returns the value of attribute topic_types.
-
#topics ⇒ Object
readonly
Returns the value of attribute topics.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ EventGridManagementClass
constructor
A new instance of EventGridManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ EventGridManagementClass
Returns a new instance of EventGridManagementClass.
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 462 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::EventGrid::Mgmt::V2020_06_01::EventGridManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @domains = @client_0.domains @domain_topics = @client_0.domain_topics @event_subscriptions = @client_0.event_subscriptions @operations = @client_0.operations @topics = @client_0.topics @private_endpoint_connections = @client_0.private_endpoint_connections @private_link_resources = @client_0.private_link_resources @topic_types = @client_0.topic_types @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
487 488 489 490 491 492 493 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 487 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.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def configurable @configurable end |
#domain_topics ⇒ Object (readonly)
Returns the value of attribute domain_topics.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def domain_topics @domain_topics end |
#domains ⇒ Object (readonly)
Returns the value of attribute domains.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def domains @domains end |
#event_subscriptions ⇒ Object (readonly)
Returns the value of attribute event_subscriptions.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def event_subscriptions @event_subscriptions end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def @options end |
#private_endpoint_connections ⇒ Object (readonly)
Returns the value of attribute private_endpoint_connections.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def private_endpoint_connections @private_endpoint_connections end |
#private_link_resources ⇒ Object (readonly)
Returns the value of attribute private_link_resources.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def private_link_resources @private_link_resources end |
#topic_types ⇒ Object (readonly)
Returns the value of attribute topic_types.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def topic_types @topic_types end |
#topics ⇒ Object (readonly)
Returns the value of attribute topics.
460 461 462 |
# File 'lib/latest/modules/eventgrid_profile_module.rb', line 460 def topics @topics end |