Partager via


BackupConfiguration Class

Definition

Backup Configuration

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.BackupConfigurationTypeConverter))]
public class BackupConfiguration : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IBackupConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.BackupConfigurationTypeConverter))>]
type BackupConfiguration = class
    interface IBackupConfiguration
    interface IJsonSerializable
Public Class BackupConfiguration
Implements IBackupConfiguration
Inheritance
BackupConfiguration
Attributes
Implements

Constructors

BackupConfiguration()

Creates an new BackupConfiguration instance.

Properties

AzureBlobAccountKey

Storage Account Key.

AzureBlobContainerName

Blob container name where backups are stored.

AzureBlobStorageAccountResourceId

Resource Id of the storage account where backups are stored.

FileSharePassword

Password for username to access file share location.

FileSharePath

Location as SMB share or local drive where backups are placed.

FileShareUsername

Username to access the file share location for backups.

SourceLocationFileStorageType

Backup storage Type.

TargetLocationAccountKey

Storage Account Key.

TargetLocationStorageAccountResourceId

Resource Id of the storage account copying backups.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BackupConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BackupConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20220330Preview.IBackupConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BackupConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to