class Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::Cache
A cache instance. Follows Azure
Resource Manager standards: github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md
Attributes
@return [Integer] The size of this cache's cache, in GB.
@return [CacheHealth] Health of the cache.
@return [String] Fully qualified URL of the cache.
@return [String] Region name string.
@return [Array<String>] Array of IP addresses that can be used by clients mounting this Cache
.
@return [String] Name of cache.
@return [ProvisioningStateType] ARM provisioning state, see github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Creating', 'Deleting', 'Updating'
@return [CacheSku] Sku for the cache.
@return [String] Subnet used for the cache.
@return [String] Type for the cache; Microsoft.StorageCache/Cache
@return [CacheUpgradeStatus] Upgrade status of the cache.
Public Class Methods
Mapper for Cache
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01-preview/generated/azure_mgmt_storagecache/models/cache.rb, line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Cache', type: { name: 'Composite', class_name: 'Cache', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Object' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, cache_size_gb: { client_side_validation: true, required: false, serialized_name: 'properties.cacheSizeGB', type: { name: 'Number' } }, health: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.health', type: { name: 'Composite', class_name: 'CacheHealth' } }, mount_addresses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.mountAddresses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { name: 'String' } }, upgrade_status: { client_side_validation: true, required: false, serialized_name: 'properties.upgradeStatus', type: { name: 'Composite', class_name: 'CacheUpgradeStatus' } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'CacheSku' } } } } } end