class Azure::HealthcareApis::Mgmt::V2020_03_30::Models::ServicesResourceIdentity

Setting indicating whether the service has a managed identity associated with it.

Attributes

principal_id[RW]

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

tenant_id[RW]

@return [String] The tenant ID of the resource.

type[RW]

@return [ManagedServiceIdentityType] Type of identity being specified, currently SystemAssigned and None are allowed. Possible values include: 'SystemAssigned', 'None'

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-03-30/generated/azure_mgmt_healthcare_apis/models/services_resource_identity.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServicesResource_identity',
    type: {
      name: 'Composite',
      class_name: 'ServicesResourceIdentity',
      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: 'String'
          }
        }
      }
    }
  }
end