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

New-AzMLWorkspaceDataPathAssetReferenceObject

为 DataPathAssetReference 创建内存中对象。

语法

New-AzMLWorkspaceDataPathAssetReferenceObject
   -ReferenceType <ReferenceType>
   [-DatastoreId <String>]
   [-Path <String>]
   [<CommonParameters>]

说明

为 DataPathAssetReference 创建内存中对象。

示例

示例 1:为 DataPathAssetReference 创建内存中对象

New-AzMLWorkspaceDataPathAssetReferenceObject -DatastoreId <String> -Path <String>

此命令为 DataPathAssetReference 创建内存中对象。

参数

-DatastoreId

资产所在的数据存储的 ARM 资源 ID。

类型:String
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-Path

数据存储中文件/目录的路径。

类型:String
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-ReferenceType

[必需]指定资产引用的类型。

类型:ReferenceType
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

输出