Edit

Share via


Get-AzMLWorkspaceEnvironmentContainer

Get container.

Syntax

List (Default)

Get-AzMLWorkspaceEnvironmentContainer
    -ResourceGroupName <String>
    -WorkspaceName <String>
    [-SubscriptionId <String[]>]
    [-ListViewType <ListViewType>]
    [-Skip <String>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzMLWorkspaceEnvironmentContainer
    -Name <String>
    -ResourceGroupName <String>
    -WorkspaceName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzMLWorkspaceEnvironmentContainer
    -InputObject <IMachineLearningServicesIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Get container.

Examples

Example 1: List all environment containers under a workspace

Get-AzMLWorkspaceEnvironmentContainer  -ResourceGroupName ml-rg-test -WorkspaceName mlworkspace-portal01
Name                                                             SystemDataCreatedAt   SystemDataCreatedBy                 SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy            SystemDataLastModifiedByType ResourceGroupName
----                                                             -------------------   -------------------                 ----------------------- ------------------------ ------------------------            ---------------------------- -----------------
pwshenv01                                                        5/11/2022 2:31:25 AM  UserName (Example)                  User                    5/11/2022 2:31:25 AM     UserName (Example)                  User                         ml-rg-test
lightgbm-environment                                             5/5/2022 2:25:41 AM   UserName (Example)                  User                    5/5/2022 2:25:41 AM      UserName (Example)                  User                         ml-rg-test
env04                                                            5/5/2022 2:13:02 AM   UserName (Example)                  User                    5/5/2022 2:13:02 AM      UserName (Example)                  User                         ml-rg-test
env03                                                            5/5/2022 2:11:34 AM   UserName (Example)                  User                    5/5/2022 2:11:34 AM      UserName (Example)                  User                         ml-rg-test
env02                                                            5/5/2022 2:11:08 AM   UserName (Example)                  User                    5/5/2022 2:11:08 AM      UserName (Example)                  User                         ml-rg-test
env01                                                            5/5/2022 2:10:35 AM   UserName (Example)                  User                    5/5/2022 2:10:35 AM      UserName (Example)                  User                         ml-rg-test
docker-image-example                                             5/5/2022 1:57:13 AM   UserName (Example)                  User                    5/5/2022 1:57:13 AM      UserName (Example)                  User                         ml-rg-test
test                                                             5/5/2022 1:51:43 AM   Lucas Yao                           User                    5/5/2022 1:51:43 AM      Lucas Yao                           User                         ml-rg-test
AzureML-responsibleai-0.18-ubuntu20.04-py38-cpu                  5/18/2022 11:07:16 PM Microsoft                           User                    5/18/2022 11:07:16 PM    Microsoft                           User                         ml-rg-test

List all environment containers under a workspace

Example 2: Gets a environment container by name

Get-AzMLWorkspaceEnvironmentContainer  -ResourceGroupName ml-rg-test -WorkspaceName mlworkspace-portal01 -Name pwshenv01
Name      SystemDataCreatedAt  SystemDataCreatedBy                 SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy            SystemDataLastModifiedByType ResourceGroupName
----      -------------------  -------------------                 ----------------------- ------------------------ ------------------------            ---------------------------- -----------------
pwshenv01 5/11/2022 2:31:25 AM UserName (Example)                  User                    5/11/2022 2:31:25 AM     UserName (Example)                  User                         ml-rg-test

Gets a environment container by name

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

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

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ListViewType

View type for including/excluding (for example) archived entities.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Container name. This is case-sensitive.

Parameter properties

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

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Skip

Continuation token for pagination.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WorkspaceName

Name of Azure Machine Learning workspace.

Parameter properties

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

Parameter sets

List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:True
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.

Inputs

IMachineLearningServicesIdentity

Outputs

IEnvironmentContainer