New-AzMLWorkspaceDatastoreBlobObject

Create an in-memory object for AzureBlobDatastore.

Syntax

New-AzMLWorkspaceDatastoreBlobObject
   -Credentials <IDatastoreCredentials>
   [-AccountName <String>]
   [-ContainerName <String>]
   [-Endpoint <String>]
   [-Protocol <String>]
   [-ServiceDataAccessAuthIdentity <ServiceDataAccessAuthIdentity>]
   [-Description <String>]
   [-Property <IResourceBaseProperties>]
   [-Tag <IResourceBaseTags>]
   [<CommonParameters>]

Description

Create an in-memory object for AzureBlobDatastore.

Examples

Example 1: Create an in-memory object for AzureBlobDatastore

New-AzMLWorkspaceDatastoreBlobObject -AccountName mlworkspace1 -ContainerName "dataset001" -Endpoint "core.windows.net" -Protocol "https" -ServiceDataAccessAuthIdentity 'None'

DatastoreType Description IsDefault ResourceGroup SubscriptionId AccountName  ContainerName    Endpoint         Protocol ServiceDataAccessAuthIdentity
------------- ----------- --------- ------------- -------------- -----------  -------------    --------         -------- -----------------------------
AzureBlob                                                        mlworkspace1 dataset001-work2 core.windows.net https    None

This command creates an in-memory object for AzureBlobDatastore.

Parameters

-AccountName

Storage account name.

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

-ContainerName

Storage account container name.

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

-Credentials

[Required] Account credentials. To construct, see NOTES section for CREDENTIALS properties and create a hash table.

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

-Description

The asset description text.

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

-Endpoint

Azure cloud endpoint for the storage account.

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

-Property

The asset property dictionary. To construct, see NOTES section for PROPERTY properties and create a hash table.

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

-Protocol

Protocol used to communicate with the storage account.

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

-ServiceDataAccessAuthIdentity

Indicates which identity to use to authenticate service data access to customer's storage.

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

-Tag

Tag dictionary. Tags can be added, removed, and updated. To construct, see NOTES section for TAG properties and create a hash table.

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

Outputs

AzureBlobDatastore