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

84 строки
7.5 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint"
fullName: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint"
name: "FailoverGroupReadWriteEndpoint"
nameWithType: "FailoverGroupReadWriteEndpoint"
summary: "Read-write endpoint of the failover group instance."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **FailoverGroupReadWriteEndpoint**"
constructors:
- uid: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.FailoverGroupReadWriteEndpoint()"
fullName: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.FailoverGroupReadWriteEndpoint()"
name: "FailoverGroupReadWriteEndpoint()"
nameWithType: "FailoverGroupReadWriteEndpoint.FailoverGroupReadWriteEndpoint()"
syntax: "public FailoverGroupReadWriteEndpoint()"
methods:
- uid: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.failoverPolicy()"
fullName: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.failoverPolicy()"
name: "failoverPolicy()"
nameWithType: "FailoverGroupReadWriteEndpoint.failoverPolicy()"
summary: "Get failover policy of the read-write endpoint for the failover group."
syntax: "public ReadWriteEndpointFailoverPolicy failoverPolicy()"
desc: "Get failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic'."
returns:
description: "the failoverPolicy value"
type: "<xref href=\"com.microsoft.azure.management.sql.ReadWriteEndpointFailoverPolicy?alt=com.microsoft.azure.management.sql.ReadWriteEndpointFailoverPolicy&text=ReadWriteEndpointFailoverPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.failoverWithDataLossGracePeriodMinutes()"
fullName: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.failoverWithDataLossGracePeriodMinutes()"
name: "failoverWithDataLossGracePeriodMinutes()"
nameWithType: "FailoverGroupReadWriteEndpoint.failoverWithDataLossGracePeriodMinutes()"
summary: "Get grace period before failover with data loss is attempted for the read-write endpoint."
syntax: "public Integer failoverWithDataLossGracePeriodMinutes()"
desc: "Get grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required."
returns:
description: "the failoverWithDataLossGracePeriodMinutes value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.withFailoverPolicy(com.microsoft.azure.management.sql.ReadWriteEndpointFailoverPolicy)"
fullName: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.withFailoverPolicy(ReadWriteEndpointFailoverPolicy failoverPolicy)"
name: "withFailoverPolicy(ReadWriteEndpointFailoverPolicy failoverPolicy)"
nameWithType: "FailoverGroupReadWriteEndpoint.withFailoverPolicy(ReadWriteEndpointFailoverPolicy failoverPolicy)"
summary: "Set failover policy of the read-write endpoint for the failover group."
parameters:
- description: "the failoverPolicy value to set"
name: "failoverPolicy"
type: "<xref href=\"com.microsoft.azure.management.sql.ReadWriteEndpointFailoverPolicy?alt=com.microsoft.azure.management.sql.ReadWriteEndpointFailoverPolicy&text=ReadWriteEndpointFailoverPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public FailoverGroupReadWriteEndpoint withFailoverPolicy(ReadWriteEndpointFailoverPolicy failoverPolicy)"
desc: "Set failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. Possible values include: 'Manual', 'Automatic'."
returns:
description: "the FailoverGroupReadWriteEndpoint object itself."
type: "<xref href=\"com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint?alt=com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint&text=FailoverGroupReadWriteEndpoint\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.withFailoverWithDataLossGracePeriodMinutes(java.lang.Integer)"
fullName: "com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint.withFailoverWithDataLossGracePeriodMinutes(Integer failoverWithDataLossGracePeriodMinutes)"
name: "withFailoverWithDataLossGracePeriodMinutes(Integer failoverWithDataLossGracePeriodMinutes)"
nameWithType: "FailoverGroupReadWriteEndpoint.withFailoverWithDataLossGracePeriodMinutes(Integer failoverWithDataLossGracePeriodMinutes)"
summary: "Set grace period before failover with data loss is attempted for the read-write endpoint."
parameters:
- description: "the failoverWithDataLossGracePeriodMinutes value to set"
name: "failoverWithDataLossGracePeriodMinutes"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public FailoverGroupReadWriteEndpoint withFailoverWithDataLossGracePeriodMinutes(Integer failoverWithDataLossGracePeriodMinutes)"
desc: "Set grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required."
returns:
description: "the FailoverGroupReadWriteEndpoint object itself."
type: "<xref href=\"com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint?alt=com.microsoft.azure.management.sql.FailoverGroupReadWriteEndpoint&text=FailoverGroupReadWriteEndpoint\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Read-write endpoint of the failover group instance."
metadata: {}
package: "com.microsoft.azure.management.sql"
artifact: com.microsoft.azure:azure-mgmt-sql:1.41.4