Udostępnij za pośrednictwem


DistributedAvailabilityGroupData Class

Definition

A class representing the DistributedAvailabilityGroup data model. Distributed availability group between box and Sql Managed Instance.

public class DistributedAvailabilityGroupData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.DistributedAvailabilityGroupData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.DistributedAvailabilityGroupData>
type DistributedAvailabilityGroupData = class
    inherit ResourceData
    interface IJsonModel<DistributedAvailabilityGroupData>
    interface IPersistableModel<DistributedAvailabilityGroupData>
Public Class DistributedAvailabilityGroupData
Inherits ResourceData
Implements IJsonModel(Of DistributedAvailabilityGroupData), IPersistableModel(Of DistributedAvailabilityGroupData)
Inheritance
DistributedAvailabilityGroupData
Implements

Constructors

DistributedAvailabilityGroupData()

Initializes a new instance of DistributedAvailabilityGroupData.

Properties

DistributedAvailabilityGroupId

The distributed availability group id.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
LastHardenedLsn

The last hardened lsn.

LinkState

The link state.

Name

The name of the resource.

(Inherited from ResourceData)
PrimaryAvailabilityGroupName

The primary availability group name.

ReplicationMode

The replication mode of a distributed availability group. Parameter will be ignored during link creation.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SecondaryAvailabilityGroupName

The secondary availability group name.

SourceEndpoint

The source endpoint.

SourceReplicaId

The source replica id.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TargetDatabase

The name of the target database.

TargetReplicaId

The target replica id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<DistributedAvailabilityGroupData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DistributedAvailabilityGroupData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DistributedAvailabilityGroupData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DistributedAvailabilityGroupData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DistributedAvailabilityGroupData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to