Get-AzBlueprint
1 つ以上のブループリント定義を取得します。
構文
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>]
説明
1 つ以上のブループリント定義を取得します。 ブループリント定義は、管理グループまたはサブスクリプション スコープに存在します。
例
例 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 にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示