GenericRestoreDatasourceCriteria 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.
Generic criteria to be used during restore
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.GenericRestoreDatasourceCriteriaTypeConverter))]
public class GenericRestoreDatasourceCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IGenericRestoreDatasourceCriteria, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.GenericRestoreDatasourceCriteriaTypeConverter))>]
type GenericRestoreDatasourceCriteria = class
interface IGenericRestoreDatasourceCriteria
interface IJsonSerializable
interface IItemLevelRestoreCriteria
interface IValidates
Public Class GenericRestoreDatasourceCriteria
Implements IGenericRestoreDatasourceCriteria, IValidates
- Inheritance
-
GenericRestoreDatasourceCriteria
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| GenericRestoreDatasourceCriteria() |
Creates an new GenericRestoreDatasourceCriteria instance. |
Properties
| Name | Description |
|---|---|
| ObjectType |
Type of the specific object - used for deserializing |
| ResourceSelector |
List of resource identifiers that need to be restored |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of GenericRestoreDatasourceCriteria. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of GenericRestoreDatasourceCriteria. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IGenericRestoreDatasourceCriteria. |
| FromJsonString(String) |
Creates a new instance of GenericRestoreDatasourceCriteria, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of GenericRestoreDatasourceCriteria into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |