次の方法で共有


Blueprints - List

ブループリント定義を一覧表示します。

GET https://management.azure.com/{resourceScope}/providers/Microsoft.Blueprint/blueprints?api-version=2018-11-01-preview

URI パラメーター

名前 / 必須 説明
resourceScope
path True

string

リソースのスコープ。 有効なスコープは、管理グループ (形式: '/providers/Microsoft.Management/managementGroups/{managementGroup}')、サブスクリプション (形式: '/subscriptions/{subscriptionId}') です。

api-version
query True

string

クライアント API のバージョン。

応答

名前 説明
200 OK

BlueprintList

OK -- ブループリント定義の一覧を取得しました。

Other Status Codes

CloudError

ブループリントエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

ManagementGroupBlueprint
SubscriptionBlueprint

ManagementGroupBlueprint

要求のサンプル

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints?api-version=2018-11-01-preview

応答のサンプル

{
  "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

要求のサンプル

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints?api-version=2018-11-01-preview

応答のサンプル

{
  "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

ブループリント定義を表します。

BlueprintList

BlueprintList

BlueprintStatus

ブループリントの状態。 このフィールドは読み取り時です。

BlueprintTargetScope

このブループリント定義を割り当てることができるスコープ。

CloudError
ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorResponse

エラー応答

ParameterDefinition

制約とメタデータを使用してパラメーターを表します。

ResourceGroupDefinition

ブループリント定義内の Azure リソース グループを表します。

TemplateParameterType

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,  ParameterDefinition>

このブループリント定義に必要なパラメーター。

properties.resourceGroups

<string,  ResourceGroupDefinition>

このブループリント定義で定義されているリソース グループ プレースホルダー。

properties.status

BlueprintStatus

ブループリントの状態。 このフィールドは読み取り時です。

properties.targetScope

BlueprintTargetScope

このブループリント定義を割り当てることができるスコープ。

properties.versions

object

このブループリント定義の発行済みバージョン。

type

string

このリソースの種類。

BlueprintList

BlueprintList

名前 説明
nextLink

string

結果の次のページにリンクします。

value

Blueprint[]

ブループリント定義の一覧。

BlueprintStatus

ブループリントの状態。 このフィールドは読み取り時です。

名前 説明
lastModified

string (date-time)

このブループリント定義の最終変更時刻。

timeCreated

string (date-time)

このブループリント定義の作成時間。

BlueprintTargetScope

このブループリント定義を割り当てることができるスコープ。

説明
managementGroup

ブループリントは、ブループリントの割り当て中に管理グループを対象とします。 これは将来使用するために予約されています。

subscription

ブループリントは、ブループリントの割り当て中にサブスクリプションを対象とします。

CloudError

名前 説明
error

ErrorResponse

エラー応答
失敗した操作のエラーの詳細を返す、すべての Azure Resource Manager API の一般的なエラー応答。 (これは、OData エラー応答形式にも従います)。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorResponse

エラー応答

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorResponse[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ParameterDefinition

制約とメタデータを使用してパラメーターを表します。

名前 説明
allowedValues

AllowedValues[]

このパラメーターに使用できる値の配列。

defaultValue

このパラメーターの既定値。

metadata.description

string

maxLength: 500

このパラメーター/resourceGroup の説明。

metadata.displayName

string

maxLength: 256

このパラメーター/resourceGroup の DisplayName。

metadata.strongType

string

maxLength: 64

ブループリントの割り当て中に豊富なエクスペリエンスをレンダリングする UI 用の StrongType。 サポートされている厳密な種類は、resourceType、principalId、および場所です。

type

TemplateParameterType

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