class Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentity
Cache
identity properties.
Attributes
principal_id[RW]
@return [String] The principal id of the cache.
tenant_id[RW]
@return [String] The tenant id associated with the cache.
type[RW]
@return [CacheIdentityType] The type of identity used for the cache. Possible values include: 'SystemAssigned', 'None'
Public Class Methods
mapper()
click to toggle source
Mapper for CacheIdentity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CacheIdentity', type: { name: 'Composite', class_name: 'CacheIdentity', 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: 'CacheIdentityType' } } } } } end