Class: Azure::Profiles::Latest::IotHub::Mgmt::IotHubClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::IotHub::Mgmt::IotHubClass
- Defined in:
- lib/latest/modules/iothub_profile_module.rb
Overview
IotHub
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#certificates ⇒ Object
readonly
Returns the value of attribute certificates.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#iot_hub_resource ⇒ Object
readonly
Returns the value of attribute iot_hub_resource.
-
#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.
Instance Method Summary collapse
-
#initialize(configurable, base_url = nil, options = nil) ⇒ IotHubClass
constructor
A new instance of IotHubClass.
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ IotHubClass
Returns a new instance of IotHubClass.
80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 80 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, = configurable, base_url, client_0 = Azure::IotHub::Mgmt::V2017_07_01::IotHubClient.new(configurable.credentials, base_url, ) if(client_0.respond_to?(:subscription_id)) client_0.subscription_id = configurable.subscription_id end @operations = client_0.operations @iot_hub_resource = client_0.iot_hub_resource @certificates = client_0.certificates @model_classes = ModelClasses.new end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def base_url @base_url end |
#certificates ⇒ Object (readonly)
Returns the value of attribute certificates.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def certificates @certificates end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def configurable @configurable end |
#iot_hub_resource ⇒ Object (readonly)
Returns the value of attribute iot_hub_resource.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def iot_hub_resource @iot_hub_resource end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
78 79 80 |
# File 'lib/latest/modules/iothub_profile_module.rb', line 78 def end |