ServiceBusDisasterRecoveryData 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 ServiceBusDisasterRecovery data model. Single item in List or Get Alias(Disaster Recovery configuration) operation
public class ServiceBusDisasterRecoveryData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceBus.ServiceBusDisasterRecoveryData>
type ServiceBusDisasterRecoveryData = class
inherit ResourceData
interface IJsonModel<ServiceBusDisasterRecoveryData>
interface IPersistableModel<ServiceBusDisasterRecoveryData>
Public Class ServiceBusDisasterRecoveryData
Inherits ResourceData
Implements IJsonModel(Of ServiceBusDisasterRecoveryData), IPersistableModel(Of ServiceBusDisasterRecoveryData)
- Inheritance
- Implements
Constructors
ServiceBusDisasterRecoveryData() |
Initializes a new instance of ServiceBusDisasterRecoveryData. |
Properties
AlternateName |
Primary/Secondary eventhub namespace name, which is part of GEO DR pairing. |
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) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<ServiceBusDisasterRecoveryData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ServiceBusDisasterRecoveryData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ServiceBusDisasterRecoveryData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ServiceBusDisasterRecoveryData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ServiceBusDisasterRecoveryData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET