class Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetResource

Resource used by a Cache.

Attributes

id[RW]

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

name[RW]

@return [String] Name of the Storage Target.

type[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb, line 30
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'
          }
        }
      }
    }
  }
end