ArmStorageCacheModelFactory.StorageTargetData Method

Definition

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.ResourceManager.StorageCache.Models.BlobNfsTarget blobNfs = default, int? allocationPercentage = default, Azure.Core.ResourceIdentifier clfsTarget = default, System.Collections.Generic.IDictionary<string,string> unknownAttributes = 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.ResourceManager.StorageCache.Models.BlobNfsTarget * Nullable<int> * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, string> * 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 blobNfs As BlobNfsTarget = Nothing, Optional allocationPercentage As Nullable(Of Integer) = Nothing, Optional clfsTarget As ResourceIdentifier = Nothing, Optional unknownAttributes As IDictionary(Of String, String) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As StorageTargetData

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.

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.

blobNfs
BlobNfsTarget

Properties when targetType is blobNfs.

allocationPercentage
Nullable<Int32>

The percentage of cache space allocated for this storage target.

clfsTarget
ResourceIdentifier

Resource ID of storage container.

unknownAttributes
IDictionary<String,String>

Dictionary of string->string pairs containing information about the Storage Target.

location
Nullable<AzureLocation>

Region name string.

Returns

A new StorageTargetData instance for mocking.

Applies to