class Azure::Synapse::Mgmt::V2019_06_01_preview::Models::ManagedIdentity

The workspace managed identity

Attributes

principal_id[RW]

@return [String] The principal ID of the workspace managed identity

tenant_id[RW]

@return The tenant ID of the workspace managed identity

type[RW]

@return [ResourceIdentityType] The type of managed identity for the workspace. Possible values include: 'None', 'SystemAssigned'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/managed_identity.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedIdentity',
    type: {
      name: 'Composite',
      class_name: 'ManagedIdentity',
      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