Пример #1
0
 /// <summary>
 /// Initializes a new instance of the FailoverGroupUpdateInner class.
 /// </summary>
 /// <param name="readWriteEndpoint">Read-write endpoint of the failover
 /// group instance.</param>
 /// <param name="readOnlyEndpoint">Read-only endpoint of the failover
 /// group instance.</param>
 /// <param name="databases">List of databases in the failover
 /// group.</param>
 /// <param name="tags">Resource tags.</param>
 public FailoverGroupUpdateInner(FailoverGroupReadWriteEndpoint readWriteEndpoint = default(FailoverGroupReadWriteEndpoint), FailoverGroupReadOnlyEndpoint readOnlyEndpoint = default(FailoverGroupReadOnlyEndpoint), IList <string> databases = default(IList <string>), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     ReadWriteEndpoint = readWriteEndpoint;
     ReadOnlyEndpoint  = readOnlyEndpoint;
     Databases         = databases;
     Tags = tags;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the FailoverGroupInner class.
 /// </summary>
 /// <param name="readWriteEndpoint">Read-write endpoint of the failover
 /// group instance.</param>
 /// <param name="partnerServers">List of partner server information for
 /// the failover group.</param>
 /// <param name="readOnlyEndpoint">Read-only endpoint of the failover
 /// group instance.</param>
 /// <param name="replicationRole">Local replication role of the
 /// failover group instance. Possible values include: 'Primary',
 /// 'Secondary'</param>
 /// <param name="replicationState">Replication state of the failover
 /// group instance.</param>
 /// <param name="databases">List of databases in the failover
 /// group.</param>
 public FailoverGroupInner(FailoverGroupReadWriteEndpoint readWriteEndpoint, IList <PartnerInfo> partnerServers, string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), FailoverGroupReadOnlyEndpoint readOnlyEndpoint = default(FailoverGroupReadOnlyEndpoint), string replicationRole = default(string), string replicationState = default(string), IList <string> databases = default(IList <string>))
     : base(location, id, name, type, tags)
 {
     ReadWriteEndpoint = readWriteEndpoint;
     ReadOnlyEndpoint  = readOnlyEndpoint;
     ReplicationRole   = replicationRole;
     ReplicationState  = replicationState;
     PartnerServers    = partnerServers;
     Databases         = databases;
     CustomInit();
 }