Condividi tramite


ArmNetAppModelFactory.NetAppCacheProperties Method

Definition

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.NetAppProtocolType> protocolTypes = default, Azure.ResourceManager.NetApp.Models.NetAppCacheProvisioningState? provisioningState = default, Azure.ResourceManager.NetApp.Models.NetAppCacheLifeCycleState? cacheState = default, Azure.Core.ResourceIdentifier cacheSubnetResourceId = default, Azure.Core.ResourceIdentifier peeringSubnetResourceId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetApp.Models.NetAppCacheMountTargetProperties> mountTargets = default, Azure.ResourceManager.NetApp.Models.NetAppKerberosState? kerberos = default, Azure.ResourceManager.NetApp.Models.NetAppSmbSettings 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.NetAppEncryptionState? encryption = default, Azure.ResourceManager.NetApp.Models.NetAppVolumeLanguage? language = default, Azure.ResourceManager.NetApp.Models.NetAppLdapState? ldap = default, Azure.ResourceManager.NetApp.Models.NetAppLdapServerType? ldapServerType = default, Azure.ResourceManager.NetApp.Models.NetAppOriginClusterInformation originClusterInformation = default, Azure.ResourceManager.NetApp.Models.NetAppCifsChangeNotifyState? cifsChangeNotifications = default, Azure.ResourceManager.NetApp.Models.NetAppGlobalFileLockingState? globalFileLocking = default, Azure.ResourceManager.NetApp.Models.NetAppEnableWriteBackState? writeBack = default);
static member NetAppCacheProperties : string * int64 * seq<Azure.ResourceManager.NetApp.Models.NetAppVolumeExportPolicyRule> * seq<Azure.ResourceManager.NetApp.Models.NetAppProtocolType> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppCacheProvisioningState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppCacheLifeCycleState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.NetApp.Models.NetAppCacheMountTargetProperties> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppKerberosState> * Azure.ResourceManager.NetApp.Models.NetAppSmbSettings * Nullable<single> * Nullable<single> * Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource * Azure.Core.ResourceIdentifier * Nullable<int64> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppEncryptionState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppVolumeLanguage> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppLdapState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppLdapServerType> * Azure.ResourceManager.NetApp.Models.NetAppOriginClusterInformation * Nullable<Azure.ResourceManager.NetApp.Models.NetAppCifsChangeNotifyState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppGlobalFileLockingState> * Nullable<Azure.ResourceManager.NetApp.Models.NetAppEnableWriteBackState> -> 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 NetAppProtocolType) = Nothing, Optional provisioningState As Nullable(Of NetAppCacheProvisioningState) = Nothing, Optional cacheState As Nullable(Of NetAppCacheLifeCycleState) = Nothing, Optional cacheSubnetResourceId As ResourceIdentifier = Nothing, Optional peeringSubnetResourceId As ResourceIdentifier = Nothing, Optional mountTargets As IEnumerable(Of NetAppCacheMountTargetProperties) = Nothing, Optional kerberos As Nullable(Of NetAppKerberosState) = Nothing, Optional smbSettings As NetAppSmbSettings = 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 NetAppEncryptionState) = Nothing, Optional language As Nullable(Of NetAppVolumeLanguage) = Nothing, Optional ldap As Nullable(Of NetAppLdapState) = Nothing, Optional ldapServerType As Nullable(Of NetAppLdapServerType) = Nothing, Optional originClusterInformation As NetAppOriginClusterInformation = Nothing, Optional cifsChangeNotifications As Nullable(Of NetAppCifsChangeNotifyState) = Nothing, Optional globalFileLocking As Nullable(Of NetAppGlobalFileLockingState) = Nothing, Optional writeBack As Nullable(Of NetAppEnableWriteBackState) = 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<NetAppProtocolType>

Set of supported protocol types, which include NFSv3, NFSv4 and SMB protocol.

provisioningState
Nullable<NetAppCacheProvisioningState>

Azure lifecycle management.

cacheState
Nullable<NetAppCacheLifeCycleState>

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<NetAppCacheMountTargetProperties>

List of mount targets that can be used to mount this cache.

kerberos
Nullable<NetAppKerberosState>

Describe if a cache is Kerberos enabled.

smbSettings
NetAppSmbSettings

SMB information for the cache.

throughputMibps
Nullable<Single>

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.

actualThroughputMibps
Nullable<Single>

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

maximumNumberOfFiles
Nullable<Int64>

Maximum number of files allowed.

encryption
Nullable<NetAppEncryptionState>

Specifies if the cache is encryption or not.

language
Nullable<NetAppVolumeLanguage>

Language supported for volume.

ldap
Nullable<NetAppLdapState>

Specifies whether LDAP is enabled or not for flexcache volume.

ldapServerType
Nullable<NetAppLdapServerType>

Specifies the type of LDAP server for flexcache volume.

originClusterInformation
NetAppOriginClusterInformation

Origin cluster information.

cifsChangeNotifications
Nullable<NetAppCifsChangeNotifyState>

Flag indicating whether a CIFS change notification is enabled for the cache.

globalFileLocking
Nullable<NetAppGlobalFileLockingState>

Flag indicating whether the global file lock is enabled for the cache.

writeBack
Nullable<NetAppEnableWriteBackState>

Flag indicating whether writeback is enabled for the cache.

Returns

A new NetAppCacheProperties instance for mocking.

Applies to