Condividi tramite


JobProperties.CreateForImportJob Method

Definition

Creates an instance of JobProperties with parameters ready to start an import job.

public static Microsoft.Azure.Devices.JobProperties CreateForImportJob (string inputBlobContainerUri, string outputBlobContainerUri, string inputBlobName = default, Microsoft.Azure.Devices.StorageAuthenticationType? storageAuthenticationType = default, Microsoft.Azure.Devices.ManagedIdentity identity = default);
static member CreateForImportJob : string * string * string * Nullable<Microsoft.Azure.Devices.StorageAuthenticationType> * Microsoft.Azure.Devices.ManagedIdentity -> Microsoft.Azure.Devices.JobProperties
Public Shared Function CreateForImportJob (inputBlobContainerUri As String, outputBlobContainerUri As String, Optional inputBlobName As String = Nothing, Optional storageAuthenticationType As Nullable(Of StorageAuthenticationType) = Nothing, Optional identity As ManagedIdentity = Nothing) As JobProperties

Parameters

inputBlobContainerUri
String

URI to a blob container that contains registry data to sync. Including a SAS token is dependent on the StorageAuthenticationType parameter.

outputBlobContainerUri
String

URI to a blob container. This is used to output the status of the job and the results. Including a SAS token is dependent on the StorageAuthenticationType parameter.

inputBlobName
String

The blob name to be used when importing from the provided input blob container

storageAuthenticationType
Nullable<StorageAuthenticationType>

Specifies authentication type being used for connecting to storage account

identity
ManagedIdentity

User assigned managed identity used to access storage account for import and export jobs.

Returns

An instance of JobProperties

Applies to