Share via


DatasourceSet Class

Definition

DatasourceSet details of datasource to be backed up

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

Constructors

DatasourceSet()

Creates an new DatasourceSet instance.

Properties

DatasourceType

DatasourceType of the resource.

ObjectType

Type of Datasource object, used to initialize the right inherited type

ResourceId

Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.

ResourceLocation

Location of datasource.

ResourceName

Unique identifier of the resource in the context of parent.

ResourcePropertyObjectType

Type of the specific object - used for deserializing

ResourceType

Resource Type of Datasource.

ResourceUri

Uri of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatasourceSet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatasourceSet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatasourceSet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to