Class: Azure::Profiles::Latest::Authorization::Mgmt::AuthorizationClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::Authorization::Mgmt::AuthorizationClass
- Defined in:
- lib/latest/modules/authorization_profile_module.rb
Overview
Authorization
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#classic_administrators ⇒ Object
readonly
Returns the value of attribute classic_administrators.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#permissions ⇒ Object
readonly
Returns the value of attribute permissions.
-
#provider_operations_metadata_operations ⇒ Object
readonly
Returns the value of attribute provider_operations_metadata_operations.
-
#role_assignments ⇒ Object
readonly
Returns the value of attribute role_assignments.
-
#role_definitions ⇒ Object
readonly
Returns the value of attribute role_definitions.
Instance Method Summary collapse
-
#initialize(configurable, base_url = nil, options = nil) ⇒ AuthorizationClass
constructor
A new instance of AuthorizationClass.
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ AuthorizationClass
Returns a new instance of AuthorizationClass.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 43 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, client_0 = Azure::Authorization::Mgmt::V2015_07_01::AuthorizationManagementClient.new(configurable.credentials, base_url, ) if(client_0.respond_to?(:subscription_id)) client_0.subscription_id = configurable.subscription_id end @classic_administrators = client_0.classic_administrators @permissions = client_0. @provider_operations_metadata_operations = client_0. @role_assignments = client_0.role_assignments @role_definitions = client_0.role_definitions @model_classes = ModelClasses.new end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def base_url @base_url end |
#classic_administrators ⇒ Object (readonly)
Returns the value of attribute classic_administrators.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def classic_administrators @classic_administrators end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def model_classes @model_classes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def @options end |
#permissions ⇒ Object (readonly)
Returns the value of attribute permissions.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def @permissions end |
#provider_operations_metadata_operations ⇒ Object (readonly)
Returns the value of attribute provider_operations_metadata_operations.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def @provider_operations_metadata_operations end |
#role_assignments ⇒ Object (readonly)
Returns the value of attribute role_assignments.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def role_assignments @role_assignments end |
#role_definitions ⇒ Object (readonly)
Returns the value of attribute role_definitions.
41 42 43 |
# File 'lib/latest/modules/authorization_profile_module.rb', line 41 def role_definitions @role_definitions end |