共用方式為


ArmSqlModelFactory.InstancePoolPatch Method

Definition

Initializes a new instance of InstancePoolPatch.

public static Azure.ResourceManager.Sql.Models.InstancePoolPatch InstancePoolPatch (Azure.ResourceManager.Sql.Models.SqlSku sku = default, System.Collections.Generic.IDictionary<string,string> tags = 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 InstancePoolPatch : Azure.ResourceManager.Sql.Models.SqlSku * System.Collections.Generic.IDictionary<string, string> * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.InstancePoolLicenseType> * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.Models.InstancePoolPatch
Public Shared Function InstancePoolPatch (Optional sku As SqlSku = Nothing, Optional tags As IDictionary(Of String, String) = 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 InstancePoolPatch

Parameters

sku
SqlSku

The name and tier of the SKU.

tags
IDictionary<String,String>

Resource tags.

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 InstancePoolPatch instance for mocking.

Applies to