class Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountIdentity

Identity for the Automanage account.

Attributes

principal_id[RW]

@return [String] The principal id of Automanage account identity.

tenant_id[RW]

@return [String] The tenant id associated with the Automanage account.

type[RW]

@return [ResourceIdentityType] The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. Possible values include: 'SystemAssigned', 'None'

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-06-30-preview/generated/azure_mgmt_automanage/models/account_identity.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AccountIdentity',
    type: {
      name: 'Composite',
      class_name: 'AccountIdentity',
      model_properties: {
        principal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'ResourceIdentityType'
          }
        }
      }
    }
  }
end