Share via


SourceLocation Class

Definition

Source Location details of backups.

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

Constructors

Name Description
SourceLocation()

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

FileStorageType

Backup storage Type.

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.

Methods

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