| Modifier and Type | Method and Description |
|---|---|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithReadWriteEndpointPolicy.withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)
Sets the SQL Failover Group read-write endpoint failover policy as "Automatic".
|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithDatabase.withDatabaseIds(String... ids)
Sets the SQL Failover Group partner servers.
|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithReadWriteEndpointPolicy.withManualReadWriteEndpointPolicy()
Sets the SQL Failover Group read-write endpoint failover policy as "Manual".
|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithDatabase.withNewDatabaseId(String id)
Sets the SQL Failover Group database.
|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithDatabase.withoutDatabaseId(String id)
Removes the SQL Failover Group database.
|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithReadOnlyEndpointPolicy.withReadOnlyEndpointPolicyDisabled()
Sets the SQL Failover Group failover policy of the read-only endpoint to "Disabled".
|
SqlFailoverGroup.Update |
SqlFailoverGroup.UpdateStages.WithReadOnlyEndpointPolicy.withReadOnlyEndpointPolicyEnabled()
Sets the SQL Failover Group failover policy of the read-only endpoint to "Enabled".
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/