/// <summary>
 /// Initializes a new instance of the SqlDatabaseUpdate class.
 /// </summary>
 /// <param name="status">The status of the database. Possible values
 /// include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering',
 /// 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode',
 /// 'AutoClosed', 'Copying', 'Creating', 'Inaccessible',
 /// 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling',
 /// 'OfflineChangingDwPerformanceTiers',
 /// 'OnlineChangingDwPerformanceTiers', 'Disabled'</param>
 /// <param name="collation">The collation of the database.</param>
 /// <param name="databaseGuid">The Guid of the database.</param>
 /// <param name="storageRedundancy">The storage redundancy of the
 /// database. Possible values include: 'Local', 'Geo', 'Zone',
 /// 'GeoZone'</param>
 /// <param name="dataRetention">Sql database data retention.</param>
 /// <param name="tags">Resource tags.</param>
 public SqlDatabaseUpdate(string status = default(string), string collation = default(string), System.Guid?databaseGuid = default(System.Guid?), string storageRedundancy = default(string), SqlDatabaseDataRetention dataRetention = default(SqlDatabaseDataRetention), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Status            = status;
     Collation         = collation;
     DatabaseGuid      = databaseGuid;
     StorageRedundancy = storageRedundancy;
     DataRetention     = dataRetention;
     Tags = tags;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the SqlDatabase class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="systemData">SystemData of SqlDatabase.</param>
 /// <param name="status">The status of the database. Possible values
 /// include: 'Online', 'Restoring', 'RecoveryPending', 'Recovering',
 /// 'Suspect', 'Offline', 'Standby', 'Shutdown', 'EmergencyMode',
 /// 'AutoClosed', 'Copying', 'Creating', 'Inaccessible',
 /// 'OfflineSecondary', 'Pausing', 'Paused', 'Resuming', 'Scaling',
 /// 'OfflineChangingDwPerformanceTiers',
 /// 'OnlineChangingDwPerformanceTiers', 'Disabled'</param>
 /// <param name="collation">The collation of the database.</param>
 /// <param name="databaseGuid">The Guid of the database.</param>
 /// <param name="storageRedundancy">The storage redundancy of the
 /// database. Possible values include: 'Local', 'Geo', 'Zone',
 /// 'GeoZone'</param>
 /// <param name="dataRetention">Sql database data retention.</param>
 public SqlDatabase(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SystemData systemData = default(SystemData), string status = default(string), string collation = default(string), System.Guid?databaseGuid = default(System.Guid?), string storageRedundancy = default(string), SqlDatabaseDataRetention dataRetention = default(SqlDatabaseDataRetention))
     : base(location, id, name, type, tags)
 {
     SystemData        = systemData;
     Status            = status;
     Collation         = collation;
     DatabaseGuid      = databaseGuid;
     StorageRedundancy = storageRedundancy;
     DataRetention     = dataRetention;
     CustomInit();
 }