Share via


IDatasource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter))]
public interface IDatasource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter))>]
type IDatasource = interface
    interface IJsonSerializable
Public Interface IDatasource
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

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.

Type

DatasourceType of the resource.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to