Partilhar via


ArmStoragePoolModelFactory.DiskPoolCreateOrUpdateContent Method

Definition

Initializes a new instance of DiskPoolCreateOrUpdateContent.

public static Azure.ResourceManager.StoragePool.Models.DiskPoolCreateOrUpdateContent DiskPoolCreateOrUpdateContent(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.StoragePool.Models.StoragePoolSku sku = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string managedBy = default, System.Collections.Generic.IEnumerable<string> managedByExtended = default, System.Collections.Generic.IEnumerable<string> availabilityZones = 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 DiskPoolCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.StoragePool.Models.StoragePoolSku * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * seq<string> * seq<string> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier * seq<string> -> Azure.ResourceManager.StoragePool.Models.DiskPoolCreateOrUpdateContent
Public Shared Function DiskPoolCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional sku As StoragePoolSku = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional managedBy As String = Nothing, Optional managedByExtended As IEnumerable(Of String) = Nothing, Optional availabilityZones As IEnumerable(Of String) = Nothing, Optional disks As IEnumerable(Of WritableSubResource) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional additionalCapabilities As IEnumerable(Of String) = Nothing) As DiskPoolCreateOrUpdateContent

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

sku
StoragePoolSku

Determines the SKU of the Disk Pool.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

availabilityZones
IEnumerable<String>

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

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 a Disk Pool.

Returns

A new DiskPoolCreateOrUpdateContent instance for mocking.

Applies to