class Azure::Security::Mgmt::V2020_01_01_preview::Models::ServicePrincipalProperties

Details of the service principal.

Attributes

application_id[RW]

@return [String] Application ID of service principal.

secret[RW]

@return [String] A secret string that the application uses to prove its identity, also can be referred to as application password (write only).

Private Class Methods

mapper() click to toggle source

Mapper for ServicePrincipalProperties class as Ruby Hash. This will be used for serialization/deserialization.

# 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