ArmNetAppModelFactory.NetAppCacheProperties Method
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.
Initializes a new instance of NetAppCacheProperties.
public static Azure.ResourceManager.NetApp.Models.NetAppCacheProperties NetAppCacheProperties(string filepath = default, long size = 0, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> exportRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.ProtocolType> protocolTypes = default, Azure.ResourceManager.NetApp.Models.CacheProvisioningState? provisioningState = default, Azure.ResourceManager.NetApp.Models.CacheLifeCycleState? cacheState = default, Azure.Core.ResourceIdentifier cacheSubnetResourceId = default, Azure.Core.ResourceIdentifier peeringSubnetResourceId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.CacheMountTargetProperties> mountTargets = default, Azure.ResourceManager.NetApp.Models.KerberosState? kerberos = default, Azure.ResourceManager.NetApp.Models.SmbSettings smbSettings = default, float? throughputMibps = default, float? actualThroughputMibps = default, Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource encryptionKeySource = default, Azure.Core.ResourceIdentifier keyVaultPrivateEndpointResourceId = default, long? maximumNumberOfFiles = default, Azure.ResourceManager.NetApp.Models.EncryptionState? encryption = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeLanguage? language = default, Azure.ResourceManager.NetApp.Models.LdapState? ldap = default, Azure.ResourceManager.NetApp.Models.LdapServerType? ldapServerType = default, Azure.ResourceManager.NetApp.Models.OriginClusterInformation originClusterInformation = default, Azure.ResourceManager.NetApp.Models.CifsChangeNotifyState? cifsChangeNotifications = default, Azure.ResourceManager.NetApp.Models.GlobalFileLockingState? globalFileLocking = default, Azure.ResourceManager.NetApp.Models.EnableWriteBackState? writeBack = default);
static member NetAppCacheProperties : string * int64 * seq<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> * seq<Azure.ResourceManager.NetApp.Models.ProtocolType> * Nullable<Azure.ResourceManager.NetApp.Models.CacheProvisioningState> * Nullable<Azure.ResourceManager.NetApp.Models.CacheLifeCycleState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.NetApp.Models.CacheMountTargetProperties> * Nullable<Azure.ResourceManager.NetApp.Models.KerberosState> * Azure.ResourceManager.NetApp.Models.SmbSettings * Nullable<single> * Nullable<single> * Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource * Azure.Core.ResourceIdentifier * Nullable<int64> * Nullable<Azure.ResourceManager.NetApp.Models.EncryptionState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeLanguage> * Nullable<Azure.ResourceManager.NetApp.Models.LdapState> * Nullable<Azure.ResourceManager.NetApp.Models.LdapServerType> * Azure.ResourceManager.NetApp.Models.OriginClusterInformation * Nullable<Azure.ResourceManager.NetApp.Models.CifsChangeNotifyState> * Nullable<Azure.ResourceManager.NetApp.Models.GlobalFileLockingState> * Nullable<Azure.ResourceManager.NetApp.Models.EnableWriteBackState> -> Azure.ResourceManager.NetApp.Models.NetAppCacheProperties
Public Shared Function NetAppCacheProperties (Optional filepath As String = Nothing, Optional size As Long = 0, Optional exportRules As IEnumerable(Of NetAppVolumeExportPolicyRule) = Nothing, Optional protocolTypes As IEnumerable(Of ProtocolType) = Nothing, Optional provisioningState As Nullable(Of CacheProvisioningState) = Nothing, Optional cacheState As Nullable(Of CacheLifeCycleState) = Nothing, Optional cacheSubnetResourceId As ResourceIdentifier = Nothing, Optional peeringSubnetResourceId As ResourceIdentifier = Nothing, Optional mountTargets As IEnumerable(Of CacheMountTargetProperties) = Nothing, Optional kerberos As Nullable(Of KerberosState) = Nothing, Optional smbSettings As SmbSettings = Nothing, Optional throughputMibps As Nullable(Of Single) = Nothing, Optional actualThroughputMibps As Nullable(Of Single) = Nothing, Optional encryptionKeySource As NetAppEncryptionKeySource = Nothing, Optional keyVaultPrivateEndpointResourceId As ResourceIdentifier = Nothing, Optional maximumNumberOfFiles As Nullable(Of Long) = Nothing, Optional encryption As Nullable(Of EncryptionState) = Nothing, Optional language As Nullable(Of NetAppVolumeLanguage) = Nothing, Optional ldap As Nullable(Of LdapState) = Nothing, Optional ldapServerType As Nullable(Of LdapServerType) = Nothing, Optional originClusterInformation As OriginClusterInformation = Nothing, Optional cifsChangeNotifications As Nullable(Of CifsChangeNotifyState) = Nothing, Optional globalFileLocking As Nullable(Of GlobalFileLockingState) = Nothing, Optional writeBack As Nullable(Of EnableWriteBackState) = Nothing) As NetAppCacheProperties
Parameters
- filepath
- String
The file path of the Cache.
- size
- Int64
Maximum storage quota allowed for a file system in bytes. Valid values are in the range 50GiB to 1PiB. Values expressed in bytes as multiples of 1GiB.
- exportRules
- IEnumerable<NetAppVolumeExportPolicyRule>
Set of export policy rules.
- protocolTypes
- IEnumerable<ProtocolType>
Set of supported protocol types, which include NFSv3, NFSv4 and SMB protocol.
- provisioningState
- Nullable<CacheProvisioningState>
Azure lifecycle management.
- cacheState
- Nullable<CacheLifeCycleState>
Azure NetApp Files Cache lifecycle management.
- cacheSubnetResourceId
- ResourceIdentifier
The Azure Resource URI for a delegated cache subnet that will be used to allocate data IPs.
- peeringSubnetResourceId
- ResourceIdentifier
The Azure Resource URI for a delegated subnet that will be used for ANF Intercluster Interface IP addresses.
- mountTargets
- IEnumerable<CacheMountTargetProperties>
List of mount targets that can be used to mount this cache.
- kerberos
- Nullable<KerberosState>
Describe if a cache is Kerberos enabled.
- smbSettings
- SmbSettings
SMB information for the cache.
Maximum throughput in MiB/s that can be achieved by this cache volume and this will be accepted as input only for manual qosType cache.
Actual throughput in MiB/s for auto qosType volumes calculated based on size and serviceLevel.
- encryptionKeySource
- NetAppEncryptionKeySource
Source of key used to encrypt data in the cache. Applicable if NetApp account has encryption.keySource = 'Microsoft.KeyVault'. Possible values (case-insensitive) are: 'Microsoft.NetApp, Microsoft.KeyVault'.
- keyVaultPrivateEndpointResourceId
- ResourceIdentifier
The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.
- encryption
- Nullable<EncryptionState>
Specifies if the cache is encryption or not.
- language
- Nullable<NetAppVolumeLanguage>
Language supported for volume.
- ldapServerType
- Nullable<LdapServerType>
Specifies the type of LDAP server for flexcache volume.
- originClusterInformation
- OriginClusterInformation
Origin cluster information.
- cifsChangeNotifications
- Nullable<CifsChangeNotifyState>
Flag indicating whether a CIFS change notification is enabled for the cache.
- globalFileLocking
- Nullable<GlobalFileLockingState>
Flag indicating whether the global file lock is enabled for the cache.
- writeBack
- Nullable<EnableWriteBackState>
Flag indicating whether writeback is enabled for the cache.
Returns
A new NetAppCacheProperties instance for mocking.