Class: Azure::Profiles::Latest::IotHub::Mgmt::IotHubClass

Inherits:
Object
  • Object
show all
Defined in:
lib/latest/modules/iothub_profile_module.rb

Overview

IotHub

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  client_0 = Azure::IotHub::Mgmt::V2017_07_01::IotHubClient.new(configurable.credentials, base_url, options)
  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_urlObject (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

#certificatesObject (readonly)

Returns the value of attribute certificates.



78
79
80
# File 'lib/latest/modules/iothub_profile_module.rb', line 78

def certificates
  @certificates
end

#configurableObject (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_resourceObject (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_classesObject (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

#operationsObject (readonly)

Returns the value of attribute operations.



78
79
80
# File 'lib/latest/modules/iothub_profile_module.rb', line 78

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



78
79
80
# File 'lib/latest/modules/iothub_profile_module.rb', line 78

def options
  @options
end