NetAppCacheProperties Constructor
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 NetAppCacheProperties(string filepath, long size, Azure.Core.ResourceIdentifier cacheSubnetResourceId, Azure.Core.ResourceIdentifier peeringSubnetResourceId, Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource encryptionKeySource, Azure.ResourceManager.NetApp.Models.OriginClusterInformation originClusterInformation);
new Azure.ResourceManager.NetApp.Models.NetAppCacheProperties : string * int64 * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.ResourceManager.NetApp.Models.NetAppEncryptionKeySource * Azure.ResourceManager.NetApp.Models.OriginClusterInformation -> Azure.ResourceManager.NetApp.Models.NetAppCacheProperties
Public Sub New (filepath As String, size As Long, cacheSubnetResourceId As ResourceIdentifier, peeringSubnetResourceId As ResourceIdentifier, encryptionKeySource As NetAppEncryptionKeySource, originClusterInformation As OriginClusterInformation)
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.
- 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.
- 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'.
- originClusterInformation
- OriginClusterInformation
Origin cluster information.
Exceptions
filepath, cacheSubnetResourceId, peeringSubnetResourceId or originClusterInformation is null.