ArmStorageCacheModelFactory.StorageCacheData 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 StorageCacheData.
public static Azure.ResourceManager.StorageCache.StorageCacheData StorageCacheData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string skuName = default, int? cacheSizeGB = default, Azure.ResourceManager.StorageCache.Models.StorageCacheHealth health = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> mountAddresses = default, Azure.ResourceManager.StorageCache.Models.StorageCacheProvisioningStateType? provisioningState = default, Azure.Core.ResourceIdentifier subnet = default, Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeStatus upgradeStatus = default, Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeSettings upgradeSettings = default, Azure.ResourceManager.StorageCache.Models.StorageCacheNetworkSettings networkSettings = default, Azure.ResourceManager.StorageCache.Models.StorageCacheEncryptionSettings encryptionSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy> securityAccessPolicies = default, Azure.ResourceManager.StorageCache.Models.StorageCacheDirectorySettings directoryServicesSettings = default, System.Collections.Generic.IEnumerable<string> zones = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.PrimingJob> primingJobs = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.StorageTargetSpaceAllocation> spaceAllocation = default);
static member StorageCacheData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * string * Nullable<int> * Azure.ResourceManager.StorageCache.Models.StorageCacheHealth * seq<System.Net.IPAddress> * Nullable<Azure.ResourceManager.StorageCache.Models.StorageCacheProvisioningStateType> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeStatus * Azure.ResourceManager.StorageCache.Models.StorageCacheUpgradeSettings * Azure.ResourceManager.StorageCache.Models.StorageCacheNetworkSettings * Azure.ResourceManager.StorageCache.Models.StorageCacheEncryptionSettings * seq<Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy> * Azure.ResourceManager.StorageCache.Models.StorageCacheDirectorySettings * seq<string> * seq<Azure.ResourceManager.StorageCache.Models.PrimingJob> * seq<Azure.ResourceManager.StorageCache.Models.StorageTargetSpaceAllocation> -> Azure.ResourceManager.StorageCache.StorageCacheData
Public Shared Function StorageCacheData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional skuName As String = Nothing, Optional cacheSizeGB As Nullable(Of Integer) = Nothing, Optional health As StorageCacheHealth = Nothing, Optional mountAddresses As IEnumerable(Of IPAddress) = Nothing, Optional provisioningState As Nullable(Of StorageCacheProvisioningStateType) = Nothing, Optional subnet As ResourceIdentifier = Nothing, Optional upgradeStatus As StorageCacheUpgradeStatus = Nothing, Optional upgradeSettings As StorageCacheUpgradeSettings = Nothing, Optional networkSettings As StorageCacheNetworkSettings = Nothing, Optional encryptionSettings As StorageCacheEncryptionSettings = Nothing, Optional securityAccessPolicies As IEnumerable(Of NfsAccessPolicy) = Nothing, Optional directoryServicesSettings As StorageCacheDirectorySettings = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional primingJobs As IEnumerable(Of PrimingJob) = Nothing, Optional spaceAllocation As IEnumerable(Of StorageTargetSpaceAllocation) = Nothing) As StorageCacheData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- identity
- ManagedServiceIdentity
The identity of the cache, if configured.
- skuName
- String
SKU for the cache.
- health
- StorageCacheHealth
Health of the cache.
- mountAddresses
- IEnumerable<IPAddress>
Array of IPv4 addresses that can be used by clients mounting this cache.
- provisioningState
- Nullable<StorageCacheProvisioningStateType>
ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.
- subnet
- ResourceIdentifier
Subnet used for the Cache.
- upgradeStatus
- StorageCacheUpgradeStatus
Upgrade status of the cache.
- upgradeSettings
- StorageCacheUpgradeSettings
Upgrade settings of the cache.
- networkSettings
- StorageCacheNetworkSettings
Specifies network settings of the cache.
- encryptionSettings
- StorageCacheEncryptionSettings
Specifies encryption settings of the cache.
- securityAccessPolicies
- IEnumerable<NfsAccessPolicy>
Specifies security settings of the cache.
- directoryServicesSettings
- StorageCacheDirectorySettings
Specifies Directory Services settings of the cache.
- zones
- IEnumerable<String>
Availability zones for resources. This field should only contain a single element in the array.
- primingJobs
- IEnumerable<PrimingJob>
Specifies the priming jobs defined in the cache.
- spaceAllocation
- IEnumerable<StorageTargetSpaceAllocation>
Specifies the space allocation percentage for each storage target in the cache.
Returns
A new StorageCacheData instance for mocking.