你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.Web kubeEnvironments 2021-01-15
言论
此资源类型已迁移到 Microsoft.App 命名空间。 有关新资源类型,请参阅 Microsoft.App managedEnvironments。
有关迁移的信息,请参阅 操作必需:Namespace从 Microsoft.Web 迁移到 2022 年 3 月的 Microsoft.App。
Bicep 资源定义
可以使用目标操作部署 kubeEnvironments 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.Web/kubeEnvironments 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.Web/kubeEnvironments@2021-01-15' = {
extendedLocation: {
name: 'string'
}
kind: 'string'
location: 'string'
name: 'string'
properties: {
aksResourceID: 'string'
appLogsConfiguration: {
destination: 'string'
logAnalyticsConfiguration: {
customerId: 'string'
sharedKey: 'string'
}
}
arcConfiguration: {
artifactsStorageType: 'string'
artifactStorageAccessMode: 'string'
artifactStorageClassName: 'string'
artifactStorageMountPath: 'string'
artifactStorageNodeName: 'string'
frontEndServiceConfiguration: {
kind: 'string'
}
kubeConfig: 'string'
}
internalLoadBalancerEnabled: bool
staticIp: 'string'
}
tags: {
{customized property}: 'string'
}
}
属性值
AppLogsConfiguration
名字 | 描述 | 价值 |
---|---|---|
目的地 | 字符串 | |
logAnalyticsConfiguration | LogAnalyticsConfiguration |
ArcConfiguration
名字 | 描述 | 价值 |
---|---|---|
artifactsStorageType | “LocalNode” “NetworkFileSystem” |
|
artifactStorageAccessMode | 字符串 | |
artifactStorageClassName | 字符串 | |
artifactStorageMountPath | 字符串 | |
artifactStorageNodeName | 字符串 | |
frontEndServiceConfiguration | FrontEndConfiguration | |
kubeConfig | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
ExtendedLocation
名字 | 描述 | 价值 |
---|---|---|
名字 | 扩展位置的名称。 | 字符串 |
FrontEndConfiguration
名字 | 描述 | 价值 |
---|---|---|
类 | “LoadBalancer” “NodePort” |
KubeEnvironmentProperties
名字 | 描述 | 价值 |
---|---|---|
aksResourceID | 字符串 | |
appLogsConfiguration | 群集配置,使日志守护程序能够导出 将应用日志记录到目标。 目前只有“log-analytics”是 支持 |
AppLogsConfiguration |
arcConfiguration | 确定 ARC 群集的群集配置 组件类型。 例如:在 BuildService 类型之间进行选择, FrontEnd Service ArtifactsStorageType 等。 |
ArcConfiguration |
internalLoadBalancerEnabled | 仅在 Vnet/子网中可见 | bool |
staticIp | KubeEnvironment 的静态 IP | 字符串 |
LogAnalyticsConfiguration
名字 | 描述 | 价值 |
---|---|---|
customerId | 字符串 | |
sharedKey | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
Microsoft.Web/kubeEnvironments
名字 | 描述 | 价值 |
---|---|---|
extendedLocation | 扩展位置。 | ExtendedLocation |
类 | 资源类型。 | 字符串 |
位置 | 资源位置。 | string (必需) |
名字 | 资源名称 | string (必需) |
性能 | KubeEnvironment 资源特定属性 | KubeEnvironmentProperties |
标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
ResourceTags
名字 | 描述 | 价值 |
---|
ARM 模板资源定义
可以使用目标操作部署 kubeEnvironments 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.Web/kubeEnvironments 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.Web/kubeEnvironments",
"apiVersion": "2021-01-15",
"name": "string",
"extendedLocation": {
"name": "string"
},
"kind": "string",
"location": "string",
"properties": {
"aksResourceID": "string",
"appLogsConfiguration": {
"destination": "string",
"logAnalyticsConfiguration": {
"customerId": "string",
"sharedKey": "string"
}
},
"arcConfiguration": {
"artifactsStorageType": "string",
"artifactStorageAccessMode": "string",
"artifactStorageClassName": "string",
"artifactStorageMountPath": "string",
"artifactStorageNodeName": "string",
"frontEndServiceConfiguration": {
"kind": "string"
},
"kubeConfig": "string"
},
"internalLoadBalancerEnabled": "bool",
"staticIp": "string"
},
"tags": {
"{customized property}": "string"
}
}
属性值
AppLogsConfiguration
名字 | 描述 | 价值 |
---|---|---|
目的地 | 字符串 | |
logAnalyticsConfiguration | LogAnalyticsConfiguration |
ArcConfiguration
名字 | 描述 | 价值 |
---|---|---|
artifactsStorageType | “LocalNode” “NetworkFileSystem” |
|
artifactStorageAccessMode | 字符串 | |
artifactStorageClassName | 字符串 | |
artifactStorageMountPath | 字符串 | |
artifactStorageNodeName | 字符串 | |
frontEndServiceConfiguration | FrontEndConfiguration | |
kubeConfig | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
ExtendedLocation
名字 | 描述 | 价值 |
---|---|---|
名字 | 扩展位置的名称。 | 字符串 |
FrontEndConfiguration
名字 | 描述 | 价值 |
---|---|---|
类 | “LoadBalancer” “NodePort” |
KubeEnvironmentProperties
名字 | 描述 | 价值 |
---|---|---|
aksResourceID | 字符串 | |
appLogsConfiguration | 群集配置,使日志守护程序能够导出 将应用日志记录到目标。 目前只有“log-analytics”是 支持 |
AppLogsConfiguration |
arcConfiguration | 确定 ARC 群集的群集配置 组件类型。 例如:在 BuildService 类型之间进行选择, FrontEnd Service ArtifactsStorageType 等。 |
ArcConfiguration |
internalLoadBalancerEnabled | 仅在 Vnet/子网中可见 | bool |
staticIp | KubeEnvironment 的静态 IP | 字符串 |
LogAnalyticsConfiguration
名字 | 描述 | 价值 |
---|---|---|
customerId | 字符串 | |
sharedKey | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
Microsoft.Web/kubeEnvironments
名字 | 描述 | 价值 |
---|---|---|
apiVersion | API 版本 | '2021-01-15' |
extendedLocation | 扩展位置。 | ExtendedLocation |
类 | 资源类型。 | 字符串 |
位置 | 资源位置。 | string (必需) |
名字 | 资源名称 | string (必需) |
性能 | KubeEnvironment 资源特定属性 | KubeEnvironmentProperties |
标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
类型 | 资源类型 | “Microsoft.Web/kubeEnvironments” |
ResourceTags
名字 | 描述 | 价值 |
---|
Terraform (AzAPI 提供程序)资源定义
可以使用目标操作部署 kubeEnvironments 资源类型:
- 资源组
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.Web/kubeEnvironments 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/kubeEnvironments@2021-01-15"
name = "string"
kind = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
extendedLocation = {
name = "string"
}
properties = {
aksResourceID = "string"
appLogsConfiguration = {
destination = "string"
logAnalyticsConfiguration = {
customerId = "string"
sharedKey = "string"
}
}
arcConfiguration = {
artifactsStorageType = "string"
artifactStorageAccessMode = "string"
artifactStorageClassName = "string"
artifactStorageMountPath = "string"
artifactStorageNodeName = "string"
frontEndServiceConfiguration = {
kind = "string"
}
kubeConfig = "string"
}
internalLoadBalancerEnabled = bool
staticIp = "string"
}
})
}
属性值
AppLogsConfiguration
名字 | 描述 | 价值 |
---|---|---|
目的地 | 字符串 | |
logAnalyticsConfiguration | LogAnalyticsConfiguration |
ArcConfiguration
名字 | 描述 | 价值 |
---|---|---|
artifactsStorageType | “LocalNode” “NetworkFileSystem” |
|
artifactStorageAccessMode | 字符串 | |
artifactStorageClassName | 字符串 | |
artifactStorageMountPath | 字符串 | |
artifactStorageNodeName | 字符串 | |
frontEndServiceConfiguration | FrontEndConfiguration | |
kubeConfig | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
ExtendedLocation
名字 | 描述 | 价值 |
---|---|---|
名字 | 扩展位置的名称。 | 字符串 |
FrontEndConfiguration
名字 | 描述 | 价值 |
---|---|---|
类 | “LoadBalancer” “NodePort” |
KubeEnvironmentProperties
名字 | 描述 | 价值 |
---|---|---|
aksResourceID | 字符串 | |
appLogsConfiguration | 群集配置,使日志守护程序能够导出 将应用日志记录到目标。 目前只有“log-analytics”是 支持 |
AppLogsConfiguration |
arcConfiguration | 确定 ARC 群集的群集配置 组件类型。 例如:在 BuildService 类型之间进行选择, FrontEnd Service ArtifactsStorageType 等。 |
ArcConfiguration |
internalLoadBalancerEnabled | 仅在 Vnet/子网中可见 | bool |
staticIp | KubeEnvironment 的静态 IP | 字符串 |
LogAnalyticsConfiguration
名字 | 描述 | 价值 |
---|---|---|
customerId | 字符串 | |
sharedKey | 字符串 约束: 敏感值。 以安全参数的形式传入。 |
Microsoft.Web/kubeEnvironments
名字 | 描述 | 价值 |
---|---|---|
extendedLocation | 扩展位置。 | ExtendedLocation |
类 | 资源类型。 | 字符串 |
位置 | 资源位置。 | string (必需) |
名字 | 资源名称 | string (必需) |
性能 | KubeEnvironment 资源特定属性 | KubeEnvironmentProperties |
标签 | 资源标记 | 标记名称和值的字典。 |
类型 | 资源类型 | “Microsoft.Web/kubeEnvironments@2021-01-15” |
ResourceTags
名字 | 描述 | 价值 |
---|