Delen via


ArmStoragePoolModelFactory.DiskPoolData Method

Definition

Initializes a new instance of DiskPoolData.

public static Azure.ResourceManager.StoragePool.DiskPoolData DiskPoolData (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.StoragePool.Models.StoragePoolSku sku = default, string managedBy = default, System.Collections.Generic.IEnumerable<string> managedByExtended = default, Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetProvisioningState provisioningState = default, System.Collections.Generic.IEnumerable<string> availabilityZones = default, Azure.ResourceManager.StoragePool.Models.StoragePoolOperationalStatus status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> disks = default, Azure.Core.ResourceIdentifier subnetId = default, System.Collections.Generic.IEnumerable<string> additionalCapabilities = default);
static member DiskPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.StoragePool.Models.StoragePoolSku * string * seq<string> * Azure.ResourceManager.StoragePool.Models.DiskPoolIscsiTargetProvisioningState * seq<string> * Azure.ResourceManager.StoragePool.Models.StoragePoolOperationalStatus * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier * seq<string> -> Azure.ResourceManager.StoragePool.DiskPoolData
Public Shared Function DiskPoolData (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 sku As StoragePoolSku = Nothing, Optional managedBy As String = Nothing, Optional managedByExtended As IEnumerable(Of String) = Nothing, Optional provisioningState As DiskPoolIscsiTargetProvisioningState = Nothing, Optional availabilityZones As IEnumerable(Of String) = Nothing, Optional status As StoragePoolOperationalStatus = Nothing, Optional disks As IEnumerable(Of WritableSubResource) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional additionalCapabilities As IEnumerable(Of String) = Nothing) As DiskPoolData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
StoragePoolSku

Determines the SKU of the Disk pool.

managedBy
String

Azure resource id. Indicates if this resource is managed by another Azure resource.

managedByExtended
IEnumerable<String>

List of Azure resource ids that manage this resource.

provisioningState
DiskPoolIscsiTargetProvisioningState

State of the operation on the resource.

availabilityZones
IEnumerable<String>

Logical zone for Disk Pool resource; example: ["1"].

status
StoragePoolOperationalStatus

Operational status of the Disk Pool.

disks
IEnumerable<WritableSubResource>

List of Azure Managed Disks to attach to a Disk Pool.

subnetId
ResourceIdentifier

Azure Resource ID of a Subnet for the Disk Pool.

additionalCapabilities
IEnumerable<String>

List of additional capabilities for Disk Pool.

Returns

A new DiskPoolData instance for mocking.

Applies to