New-AzMLWorkspaceDataPathAssetReferenceObject
为 DataPathAssetReference 创建内存中对象。
语法
Default (默认值)
New-AzMLWorkspaceDataPathAssetReferenceObject
-ReferenceType <ReferenceType>
[-DatastoreId <String>]
[-Path <String>]
[<CommonParameters>]
说明
为 DataPathAssetReference 创建内存中对象。
示例
示例 1:为 DataPathAssetReference 创建内存中对象
New-AzMLWorkspaceDataPathAssetReferenceObject -DatastoreId <String> -Path <String>
此命令为 DataPathAssetReference 创建内存中对象。
参数
-DatastoreId
资产所在的数据存储的 ARM 资源 ID。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-Path
数据存储中文件/目录的路径。
参数属性
| 类型: | String |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
-ReferenceType
[必需]指定资产引用的类型。
参数属性
| 类型: | ReferenceType |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | True |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。