class Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetResource

Resource used by a Cache.

Attributes

id[RW]

@return [String] Resource ID of the Storage Target.

location[RW]

@return [String] Region name string.

name[RW]

@return [String] Name of the Storage Target.

system_data[RW]

@return [SystemData] The system meta data relating to this resource.

type[RW]

@return [String] Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageTargetResource',
    type: {
      name: 'Composite',
      class_name: 'StorageTargetResource',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        system_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'systemData',
          type: {
            name: 'Composite',
            class_name: 'SystemData'
          }
        }
      }
    }
  }
end