/// <summary>
 /// Initializes a new instance of the ElasticPoolInner class.
 /// </summary>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="creationDate">The creation date of the elastic pool
 /// (ISO8601 format).</param>
 /// <param name="state">The state of the elastic pool. Possible values
 /// include: 'Creating', 'Ready', 'Disabled'</param>
 /// <param name="edition">The edition of the elastic pool. Possible
 /// values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose',
 /// 'BusinessCritical'</param>
 /// <param name="dtu">The total shared DTU for the database elastic
 /// pool.</param>
 /// <param name="databaseDtuMax">The maximum DTU any one database can
 /// consume.</param>
 /// <param name="databaseDtuMin">The minimum DTU all databases are
 /// guaranteed.</param>
 /// <param name="storageMB">Gets storage limit for the database elastic
 /// pool in MB.</param>
 /// <param name="zoneRedundant">Whether or not this database elastic
 /// pool is zone redundant, which means the replicas of this database
 /// will be spread across multiple availability zones.</param>
 /// <param name="kind">Kind of elastic pool.  This is metadata used for
 /// the Azure portal experience.</param>
 public ElasticPoolInner(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.DateTime?creationDate = default(System.DateTime?), ElasticPoolState state = default(ElasticPoolState), ElasticPoolEdition edition = default(ElasticPoolEdition), int?dtu = default(int?), int?databaseDtuMax = default(int?), int?databaseDtuMin = default(int?), int?storageMB = default(int?), bool?zoneRedundant = default(bool?), string kind = default(string))
     : base(location, id, name, type, tags)
 {
     CreationDate   = creationDate;
     State          = state;
     Edition        = edition;
     Dtu            = dtu;
     DatabaseDtuMax = databaseDtuMax;
     DatabaseDtuMin = databaseDtuMin;
     StorageMB      = storageMB;
     ZoneRedundant  = zoneRedundant;
     Kind           = kind;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the RecommendedElasticPoolInner
 /// class.
 /// </summary>
 /// <param name="databaseEdition">The edition of the recommended
 /// elastic pool. The ElasticPoolEdition enumeration contains all the
 /// valid editions. Possible values include: 'Basic', 'Standard',
 /// 'Premium', 'GeneralPurpose', 'BusinessCritical'</param>
 /// <param name="dtu">The DTU for the recommended elastic pool.</param>
 /// <param name="databaseDtuMin">The minimum DTU for the
 /// database.</param>
 /// <param name="databaseDtuMax">The maximum DTU for the
 /// database.</param>
 /// <param name="storageMB">Gets storage size in megabytes.</param>
 /// <param name="observationPeriodStart">The observation period start
 /// (ISO8601 format).</param>
 /// <param name="observationPeriodEnd">The observation period start
 /// (ISO8601 format).</param>
 /// <param name="maxObservedDtu">Gets maximum observed DTU.</param>
 /// <param name="maxObservedStorageMB">Gets maximum observed storage in
 /// megabytes.</param>
 /// <param name="databases">The list of databases in this pool.
 /// Expanded property</param>
 /// <param name="metrics">The list of databases housed in the server.
 /// Expanded property</param>
 public RecommendedElasticPoolInner(string id = default(string), string name = default(string), string type = default(string), ElasticPoolEdition databaseEdition = default(ElasticPoolEdition), double?dtu = default(double?), double?databaseDtuMin = default(double?), double?databaseDtuMax = default(double?), double?storageMB = default(double?), System.DateTime?observationPeriodStart = default(System.DateTime?), System.DateTime?observationPeriodEnd = default(System.DateTime?), double?maxObservedDtu = default(double?), double?maxObservedStorageMB = default(double?), IList <DatabaseInner> databases = default(IList <DatabaseInner>), IList <RecommendedElasticPoolMetric> metrics = default(IList <RecommendedElasticPoolMetric>))
     : base(id, name, type)
 {
     DatabaseEdition        = databaseEdition;
     Dtu                    = dtu;
     DatabaseDtuMin         = databaseDtuMin;
     DatabaseDtuMax         = databaseDtuMax;
     StorageMB              = storageMB;
     ObservationPeriodStart = observationPeriodStart;
     ObservationPeriodEnd   = observationPeriodEnd;
     MaxObservedDtu         = maxObservedDtu;
     MaxObservedStorageMB   = maxObservedStorageMB;
     Databases              = databases;
     Metrics                = metrics;
     CustomInit();
 }