Dela via


IWithPartnerServer Interface

Definition

The SQL Failover Group definition to set the partner servers.

public interface IWithPartnerServer : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Sql.Fluent.ISqlFailoverGroup>, Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithCreate
type IWithPartnerServer = interface
    interface IBeta
    interface IWithCreate
    interface IWithReadOnlyEndpointPolicy
    interface IWithDatabase
    interface IDefinitionWithTags<IWithCreate>
    interface ICreatable<ISqlFailoverGroup>
    interface IIndexable
Public Interface IWithPartnerServer
Implements IBeta, ICreatable(Of ISqlFailoverGroup), IDefinitionWithTags(Of IWithCreate), IWithCreate
Derived
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithDatabaseId(String)

Sets the SQL Failover Group database.

(Inherited from IWithDatabase)
WithDatabaseIds(String[])

Sets the SQL Failover Group partner servers.

(Inherited from IWithDatabase)
WithPartnerServerId(String)

Sets the SQL Failover Group partner server.

WithReadOnlyEndpointPolicyDisabled()

Sets the SQL Failover Group failover policy of the read-only endpoint to "Disabled".

(Inherited from IWithReadOnlyEndpointPolicy)
WithReadOnlyEndpointPolicyEnabled()

Sets the SQL Failover Group failover policy of the read-only endpoint to "Enabled".

(Inherited from IWithReadOnlyEndpointPolicy)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)

Applies to