Blueprints - List
ブループリント定義を一覧表示します。
GET https://management.azure.com/{resourceScope}/providers/Microsoft.Blueprint/blueprints?api-version=2018-11-01-preview
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
resource
|
path | True |
string |
リソースのスコープ。 有効なスコープは、管理グループ (形式: '/providers/Microsoft.Management/managementGroups/{managementGroup}')、サブスクリプション (形式: '/subscriptions/{subscriptionId}') です。 |
api-version
|
query | True |
string |
クライアント API のバージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK -- ブループリント定義の一覧を取得しました。 |
|
Other Status Codes |
ブループリントエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントを偽装する |
例
Management |
Subscription |
ManagementGroupBlueprint
要求のサンプル
応答のサンプル
{
"value": [
{
"properties": {
"description": "blueprint contains all artifact kinds {'template', 'rbac', 'policy'}",
"parameters": {
"storageAccountType": {
"type": "string",
"metadata": {
"displayName": "storage account type."
}
},
"costCenter": {
"type": "string",
"metadata": {
"displayName": "force cost center tag for all resources under given subscription."
}
},
"owners": {
"type": "array",
"metadata": {
"displayName": "assign owners to subscription along with blueprint assignment."
}
}
},
"resourceGroups": {
"storageRG": {
"metadata": {
"displayName": "storage resource group",
"description": "Contains storageAccounts that collect all shoebox logs."
}
}
},
"targetScope": "subscription",
"status": null
},
"id": "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints",
"name": "simpleBlueprint"
}
]
}
SubscriptionBlueprint
要求のサンプル
応答のサンプル
{
"value": [
{
"properties": {
"description": "blueprint contains all artifact kinds {'template', 'rbac', 'policy'}",
"parameters": {
"storageAccountType": {
"type": "string",
"metadata": {
"displayName": "storage account type."
}
},
"costCenter": {
"type": "string",
"metadata": {
"displayName": "force cost center tag for all resources under given subscription."
}
},
"owners": {
"type": "array",
"metadata": {
"displayName": "assign owners to subscription along with blueprint assignment."
}
}
},
"resourceGroups": {
"storageRG": {
"metadata": {
"displayName": "storage resource group",
"description": "Contains storageAccounts that collect all shoebox logs."
}
}
},
"targetScope": "subscription",
"status": null
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints",
"name": "simpleBlueprint"
}
]
}
定義
名前 | 説明 |
---|---|
Blueprint |
ブループリント定義を表します。 |
Blueprint |
BlueprintList |
Blueprint |
ブループリントの状態。 このフィールドは読み取り時です。 |
Blueprint |
このブループリント定義を割り当てることができるスコープ。 |
Cloud |
|
Error |
リソース管理エラーの追加情報。 |
Error |
エラー応答 |
Parameter |
制約とメタデータを使用してパラメーターを表します。 |
Resource |
ブループリント定義内の Azure リソース グループを表します。 |
Template |
Resource Manager テンプレート パラメーターに使用できるデータ型。 |
Blueprint
ブループリント定義を表します。
名前 | 型 | 説明 |
---|---|---|
description |
string maxLength: 500 |
複数行でこのリソースについて説明します。 |
displayName |
string maxLength: 256 |
このリソースを説明する 1 行の文字列。 |
id |
string |
Azure 上の任意のリソースを検索するために使用される文字列 ID。 |
name |
string |
このリソースの名前。 |
properties.layout |
object |
UI リファレンスのブループリント定義のレイアウト ビュー。 |
properties.parameters |
<string,
Parameter |
このブループリント定義に必要なパラメーター。 |
properties.resourceGroups |
<string,
Resource |
このブループリント定義で定義されているリソース グループ プレースホルダー。 |
properties.status |
ブループリントの状態。 このフィールドは読み取り時です。 |
|
properties.targetScope |
このブループリント定義を割り当てることができるスコープ。 |
|
properties.versions |
object |
このブループリント定義の発行済みバージョン。 |
type |
string |
このリソースの種類。 |
BlueprintList
BlueprintList
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
結果の次のページにリンクします。 |
value |
ブループリント定義の一覧。 |
BlueprintStatus
ブループリントの状態。 このフィールドは読み取り時です。
名前 | 型 | 説明 |
---|---|---|
lastModified |
string (date-time) |
このブループリント定義の最終変更時刻。 |
timeCreated |
string (date-time) |
このブループリント定義の作成時間。 |
BlueprintTargetScope
このブループリント定義を割り当てることができるスコープ。
値 | 説明 |
---|---|
managementGroup |
ブループリントは、ブループリントの割り当て中に管理グループを対象とします。 これは将来使用するために予約されています。 |
subscription |
ブループリントは、ブループリントの割り当て中にサブスクリプションを対象とします。 |
CloudError
名前 | 型 | 説明 |
---|---|---|
error |
エラー応答 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーターゲット。 |
ParameterDefinition
制約とメタデータを使用してパラメーターを表します。
名前 | 型 | 説明 |
---|---|---|
allowedValues |
Allowed |
このパラメーターに使用できる値の配列。 |
defaultValue |
このパラメーターの既定値。 |
|
metadata.description |
string maxLength: 500 |
このパラメーター/resourceGroup の説明。 |
metadata.displayName |
string maxLength: 256 |
このパラメーター/resourceGroup の DisplayName。 |
metadata.strongType |
string maxLength: 64 |
ブループリントの割り当て中に豊富なエクスペリエンスをレンダリングする UI 用の StrongType。 サポートされている厳密な種類は、resourceType、principalId、および場所です。 |
type |
Resource Manager テンプレート パラメーターに使用できるデータ型。 |
ResourceGroupDefinition
ブループリント定義内の Azure リソース グループを表します。
名前 | 型 | 説明 |
---|---|---|
dependsOn |
string[] |
このリソース グループの前にデプロイする必要がある成果物。 |
location |
string |
この resourceGroup の場所。 ブループリントの割り当て中にリソース グループの場所を指定する場合は、空のままにします。 |
metadata.description |
string maxLength: 500 |
このパラメーター/resourceGroup の説明。 |
metadata.displayName |
string maxLength: 256 |
このパラメーター/resourceGroup の DisplayName。 |
metadata.strongType |
string maxLength: 64 |
ブループリントの割り当て中に豊富なエクスペリエンスをレンダリングする UI 用の StrongType。 サポートされている厳密な種類は、resourceType、principalId、および場所です。 |
name |
string |
この resourceGroup の名前。 ブループリントの割り当て中にリソース グループ名を指定する場合は、空のままにします。 |
tags |
object |
このリソース グループに割り当てられるタグ。 |
TemplateParameterType
Resource Manager テンプレート パラメーターに使用できるデータ型。
値 | 説明 |
---|---|
array | |
bool | |
int | |
object | |
secureObject | |
secureString | |
string |