你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzDevCenterUserDevBoxAction
获取作。
语法
Get-AzDevCenterUserDevBoxAction
-Endpoint <String>
-DevBoxName <String>
-ProjectName <String>
[-UserId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserDevBoxAction
-Endpoint <String>
-DevBoxName <String>
-ProjectName <String>
[-UserId <String>]
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserDevBoxAction
-Endpoint <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserDevBoxAction
-DevCenterName <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserDevBoxAction
-DevCenterName <String>
-DevBoxName <String>
-ProjectName <String>
[-UserId <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserDevBoxAction
-DevCenterName <String>
-DevBoxName <String>
-ProjectName <String>
[-UserId <String>]
-Name <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取作。
示例
示例 1:按终结点列出开发框上的作
Get-AzDevCenterUserDevBoxAction -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -DevBoxName myDevBox -ProjectName DevProject
此命令列出了开发框“myDevBox”上的作。
示例 2:按开发人员中心列出开发框上的作
Get-AzDevCenterUserDevBoxAction -DevCenterName Contoso -DevBoxName myDevBox -ProjectName DevProject
此命令列出了开发框“myDevBox”上的作。
示例 3:按终结点获取开发框上的作
Get-AzDevCenterUserDevBoxAction -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -DevBoxName myDevBox -ProjectName DevProject -Name "schedule-default"
此命令获取开发框“myDevBox”的作“schedule-default”。
示例 4:通过开发人员中心获取开发框上的作
Get-AzDevCenterUserDevBoxAction -DevCenterName Contoso -DevBoxName myDevBox -ProjectName DevProject -Name "schedule-default"
此命令获取开发框“myDevBox”的作“schedule-default”。
示例 5:按终结点和 InputObject 获取开发框上的作
$devBoxInput = @{"DevBoxName" = "myDevBox"; "UserId" = "me"; "ProjectName" = "DevProject"; "ActionName" = "schedule-default"}
Get-AzDevCenterUserDevBoxAction -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -InputObject $devBoxInput
此命令获取开发框“myDevBox”的作“schedule-default”。
示例 6:通过开发人员中心和 InputObject 获取开发框上的作
$devBoxInput = @{"DevBoxName" = "myDevBox"; "UserId" = "me"; "ProjectName" = "DevProject"; "ActionName" = "schedule-default"}
Get-AzDevCenterUserDevBoxAction -DevCenterName Contoso -InputObject $devBoxInput
此命令获取开发框“myDevBox”的作“schedule-default”。
参数
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DevBoxName
Dev Box 的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-DevCenterName
要对其执行作的 DevCenter。
类型: | String |
别名: | DevCenter |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Endpoint
要运行的特定于 DevCenter 的 URI。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-InputObject
要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。
类型: | IDevCenterdataIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Name
作的名称。
类型: | String |
别名: | ActionName |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ProjectName
项目的名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-UserId
用户的 AAD 对象 ID。 如果值为“me”,则标识取自身份验证上下文。
类型: | String |
Position: | Named |
默认值: | "me" |
必需: | False |
接受管道输入: | False |
接受通配符: | False |