Microsoft.AppPlatform Spring/apps 2020-07-01

Bicep リソース定義

Spring/apps リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.AppPlatform/Spring/apps リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.AppPlatform/Spring/apps@2020-07-01' = {
  name: 'string'
  location: 'string'
  parent: resourceSymbolicName
  identity: {
    principalId: 'string'
    tenantId: 'string'
    type: 'string'
  }
  properties: {
    activeDeploymentName: 'string'
    fqdn: 'string'
    httpsOnly: bool
    persistentDisk: {
      mountPath: 'string'
      sizeInGB: int
    }
    public: bool
    temporaryDisk: {
      mountPath: 'string'
      sizeInGB: int
    }
  }
}

プロパティ値

Spring/apps

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)
location アプリケーションの GEO の場所(親リソースと常に同じ) string
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部にある子リソース」を参照してください。
型のリソースのシンボル名: Spring
identity アプリ リソースのマネージド ID の種類 ManagedIdentityProperties
properties アプリ リソースのプロパティ AppResourceProperties

ManagedIdentityProperties

名前 説明
principalId プリンシパル ID string
tenantId テナント ID string
type マネージド ID の種類 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'

AppResourceProperties

名前 説明
activeDeploymentName アプリのアクティブなデプロイの名前 string
fqdn 完全修飾 DNS 名。 string
httpsOnly https のみが許可されているかどうかを示します。 [bool]
persistentDisk 永続ディスクの設定 PersistentDisk
public アプリがパブリック エンドポイントを公開するかどうかを示します [bool]
temporaryDisk 一時ディスクの設定 TemporaryDisk

PersistentDisk

名前 説明
mountPath 永続ディスクのマウント パス string
sizeInGB 永続ディスクのサイズ (GB 単位) INT

TemporaryDisk

名前 説明
mountPath 一時ディスクのマウント パス string
sizeInGB 一時ディスクのサイズ (GB 単位) INT

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイする

Azure にデプロイする
このテンプレートでは、Azure で実行する単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイします。

ARM テンプレート リソース定義

Spring/apps リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.AppPlatform/Spring/apps リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.AppPlatform/Spring/apps",
  "apiVersion": "2020-07-01",
  "name": "string",
  "location": "string",
  "identity": {
    "principalId": "string",
    "tenantId": "string",
    "type": "string"
  },
  "properties": {
    "activeDeploymentName": "string",
    "fqdn": "string",
    "httpsOnly": "bool",
    "persistentDisk": {
      "mountPath": "string",
      "sizeInGB": "int"
    },
    "public": "bool",
    "temporaryDisk": {
      "mountPath": "string",
      "sizeInGB": "int"
    }
  }
}

プロパティ値

Spring/apps

名前 説明
type リソースの種類 'Microsoft.AppPlatform/Spring/apps'
apiVersion リソース API のバージョン '2020-07-01'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
location アプリケーションの GEO の場所(親リソースと常に同じ) string
identity アプリ リソースのマネージド ID の種類 ManagedIdentityProperties
properties アプリ リソースのプロパティ AppResourceProperties

ManagedIdentityProperties

名前 説明
principalId プリンシパル ID string
tenantId テナント ID string
type マネージド ID の種類 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'

AppResourceProperties

名前 説明
activeDeploymentName アプリのアクティブなデプロイの名前 string
fqdn 完全修飾 DNS 名。 string
httpsOnly https のみが許可されているかどうかを示します。 [bool]
persistentDisk 永続ディスクの設定 PersistentDisk
public アプリがパブリック エンドポイントを公開するかどうかを示します [bool]
temporaryDisk 一時ディスクの設定 TemporaryDisk

PersistentDisk

名前 説明
mountPath 永続ディスクのマウント パス string
sizeInGB 永続ディスクのサイズ (GB) INT

TemporaryDisk

名前 説明
mountPath 一時ディスクのマウント パス string
sizeInGB 一時ディスクのサイズ (GB 単位) INT

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイする

Azure にデプロイする
このテンプレートでは、Azure で実行する単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイします。

Terraform (AzAPI プロバイダー) リソース定義

Spring/apps リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.AppPlatform/Spring/apps リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AppPlatform/Spring/apps@2020-07-01"
  name = "string"
  location = "string"
  parent_id = "string"
  identity {
    type = "string"
  }
  body = jsonencode({
    properties = {
      activeDeploymentName = "string"
      fqdn = "string"
      httpsOnly = bool
      persistentDisk = {
        mountPath = "string"
        sizeInGB = int
      }
      public = bool
      temporaryDisk = {
        mountPath = "string"
        sizeInGB = int
      }
    }
  })
}

プロパティ値

Spring/apps

名前 説明
type リソースの種類 "Microsoft.AppPlatform/Spring/apps@2020-07-01"
name リソース名 string (必須)
location アプリケーションの GEO の場所(親リソースと常に同じ) string
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: Spring
identity アプリ リソースのマネージド ID の種類 ManagedIdentityProperties
properties アプリ リソースのプロパティ AppResourceProperties

ManagedIdentityProperties

名前 説明
type マネージド ID の種類 "SystemAssigned"
"SystemAssigned,UserAssigned"
"UserAssigned"

AppResourceProperties

名前 説明
activeDeploymentName アプリのアクティブなデプロイの名前 string
fqdn 完全修飾 DNS 名。 string
httpsOnly https のみが許可されているかどうかを示します。 [bool]
persistentDisk 永続ディスクの設定 PersistentDisk
public アプリがパブリック エンドポイントを公開するかどうかを示します [bool]
temporaryDisk 一時ディスクの設定 TemporaryDisk

PersistentDisk

名前 説明
mountPath 永続ディスクのマウント パス string
sizeInGB 永続ディスクのサイズ (GB) INT

TemporaryDisk

名前 説明
mountPath 一時ディスクのマウント パス string
sizeInGB 一時ディスクのサイズ (GB 単位) int