Class: Azure::Security::Mgmt::V2020_01_01_preview::Models::ServicePrincipalProperties
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01_preview::Models::ServicePrincipalProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01-preview/generated/azure_mgmt_security/models/service_principal_properties.rb
Overview
Details of the service principal.
Instance Attribute Summary collapse
-
#application_id ⇒ String
Application ID of service principal.
-
#secret ⇒ String
identity, also can be referred to as application password (write only).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServicePrincipalProperties class as Ruby Hash.
Instance Attribute Details
#application_id ⇒ String
Returns Application ID of service principal.
16 17 18 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/service_principal_properties.rb', line 16 def application_id @application_id end |
#secret ⇒ String
identity, also can be referred to as application password (write only).
20 21 22 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/service_principal_properties.rb', line 20 def secret @secret end |
Class Method Details
.mapper ⇒ Object
Mapper for ServicePrincipalProperties class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 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 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/service_principal_properties.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServicePrincipalProperties', type: { name: 'Composite', class_name: 'ServicePrincipalProperties', model_properties: { application_id: { client_side_validation: true, required: false, serialized_name: 'applicationId', type: { name: 'String' } }, secret: { client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'String' } } } } } end |