Share via


BaseResourceProperties Class

Definition

Properties which are specific to datasource/datasourceSets

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourcePropertiesTypeConverter))]
public class BaseResourceProperties : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourcePropertiesTypeConverter))>]
type BaseResourceProperties = class
    interface IBaseResourceProperties
    interface IJsonSerializable
Public Class BaseResourceProperties
Implements IBaseResourceProperties
Inheritance
BaseResourceProperties
Attributes
Implements

Constructors

BaseResourceProperties()

Creates an new BaseResourceProperties instance.

Properties

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BaseResourceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BaseResourceProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of BaseResourceProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of BaseResourceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to