Class: Azure::Resources::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization
- Inherits:
-
Object
- Object
- Azure::Resources::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb
Overview
The managed application provider authorization.
Instance Attribute Summary collapse
-
#principal_id ⇒ String
identity that the provider will use to call ARM to manage the managed application resources.
-
#role_definition_id ⇒ String
will define all the permissions that the provider must have on the managed application’s container resource group.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationProviderAuthorization class as Ruby Hash.
Instance Attribute Details
#principal_id ⇒ String
identity that the provider will use to call ARM to manage the managed application resources.
18 19 20 |
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb', line 18 def principal_id @principal_id end |
#role_definition_id ⇒ String
will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.
24 25 26 |
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb', line 24 def role_definition_id @role_definition_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ApplicationProviderAuthorization class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationProviderAuthorization', type: { name: 'Composite', class_name: 'ApplicationProviderAuthorization', model_properties: { principal_id: { client_side_validation: true, required: true, serialized_name: 'principalId', type: { name: 'String' } }, role_definition_id: { client_side_validation: true, required: true, serialized_name: 'roleDefinitionId', type: { name: 'String' } } } } } end |