Sdílet prostřednictvím


DataSourceSetInfo Class

Definition

DatasourceSet details of datasource to be backed up.

public class DataSourceSetInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo>
public class DataSourceSetInfo
type DataSourceSetInfo = class
    interface IJsonModel<DataSourceSetInfo>
    interface IPersistableModel<DataSourceSetInfo>
type DataSourceSetInfo = class
Public Class DataSourceSetInfo
Implements IJsonModel(Of DataSourceSetInfo), IPersistableModel(Of DataSourceSetInfo)
Public Class DataSourceSetInfo
Inheritance
DataSourceSetInfo
Implements

Constructors

DataSourceSetInfo(ResourceIdentifier)

Initializes a new instance of DataSourceSetInfo.

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.

ResourceProperties

Properties specific to data source set Please note BaseResourceProperties 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 DefaultResourceProperties.

ResourceType

Resource Type of Datasource.

ResourceUriString

Uri of the resource.

Explicit Interface Implementations

IJsonModel<DataSourceSetInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataSourceSetInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataSourceSetInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataSourceSetInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataSourceSetInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to