Remove-AzServiceFabricManagedClusterApplicationType
클러스터에서 관리되는 애플리케이션 유형을 제거합니다. 이렇게 하면 이 리소스의 모든 형식 버전이 제거됩니다. ARM 배포 애플리케이션 유형만 지원합니다.
Syntax
Remove-AzServiceFabricManagedClusterApplicationType
[-ResourceGroupName] <String>
[-ClusterName] <String>
[-Name <String>]
[-PassThru]
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzServiceFabricManagedClusterApplicationType
-ResourceId <String>
[-PassThru]
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzServiceFabricManagedClusterApplicationType
-InputObject <PSManagedApplicationType>
[-PassThru]
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
이 cmdlet은 클러스터를 형성하는 관리되는 애플리케이션 유형을 제거하고 이 리소스의 모든 형식 버전을 제거하지만, 이 명령을 실행하기 전에 그 아래의 모든 애플리케이션을 제거해야 합니다.
예제
예 1
$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appTypeName = "testAppType"
Remove-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName -Verbose
이 예제에서는 관리되는 애플리케이션 유형 "testAppType"과 그 아래에 있는 모든 버전을 제거합니다. 이 형식으로 만든 애플리케이션이 있는 경우 명령은 예외를 throw합니다.
예제 2
$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appTypeName = "testAppType"
$appType = Get-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName
$appType | Remove-AzServiceFabricManagedClusterApplicationType -Verbose
이 예제에서는 관리되는 애플리케이션 유형 "testAppType"과 그 아래에 있는 모든 버전을 제거합니다. 이 형식으로 만든 애플리케이션이 있는 경우 명령은 예외를 throw합니다.
예 3
$resourceId = "/subscriptions/13ad2c84-84fa-4798-ad71-e70c07af873f/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applicationTypes/testAppType"
Remove-AzServiceFabricManagedClusterApplicationType -ResourceId $resourceId
이 예제에서는 ARM 리소스 ID가 지정된 관리되는 애플리케이션 유형 세부 정보를 제거합니다.
매개 변수
-ClusterName
클러스터의 이름을 지정합니다.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
프롬프트 없이 제거합니다.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
관리되는 애플리케이션 유형 리소스입니다.
Type: | PSManagedApplicationType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
관리되는 애플리케이션 유형의 이름을 지정합니다.
Type: | String |
Aliases: | ApplicationTypeName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PassThru
{{ PassThru 설명 채우기 }}
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
리소스 그룹의 이름을 지정합니다.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceId
관리되는 애플리케이션 유형의 Arm ResourceId입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
입력
출력
Azure PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기