EventHubsDisasterRecoveryData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the EventHubsDisasterRecovery data model. Single item in List or Get Alias(Disaster Recovery configuration) operation
public class EventHubsDisasterRecoveryData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.EventHubs.EventHubsDisasterRecoveryData>
type EventHubsDisasterRecoveryData = class
inherit ResourceData
interface IJsonModel<EventHubsDisasterRecoveryData>
interface IPersistableModel<EventHubsDisasterRecoveryData>
Public Class EventHubsDisasterRecoveryData
Inherits ResourceData
Implements IJsonModel(Of EventHubsDisasterRecoveryData), IPersistableModel(Of EventHubsDisasterRecoveryData)
- Inheritance
- Implements
Constructors
EventHubsDisasterRecoveryData() |
Initializes a new instance of EventHubsDisasterRecoveryData. |
Properties
AlternateName |
Alternate name specified when alias and namespace names are same. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Location |
The geo-location where the resource lives. |
Name |
The name of the resource. (Inherited from ResourceData) |
PartnerNamespace |
ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing. |
PendingReplicationOperationsCount |
Number of entities pending to be replicated. |
ProvisioningState |
Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
Role |
role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<EventHubsDisasterRecoveryData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<EventHubsDisasterRecoveryData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<EventHubsDisasterRecoveryData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<EventHubsDisasterRecoveryData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<EventHubsDisasterRecoveryData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET