- 最新の を
する - 2024-05-01-プレビュー
- 2024-01-01-プレビュー
- 2023-12-01
- 2023-11-01-プレビュー
- 2023-09-01-プレビュー
- 2023-07-01-プレビュー
- 2023-05-01-プレビュー
- 2023-03-01-プレビュー
- 2023-01-01-プレビュー
- 2022-12-01
- 2022-11-01-プレビュー
- 2022-09-01-プレビュー
- 2022-05-01-プレビュー
- 2022-04-01
- 2022-03-01-プレビュー
- 2022-01-01-プレビュー
- 2021-09-01-プレビュー
- 2021-06-01-プレビュー
- 2020-11-01-プレビュー
- 2020-07-01
注釈
注:Azure Spring Apps(Microsoft.AppPlatform/Spring)は現在非推奨となり、2028年5月31日に廃止されます。 詳細については、https://aka.ms/asaretirement を参照してください。
Bicep リソース定義
Spring リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.AppPlatform/Spring リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.AppPlatform/Spring@2024-05-01-preview' = {
identity: {
type: 'string'
}
location: 'string'
name: 'string'
properties: {
infraResourceGroup: 'string'
maintenanceScheduleConfiguration: {
frequency: 'string'
// For remaining properties, see MaintenanceScheduleConfiguration objects
}
managedEnvironmentId: 'string'
marketplaceResource: {
plan: 'string'
product: 'string'
publisher: 'string'
}
networkProfile: {
appNetworkResourceGroup: 'string'
appSubnetId: 'string'
ingressConfig: {
readTimeoutInSeconds: int
}
outboundType: 'string'
serviceCidr: 'string'
serviceRuntimeNetworkResourceGroup: 'string'
serviceRuntimeSubnetId: 'string'
}
vnetAddons: {
dataPlanePublicEndpoint: bool
logStreamPublicEndpoint: bool
privateDnsZoneId: 'string'
privateStorageAccess: 'string'
}
zoneRedundant: bool
}
sku: {
capacity: int
name: 'string'
tier: 'string'
}
tags: {
{customized property}: 'string'
}
}
MaintenanceScheduleConfiguration オブジェクト
オブジェクトの種類を指定するには、frequency プロパティを設定します。
毎週 の場合は、次を使用します。
{
day: 'string'
frequency: 'Weekly'
hour: int
}
プロパティ値
マイクロソフト.AppPlatform/Spring
| 名前 | 形容 | 価値 |
|---|---|---|
| ID | サービス リソースのマネージド ID | システム割り当てサービスアイデンティティ |
| 位置 | リソースの GEO の場所。 | 文字列 |
| 名前 | リソース名 | 糸 制約: パターン = ^[a-z][a-z0-9-]*[a-z0-9]$ (必須) |
| プロパティ | サービス リソースのプロパティ | ClusterResourceProperties の |
| エスケーユー | サービス リソースの SKU | SKU |
| タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の |
クラスタリソースプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| インフラリソースグループ | インフラストラクチャ リソースを含むリソース グループの名前 | 文字列 |
| メンテナンススケジュール設定 | 計画メンテナンスの追加サービス設定 | メンテナンススケジュール設定 |
| managedEnvironmentId の | Spring Apps インスタンスが構築するマネージド環境のリソース ID | 文字列 |
| マーケットプレイスリソース | サービス リソースのサード パーティ製品の購入。 | マーケットプレイスリソース |
| ネットワークプロファイル | サービスのネットワーク プロファイル | ネットワークプロファイル |
| vnetアドオン | vnet インジェクション インスタンスの追加のサービス設定 | ServiceVNetアドオン |
| ゾーン冗長 | ブール (bool) |
イングレスコンフィグ
| 名前 | 形容 | 価値 |
|---|---|---|
| readTimeoutInSeconds (英語) | イングレス読み取りタイムアウト (秒単位)。 | 整数 (int) |
メンテナンススケジュール設定
| 名前 | 形容 | 価値 |
|---|---|---|
| 周波数 | WeeklyMaintenanceScheduleConfigurationの種類 |
'Weekly' (必須) |
マーケットプレイスリソース
| 名前 | 形容 | 価値 |
|---|---|---|
| プラン | 調達中のサード パーティ成果物のプラン ID。 | 文字列 |
| 積 | 調達中のサード パーティの成果物。 | 文字列 |
| パブリッシャ | 購入中のサード パーティ成果物の発行元 ID。 | 文字列 |
ネットワークプロファイル
| 名前 | 形容 | 価値 |
|---|---|---|
| appNetworkResourceGroup (英語) | Azure Spring Apps の顧客アプリのネットワーク リソースを含むリソース グループの名前 | 文字列 |
| appSubnetId (英語) | Azure Spring Apps で顧客アプリをホストするサブネットの完全修飾リソース ID | 文字列 |
| イングレスコンフィグ | Azure Spring Apps リソースのイングレス構成ペイロード。 | IngressConfig の |
| アウトバウンドタイプ | Azure Spring Apps VNet インスタンスのエグレス トラフィックの種類。 | 文字列 |
| サービスCidr | Azure Spring Apps サービス予約済み CIDR | 文字列 |
| サービスランタイムネットワークリソースグループ | Azure Spring Apps Service Runtime のネットワーク リソースを含むリソース グループの名前 | 文字列 |
| サービスランタイムサブネットID | Azure Spring Apps サービス ランタイムをホストするサブネットの完全修飾リソース ID | 文字列 |
ServiceVNetアドオン
| 名前 | 形容 | 価値 |
|---|---|---|
| dataPlanePublicエンドポイント | vnet インジェクション インスタンスのデータ プレーン コンポーネント (ログ ストリーム、アプリ接続、リモート デバッグ) にインターネットからアクセスできるかどうかを示します。 | ブール (bool) |
| logStreamPublicエンドポイント | vnet インジェクション インスタンスのログ ストリームにインターネットからアクセスできるかどうかを示します。 | ブール (bool) |
| プライベートDnsZoneId | 顧客の仮想ネットワークとリンクするプライベート DNS ゾーンの完全修飾リソース ID。 | 文字列 |
| privateStorageAccess (プライベートストレージアクセス) | vnet インジェクション サービスがバックエンド ストレージ アカウントとコンテナー レジストリのプライベート リンクを有効にするかどうかを示します。 | 「無効」 「有効」 |
SKU
| 名前 | 形容 | 価値 |
|---|---|---|
| キャパシティ | ターゲット リソースの現在の容量 | 整数 (int) |
| 名前 | SKU の名前 | 文字列 |
| レベル | SKU の階層 | 文字列 |
システム割り当てサービスアイデンティティ
| 名前 | 形容 | 価値 |
|---|---|---|
| 型 | マネージド サービス ID の種類 (システム割り当て済み、またはなし)。 | 「なし」 'SystemAssigned' (必須) |
追跡リソースタグ
| 名前 | 形容 | 価値 |
|---|
WeeklyMaintenanceScheduleConfiguration (週次メンテナンススケジュール設定)
| 名前 | 形容 | 価値 |
|---|---|---|
| 日 | メンテナンス ジョブを実行する日 | 「フライデー」 「月曜日」 「サタデー」 「サンデー」 「木曜日」 「火曜日」 'Wednesday' (必須) |
| 周波数 | メンテナンス ジョブを実行する頻度 | 'Weekly' (必須) |
| 時 | メンテナンス ジョブを実行する時間 | int 制約: 最小値 = 0 最大値 = 23 (必須) |
使用例
Bicep サンプル
Azure Spring Cloud Service のデプロイの基本的な例。
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = {
name: resourceName
location: location
properties: {
zoneRedundant: false
}
sku: {
name: 'S0'
}
}
Azure クイック スタートのサンプル
次 Azure クイック スタート テンプレート、このリソースの種類をデプロイするための Bicep サンプルが含まれています。
| Bicep ファイル | 形容 |
|---|---|
| 単純な Azure Spring Apps マイクロサービス アプリケーション をデプロイする | このテンプレートは、Azure 上で実行する単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイします。 |
ARM テンプレート リソース定義
Spring リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.AppPlatform/Spring リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.AppPlatform/Spring",
"apiVersion": "2024-05-01-preview",
"name": "string",
"identity": {
"type": "string"
},
"location": "string",
"properties": {
"infraResourceGroup": "string",
"maintenanceScheduleConfiguration": {
"frequency": "string"
// For remaining properties, see MaintenanceScheduleConfiguration objects
},
"managedEnvironmentId": "string",
"marketplaceResource": {
"plan": "string",
"product": "string",
"publisher": "string"
},
"networkProfile": {
"appNetworkResourceGroup": "string",
"appSubnetId": "string",
"ingressConfig": {
"readTimeoutInSeconds": "int"
},
"outboundType": "string",
"serviceCidr": "string",
"serviceRuntimeNetworkResourceGroup": "string",
"serviceRuntimeSubnetId": "string"
},
"vnetAddons": {
"dataPlanePublicEndpoint": "bool",
"logStreamPublicEndpoint": "bool",
"privateDnsZoneId": "string",
"privateStorageAccess": "string"
},
"zoneRedundant": "bool"
},
"sku": {
"capacity": "int",
"name": "string",
"tier": "string"
},
"tags": {
"{customized property}": "string"
}
}
MaintenanceScheduleConfiguration オブジェクト
オブジェクトの種類を指定するには、frequency プロパティを設定します。
毎週 の場合は、次を使用します。
{
"day": "string",
"frequency": "Weekly",
"hour": "int"
}
プロパティ値
マイクロソフト.AppPlatform/Spring
| 名前 | 形容 | 価値 |
|---|---|---|
| apiVersion (英語) | API のバージョン | 「2024-05-01-プレビュー」 |
| ID | サービス リソースのマネージド ID | システム割り当てサービスアイデンティティ |
| 位置 | リソースの GEO の場所。 | 文字列 |
| 名前 | リソース名 | 糸 制約: パターン = ^[a-z][a-z0-9-]*[a-z0-9]$ (必須) |
| プロパティ | サービス リソースのプロパティ | ClusterResourceProperties の |
| エスケーユー | サービス リソースの SKU | SKU |
| タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の |
| 型 | リソースの種類 | 'Microsoft.AppPlatform/Spring' |
クラスタリソースプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| インフラリソースグループ | インフラストラクチャ リソースを含むリソース グループの名前 | 文字列 |
| メンテナンススケジュール設定 | 計画メンテナンスの追加サービス設定 | メンテナンススケジュール設定 |
| managedEnvironmentId の | Spring Apps インスタンスが構築するマネージド環境のリソース ID | 文字列 |
| マーケットプレイスリソース | サービス リソースのサード パーティ製品の購入。 | マーケットプレイスリソース |
| ネットワークプロファイル | サービスのネットワーク プロファイル | ネットワークプロファイル |
| vnetアドオン | vnet インジェクション インスタンスの追加のサービス設定 | ServiceVNetアドオン |
| ゾーン冗長 | ブール (bool) |
イングレスコンフィグ
| 名前 | 形容 | 価値 |
|---|---|---|
| readTimeoutInSeconds (英語) | イングレス読み取りタイムアウト (秒単位)。 | 整数 (int) |
メンテナンススケジュール設定
| 名前 | 形容 | 価値 |
|---|---|---|
| 周波数 | WeeklyMaintenanceScheduleConfigurationの種類 |
'Weekly' (必須) |
マーケットプレイスリソース
| 名前 | 形容 | 価値 |
|---|---|---|
| プラン | 調達中のサード パーティ成果物のプラン ID。 | 文字列 |
| 積 | 調達中のサード パーティの成果物。 | 文字列 |
| パブリッシャ | 購入中のサード パーティ成果物の発行元 ID。 | 文字列 |
ネットワークプロファイル
| 名前 | 形容 | 価値 |
|---|---|---|
| appNetworkResourceGroup (英語) | Azure Spring Apps の顧客アプリのネットワーク リソースを含むリソース グループの名前 | 文字列 |
| appSubnetId (英語) | Azure Spring Apps で顧客アプリをホストするサブネットの完全修飾リソース ID | 文字列 |
| イングレスコンフィグ | Azure Spring Apps リソースのイングレス構成ペイロード。 | IngressConfig の |
| アウトバウンドタイプ | Azure Spring Apps VNet インスタンスのエグレス トラフィックの種類。 | 文字列 |
| サービスCidr | Azure Spring Apps サービス予約済み CIDR | 文字列 |
| サービスランタイムネットワークリソースグループ | Azure Spring Apps Service Runtime のネットワーク リソースを含むリソース グループの名前 | 文字列 |
| サービスランタイムサブネットID | Azure Spring Apps サービス ランタイムをホストするサブネットの完全修飾リソース ID | 文字列 |
ServiceVNetアドオン
| 名前 | 形容 | 価値 |
|---|---|---|
| dataPlanePublicエンドポイント | vnet インジェクション インスタンスのデータ プレーン コンポーネント (ログ ストリーム、アプリ接続、リモート デバッグ) にインターネットからアクセスできるかどうかを示します。 | ブール (bool) |
| logStreamPublicエンドポイント | vnet インジェクション インスタンスのログ ストリームにインターネットからアクセスできるかどうかを示します。 | ブール (bool) |
| プライベートDnsZoneId | 顧客の仮想ネットワークとリンクするプライベート DNS ゾーンの完全修飾リソース ID。 | 文字列 |
| privateStorageAccess (プライベートストレージアクセス) | vnet インジェクション サービスがバックエンド ストレージ アカウントとコンテナー レジストリのプライベート リンクを有効にするかどうかを示します。 | 「無効」 「有効」 |
SKU
| 名前 | 形容 | 価値 |
|---|---|---|
| キャパシティ | ターゲット リソースの現在の容量 | 整数 (int) |
| 名前 | SKU の名前 | 文字列 |
| レベル | SKU の階層 | 文字列 |
システム割り当てサービスアイデンティティ
| 名前 | 形容 | 価値 |
|---|---|---|
| 型 | マネージド サービス ID の種類 (システム割り当て済み、またはなし)。 | 「なし」 'SystemAssigned' (必須) |
追跡リソースタグ
| 名前 | 形容 | 価値 |
|---|
WeeklyMaintenanceScheduleConfiguration (週次メンテナンススケジュール設定)
| 名前 | 形容 | 価値 |
|---|---|---|
| 日 | メンテナンス ジョブを実行する日 | 「フライデー」 「月曜日」 「サタデー」 「サンデー」 「木曜日」 「火曜日」 'Wednesday' (必須) |
| 周波数 | メンテナンス ジョブを実行する頻度 | 'Weekly' (必須) |
| 時 | メンテナンス ジョブを実行する時間 | int 制約: 最小値 = 0 最大値 = 23 (必須) |
使用例
Azure クイック スタート テンプレート
このリソースの種類 デプロイする Azure クイック スタート テンプレート 次に示します。
| テンプレート | 形容 |
|---|---|
|
単純な Azure Spring Apps マイクロサービス アプリケーション をデプロイする Azure にデプロイする |
このテンプレートは、Azure 上で実行する単純な Azure Spring Apps マイクロサービス アプリケーションをデプロイします。 |
Terraform (AzAPI プロバイダー) リソース定義
Spring リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループ
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.AppPlatform/Spring リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AppPlatform/Spring@2024-05-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
infraResourceGroup = "string"
maintenanceScheduleConfiguration = {
frequency = "string"
// For remaining properties, see MaintenanceScheduleConfiguration objects
}
managedEnvironmentId = "string"
marketplaceResource = {
plan = "string"
product = "string"
publisher = "string"
}
networkProfile = {
appNetworkResourceGroup = "string"
appSubnetId = "string"
ingressConfig = {
readTimeoutInSeconds = int
}
outboundType = "string"
serviceCidr = "string"
serviceRuntimeNetworkResourceGroup = "string"
serviceRuntimeSubnetId = "string"
}
vnetAddons = {
dataPlanePublicEndpoint = bool
logStreamPublicEndpoint = bool
privateDnsZoneId = "string"
privateStorageAccess = "string"
}
zoneRedundant = bool
}
sku = {
capacity = int
name = "string"
tier = "string"
}
}
}
MaintenanceScheduleConfiguration オブジェクト
オブジェクトの種類を指定するには、frequency プロパティを設定します。
毎週 の場合は、次を使用します。
{
day = "string"
frequency = "Weekly"
hour = int
}
プロパティ値
マイクロソフト.AppPlatform/Spring
| 名前 | 形容 | 価値 |
|---|---|---|
| ID | サービス リソースのマネージド ID | システム割り当てサービスアイデンティティ |
| 位置 | リソースの GEO の場所。 | 文字列 |
| 名前 | リソース名 | 糸 制約: パターン = ^[a-z][a-z0-9-]*[a-z0-9]$ (必須) |
| プロパティ | サービス リソースのプロパティ | ClusterResourceProperties の |
| エスケーユー | サービス リソースの SKU | SKU |
| タグ | リソース タグ | タグ名と値のディクショナリ。 |
| 型 | リソースの種類 | "Microsoft.AppPlatform/Spring@2024-05-01-preview" (英語) |
クラスタリソースプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| インフラリソースグループ | インフラストラクチャ リソースを含むリソース グループの名前 | 文字列 |
| メンテナンススケジュール設定 | 計画メンテナンスの追加サービス設定 | メンテナンススケジュール設定 |
| managedEnvironmentId の | Spring Apps インスタンスが構築するマネージド環境のリソース ID | 文字列 |
| マーケットプレイスリソース | サービス リソースのサード パーティ製品の購入。 | マーケットプレイスリソース |
| ネットワークプロファイル | サービスのネットワーク プロファイル | ネットワークプロファイル |
| vnetアドオン | vnet インジェクション インスタンスの追加のサービス設定 | ServiceVNetアドオン |
| ゾーン冗長 | ブール (bool) |
イングレスコンフィグ
| 名前 | 形容 | 価値 |
|---|---|---|
| readTimeoutInSeconds (英語) | イングレス読み取りタイムアウト (秒単位)。 | 整数 (int) |
メンテナンススケジュール設定
| 名前 | 形容 | 価値 |
|---|---|---|
| 周波数 | WeeklyMaintenanceScheduleConfigurationの種類 |
'Weekly' (必須) |
マーケットプレイスリソース
| 名前 | 形容 | 価値 |
|---|---|---|
| プラン | 調達中のサード パーティ成果物のプラン ID。 | 文字列 |
| 積 | 調達中のサード パーティの成果物。 | 文字列 |
| パブリッシャ | 購入中のサード パーティ成果物の発行元 ID。 | 文字列 |
ネットワークプロファイル
| 名前 | 形容 | 価値 |
|---|---|---|
| appNetworkResourceGroup (英語) | Azure Spring Apps の顧客アプリのネットワーク リソースを含むリソース グループの名前 | 文字列 |
| appSubnetId (英語) | Azure Spring Apps で顧客アプリをホストするサブネットの完全修飾リソース ID | 文字列 |
| イングレスコンフィグ | Azure Spring Apps リソースのイングレス構成ペイロード。 | IngressConfig の |
| アウトバウンドタイプ | Azure Spring Apps VNet インスタンスのエグレス トラフィックの種類。 | 文字列 |
| サービスCidr | Azure Spring Apps サービス予約済み CIDR | 文字列 |
| サービスランタイムネットワークリソースグループ | Azure Spring Apps Service Runtime のネットワーク リソースを含むリソース グループの名前 | 文字列 |
| サービスランタイムサブネットID | Azure Spring Apps サービス ランタイムをホストするサブネットの完全修飾リソース ID | 文字列 |
ServiceVNetアドオン
| 名前 | 形容 | 価値 |
|---|---|---|
| dataPlanePublicエンドポイント | vnet インジェクション インスタンスのデータ プレーン コンポーネント (ログ ストリーム、アプリ接続、リモート デバッグ) にインターネットからアクセスできるかどうかを示します。 | ブール (bool) |
| logStreamPublicエンドポイント | vnet インジェクション インスタンスのログ ストリームにインターネットからアクセスできるかどうかを示します。 | ブール (bool) |
| プライベートDnsZoneId | 顧客の仮想ネットワークとリンクするプライベート DNS ゾーンの完全修飾リソース ID。 | 文字列 |
| privateStorageAccess (プライベートストレージアクセス) | vnet インジェクション サービスがバックエンド ストレージ アカウントとコンテナー レジストリのプライベート リンクを有効にするかどうかを示します。 | 「無効」 「有効」 |
SKU
| 名前 | 形容 | 価値 |
|---|---|---|
| キャパシティ | ターゲット リソースの現在の容量 | 整数 (int) |
| 名前 | SKU の名前 | 文字列 |
| レベル | SKU の階層 | 文字列 |
システム割り当てサービスアイデンティティ
| 名前 | 形容 | 価値 |
|---|---|---|
| 型 | マネージド サービス ID の種類 (システム割り当て済み、またはなし)。 | 「なし」 'SystemAssigned' (必須) |
追跡リソースタグ
| 名前 | 形容 | 価値 |
|---|
WeeklyMaintenanceScheduleConfiguration (週次メンテナンススケジュール設定)
| 名前 | 形容 | 価値 |
|---|---|---|
| 日 | メンテナンス ジョブを実行する日 | 「フライデー」 「月曜日」 「サタデー」 「サンデー」 「木曜日」 「火曜日」 'Wednesday' (必須) |
| 周波数 | メンテナンス ジョブを実行する頻度 | 'Weekly' (必須) |
| 時 | メンテナンス ジョブを実行する時間 | int 制約: 最小値 = 0 最大値 = 23 (必須) |
使用例
Terraformサンプル
Azure Spring Cloud Service のデプロイの基本的な例。
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "Spring" {
type = "Microsoft.AppPlatform/Spring@2023-05-01-preview"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
zoneRedundant = false
}
sku = {
name = "S0"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}