Remove-AzVmssGalleryApplication
BIR VMGalleryApplication nesnesini PSVirtualMachineScaleSetVMProfile nesnesinden kaldırın.
Syntax
Remove-AzVmssGalleryApplication
-VirtualMachineScaleSetVM <PSVirtualMachineScaleSetVMProfile>
-GalleryApplicationsReferenceId <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
BIR VMGalleryApplication nesnesini PSVirtualMachineScaleSetVMProfile nesnesinden kaldırır.
Örnekler
Örnek 1
$vmss = Get-AzVmss -ResourceGroupName $rgname -Name $vmssName
Remove-AzVmssGalleryApplication -VirtualMachineScaleSetVM $vmss.VirtualMachineProfile -GalleryApplicationsReferenceId $refId
Galeri uygulamasını başvuru kimliğine göre kaldırma
Parametreler
-Confirm
Cmdlet'i çalıştırmadan önce sizden onay ister.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GalleryApplicationsReferenceId
Silinecek Galeri Uygulamasının Paket Başvuru Kimliği.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VirtualMachineScaleSetVM
Galeri Uygulaması Başvuru Kimliğini silmek için PSVirtualMachineScaleSetVMProfile nesnesi.
Type: | PSVirtualMachineScaleSetVMProfile |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Girişler
None
Çıkışlar
Azure PowerShell
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin