Get-AzManagementGroupDeploymentOperation
Mendapatkan operasi penyebaran untuk penyebaran grup manajemen
Sintaks
Get-AzManagementGroupDeploymentOperation
-ManagementGroupId <String>
-DeploymentName <String>
[-OperationId <String>]
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzManagementGroupDeploymentOperation
-DeploymentObject <PSDeployment>
[-Pre]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Cmdlet Get-AzManagementGroupDeploymentOperation mencantumkan semua operasi yang merupakan bagian dari penyebaran grup manajemen untuk membantu Anda mengidentifikasi dan memberikan informasi lebih lanjut tentang operasi yang tepat yang gagal untuk penyebaran tertentu. Ini adalah informasi yang sama yang disediakan dalam detail penyebaran di portal.
Contoh
Contoh 1: Dapatkan operasi penyebaran yang diberi nama penyebaran
Get-AzManagementGroupDeploymentOperation -ManagementGroupId myMG -DeploymentName Deploy01
Mendapatkan operasi penyebaran dengan nama "Deploy01" di grup manajemen "myMG".
Contoh 2: Dapatkan penyebaran dan dapatkan operasi penyebarannya
Get-AzManagementGroupDeployment -ManagementGroupId myMG -Name Deploy01 | Get-AzManagementGroupDeploymentOperation
Perintah ini mendapatkan penyebaran "Deploy01" di grup manajemen "myMG" dan mendapatkan operasi penyebarannya.
Parameter
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeploymentName
Nama penyebaran.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeploymentObject
Objek penyebaran.
Type: | PSDeployment |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ManagementGroupId
Id grup manajemen.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OperationId
Id operasi penyebaran.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Pre
Saat diatur, menunjukkan bahwa cmdlet harus menggunakan versi API pra-rilis saat secara otomatis menentukan versi mana yang akan digunakan.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |