Share via


ArmStorageCacheModelFactory.StorageTargetData Method

Definition

Initializes a new instance of StorageTargetData.

public static Azure.ResourceManager.StorageCache.StorageTargetData StorageTargetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageCache.Models.NamespaceJunction> junctions = default, Azure.ResourceManager.StorageCache.Models.StorageTargetType? targetType = default, Azure.ResourceManager.StorageCache.Models.StorageCacheProvisioningStateType? provisioningState = default, Azure.ResourceManager.StorageCache.Models.StorageTargetOperationalStateType? state = default, Azure.ResourceManager.StorageCache.Models.Nfs3Target nfs3 = default, Azure.Core.ResourceIdentifier clfsTarget = default, System.Collections.Generic.IDictionary<string,string> unknownAttributes = default, Azure.ResourceManager.StorageCache.Models.BlobNfsTarget blobNfs = default, int? allocationPercentage = default, Azure.Core.AzureLocation? location = default);
static member StorageTargetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.StorageCache.Models.NamespaceJunction> * Nullable<Azure.ResourceManager.StorageCache.Models.StorageTargetType> * Nullable<Azure.ResourceManager.StorageCache.Models.StorageCacheProvisioningStateType> * Nullable<Azure.ResourceManager.StorageCache.Models.StorageTargetOperationalStateType> * Azure.ResourceManager.StorageCache.Models.Nfs3Target * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.StorageCache.Models.BlobNfsTarget * Nullable<int> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.StorageCache.StorageTargetData
Public Shared Function StorageTargetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional junctions As IEnumerable(Of NamespaceJunction) = Nothing, Optional targetType As Nullable(Of StorageTargetType) = Nothing, Optional provisioningState As Nullable(Of StorageCacheProvisioningStateType) = Nothing, Optional state As Nullable(Of StorageTargetOperationalStateType) = Nothing, Optional nfs3 As Nfs3Target = Nothing, Optional clfsTarget As ResourceIdentifier = Nothing, Optional unknownAttributes As IDictionary(Of String, String) = Nothing, Optional blobNfs As BlobNfsTarget = Nothing, Optional allocationPercentage As Nullable(Of Integer) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As StorageTargetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

junctions
IEnumerable<NamespaceJunction>

List of cache namespace junctions to target for namespace associations.

targetType
Nullable<StorageTargetType>

Type of the Storage Target.

state
Nullable<StorageTargetOperationalStateType>

Storage target operational state.

nfs3
Nfs3Target

Properties when targetType is nfs3.

clfsTarget
ResourceIdentifier

Properties when targetType is clfs.

unknownAttributes
IDictionary<String,String>

Properties when targetType is unknown.

blobNfs
BlobNfsTarget

Properties when targetType is blobNfs.

allocationPercentage
Nullable<Int32>

The percentage of cache space allocated for this storage target.

location
Nullable<AzureLocation>

Region name string.

Returns

A new StorageTargetData instance for mocking.

Applies to