azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

42 строки
3.6 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy"
fullName: "com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy"
name: "SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy"
nameWithType: "SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy"
summary: "The SQL Failover Group definition to set the read-write endpoint failover policy."
syntax: "public static interface **SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy**"
methods:
- uid: "com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy.withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int)"
fullName: "com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy.withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)"
name: "withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)"
nameWithType: "SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy.withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)"
summary: "Sets the SQL Failover Group read-write endpoint failover policy as \"Automatic\"."
modifiers:
- "abstract"
parameters:
- description: "the grace period before failover with data loss is attempted for the read-write endpoint"
name: "gracePeriodInMinutes"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer withAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(int gracePeriodInMinutes)"
desc: "Sets the SQL Failover Group read-write endpoint failover policy as \"Automatic\"."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer?alt=com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer&text=WithPartnerServer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy.withManualReadWriteEndpointPolicy()"
fullName: "com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy.withManualReadWriteEndpointPolicy()"
name: "withManualReadWriteEndpointPolicy()"
nameWithType: "SqlFailoverGroupOperations.DefinitionStages.WithReadWriteEndpointPolicy.withManualReadWriteEndpointPolicy()"
summary: "Sets the SQL Failover Group read-write endpoint failover policy as \"Manual\"."
modifiers:
- "abstract"
syntax: "public abstract SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer withManualReadWriteEndpointPolicy()"
desc: "Sets the SQL Failover Group read-write endpoint failover policy as \"Manual\"."
returns:
description: "the next stage of the definition"
type: "<xref href=\"com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer?alt=com.microsoft.azure.management.sql.SqlFailoverGroupOperations.DefinitionStages.WithPartnerServer&text=WithPartnerServer\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The SQL Failover Group definition to set the read-write endpoint failover policy."
metadata: {}
package: "com.microsoft.azure.management.sql"
artifact: com.microsoft.azure:azure-mgmt-sql:1.41.4