Freigeben über


BackupConfiguration Class

Definition

Backup Configuration

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

Constructors

Name Description
BackupConfiguration()

Creates an new BackupConfiguration instance.

Properties

Name Description
AzureBlobAccountKey

Storage Account Key.

AzureBlobAuthType

Authentication type used for accessing Azure Blob Storage.

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.

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

SourceLocationFileStorageType

Backup storage Type.

TargetLocationAccountKey

Storage Account Key.

TargetLocationStorageAccountResourceId

Resource Id of the storage account copying backups.

Methods

Name Description
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.Api20250630.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