/// <summary>
 /// Initializes a new instance of the ElasticPoolUpdate class.
 /// </summary>
 /// <param name="maxSizeBytes">The storage limit for the database
 /// elastic pool in bytes.</param>
 /// <param name="perDatabaseSettings">The per database settings for the
 /// elastic pool.</param>
 /// <param name="zoneRedundant">Whether or not this elastic pool is
 /// zone redundant, which means the replicas of this elastic pool will
 /// be spread across multiple availability zones.</param>
 /// <param name="licenseType">The license type to apply for this
 /// elastic pool. Possible values include: 'LicenseIncluded',
 /// 'BasePrice'</param>
 /// <param name="tags">Resource tags.</param>
 public ElasticPoolUpdate(Sku sku = default(Sku), long?maxSizeBytes = default(long?), ElasticPoolPerDatabaseSettings perDatabaseSettings = default(ElasticPoolPerDatabaseSettings), bool?zoneRedundant = default(bool?), string licenseType = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Sku                 = sku;
     MaxSizeBytes        = maxSizeBytes;
     PerDatabaseSettings = perDatabaseSettings;
     ZoneRedundant       = zoneRedundant;
     LicenseType         = licenseType;
     Tags                = tags;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the ElasticPoolUpdate class.
 /// </summary>
 /// <param name="maxSizeBytes">The storage limit for the database
 /// elastic pool in bytes.</param>
 /// <param name="perDatabaseSettings">The per database settings for the
 /// elastic pool.</param>
 /// <param name="zoneRedundant">Whether or not this elastic pool is
 /// zone redundant, which means the replicas of this elastic pool will
 /// be spread across multiple availability zones.</param>
 /// <param name="licenseType">The license type to apply for this
 /// elastic pool. Possible values include: 'LicenseIncluded',
 /// 'BasePrice'</param>
 /// <param name="maintenanceConfigurationId">Maintenance configuration
 /// id assigned to the elastic pool. This configuration defines the
 /// period when the maintenance updates will will occur.</param>
 /// <param name="highAvailabilityReplicaCount">The number of secondary
 /// replicas associated with the elastic pool that are used to provide
 /// high availability. Applicable only to Hyperscale elastic
 /// pools.</param>
 /// <param name="tags">Resource tags.</param>
 public ElasticPoolUpdate(Sku sku = default(Sku), long?maxSizeBytes = default(long?), ElasticPoolPerDatabaseSettings perDatabaseSettings = default(ElasticPoolPerDatabaseSettings), bool?zoneRedundant = default(bool?), string licenseType = default(string), string maintenanceConfigurationId = default(string), int?highAvailabilityReplicaCount = default(int?), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Sku                          = sku;
     MaxSizeBytes                 = maxSizeBytes;
     PerDatabaseSettings          = perDatabaseSettings;
     ZoneRedundant                = zoneRedundant;
     LicenseType                  = licenseType;
     MaintenanceConfigurationId   = maintenanceConfigurationId;
     HighAvailabilityReplicaCount = highAvailabilityReplicaCount;
     Tags                         = tags;
     CustomInit();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the ElasticPool class.
 /// </summary>
 /// <param name="location">Resource location.</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="kind">Kind of elastic pool. This is metadata used for
 /// the Azure portal experience.</param>
 /// <param name="state">The state of the elastic pool. Possible values
 /// include: 'Creating', 'Ready', 'Disabled'</param>
 /// <param name="creationDate">The creation date of the elastic pool
 /// (ISO8601 format).</param>
 /// <param name="maxSizeBytes">The storage limit for the database
 /// elastic pool in bytes.</param>
 /// <param name="perDatabaseSettings">The per database settings for the
 /// elastic pool.</param>
 /// <param name="zoneRedundant">Whether or not this elastic pool is
 /// zone redundant, which means the replicas of this elastic pool will
 /// be spread across multiple availability zones.</param>
 /// <param name="licenseType">The license type to apply for this
 /// elastic pool. Possible values include: 'LicenseIncluded',
 /// 'BasePrice'</param>
 public ElasticPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), string kind = default(string), string state = default(string), System.DateTime?creationDate = default(System.DateTime?), long?maxSizeBytes = default(long?), ElasticPoolPerDatabaseSettings perDatabaseSettings = default(ElasticPoolPerDatabaseSettings), bool?zoneRedundant = default(bool?), string licenseType = default(string))
     : base(location, id, name, type, tags)
 {
     Sku                 = sku;
     Kind                = kind;
     State               = state;
     CreationDate        = creationDate;
     MaxSizeBytes        = maxSizeBytes;
     PerDatabaseSettings = perDatabaseSettings;
     ZoneRedundant       = zoneRedundant;
     LicenseType         = licenseType;
     CustomInit();
 }