你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
注解
注意:Azure Spring Apps Applications(Microsoft.AppPlatform/Spring/apps)现已弃用,将于2028年5月31日退役。 有关详细信息,请参阅 https://aka.ms/asaretirement。
Bicep 资源定义
可以使用目标操作部署 Spring/apps 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
用法示例
Bicep 示例
部署 Azure Spring Cloud 应用程序的基本示例。
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource spring 'Microsoft.AppPlatform/Spring@2023-05-01-preview' = {
name: resourceName
location: location
sku: {
name: 'E0'
}
properties: {
zoneRedundant: false
}
}
resource app 'Microsoft.AppPlatform/Spring/apps@2023-05-01-preview' = {
name: resourceName
location: location
parent: spring
properties: {
customPersistentDisks: []
enableEndToEndTLS: false
public: false
}
}
Azure 快速入门示例
以下 Azure 快速入门模板 包含用于部署此资源类型的 Bicep 示例。
| Bicep 文件 | 描述 |
|---|---|
| 部署简单的 Azure Spring Apps 微服务应用程序 | 此模板部署一个简单的 Azure Spring Apps 微服务应用程序,以在 Azure 上运行。 |
资源格式
若要创建 Microsoft.AppPlatform/Spring/apps 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.AppPlatform/Spring/apps@2023-07-01-preview' = {
parent: resourceSymbolicName
identity: {
principalId: 'string'
tenantId: 'string'
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
addonConfigs: {
{customized property}: any(...)
}
customPersistentDisks: [
{
customPersistentDiskProperties: {
enableSubPath: bool
mountOptions: [
'string'
]
mountPath: 'string'
readOnly: bool
type: 'string'
// For remaining properties, see CustomPersistentDiskProperties objects
}
storageId: 'string'
}
]
enableEndToEndTLS: bool
httpsOnly: bool
ingressSettings: {
backendProtocol: 'string'
clientAuth: {
certificates: [
'string'
]
}
readTimeoutInSeconds: int
sendTimeoutInSeconds: int
sessionAffinity: 'string'
sessionCookieMaxAge: int
}
loadedCertificates: [
{
loadTrustStore: bool
resourceId: 'string'
}
]
persistentDisk: {
mountPath: 'string'
sizeInGB: int
}
public: bool
secrets: [
{
name: 'string'
value: 'string'
}
]
temporaryDisk: {
mountPath: 'string'
sizeInGB: int
}
vnetAddons: {
publicEndpoint: bool
}
workloadProfileName: 'string'
}
}
CustomPersistentDiskProperties 对象
设置 类型 属性以指定对象的类型。
对于 AzureFileVolume,请使用:
{
shareName: 'string'
type: 'AzureFileVolume'
}
属性值
Microsoft.AppPlatform/Spring/apps
| 名字 | 描述 | 价值 |
|---|---|---|
| 标识 | 应用资源的托管标识类型 | ManagedIdentityProperties |
| 位置 | 应用程序的 GEO 位置,与其父资源始终相同 | 字符串 |
| 名字 | 资源名称 | string (必需) |
| 父级 | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源外部的子资源。 |
类型资源的符号名称:Spring |
| 性能 | 应用资源的属性 | AppResourceProperties |
AppResourceProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 插件配置 | 加载项集合 | AppResourcePropertiesAddonConfigs |
| 自定义持久磁盘 | 自定义永久性磁盘列表 | CustomPersistentDiskResource[] |
| enableEndToEndTLS | 指示是否启用了端到端 TLS。 | 布尔 |
| httpsOnly (仅 https) | 指示是否只允许 https。 | 布尔 |
| 入口设置 | 应用入口设置有效负载。 | 入口设置 |
| loadedCertificates | 已加载证书的集合 | LoadedCertificate[] |
| 持久磁盘 | 永久性磁盘设置 | PersistentDisk (持久磁盘) |
| 公共 | 指示应用是否公开公共终结点 | 布尔 |
| 秘密 | 身份验证机密的集合 | 机密[] |
| 临时磁盘 | 临时磁盘设置 | 临时磁盘 |
| vnet插件 | vnet 注入实例中的其他应用设置 | AppVNet插件 |
| workloadProfileName (工作负载配置文件名称) | 用于此应用的工作负荷配置文件。 支持消耗 + 专用计划。 | 字符串 |
AppResourcePropertiesAddonConfigs
| 名字 | 描述 | 价值 |
|---|
AppVNet插件
| 名字 | 描述 | 价值 |
|---|---|---|
| publicEndpoint | 指示 vnet 注入实例中的应用是否公开可从 Internet 访问的终结点。 | 布尔 |
AzureFileVolume
| 名字 | 描述 | 价值 |
|---|---|---|
| shareName (共享名称) | Azure 文件共享的共享名称。 | 字符串 |
| 类型 | 要作为永久性磁盘装载的基础资源的类型。 | “AzureFileVolume”(必需) |
CustomPersistentDiskProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| enableSubPath | 如果设置为 true,它将为每个单独的应用实例创建并装载专用目录。 | 布尔 |
| mountOptions | 这些是永久性磁盘的装载选项。 | 字符串[] |
| mountPath | 永久性磁盘的装载路径。 | string (必需) |
| 只读 | 指示永久性磁盘是否为 readOnly 磁盘。 | 布尔 |
| 类型 | 对于 AzureFileVolume类型,设置为“AzureFileVolume”。 | “AzureFileVolume”(必需) |
CustomPersistentDiskResource
| 名字 | 描述 | 价值 |
|---|---|---|
| customPersistentDiskProperties | 自定义永久性磁盘资源有效负载的属性。 | CustomPersistentDiskProperties |
| 存储 ID | Azure Spring Apps 存储资源的资源 ID。 | string (必需) |
入口设置
| 名字 | 描述 | 价值 |
|---|---|---|
| backendProtocol 协议 | 入口应如何与此应用后端服务通信。 | “Default” “GRPC” |
| clientAuth 的 | Client-Certification 身份验证。 | IngressSettingsClientAuth |
| readTimeoutInSeconds | 入口读取超时(以秒为单位)。 | 整数 (int) |
| sendTimeoutInSeconds | 入口发送超时(以秒为单位)。 | 整数 (int) |
| 会话关联 | 相关性的类型,将此项设置为 Cookie 以启用会话相关性。 | “Cookie” “None” |
| sessionCookieMaxAge | Cookie 过期前的时间(以秒为单位)。 | 整数 (int) |
IngressSettingsClientAuth
| 名字 | 描述 | 价值 |
|---|---|---|
| 证书 | 证书资源 ID 的集合。 | 字符串[] |
LoadedCertificate 证书
| 名字 | 描述 | 价值 |
|---|---|---|
| loadTrustStore | 指示证书是否将加载到默认信任存储中,仅适用于 Java 运行时。 | 布尔 |
| 资源ID | 已加载证书的资源 ID | string (必需) |
ManagedIdentityProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| principalId (主体ID) | 系统分配的托管标识的主体 ID。 | 字符串 |
| 租户ID | 系统分配的托管标识的租户 ID。 | 字符串 |
| 类型 | 托管标识的类型 | “None” “SystemAssigned” “SystemAssigned,UserAssigned” “UserAssigned” |
| 用户分配的标识 | 用户分配的托管标识的属性 | UserAssignedManagedIdentities |
PersistentDisk (持久磁盘)
| 名字 | 描述 | 价值 |
|---|---|---|
| mountPath | 永久性磁盘的装载路径 | 字符串 |
| 大小(GB) | 永久性磁盘的大小(以 GB 为单位) | int 约束: 最小值 = 0 最大值 = 50 |
秘密
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 机密名称。 | 字符串 |
| 价值 | 机密值。 | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
临时磁盘
| 名字 | 描述 | 价值 |
|---|---|---|
| mountPath | 临时磁盘的装载路径 | 字符串 |
| 大小(GB) | 临时磁盘的大小(以 GB 为单位) | int 约束: 最小值 = 0 最大值 = 5 |
UserAssignedManagedIdentities
| 名字 | 描述 | 价值 |
|---|
UserAssignedManagedIdentity
| 名字 | 描述 | 价值 |
|---|
ARM 模板资源定义
可以使用目标操作部署 Spring/apps 资源类型:
用法示例
Azure 快速入门模板
以下 Azure 快速入门模板 部署此资源类型。
| 模板 | 描述 |
|---|---|
|
部署简单的 Azure Spring Apps 微服务应用程序 |
此模板部署一个简单的 Azure Spring Apps 微服务应用程序,以在 Azure 上运行。 |
资源格式
若要创建 Microsoft.AppPlatform/Spring/apps 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.AppPlatform/Spring/apps",
"apiVersion": "2023-07-01-preview",
"name": "string",
"identity": {
"principalId": "string",
"tenantId": "string",
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"addonConfigs": {
"{customized property}": {}
},
"customPersistentDisks": [
{
"customPersistentDiskProperties": {
"enableSubPath": "bool",
"mountOptions": [ "string" ],
"mountPath": "string",
"readOnly": "bool",
"type": "string"
// For remaining properties, see CustomPersistentDiskProperties objects
},
"storageId": "string"
}
],
"enableEndToEndTLS": "bool",
"httpsOnly": "bool",
"ingressSettings": {
"backendProtocol": "string",
"clientAuth": {
"certificates": [ "string" ]
},
"readTimeoutInSeconds": "int",
"sendTimeoutInSeconds": "int",
"sessionAffinity": "string",
"sessionCookieMaxAge": "int"
},
"loadedCertificates": [
{
"loadTrustStore": "bool",
"resourceId": "string"
}
],
"persistentDisk": {
"mountPath": "string",
"sizeInGB": "int"
},
"public": "bool",
"secrets": [
{
"name": "string",
"value": "string"
}
],
"temporaryDisk": {
"mountPath": "string",
"sizeInGB": "int"
},
"vnetAddons": {
"publicEndpoint": "bool"
},
"workloadProfileName": "string"
}
}
CustomPersistentDiskProperties 对象
设置 类型 属性以指定对象的类型。
对于 AzureFileVolume,请使用:
{
"shareName": "string",
"type": "AzureFileVolume"
}
属性值
Microsoft.AppPlatform/Spring/apps
| 名字 | 描述 | 价值 |
|---|---|---|
| apiVersion | API 版本 | “2023-07-01-预览” |
| 标识 | 应用资源的托管标识类型 | ManagedIdentityProperties |
| 位置 | 应用程序的 GEO 位置,与其父资源始终相同 | 字符串 |
| 名字 | 资源名称 | string (必需) |
| 性能 | 应用资源的属性 | AppResourceProperties |
| 类型 | 资源类型 | “Microsoft.AppPlatform/Spring/apps” |
AppResourceProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 插件配置 | 加载项集合 | AppResourcePropertiesAddonConfigs |
| 自定义持久磁盘 | 自定义永久性磁盘列表 | CustomPersistentDiskResource[] |
| enableEndToEndTLS | 指示是否启用了端到端 TLS。 | 布尔 |
| httpsOnly (仅 https) | 指示是否只允许 https。 | 布尔 |
| 入口设置 | 应用入口设置有效负载。 | 入口设置 |
| loadedCertificates | 已加载证书的集合 | LoadedCertificate[] |
| 持久磁盘 | 永久性磁盘设置 | PersistentDisk (持久磁盘) |
| 公共 | 指示应用是否公开公共终结点 | 布尔 |
| 秘密 | 身份验证机密的集合 | 机密[] |
| 临时磁盘 | 临时磁盘设置 | 临时磁盘 |
| vnet插件 | vnet 注入实例中的其他应用设置 | AppVNet插件 |
| workloadProfileName (工作负载配置文件名称) | 用于此应用的工作负荷配置文件。 支持消耗 + 专用计划。 | 字符串 |
AppResourcePropertiesAddonConfigs
| 名字 | 描述 | 价值 |
|---|
AppVNet插件
| 名字 | 描述 | 价值 |
|---|---|---|
| publicEndpoint | 指示 vnet 注入实例中的应用是否公开可从 Internet 访问的终结点。 | 布尔 |
AzureFileVolume
| 名字 | 描述 | 价值 |
|---|---|---|
| shareName (共享名称) | Azure 文件共享的共享名称。 | 字符串 |
| 类型 | 要作为永久性磁盘装载的基础资源的类型。 | “AzureFileVolume”(必需) |
CustomPersistentDiskProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| enableSubPath | 如果设置为 true,它将为每个单独的应用实例创建并装载专用目录。 | 布尔 |
| mountOptions | 这些是永久性磁盘的装载选项。 | 字符串[] |
| mountPath | 永久性磁盘的装载路径。 | string (必需) |
| 只读 | 指示永久性磁盘是否为 readOnly 磁盘。 | 布尔 |
| 类型 | 对于 AzureFileVolume类型,设置为“AzureFileVolume”。 | “AzureFileVolume”(必需) |
CustomPersistentDiskResource
| 名字 | 描述 | 价值 |
|---|---|---|
| customPersistentDiskProperties | 自定义永久性磁盘资源有效负载的属性。 | CustomPersistentDiskProperties |
| 存储 ID | Azure Spring Apps 存储资源的资源 ID。 | string (必需) |
入口设置
| 名字 | 描述 | 价值 |
|---|---|---|
| backendProtocol 协议 | 入口应如何与此应用后端服务通信。 | “Default” “GRPC” |
| clientAuth 的 | Client-Certification 身份验证。 | IngressSettingsClientAuth |
| readTimeoutInSeconds | 入口读取超时(以秒为单位)。 | 整数 (int) |
| sendTimeoutInSeconds | 入口发送超时(以秒为单位)。 | 整数 (int) |
| 会话关联 | 相关性的类型,将此项设置为 Cookie 以启用会话相关性。 | “Cookie” “None” |
| sessionCookieMaxAge | Cookie 过期前的时间(以秒为单位)。 | 整数 (int) |
IngressSettingsClientAuth
| 名字 | 描述 | 价值 |
|---|---|---|
| 证书 | 证书资源 ID 的集合。 | 字符串[] |
LoadedCertificate 证书
| 名字 | 描述 | 价值 |
|---|---|---|
| loadTrustStore | 指示证书是否将加载到默认信任存储中,仅适用于 Java 运行时。 | 布尔 |
| 资源ID | 已加载证书的资源 ID | string (必需) |
ManagedIdentityProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| principalId (主体ID) | 系统分配的托管标识的主体 ID。 | 字符串 |
| 租户ID | 系统分配的托管标识的租户 ID。 | 字符串 |
| 类型 | 托管标识的类型 | “None” “SystemAssigned” “SystemAssigned,UserAssigned” “UserAssigned” |
| 用户分配的标识 | 用户分配的托管标识的属性 | UserAssignedManagedIdentities |
PersistentDisk (持久磁盘)
| 名字 | 描述 | 价值 |
|---|---|---|
| mountPath | 永久性磁盘的装载路径 | 字符串 |
| 大小(GB) | 永久性磁盘的大小(以 GB 为单位) | int 约束: 最小值 = 0 最大值 = 50 |
秘密
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 机密名称。 | 字符串 |
| 价值 | 机密值。 | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
临时磁盘
| 名字 | 描述 | 价值 |
|---|---|---|
| mountPath | 临时磁盘的装载路径 | 字符串 |
| 大小(GB) | 临时磁盘的大小(以 GB 为单位) | int 约束: 最小值 = 0 最大值 = 5 |
UserAssignedManagedIdentities
| 名字 | 描述 | 价值 |
|---|
UserAssignedManagedIdentity
| 名字 | 描述 | 价值 |
|---|
Terraform (AzAPI 提供程序)资源定义
可以使用目标操作部署 Spring/apps 资源类型:
- 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。
用法示例
Terraform 示例
部署 Azure Spring Cloud 应用程序的基本示例。
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 = "E0"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "app" {
type = "Microsoft.AppPlatform/Spring/apps@2023-05-01-preview"
parent_id = azapi_resource.Spring.id
name = var.resource_name
location = var.location
body = {
properties = {
customPersistentDisks = [
]
enableEndToEndTLS = false
public = false
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
资源格式
若要创建 Microsoft.AppPlatform/Spring/apps 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AppPlatform/Spring/apps@2023-07-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
body = {
properties = {
addonConfigs = {
{customized property} = ?
}
customPersistentDisks = [
{
customPersistentDiskProperties = {
enableSubPath = bool
mountOptions = [
"string"
]
mountPath = "string"
readOnly = bool
type = "string"
// For remaining properties, see CustomPersistentDiskProperties objects
}
storageId = "string"
}
]
enableEndToEndTLS = bool
httpsOnly = bool
ingressSettings = {
backendProtocol = "string"
clientAuth = {
certificates = [
"string"
]
}
readTimeoutInSeconds = int
sendTimeoutInSeconds = int
sessionAffinity = "string"
sessionCookieMaxAge = int
}
loadedCertificates = [
{
loadTrustStore = bool
resourceId = "string"
}
]
persistentDisk = {
mountPath = "string"
sizeInGB = int
}
public = bool
secrets = [
{
name = "string"
value = "string"
}
]
temporaryDisk = {
mountPath = "string"
sizeInGB = int
}
vnetAddons = {
publicEndpoint = bool
}
workloadProfileName = "string"
}
}
}
CustomPersistentDiskProperties 对象
设置 类型 属性以指定对象的类型。
对于 AzureFileVolume,请使用:
{
shareName = "string"
type = "AzureFileVolume"
}
属性值
Microsoft.AppPlatform/Spring/apps
| 名字 | 描述 | 价值 |
|---|---|---|
| 标识 | 应用资源的托管标识类型 | ManagedIdentityProperties |
| 位置 | 应用程序的 GEO 位置,与其父资源始终相同 | 字符串 |
| 名字 | 资源名称 | string (必需) |
| parent_id | 此资源的父资源的 ID。 | 类型资源的 ID:Spring |
| 性能 | 应用资源的属性 | AppResourceProperties |
| 类型 | 资源类型 | “Microsoft.AppPlatform/Spring/apps@2023-07-01-preview” |
AppResourceProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| 插件配置 | 加载项集合 | AppResourcePropertiesAddonConfigs |
| 自定义持久磁盘 | 自定义永久性磁盘列表 | CustomPersistentDiskResource[] |
| enableEndToEndTLS | 指示是否启用了端到端 TLS。 | 布尔 |
| httpsOnly (仅 https) | 指示是否只允许 https。 | 布尔 |
| 入口设置 | 应用入口设置有效负载。 | 入口设置 |
| loadedCertificates | 已加载证书的集合 | LoadedCertificate[] |
| 持久磁盘 | 永久性磁盘设置 | PersistentDisk (持久磁盘) |
| 公共 | 指示应用是否公开公共终结点 | 布尔 |
| 秘密 | 身份验证机密的集合 | 机密[] |
| 临时磁盘 | 临时磁盘设置 | 临时磁盘 |
| vnet插件 | vnet 注入实例中的其他应用设置 | AppVNet插件 |
| workloadProfileName (工作负载配置文件名称) | 用于此应用的工作负荷配置文件。 支持消耗 + 专用计划。 | 字符串 |
AppResourcePropertiesAddonConfigs
| 名字 | 描述 | 价值 |
|---|
AppVNet插件
| 名字 | 描述 | 价值 |
|---|---|---|
| publicEndpoint | 指示 vnet 注入实例中的应用是否公开可从 Internet 访问的终结点。 | 布尔 |
AzureFileVolume
| 名字 | 描述 | 价值 |
|---|---|---|
| shareName (共享名称) | Azure 文件共享的共享名称。 | 字符串 |
| 类型 | 要作为永久性磁盘装载的基础资源的类型。 | “AzureFileVolume”(必需) |
CustomPersistentDiskProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| enableSubPath | 如果设置为 true,它将为每个单独的应用实例创建并装载专用目录。 | 布尔 |
| mountOptions | 这些是永久性磁盘的装载选项。 | 字符串[] |
| mountPath | 永久性磁盘的装载路径。 | string (必需) |
| 只读 | 指示永久性磁盘是否为 readOnly 磁盘。 | 布尔 |
| 类型 | 对于 AzureFileVolume类型,设置为“AzureFileVolume”。 | “AzureFileVolume”(必需) |
CustomPersistentDiskResource
| 名字 | 描述 | 价值 |
|---|---|---|
| customPersistentDiskProperties | 自定义永久性磁盘资源有效负载的属性。 | CustomPersistentDiskProperties |
| 存储 ID | Azure Spring Apps 存储资源的资源 ID。 | string (必需) |
入口设置
| 名字 | 描述 | 价值 |
|---|---|---|
| backendProtocol 协议 | 入口应如何与此应用后端服务通信。 | “Default” “GRPC” |
| clientAuth 的 | Client-Certification 身份验证。 | IngressSettingsClientAuth |
| readTimeoutInSeconds | 入口读取超时(以秒为单位)。 | 整数 (int) |
| sendTimeoutInSeconds | 入口发送超时(以秒为单位)。 | 整数 (int) |
| 会话关联 | 相关性的类型,将此项设置为 Cookie 以启用会话相关性。 | “Cookie” “None” |
| sessionCookieMaxAge | Cookie 过期前的时间(以秒为单位)。 | 整数 (int) |
IngressSettingsClientAuth
| 名字 | 描述 | 价值 |
|---|---|---|
| 证书 | 证书资源 ID 的集合。 | 字符串[] |
LoadedCertificate 证书
| 名字 | 描述 | 价值 |
|---|---|---|
| loadTrustStore | 指示证书是否将加载到默认信任存储中,仅适用于 Java 运行时。 | 布尔 |
| 资源ID | 已加载证书的资源 ID | string (必需) |
ManagedIdentityProperties
| 名字 | 描述 | 价值 |
|---|---|---|
| principalId (主体ID) | 系统分配的托管标识的主体 ID。 | 字符串 |
| 租户ID | 系统分配的托管标识的租户 ID。 | 字符串 |
| 类型 | 托管标识的类型 | “None” “SystemAssigned” “SystemAssigned,UserAssigned” “UserAssigned” |
| 用户分配的标识 | 用户分配的托管标识的属性 | UserAssignedManagedIdentities |
PersistentDisk (持久磁盘)
| 名字 | 描述 | 价值 |
|---|---|---|
| mountPath | 永久性磁盘的装载路径 | 字符串 |
| 大小(GB) | 永久性磁盘的大小(以 GB 为单位) | int 约束: 最小值 = 0 最大值 = 50 |
秘密
| 名字 | 描述 | 价值 |
|---|---|---|
| 名字 | 机密名称。 | 字符串 |
| 价值 | 机密值。 | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
临时磁盘
| 名字 | 描述 | 价值 |
|---|---|---|
| mountPath | 临时磁盘的装载路径 | 字符串 |
| 大小(GB) | 临时磁盘的大小(以 GB 为单位) | int 约束: 最小值 = 0 最大值 = 5 |
UserAssignedManagedIdentities
| 名字 | 描述 | 价值 |
|---|
UserAssignedManagedIdentity
| 名字 | 描述 | 价值 |
|---|