Cache Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheTypeConverter))]
public class Cache : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICache
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheTypeConverter))>]
type Cache = class
interface ICache
interface IJsonSerializable
Public Class Cache
Implements ICache
- Inheritance
-
Cache
- Attributes
- Implements
Constructors
Cache() |
Creates an new Cache instance. |
Properties
DirectoryServicesSetting |
Specifies Directory Services settings of the cache. |
EncryptionSettingRotationToLatestKeyVersionEnabled |
Specifies whether the service will automatically rotate to the newest version of the key in the key vault. |
HealthCondition |
Outstanding conditions that need to be investigated and resolved. |
HealthState |
List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings. |
HealthStatusDescription |
Describes explanation of state. |
Id |
Resource ID of the cache. |
IdentityPrincipalId |
The principal ID for the system-assigned identity of the cache. |
IdentityTenantId |
The tenant ID associated with the cache. |
IdentityType |
The type of identity used for the cache |
IdentityUserAssignedIdentity |
A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary. |
KeyEncryptionKeyUrl |
The URL referencing a key encryption key in key vault. |
Location |
Region name string. |
MountAddress |
Array of IPv4 addresses that can be used by clients mounting this cache. |
Name |
Name of cache. |
NetworkSettingDnsSearchDomain |
DNS search domain |
NetworkSettingDnsServer |
DNS servers for the cache to use. It will be set from the network configuration if no value is provided. |
NetworkSettingMtu |
The IPv4 maximum transmission unit configured for the subnet. |
NetworkSettingNtpServer |
NTP server IP Address or FQDN for the cache to use. The default is time.windows.com. |
NetworkSettingUtilityAddress |
Array of additional IP addresses used by this cache. |
PrimingJob |
Specifies the priming jobs defined in the cache. |
ProvisioningState |
ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property |
ResourceGroupName |
Gets the resource group name |
SecuritySettingAccessPolicy |
NFS access policies defined for this cache. |
SizeGb |
The size of this Cache, in GB. |
SkuName |
SKU name for this cache. |
SourceVaultId |
Resource Id. |
SpaceAllocation |
Specifies the space allocation percentage for each storage target in the cache. |
Subnet |
Subnet used for the cache. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Tag |
Resource tags. |
Type |
Type of the cache; Microsoft.StorageCache/Cache |
UpgradeSettingScheduledTime |
When upgradeScheduleEnabled is true, this field holds the user-chosen upgrade time. At the user-chosen time, the firmware update will automatically be installed on the cache. |
UpgradeSettingUpgradeScheduleEnabled |
True if the user chooses to select an installation time between now and firmwareUpdateDeadline. Else the firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation. |
UpgradeStatusCurrentFirmwareVersion |
Version string of the firmware currently installed on this cache. |
UpgradeStatusFirmwareUpdateDeadline |
Time at which the pending firmware update will automatically be installed on the cache. |
UpgradeStatusFirmwareUpdateStatus |
True if there is a firmware update ready to install on this cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation. |
UpgradeStatusLastFirmwareUpdate |
Time of the last successful firmware update. |
UpgradeStatusPendingFirmwareVersion |
When firmwareUpdateAvailable is true, this field holds the version string for the update. |
Zone |
Availability zones for resources. This field should only contain a single element in the array. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Cache. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICache. |
FromJsonString(String) |
Creates a new instance of Cache, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |