Get-AzDeploymentScript
배포 스크립트를 가져오거나 나열합니다.
Syntax
Get-AzDeploymentScript
[[-ResourceGroupName] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzDeploymentScript
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzDeploymentScript
[-Id] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzDeploymentScript cmdlet은 단일 배포 스크립트 또는 배포 스크립트 목록을 가져옵니다.
예제
예 1
Get-AzDeploymentScript
현재 사용자의 컨텍스트에서 구독의 배포 스크립트를 나열합니다.
예제 2
Get-AzDeploymentScript -ResourceGroupName DS-TestRg
리소스 그룹 DS-TestRg의 배포 스크립트를 나열합니다.
예 3
Get-AzDeploymentScript -Name MyDeploymentScript -ResourceGroupName DS-TestRg
리소스 그룹 DS-TestRG에서 MyDeploymentScript라는 이름의 배포 스크립트를 가져옵니다.
예시 4
Get-AzDeploymentScript -Id "/subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Resources/deploymentScripts/{deploymentScriptName}"
지정된 리소스 ID가 있는 배포 스크립트를 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
배포 스크립트의 정규화된 리소스 ID입니다. 예: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Resources/deploymentScripts/{deploymentScriptName}
Type: | String |
Aliases: | ResourceId |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
배포 스크립트의 이름
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
리소스 그룹의 이름입니다.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |