你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobProperties.CreateForExportJob 方法

定义

创建 JobProperties 的实例,其中包含准备启动导出作业的参数。

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

参数

outputBlobContainerUri
String

Blob 容器的 URI。 这用于输出作业的状态和结果。 包括 SAS 令牌取决于 StorageAuthenticationType 参数。

excludeKeysInExport
Boolean

指示导出输出中是否包含授权密钥

outputBlobName
String

将在提供的输出 Blob 容器中创建的 Blob 的名称

storageAuthenticationType
Nullable<StorageAuthenticationType>

指定用于连接到存储帐户的身份验证类型

identity
ManagedIdentity

用户分配的托管标识,用于访问用于导入和导出作业的存储帐户。

返回

JobProperties 的实例

适用于