Class: Azure::Profiles::V2017_03_09::Client
- Inherits:
-
Object
- Object
- Azure::Profiles::V2017_03_09::Client
- Includes:
- MsRestAzure::Common::Configurable
- Defined in:
- lib/v2017_03_09/v2017_03_09_profile_client.rb
Overview
Client class for the V2017_03_09 profile SDK.
Defined Under Namespace
Classes: AuthorizationAdapter, ComputeAdapter, DnsAdapter, FeaturesAdapter, KeyVaultAdapter, LinksAdapter, LocksAdapter, NetworkAdapter, PolicyAdapter, ResourcesAdapter, StorageAdapter, SubscriptionsAdapter
Instance Attribute Summary collapse
-
#authorization ⇒ Object
readonly
Returns the value of attribute authorization.
-
#compute ⇒ Object
readonly
Returns the value of attribute compute.
-
#dns ⇒ Object
readonly
Returns the value of attribute dns.
-
#features ⇒ Object
readonly
Returns the value of attribute features.
-
#key_vault ⇒ Object
readonly
Returns the value of attribute key_vault.
-
#links ⇒ Object
readonly
Returns the value of attribute links.
-
#locks ⇒ Object
readonly
Returns the value of attribute locks.
-
#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.
-
#subscriptions ⇒ Object
readonly
Returns the value of attribute subscriptions.
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.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 46 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, ) @compute = ComputeAdapter.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, ) @links = LinksAdapter.new(self, base_url, ) @subscriptions = SubscriptionsAdapter.new(self, base_url, ) @storage = StorageAdapter.new(self, base_url, ) @features = FeaturesAdapter.new(self, base_url, ) end |
Instance Attribute Details
#authorization ⇒ Object (readonly)
Returns the value of attribute authorization.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def @authorization end |
#compute ⇒ Object (readonly)
Returns the value of attribute compute.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def compute @compute end |
#dns ⇒ Object (readonly)
Returns the value of attribute dns.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def dns @dns end |
#features ⇒ Object (readonly)
Returns the value of attribute features.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def features @features end |
#key_vault ⇒ Object (readonly)
Returns the value of attribute key_vault.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def key_vault @key_vault end |
#links ⇒ Object (readonly)
Returns the value of attribute links.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def links @links end |
#locks ⇒ Object (readonly)
Returns the value of attribute locks.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def locks @locks end |
#network ⇒ Object (readonly)
Returns the value of attribute network.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def network @network end |
#policy ⇒ Object (readonly)
Returns the value of attribute policy.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def policy @policy end |
#resources ⇒ Object (readonly)
Returns the value of attribute resources.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def resources @resources end |
#storage ⇒ Object (readonly)
Returns the value of attribute storage.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def storage @storage end |
#subscriptions ⇒ Object (readonly)
Returns the value of attribute subscriptions.
26 27 28 |
# File 'lib/v2017_03_09/v2017_03_09_profile_client.rb', line 26 def subscriptions @subscriptions end |