Class InstancePool
An Azure SQL instance pool.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class InstancePool : Microsoft.Azure.Management.Sql.Models.TrackedResource
Constructors
InstancePool()
Initializes a new instance of the InstancePool class.
Declaration
public InstancePool ();
InstancePool(String, String, Int32, String, String, String, String, IDictionary<String,String>, Sku)
Initializes a new instance of the InstancePool class.
Declaration
public InstancePool (string location, string subnetId, int vCores, string licenseType, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, Microsoft.Azure.Management.Sql.Models.Sku sku = null);
Parameters
String
location
Resource location. |
String
subnetId
Resource ID of the subnet to place this instance pool in. |
Int32
vCores
Count of vCores belonging to this instance pool. |
String
licenseType
The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', 'BasePrice' |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
IDictionary<String,String>
tags
Resource tags. |
Sku
sku
The name and tier of the SKU. |
Properties
LicenseType
Gets or sets the license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). Possible values include: 'LicenseIncluded', 'BasePrice'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.licenseType")]
public string LicenseType { get; set; }
Property Value
String
|
Sku
Gets or sets the name and tier of the SKU.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="sku")]
public Microsoft.Azure.Management.Sql.Models.Sku Sku { get; set; }
Property Value
Sku
|
SubnetId
Gets or sets resource ID of the subnet to place this instance pool in.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.subnetId")]
public string SubnetId { get; set; }
Property Value
String
|
VCores
Gets or sets count of vCores belonging to this instance pool.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.vCores")]
public int VCores { get; set; }
Property Value
Int32
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
ValidationException
Thrown if validation fails |