class Azure::StorageCache::Mgmt::V2020_03_01::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
, in GB.
@return [CacheEncryptionSettings] Specifies encryption settings of the cache.
@return [CacheHealth] Health of the Cache
.
@return [String] Resource ID of the Cache
.
@return [CacheIdentity] The identity of the cache, if configured.
@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 [CacheNetworkSettings] Specifies network settings of the 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 [CacheSecuritySettings] Specifies security settings of the cache.
@return [CacheSku] SKU for the Cache
.
@return [String] Subnet used for the Cache
.
@return [String] Type of 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/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb, line 75 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' } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'CacheIdentity' } }, 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' } }, network_settings: { client_side_validation: true, required: false, serialized_name: 'properties.networkSettings', type: { name: 'Composite', class_name: 'CacheNetworkSettings' } }, encryption_settings: { client_side_validation: true, required: false, serialized_name: 'properties.encryptionSettings', type: { name: 'Composite', class_name: 'CacheEncryptionSettings' } }, security_settings: { client_side_validation: true, required: false, serialized_name: 'properties.securitySettings', type: { name: 'Composite', class_name: 'CacheSecuritySettings' } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'CacheSku' } } } } } end