Class: Azure::Profiles::Latest::ManagedServiceIdentity::Mgmt::ManagedServiceIdentityManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::ManagedServiceIdentity::Mgmt::ManagedServiceIdentityManagementClass
- Defined in:
- lib/latest/modules/managedserviceidentity_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#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.
-
#user_assigned_identities ⇒ Object
readonly
Returns the value of attribute user_assigned_identities.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ ManagedServiceIdentityManagementClass
constructor
A new instance of ManagedServiceIdentityManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ ManagedServiceIdentityManagementClass
Returns a new instance of ManagedServiceIdentityManagementClass.
25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 25 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::ManagedServiceIdentityClient.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 @user_assigned_identities = @client_0.user_assigned_identities @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 44 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
23 24 25 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 23 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
23 24 25 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 23 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
23 24 25 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 23 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
23 24 25 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 23 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
23 24 25 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 23 def @options end |
#user_assigned_identities ⇒ Object (readonly)
Returns the value of attribute user_assigned_identities.
23 24 25 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 23 def user_assigned_identities @user_assigned_identities end |
Instance Method Details
#add_telemetry(client) ⇒ Object
39 40 41 42 |
# File 'lib/latest/modules/managedserviceidentity_profile_module.rb', line 39 def add_telemetry(client) profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ManagedServiceIdentity/Mgmt" client.add_user_agent_information(profile_information) end |