Class: Azure::Profiles::V2020_09_01_Hybrid::Client
- Inherits:
-
Object
- Object
- Azure::Profiles::V2020_09_01_Hybrid::Client
- Includes:
- MsRestAzure::Common::Configurable
- Defined in:
- lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb
Overview
Client class for the V2020_09_01_Hybrid profile SDK.
Defined Under Namespace
Classes: AuthorizationAdapter, CommerceAdapter, ComputeAdapter, DataBoxEdgeAdapter, DnsAdapter, EventHubAdapter, IotHubAdapter, KeyVaultAdapter, LocksAdapter, MonitorAdapter, NetworkAdapter, PolicyAdapter, ResourcesAdapter, StorageAdapter, WebAdapter
Instance Attribute Summary collapse
-
#authorization ⇒ Object
readonly
Returns the value of attribute authorization.
-
#commerce ⇒ Object
readonly
Returns the value of attribute commerce.
-
#compute ⇒ Object
readonly
Returns the value of attribute compute.
-
#data_box_edge ⇒ Object
readonly
Returns the value of attribute data_box_edge.
-
#dns ⇒ Object
readonly
Returns the value of attribute dns.
-
#event_hub ⇒ Object
readonly
Returns the value of attribute event_hub.
-
#iot_hub ⇒ Object
readonly
Returns the value of attribute iot_hub.
-
#key_vault ⇒ Object
readonly
Returns the value of attribute key_vault.
-
#locks ⇒ Object
readonly
Returns the value of attribute locks.
-
#monitor ⇒ Object
readonly
Returns the value of attribute monitor.
-
#network ⇒ Object
readonly
Returns the value of attribute network.
-
#policy ⇒ Object
readonly
Returns the value of attribute policy.
-
#resources ⇒ Object
readonly
Returns the value of attribute resources.
-
#storage ⇒ Object
readonly
Returns the value of attribute storage.
-
#web ⇒ Object
readonly
Returns the value of attribute web.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
Initializes a new instance of the Client class.
Constructor Details
#initialize(options = {}) ⇒ Client
Initializes a new instance of the Client class.
'credentials' are optional and if not passed in the hash, will be obtained
from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
Also, base_url, active_directory_settings & options are optional.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 49 def initialize( = {}) if .is_a?(Hash) && .length == 0 @options = else @options = end reset!() base_url = [:base_url].nil? ? nil:[:base_url] = [:options].nil? ? nil:[:options] @authorization = AuthorizationAdapter.new(self, base_url, ) @locks = LocksAdapter.new(self, base_url, ) @policy = PolicyAdapter.new(self, base_url, ) @commerce = CommerceAdapter.new(self, base_url, ) @compute = ComputeAdapter.new(self, base_url, ) @data_box_edge = DataBoxEdgeAdapter.new(self, base_url, ) @iot_hub = IotHubAdapter.new(self, base_url, ) @event_hub = EventHubAdapter.new(self, base_url, ) @monitor = MonitorAdapter.new(self, base_url, ) @key_vault = KeyVaultAdapter.new(self, base_url, ) @network = NetworkAdapter.new(self, base_url, ) @dns = DnsAdapter.new(self, base_url, ) @resources = ResourcesAdapter.new(self, base_url, ) @storage = StorageAdapter.new(self, base_url, ) @web = WebAdapter.new(self, base_url, ) end |
Instance Attribute Details
#authorization ⇒ Object (readonly)
Returns the value of attribute authorization.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def @authorization end |
#commerce ⇒ Object (readonly)
Returns the value of attribute commerce.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def commerce @commerce end |
#compute ⇒ Object (readonly)
Returns the value of attribute compute.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def compute @compute end |
#data_box_edge ⇒ Object (readonly)
Returns the value of attribute data_box_edge.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def data_box_edge @data_box_edge end |
#dns ⇒ Object (readonly)
Returns the value of attribute dns.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def dns @dns end |
#event_hub ⇒ Object (readonly)
Returns the value of attribute event_hub.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def event_hub @event_hub end |
#iot_hub ⇒ Object (readonly)
Returns the value of attribute iot_hub.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def iot_hub @iot_hub end |
#key_vault ⇒ Object (readonly)
Returns the value of attribute key_vault.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def key_vault @key_vault end |
#locks ⇒ Object (readonly)
Returns the value of attribute locks.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def locks @locks end |
#monitor ⇒ Object (readonly)
Returns the value of attribute monitor.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def monitor @monitor end |
#network ⇒ Object (readonly)
Returns the value of attribute network.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def network @network end |
#policy ⇒ Object (readonly)
Returns the value of attribute policy.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def policy @policy end |
#resources ⇒ Object (readonly)
Returns the value of attribute resources.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def resources @resources end |
#storage ⇒ Object (readonly)
Returns the value of attribute storage.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def storage @storage end |
#web ⇒ Object (readonly)
Returns the value of attribute web.
29 30 31 |
# File 'lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb', line 29 def web @web end |