Class: Azure::Profiles::Latest::GraphRbac::GraphRbacDataClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::GraphRbac::GraphRbacDataClass
- Defined in:
- lib/latest/modules/graphrbac_profile_module.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#applications ⇒ Object
readonly
Returns the value of attribute applications.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#domains ⇒ Object
readonly
Returns the value of attribute domains.
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#service_principals ⇒ Object
readonly
Returns the value of attribute service_principals.
-
#users ⇒ Object
readonly
Returns the value of attribute users.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ GraphRbacDataClass
constructor
A new instance of GraphRbacDataClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ GraphRbacDataClass
Returns a new instance of GraphRbacDataClass.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 64 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::GraphRbac::V1_6::GraphRbacClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @objects = @client_0.objects @applications = @client_0.applications @groups = @client_0.groups @service_principals = @client_0.service_principals @users = @client_0.users @domains = @client_0.domains @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
87 88 89 90 91 92 93 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 87 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def applications @applications end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def configurable @configurable end |
#domains ⇒ Object (readonly)
Returns the value of attribute domains.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def domains @domains end |
#groups ⇒ Object (readonly)
Returns the value of attribute groups.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def groups @groups end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def model_classes @model_classes end |
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def objects @objects end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def @options end |
#service_principals ⇒ Object (readonly)
Returns the value of attribute service_principals.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def service_principals @service_principals end |
#users ⇒ Object (readonly)
Returns the value of attribute users.
62 63 64 |
# File 'lib/latest/modules/graphrbac_profile_module.rb', line 62 def users @users end |