Class: Azure::StorageCache::Mgmt::V2020_03_01::Models::Cache
- Inherits:
-
Object
- Object
- Azure::StorageCache::Mgmt::V2020_03_01::Models::Cache
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb
Overview
A Cache instance. Follows Azure Resource Manager standards: github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md
Instance Attribute Summary collapse
-
#cache_size_gb ⇒ Integer
The size of this Cache, in GB.
-
#encryption_settings ⇒ CacheEncryptionSettings
cache.
-
#health ⇒ CacheHealth
Health of the Cache.
-
#id ⇒ String
Resource ID of the Cache.
-
#identity ⇒ CacheIdentity
The identity of the cache, if configured.
-
#location ⇒ String
Region name string.
-
#mount_addresses ⇒ Array<String>
clients mounting this Cache.
-
#name ⇒ String
Name of Cache.
-
#network_settings ⇒ CacheNetworkSettings
Specifies network settings of the cache.
- #provisioning_state ⇒ ProvisioningStateType
-
#security_settings ⇒ CacheSecuritySettings
cache.
-
#sku ⇒ CacheSku
SKU for the Cache.
-
#subnet ⇒ String
Subnet used for the Cache.
-
#tags ⇒ Object
ARM tags as name/value pairs.
-
#type ⇒ String
Type of the Cache; Microsoft.StorageCache/Cache.
-
#upgrade_status ⇒ CacheUpgradeStatus
Upgrade status of the Cache.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Cache class as Ruby Hash.
Instance Attribute Details
#cache_size_gb ⇒ Integer
Returns The size of this Cache, in GB.
35 36 37 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 35 def cache_size_gb @cache_size_gb end |
#encryption_settings ⇒ CacheEncryptionSettings
cache.
61 62 63 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 61 def encryption_settings @encryption_settings end |
#health ⇒ CacheHealth
Returns Health of the Cache.
38 39 40 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 38 def health @health end |
#id ⇒ String
Returns Resource ID of the Cache.
20 21 22 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 20 def id @id end |
#identity ⇒ CacheIdentity
Returns The identity of the cache, if configured.
32 33 34 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 32 def identity @identity end |
#location ⇒ String
Returns Region name string.
23 24 25 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 23 def location @location end |
#mount_addresses ⇒ Array<String>
clients mounting this Cache.
42 43 44 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 42 def mount_addresses @mount_addresses end |
#name ⇒ String
Returns Name of Cache.
26 27 28 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 26 def name @name end |
#network_settings ⇒ CacheNetworkSettings
Returns Specifies network settings of the cache.
57 58 59 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 57 def network_settings @network_settings end |
#provisioning_state ⇒ ProvisioningStateType
github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. Possible values include: ‘Succeeded’, ‘Failed’, ‘Cancelled’, ‘Creating’, ‘Deleting’, ‘Updating’
48 49 50 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 48 def provisioning_state @provisioning_state end |
#security_settings ⇒ CacheSecuritySettings
cache.
65 66 67 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 65 def security_settings @security_settings end |
#sku ⇒ CacheSku
Returns SKU for the Cache.
68 69 70 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 68 def sku @sku end |
#subnet ⇒ String
Returns Subnet used for the Cache.
51 52 53 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 51 def subnet @subnet end |
#tags ⇒ Object
Returns ARM tags as name/value pairs.
17 18 19 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 17 def @tags end |
#type ⇒ String
Returns Type of the Cache; Microsoft.StorageCache/Cache.
29 30 31 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 29 def type @type end |
#upgrade_status ⇒ CacheUpgradeStatus
Returns Upgrade status of the Cache.
54 55 56 |
# File 'lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb', line 54 def upgrade_status @upgrade_status end |
Class Method Details
.mapper ⇒ Object
Mapper for Cache class as Ruby Hash. This will be used for serialization/deserialization.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 |
# 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 |