你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSqlModelFactory.InstancePoolData 方法

定义

初始化 InstancePoolData 的新实例。

public static Azure.ResourceManager.Sql.InstancePoolData InstancePoolData (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.Sql.Models.SqlSku sku = default, Azure.Core.ResourceIdentifier subnetId = default, int? vCores = default, Azure.ResourceManager.Sql.Models.InstancePoolLicenseType? licenseType = default);
static member InstancePoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Sql.Models.SqlSku * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.InstancePoolLicenseType> -> Azure.ResourceManager.Sql.InstancePoolData
Public Shared Function InstancePoolData (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 SqlSku = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional vCores As Nullable(Of Integer) = Nothing, Optional licenseType As Nullable(Of InstancePoolLicenseType) = Nothing) As InstancePoolData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

sku
SqlSku

SKU 的名称和层。

subnetId
ResourceIdentifier

要放置此实例池的子网的资源 ID。

vCores
Nullable<Int32>

属于此实例池的 vCore 计数。

licenseType
Nullable<InstancePoolLicenseType>

许可证类型。 可能的值为“LicenseIncluded” (SQL 许可证) 包含的价格, (不包含 SQL 许可证价格的“BasePrice”) 。

返回

用于模拟的新 InstancePoolData 实例。

适用于