Get-AzBlueprintArtifact
청사진 정의에서 아티팩트를 검색합니다.
구문
Get-AzBlueprintArtifact
[-Name <String>]
-Blueprint <PSBlueprintBase>
[-BlueprintVersion <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
청사진 정의에서 아티팩트를 검색합니다. 청사진 정의 버전을 지정하지 않으면 초안 버전이 검색됩니다. 초안 버전이 없는 경우 게시된 최신 청사진 정의가 반환됩니다.
예제
예제 1
$bp = Get-AzBlueprint -Name SimpleBlueprint
Get-AzBlueprintArtifact -Blueprint $bp
DisplayName : Audit use of classic virtual machines
Description :
DependsOn :
PolicyDefinitionId : /providers/Microsoft.Authorization/policyDefinitions/1d84d5fb-01f6-4d12-ba4f-4a26081d403d
Parameters : {[effect, Microsoft.Azure.Commands.Blueprint.Models.PSParameterValue]}
ResourceGroup : SimpleBlueprintRG
Id : /providers/Microsoft.Management/managementGroups/{mgId}/providers/Microsoft.Blueprint/blueprints/SimpleBlueprint/artifacts/3ab44511-0228-4275-9641-7e93e6f34178
Type : Microsoft.Blueprint/blueprints/artifacts
Name : 3ab44511-0228-4275-9641-7e93e6f34178
DisplayName : Enforce tag and its value
Description :
DependsOn :
PolicyDefinitionId : /providers/Microsoft.Authorization/policyDefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62
Parameters : {[tagName, Microsoft.Azure.Commands.Blueprint.Models.PSParameterValue], [tagValue,
Microsoft.Azure.Commands.Blueprint.Models.PSParameterValue]}
ResourceGroup :
Id : /providers/Microsoft.Management/managementGroups/{mgId}/providers/Microsoft.Blueprint/blueprints/SimpleBlueprint/artifacts/0e1593da-47d5-4b75-800c-9a797dd23192
Type : Microsoft.Blueprint/blueprints/artifacts
Name : 0e1593da-47d5-4b75-800c-9a797dd23192
청사진 정의에서 아티팩트를 검색합니다.
매개 변수
-Blueprint
Blueprint 개체입니다.
형식: | PSBlueprintBase |
Position: | Named |
Default value: | None |
필수: | True |
파이프라인 입력 허용: | True |
와일드카드 문자 허용: | False |
-BlueprintVersion
아티팩트 원본을 가져올 청사진의 버전입니다.
형식: | String |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
형식: | IAzureContextContainer |
별칭: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | False |
와일드카드 문자 허용: | False |
-Name
아티팩트 이름
형식: | String |
Position: | Named |
Default value: | None |
필수: | False |
파이프라인 입력 허용: | True |
와일드카드 문자 허용: | False |
입력
List<T>[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
String[]
출력
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell