Condividi tramite


CacheProperties Class

Definition

Properties of the cache.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CachePropertiesTypeConverter))]
public class CacheProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CachePropertiesTypeConverter))>]
type CacheProperties = class
    interface ICacheProperties
    interface IJsonSerializable
Public Class CacheProperties
Implements ICacheProperties
Inheritance
CacheProperties
Attributes
Implements

Constructors

CacheProperties()

Creates an new CacheProperties instance.

Properties

CacheSizeGb

The size of this Cache, in GB.

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.

KeyEncryptionKeyUrl

The URL referencing a key encryption key in key vault.

MountAddress

Array of IPv4 addresses that can be used by clients mounting this 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

SecuritySettingAccessPolicy

NFS access policies defined 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.

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 CacheProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheProperties.

FromJsonString(String)

Creates a new instance of CacheProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to