Datasource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Datasource to be backed up
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter))]
public class Datasource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter))>]
type Datasource = class
interface IDatasource
interface IJsonSerializable
Public Class Datasource
Implements IDatasource
- Inheritance
-
Datasource
- Attributes
- Implements
Constructors
Datasource() |
Creates an new Datasource instance. |
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
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Datasource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of Datasource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource. |
FromJsonString(String) |
Creates a new instance of Datasource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of Datasource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |