Get-AzBlueprintArtifact
ブループリント定義からアーティファクトを取得します。
構文
Get-AzBlueprintArtifact
[-Name <String>]
-Blueprint <PSBlueprintBase>
[-BlueprintVersion <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
ブループリント定義からアーティファクトを取得します。 ブループリント定義バージョンが指定されていない場合は、ドラフト バージョンが取得されます。 ドラフト バージョンがない場合は、発行された最新のブループリント定義が返されます。
例
例 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
ブループリント オブジェクト。
Type: | PSBlueprintBase |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-BlueprintVersion
アーティファクトを取得するブループリントのバージョン。
Type: | String |
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 |
-Name
成果物の名前
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
入力
List<T>[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
String[]
出力
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示