SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer Interface
public interface WithPartnerServer extends SqlFailoverGroupOperations.DefinitionStages.WithCreate
The SQL Failover Group definition to set the partner servers.
Method Summary
Modifier and Type | Method and Description |
---|---|
SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer |
withPartnerServerId(String id)
Sets the SQL Failover Group partner server. |
Inherited Members
Creatable<T>.create()
Creatable<T>.createAsync(final ServiceCallback<T> callback)
Creatable<T>.createAsync()
Indexable.key()
HasName.name()
SqlFailoverGroupOperations.DefinitionStages.WithDatabase.withDatabaseId(String id)
SqlFailoverGroupOperations.DefinitionStages.WithDatabase.withDatabaseIds(String... ids)
SqlFailoverGroupOperations.DefinitionStages.WithReadOnlyEndpointPolicy.withReadOnlyEndpointPolicyDisabled()
SqlFailoverGroupOperations.DefinitionStages.WithReadOnlyEndpointPolicy.withReadOnlyEndpointPolicyEnabled()
Resource.DefinitionWithTags<T>.withTag(String key, String value)
Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags)
Method Details
withPartnerServerId
public SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer withPartnerServerId(String id)
Sets the SQL Failover Group partner server.
Parameters:
id
- the ID of the partner SQL server
Returns:
The next stage of the definition.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java