Share via


BackupInstance Class

Definition

Backup Instance

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

Constructors

BackupInstance()

Creates an new BackupInstance instance.

Properties

CurrentProtectionState

Specifies the current protection state of the resource

DatasourceAuthCredentials

Credentials to use to authenticate with data source provider.

DataSourceInfo

Gets or sets the data source information.

DataSourceSetInfo

Gets or sets the data source set information.

FriendlyName

Gets or sets the Backup Instance friendly name.

IdentityDetail

Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.

ObjectType
PolicyInfo

Gets or sets the policy information.

ProtectionErrorDetail

Specifies the protection error of the resource

ProtectionStatus

Specifies the protection status of the resource

ProvisioningState

Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed

ResourceGuardOperationRequest

ResourceGuardOperationRequests on which LAC check will be performed

ValidationType

Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupInstance.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupInstance.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupInstance into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to