Dela via


PolicyProviderSpecificDetails Class

Definition

Base class for Provider specific details for policies. Please note PolicyProviderSpecificDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include A2APolicyDetails, HyperVReplicaPolicyDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaBasePolicyDetails, InMagePolicyDetails, InMageAzureV2PolicyDetails, InMageBasePolicyDetails, InMageRcmPolicyDetails, InMageRcmFailbackPolicyDetails and VMwareCbtPolicyDetails.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.UnknownPolicyProviderSpecificDetails))]
public abstract class PolicyProviderSpecificDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificDetails>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.UnknownPolicyProviderSpecificDetails))>]
type PolicyProviderSpecificDetails = class
    interface IJsonModel<PolicyProviderSpecificDetails>
    interface IPersistableModel<PolicyProviderSpecificDetails>
Public MustInherit Class PolicyProviderSpecificDetails
Implements IJsonModel(Of PolicyProviderSpecificDetails), IPersistableModel(Of PolicyProviderSpecificDetails)
Inheritance
PolicyProviderSpecificDetails
Derived
Attributes
Implements

Constructors

PolicyProviderSpecificDetails()

Initializes a new instance of PolicyProviderSpecificDetails.

Explicit Interface Implementations

IJsonModel<PolicyProviderSpecificDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyProviderSpecificDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyProviderSpecificDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyProviderSpecificDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyProviderSpecificDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to