Get-AzBlueprint
하나 이상의 청사진 정의를 가져옵니다.
Syntax
Get-AzBlueprint
[-SubscriptionId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
-Name <String>
-ManagementGroupId <String>
[-Version] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
[-Name <String>]
[-SubscriptionId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
-Name <String>
-ManagementGroupId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
-Name <String>
-ManagementGroupId <String>
[-LatestPublished]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
-Name <String>
[-SubscriptionId <String>]
[-LatestPublished]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
-Name <String>
[-SubscriptionId <String>]
[-Version] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzBlueprint
-ManagementGroupId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
하나 이상의 청사진 정의를 가져옵니다. 청사진 정의는 관리 그룹 또는 구독 범위에 있습니다.
예제
예 1
Get-AzBlueprint
Name : PS-BlueprintDefinition
Id : /subscriptions/00000000-1111-0000-1111-000000000000/providers/Microsoft.Blueprint/blueprints/PS-BlueprintDefinition
SubscriptionId : 00000000-1111-0000-1111-000000000000
Versions : {1.0}
Description : Powershell test blueprint
TimeCreated : 2019-02-01
TargetScope : Subscription
Parameters : {storageData_storageAccountType, storageData_location, allowedlocations_listOfAllowedLocations}
ResourceGroups : ResourceGroup
현재 구독 및 구독의 관리 그룹 계층 구조 내에서 청사진 정의를 가져옵니다.
예제 2
Get-AzBlueprint -ManagementGroupId "myManagementGroupId"
Name : PS-MG-BlueprintDefinition
Id : /providers/Microsoft.Management/managementGroups/myManagementGroupId/providers/Microsoft.Blueprint/blueprints/PS-MG-BlueprintDefinition
ManagementGroupId : myManagementGroupId
Versions : {1.0, 2.0, 3.0, 4.0}
TimeCreated : 2019-03-04
TargetScope : Subscription
Parameters : {enforcetaganditsvalue_tagName, enforcetaganditsvalue_tagValue, [Usergrouporapplicationname]:Contributor_RoleAssignmentName,
[Usergrouporapplicationname]:Owner_RoleAssignmentName}
ResourceGroups : {ResourceGroup, ResourceGroup2}
지정된 관리 그룹 내에서 청사진 정의를 가져옵니다.
예 3
Get-AzBlueprint -SubscriptionId "00000000-1111-0000-1111-000000000000"
Name : PS-BlueprintDefinition
Id : /subscriptions/00000000-1111-0000-1111-000000000000/providers/Microsoft.Blueprint/blueprints/PS-BlueprintDefinition
SubscriptionId : 00000000-1111-0000-1111-000000000000
Versions : {1.0}
Description : Powershell test blueprint
TimeCreated : 2019-02-01
TargetScope : Subscription
Parameters : {storageData_storageAccountType, storageData_location, allowedlocations_listOfAllowedLocations}
ResourceGroups : ResourceGroup
지정된 구독 및 구독의 관리 그룹 계층 구조 내에서 청사진 정의를 가져옵니다.
예시 4
Get-AzBlueprint -SubscriptionId "00000000-1111-0000-1111-000000000000" -Name "myBlueprintName"
지정된 구독 내에서 지정된 이름의 청사진 정의를 가져옵니다.
예시 5
Get-AzBlueprint -ManagementGroupId "myManagementGroupId" -Name "myBlueprintName" -Version "myBlueprintVersion"
지정된 관리 그룹 내에서 지정된 이름과 버전을 사용하여 청사진 정의를 가져옵니다.
예제 6
Get-AzBlueprint -ManagementGroupId "myManagementGroupId" -Name "myBlueprintName" -LatestPublished
지정된 관리 그룹 내에서 지정된 이름을 사용하여 게시된 최신 청사진 정의를 가져옵니다.
매개 변수
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LatestPublished
게시된 최신 청사진 정의 플래그입니다. 설정되면 실행은 청사진 정의의 최신 게시된 버전을 반환합니다. 기본값은 false입니다.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ManagementGroupId
청사진 정의가 저장되는 관리 그룹 ID입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
청사진 정의 이름입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SubscriptionId
청사진 정의가 저장되는 구독 ID입니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Version
게시된 청사진 정의 버전입니다.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
출력
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기