Share via


Cache Constructors

Definition

Overloads

Cache()

Initializes a new instance of the Cache class.

Cache(IDictionary<String,String>, String, String, String, String, CacheIdentity, SystemData, Nullable<Int32>, CacheHealth, IList<String>, String, String, CacheUpgradeStatus, CacheNetworkSettings, CacheEncryptionSettings, CacheSecuritySettings, CacheDirectorySettings, CacheSku)

Initializes a new instance of the Cache class.

Cache()

Initializes a new instance of the Cache class.

public Cache ();
Public Sub New ()

Applies to

Cache(IDictionary<String,String>, String, String, String, String, CacheIdentity, SystemData, Nullable<Int32>, CacheHealth, IList<String>, String, String, CacheUpgradeStatus, CacheNetworkSettings, CacheEncryptionSettings, CacheSecuritySettings, CacheDirectorySettings, CacheSku)

Initializes a new instance of the Cache class.

public Cache (System.Collections.Generic.IDictionary<string,string> tags = default, string id = default, string location = default, string name = default, string type = default, Microsoft.Azure.Management.StorageCache.Models.CacheIdentity identity = default, Microsoft.Azure.Management.StorageCache.Models.SystemData systemData = default, int? cacheSizeGB = default, Microsoft.Azure.Management.StorageCache.Models.CacheHealth health = default, System.Collections.Generic.IList<string> mountAddresses = default, string provisioningState = default, string subnet = default, Microsoft.Azure.Management.StorageCache.Models.CacheUpgradeStatus upgradeStatus = default, Microsoft.Azure.Management.StorageCache.Models.CacheNetworkSettings networkSettings = default, Microsoft.Azure.Management.StorageCache.Models.CacheEncryptionSettings encryptionSettings = default, Microsoft.Azure.Management.StorageCache.Models.CacheSecuritySettings securitySettings = default, Microsoft.Azure.Management.StorageCache.Models.CacheDirectorySettings directoryServicesSettings = default, Microsoft.Azure.Management.StorageCache.Models.CacheSku sku = default);
new Microsoft.Azure.Management.StorageCache.Models.Cache : System.Collections.Generic.IDictionary<string, string> * string * string * string * string * Microsoft.Azure.Management.StorageCache.Models.CacheIdentity * Microsoft.Azure.Management.StorageCache.Models.SystemData * Nullable<int> * Microsoft.Azure.Management.StorageCache.Models.CacheHealth * System.Collections.Generic.IList<string> * string * string * Microsoft.Azure.Management.StorageCache.Models.CacheUpgradeStatus * Microsoft.Azure.Management.StorageCache.Models.CacheNetworkSettings * Microsoft.Azure.Management.StorageCache.Models.CacheEncryptionSettings * Microsoft.Azure.Management.StorageCache.Models.CacheSecuritySettings * Microsoft.Azure.Management.StorageCache.Models.CacheDirectorySettings * Microsoft.Azure.Management.StorageCache.Models.CacheSku -> Microsoft.Azure.Management.StorageCache.Models.Cache
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional id As String = Nothing, Optional location As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional identity As CacheIdentity = Nothing, Optional systemData As SystemData = Nothing, Optional cacheSizeGB As Nullable(Of Integer) = Nothing, Optional health As CacheHealth = Nothing, Optional mountAddresses As IList(Of String) = Nothing, Optional provisioningState As String = Nothing, Optional subnet As String = Nothing, Optional upgradeStatus As CacheUpgradeStatus = Nothing, Optional networkSettings As CacheNetworkSettings = Nothing, Optional encryptionSettings As CacheEncryptionSettings = Nothing, Optional securitySettings As CacheSecuritySettings = Nothing, Optional directoryServicesSettings As CacheDirectorySettings = Nothing, Optional sku As CacheSku = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags.

id
String

Resource ID of the Cache.

location
String

Region name string.

name
String

Name of Cache.

type
String

Type of the Cache; Microsoft.StorageCache/Cache

identity
CacheIdentity

The identity of the cache, if configured.

systemData
SystemData

The system meta data relating to this resource.

cacheSizeGB
Nullable<Int32>

The size of this Cache, in GB.

health
CacheHealth

Health of the Cache.

mountAddresses
IList<String>

Array of IP addresses that can be used by clients mounting this Cache.

provisioningState
String

ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Creating', 'Deleting', 'Updating'

subnet
String

Subnet used for the Cache.

upgradeStatus
CacheUpgradeStatus

Upgrade status of the Cache.

networkSettings
CacheNetworkSettings

Specifies network settings of the cache.

encryptionSettings
CacheEncryptionSettings

Specifies encryption settings of the cache.

securitySettings
CacheSecuritySettings

Specifies security settings of the cache.

directoryServicesSettings
CacheDirectorySettings

Specifies Directory Services settings of the cache.

sku
CacheSku

SKU for the Cache.

Applies to