class Azure::Storage::Mgmt::V2021_01_01::Models::UserAssignedIdentity

UserAssignedIdentity for the resource.

Attributes

client_id[RW]

@return [String] The client ID of the identity.

principal_id[RW]

@return [String] The principal ID of the identity.

Private Class Methods

mapper() click to toggle source

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

# File lib/2021-01-01/generated/azure_mgmt_storage/models/user_assigned_identity.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UserAssignedIdentity',
    type: {
      name: 'Composite',
      class_name: 'UserAssignedIdentity',
      model_properties: {
        principal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        },
        client_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'clientId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end