Edit

Share via


New-AzMLWorkspaceDatastoreBlobObject

Create an in-memory object for AzureBlobDatastore.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ContainerName

Storage account container name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Credentials

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

Parameter properties

Type:IDatastoreCredentials
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

The asset description text.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Endpoint

Azure cloud endpoint for the storage account.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Property

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

Parameter properties

Type:IResourceBaseProperties
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Protocol

Protocol used to communicate with the storage account.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServiceDataAccessAuthIdentity

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

Parameter properties

Type:ServiceDataAccessAuthIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Tag

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

Parameter properties

Type:IResourceBaseTags
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

AzureBlobDatastore