New-AzMLWorkspaceDataPathAssetReferenceObject

Create an in-memory object for DataPathAssetReference.

Syntax

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

Description

Create an in-memory object for DataPathAssetReference.

Examples

Example 1: Create an in-memory object for DataPathAssetReference

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

This command creates an in-memory object for DataPathAssetReference.

Parameters

-DatastoreId

ARM resource ID of the datastore where the asset is located.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Path

The path of the file/directory in the datastore.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ReferenceType

[Required] Specifies the type of asset reference.

Type:ReferenceType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DataPathAssetReference