Udostępnij za pośrednictwem


ArmSqlModelFactory.InstancePoolData Method

Definition

Overloads

InstancePoolData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, ResourceIdentifier, Nullable<Int32>, Nullable<InstancePoolLicenseType>)
InstancePoolData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, ResourceIdentifier, Nullable<Int32>, Nullable<InstancePoolLicenseType>, String, ResourceIdentifier)

Initializes a new instance of InstancePoolData.

InstancePoolData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, ResourceIdentifier, Nullable<Int32>, Nullable<InstancePoolLicenseType>)

Source:
ArmSqlModelFactory.cs
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

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation
sku
SqlSku
vCores
Nullable<Int32>

Returns

Applies to

InstancePoolData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, SqlSku, ResourceIdentifier, Nullable<Int32>, Nullable<InstancePoolLicenseType>, String, ResourceIdentifier)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of 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, string dnsZone = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = 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> * string * Azure.Core.ResourceIdentifier -> 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, Optional dnsZone As String = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing) As InstancePoolData

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
SqlSku

The name and tier of the SKU.

subnetId
ResourceIdentifier

Resource ID of the subnet to place this instance pool in.

vCores
Nullable<Int32>

Count of vCores belonging to this instance pool.

licenseType
Nullable<InstancePoolLicenseType>

The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).

dnsZone
String

The Dns Zone that the managed instance pool is in.

maintenanceConfigurationId
ResourceIdentifier

Specifies maintenance configuration id to apply to this managed instance.

Returns

A new InstancePoolData instance for mocking.

Applies to