CacheInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storagecache. fluent. models. CacheInner
- com.
- com.
public final class CacheInner
extends ProxyResource
A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md.
Constructor Summary
| Constructor | Description |
|---|---|
| CacheInner() |
Creates an instance of Cache |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
cacheSizeGB()
Get the cache |
|
Cache |
directoryServicesSettings()
Get the directory |
|
Cache |
encryptionSettings()
Get the encryption |
|
static
Cache |
fromJson(JsonReader jsonReader)
Reads an instance of Cache |
|
Cache |
health()
Get the health property: Health of the cache. |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Cache |
identity()
Get the identity property: The identity of the cache, if configured. |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| List<String> |
mountAddresses()
Get the mount |
| String |
name()
Get the name property: The name of the resource. |
|
Cache |
networkSettings()
Get the network |
|
List<Priming |
primingJobs()
Get the priming |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Cache |
securitySettings()
Get the security |
|
Cache |
sku()
Get the sku property: SKU for the cache. |
|
List<Storage |
spaceAllocation()
Get the space |
| String |
subnet()
Get the subnet property: Subnet used for the cache. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Cache |
upgradeSettings()
Get the upgrade |
|
Cache |
upgradeStatus()
Get the upgrade |
|
Cache |
withCacheSizeGB(Integer cacheSizeGB)
Set the cache |
|
Cache |
withDirectoryServicesSettings(CacheDirectorySettings directoryServicesSettings)
Set the directory |
|
Cache |
withEncryptionSettings(CacheEncryptionSettings encryptionSettings)
Set the encryption |
|
Cache |
withIdentity(CacheIdentity identity)
Set the identity property: The identity of the cache, if configured. |
|
Cache |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Cache |
withNetworkSettings(CacheNetworkSettings networkSettings)
Set the network |
|
Cache |
withPrimingJobs(List<PrimingJob> primingJobs)
Set the priming |
|
Cache |
withSecuritySettings(CacheSecuritySettings securitySettings)
Set the security |
|
Cache |
withSku(CacheSku sku)
Set the sku property: SKU for the cache. |
|
Cache |
withSubnet(String subnet)
Set the subnet property: Subnet used for the cache. |
|
Cache |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Cache |
withUpgradeSettings(CacheUpgradeSettings upgradeSettings)
Set the upgrade |
|
Cache |
withZones(List<String> zones)
Set the zones property: Availability zones for resources. |
| List<String> |
zones()
Get the zones property: Availability zones for resources. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
CacheInner
public CacheInner()
Creates an instance of CacheInner class.
Method Details
cacheSizeGB
public Integer cacheSizeGB()
Get the cacheSizeGB property: The size of this Cache, in GB.
Returns:
directoryServicesSettings
public CacheDirectorySettings directoryServicesSettings()
Get the directoryServicesSettings property: Specifies Directory Services settings of the cache.
Returns:
encryptionSettings
public CacheEncryptionSettings encryptionSettings()
Get the encryptionSettings property: Specifies encryption settings of the cache.
Returns:
fromJson
public static CacheInner fromJson(JsonReader jsonReader)
Reads an instance of CacheInner from the JsonReader.
Parameters:
Returns:
Throws:
health
public CacheHealth health()
Get the health property: Health of the cache.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CacheInner.id()Returns:
identity
public CacheIdentity identity()
Get the identity property: The identity of the cache, if configured.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
mountAddresses
public List<String> mountAddresses()
Get the mountAddresses property: Array of IPv4 addresses that can be used by clients mounting this cache.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CacheInner.name()Returns:
networkSettings
public CacheNetworkSettings networkSettings()
Get the networkSettings property: Specifies network settings of the cache.
Returns:
primingJobs
public List<PrimingJob> primingJobs()
Get the primingJobs property: Specifies the priming jobs defined in the cache.
Returns:
provisioningState
public ProvisioningStateType provisioningState()
Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md\#provisioningstate-property.
Returns:
securitySettings
public CacheSecuritySettings securitySettings()
Get the securitySettings property: Specifies security settings of the cache.
Returns:
sku
public CacheSku sku()
Get the sku property: SKU for the cache.
Returns:
spaceAllocation
public List<StorageTargetSpaceAllocation> spaceAllocation()
Get the spaceAllocation property: Specifies the space allocation percentage for each storage target in the cache.
Returns:
subnet
public String subnet()
Get the subnet property: Subnet used for the cache.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CacheInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CacheInner.type()Returns:
upgradeSettings
public CacheUpgradeSettings upgradeSettings()
Get the upgradeSettings property: Upgrade settings of the cache.
Returns:
upgradeStatus
public CacheUpgradeStatus upgradeStatus()
Get the upgradeStatus property: Upgrade status of the cache.
Returns:
withCacheSizeGB
public CacheInner withCacheSizeGB(Integer cacheSizeGB)
Set the cacheSizeGB property: The size of this Cache, in GB.
Parameters:
Returns:
withDirectoryServicesSettings
public CacheInner withDirectoryServicesSettings(CacheDirectorySettings directoryServicesSettings)
Set the directoryServicesSettings property: Specifies Directory Services settings of the cache.
Parameters:
Returns:
withEncryptionSettings
public CacheInner withEncryptionSettings(CacheEncryptionSettings encryptionSettings)
Set the encryptionSettings property: Specifies encryption settings of the cache.
Parameters:
Returns:
withIdentity
public CacheInner withIdentity(CacheIdentity identity)
Set the identity property: The identity of the cache, if configured.
Parameters:
Returns:
withLocation
public CacheInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withNetworkSettings
public CacheInner withNetworkSettings(CacheNetworkSettings networkSettings)
Set the networkSettings property: Specifies network settings of the cache.
Parameters:
Returns:
withPrimingJobs
public CacheInner withPrimingJobs(List<PrimingJob> primingJobs)
Set the primingJobs property: Specifies the priming jobs defined in the cache.
Parameters:
Returns:
withSecuritySettings
public CacheInner withSecuritySettings(CacheSecuritySettings securitySettings)
Set the securitySettings property: Specifies security settings of the cache.
Parameters:
Returns:
withSku
public CacheInner withSku(CacheSku sku)
Set the sku property: SKU for the cache.
Parameters:
Returns:
withSubnet
public CacheInner withSubnet(String subnet)
Set the subnet property: Subnet used for the cache.
Parameters:
Returns:
withTags
public CacheInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withUpgradeSettings
public CacheInner withUpgradeSettings(CacheUpgradeSettings upgradeSettings)
Set the upgradeSettings property: Upgrade settings of the cache.
Parameters:
Returns:
withZones
public CacheInner withZones(List<String> zones)
Set the zones property: Availability zones for resources. This field should only contain a single element in the array.
Parameters:
Returns:
zones
public List<String> zones()
Get the zones property: Availability zones for resources. This field should only contain a single element in the array.
Returns: