ArmStorageCacheModelFactory.StorageCacheData Method

Definition

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, 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, 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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy> securityAccessPolicies = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string skuName = default);
static member StorageCacheData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * 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 * Azure.ResourceManager.StorageCache.Models.StorageCacheDirectorySettings * seq<string> * seq<Azure.ResourceManager.StorageCache.Models.PrimingJob> * seq<Azure.ResourceManager.StorageCache.Models.StorageTargetSpaceAllocation> * seq<Azure.ResourceManager.StorageCache.Models.NfsAccessPolicy> * Azure.ResourceManager.Models.ManagedServiceIdentity * string -> 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 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 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, Optional securityAccessPolicies As IEnumerable(Of NfsAccessPolicy) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional skuName As String = Nothing) As StorageCacheData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

cacheSizeGB
Nullable<Int32>

The size of this Cache, in GB.

health
StorageCacheHealth

Health of the cache.

mountAddresses
IEnumerable<IPAddress>

Array of IPv4 addresses that can be used by clients mounting this cache.

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.

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.

securityAccessPolicies
IEnumerable<NfsAccessPolicy>

NFS access policies defined for this cache.

identity
ManagedServiceIdentity

The identity of the cache, if configured.

skuName
String

SKU name for this cache.

Returns

A new StorageCacheData instance for mocking.

Applies to