Udostępnij za pośrednictwem


PolicyProviderSpecificContent Class

Definition

Base class for provider specific input. Please note PolicyProviderSpecificContent 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 A2APolicyCreationContent, A2ACrossClusterMigrationPolicyCreationContent, HyperVReplicaPolicyContent, HyperVReplicaBluePolicyContent, HyperVReplicaAzurePolicyContent, InMagePolicyContent, InMageAzureV2PolicyContent, InMageRcmPolicyCreationContent, InMageRcmFailbackPolicyCreationContent and VMwareCbtPolicyCreationContent.

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

Constructors

PolicyProviderSpecificContent()

Initializes a new instance of PolicyProviderSpecificContent.

Explicit Interface Implementations

IJsonModel<PolicyProviderSpecificContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PolicyProviderSpecificContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PolicyProviderSpecificContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PolicyProviderSpecificContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PolicyProviderSpecificContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to