Partager via


SourceLocation Class

Definition

Source Location details of backups.

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

Constructors

SourceLocation()

Creates an new SourceLocation 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.

FileStorageType

Backup storage Type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceLocation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceLocation.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceLocation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to