Class: Azure::Profiles::Latest::EdgeGateway::Mgmt::EdgeGatewayManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::EdgeGateway::Mgmt::EdgeGatewayManagementClass
- Defined in:
- lib/latest/modules/edgegateway_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#alerts ⇒ Object
readonly
Returns the value of attribute alerts.
-
#bandwidth_schedules ⇒ Object
readonly
Returns the value of attribute bandwidth_schedules.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#devices ⇒ Object
readonly
Returns the value of attribute devices.
-
#jobs ⇒ Object
readonly
Returns the value of attribute jobs.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#operations_status ⇒ Object
readonly
Returns the value of attribute operations_status.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#orders ⇒ Object
readonly
Returns the value of attribute orders.
-
#roles ⇒ Object
readonly
Returns the value of attribute roles.
-
#shares ⇒ Object
readonly
Returns the value of attribute shares.
-
#storage_account_credentials ⇒ Object
readonly
Returns the value of attribute storage_account_credentials.
-
#triggers ⇒ Object
readonly
Returns the value of attribute triggers.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ EdgeGatewayManagementClass
constructor
A new instance of EdgeGatewayManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ EdgeGatewayManagementClass
Returns a new instance of EdgeGatewayManagementClass.
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 127 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::EdgeGateway::Mgmt::V2019_03_01::DataBoxEdgeManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @operations = @client_0.operations @devices = @client_0.devices @alerts = @client_0.alerts @bandwidth_schedules = @client_0.bandwidth_schedules @jobs = @client_0.jobs @operations_status = @client_0.operations_status @orders = @client_0.orders @roles = @client_0.roles @shares = @client_0.shares @storage_account_credentials = @client_0.storage_account_credentials @triggers = @client_0.triggers @users = @client_0.users @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
156 157 158 159 160 161 162 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 156 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#alerts ⇒ Object (readonly)
Returns the value of attribute alerts.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def alerts @alerts end |
#bandwidth_schedules ⇒ Object (readonly)
Returns the value of attribute bandwidth_schedules.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def bandwidth_schedules @bandwidth_schedules end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def configurable @configurable end |
#devices ⇒ Object (readonly)
Returns the value of attribute devices.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def devices @devices end |
#jobs ⇒ Object (readonly)
Returns the value of attribute jobs.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def jobs @jobs end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def operations @operations end |
#operations_status ⇒ Object (readonly)
Returns the value of attribute operations_status.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def operations_status @operations_status end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def @options end |
#orders ⇒ Object (readonly)
Returns the value of attribute orders.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def orders @orders end |
#roles ⇒ Object (readonly)
Returns the value of attribute roles.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def roles @roles end |
#shares ⇒ Object (readonly)
Returns the value of attribute shares.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def shares @shares end |
#storage_account_credentials ⇒ Object (readonly)
Returns the value of attribute storage_account_credentials.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def storage_account_credentials @storage_account_credentials end |
#triggers ⇒ Object (readonly)
Returns the value of attribute triggers.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def triggers @triggers end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
125 126 127 |
# File 'lib/latest/modules/edgegateway_profile_module.rb', line 125 def users @users end |