你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.PowerPlatform enterprisePolicies
Bicep 资源定义
可以使用目标操作部署 enterprisePolicies 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.PowerPlatform/enterprisePolicies 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.PowerPlatform/enterprisePolicies@2020-10-30-preview' = {
identity: {
type: 'string'
}
kind: 'string'
location: 'string'
name: 'string'
properties: {
encryption: {
keyVault: {
id: 'string'
key: {
name: 'string'
version: 'string'
}
}
state: 'string'
}
healthStatus: 'string'
lockbox: {
state: 'string'
}
networkInjection: {
virtualNetworks: {
nextLink: 'string'
value: [
{
id: 'string'
subnet: {
name: 'string'
}
}
]
}
}
}
tags: {
{customized property}: 'string'
}
}
属性值
EnterprisePolicyIdentity
名字 | 描述 | 价值 |
---|---|---|
类型 | 用于 EnterprisePolicy 的标识类型。 目前,唯一受支持的类型是“SystemAssigned”,它隐式创建标识。 | “None” “SystemAssigned” |
KeyProperties
名字 | 描述 | 价值 |
---|---|---|
名字 | 用于加密数据的密钥保管库密钥的标识符。 | 字符串 |
版本 | 将用于访问密钥保管库的标识的版本。 | 字符串 |
KeyVaultProperties
名字 | 描述 | 价值 |
---|---|---|
id | KeyVault 的 URI | 字符串 |
钥匙 | 包含名称和版本的机密的标识。 | KeyProperties |
Microsoft.PowerPlatform/enterprisePolicies
名字 | 描述 | 价值 |
---|---|---|
身份 | EnterprisePolicy 的标识。 | EnterprisePolicyIdentity |
类 | 企业策略的类型(类型)。 | “加密” “Identity” “密码箱” “NetworkInjection” “PrivateEndpoint”(必需) |
位置 | 资源所在的地理位置 | string (必需) |
名字 | 资源名称 | string (必需) |
性能 | 定义企业策略配置的属性 | 属性 |
标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
性能
名字 | 描述 | 价值 |
---|---|---|
加密 | 配置存储的加密设置。 | PropertiesEncryption |
healthStatus | 资源的运行状况。 | “正常” “不确定” “不正常” “Warning” |
密码箱 | 有关密码箱的设置。 | PropertiesLockbox |
networkInjection | 有关网络注入的设置。 | PropertiesNetworkInjection |
PropertiesEncryption
名字 | 描述 | 价值 |
---|---|---|
keyVault | Key Vault 属性。 | KeyVaultProperties |
州 | 载入状态,仅显示在响应中。 | “Disabled” “Enabled” “NotConfigured” |
PropertiesLockbox
名字 | 描述 | 价值 |
---|---|---|
州 | 密码箱配置 | “Disabled” “Enabled” “NotConfigured” |
PropertiesNetworkInjection
名字 | 描述 | 价值 |
---|---|---|
virtualNetworks | 网络注入配置 | VirtualNetworkPropertiesList |
SubnetProperties
名字 | 描述 | 价值 |
---|---|---|
名字 | 子网名称。 | 字符串 |
TrackedResourceTags
名字 | 描述 | 价值 |
---|
VirtualNetworkProperties
名字 | 描述 | 价值 |
---|---|---|
id | 虚拟网络的 URI。 | 字符串 |
子 | 子网的属性。 | SubnetProperties |
VirtualNetworkPropertiesList
名字 | 描述 | 价值 |
---|---|---|
nextLink | 下一页链接(如果有)。 | 字符串 |
价值 | 虚拟网络数组。 | VirtualNetworkProperties[] |
ARM 模板资源定义
可以使用目标操作部署 enterprisePolicies 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.PowerPlatform/enterprisePolicies 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.PowerPlatform/enterprisePolicies",
"apiVersion": "2020-10-30-preview",
"name": "string",
"identity": {
"type": "string"
},
"kind": "string",
"location": "string",
"properties": {
"encryption": {
"keyVault": {
"id": "string",
"key": {
"name": "string",
"version": "string"
}
},
"state": "string"
},
"healthStatus": "string",
"lockbox": {
"state": "string"
},
"networkInjection": {
"virtualNetworks": {
"nextLink": "string",
"value": [
{
"id": "string",
"subnet": {
"name": "string"
}
}
]
}
}
},
"tags": {
"{customized property}": "string"
}
}
属性值
EnterprisePolicyIdentity
名字 | 描述 | 价值 |
---|---|---|
类型 | 用于 EnterprisePolicy 的标识类型。 目前,唯一受支持的类型是“SystemAssigned”,它隐式创建标识。 | “None” “SystemAssigned” |
KeyProperties
名字 | 描述 | 价值 |
---|---|---|
名字 | 用于加密数据的密钥保管库密钥的标识符。 | 字符串 |
版本 | 将用于访问密钥保管库的标识的版本。 | 字符串 |
KeyVaultProperties
名字 | 描述 | 价值 |
---|---|---|
id | KeyVault 的 URI | 字符串 |
钥匙 | 包含名称和版本的机密的标识。 | KeyProperties |
Microsoft.PowerPlatform/enterprisePolicies
名字 | 描述 | 价值 |
---|---|---|
apiVersion | API 版本 | '2020-10-30-preview' |
身份 | EnterprisePolicy 的标识。 | EnterprisePolicyIdentity |
类 | 企业策略的类型(类型)。 | “加密” “Identity” “密码箱” “NetworkInjection” “PrivateEndpoint”(必需) |
位置 | 资源所在的地理位置 | string (必需) |
名字 | 资源名称 | string (必需) |
性能 | 定义企业策略配置的属性 | 属性 |
标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
类型 | 资源类型 | “Microsoft.PowerPlatform/enterprisePolicies” |
性能
名字 | 描述 | 价值 |
---|---|---|
加密 | 配置存储的加密设置。 | PropertiesEncryption |
healthStatus | 资源的运行状况。 | “正常” “不确定” “不正常” “Warning” |
密码箱 | 有关密码箱的设置。 | PropertiesLockbox |
networkInjection | 有关网络注入的设置。 | PropertiesNetworkInjection |
PropertiesEncryption
名字 | 描述 | 价值 |
---|---|---|
keyVault | Key Vault 属性。 | KeyVaultProperties |
州 | 载入状态,仅显示在响应中。 | “Disabled” “Enabled” “NotConfigured” |
PropertiesLockbox
名字 | 描述 | 价值 |
---|---|---|
州 | 密码箱配置 | “Disabled” “Enabled” “NotConfigured” |
PropertiesNetworkInjection
名字 | 描述 | 价值 |
---|---|---|
virtualNetworks | 网络注入配置 | VirtualNetworkPropertiesList |
SubnetProperties
名字 | 描述 | 价值 |
---|---|---|
名字 | 子网名称。 | 字符串 |
TrackedResourceTags
名字 | 描述 | 价值 |
---|
VirtualNetworkProperties
名字 | 描述 | 价值 |
---|---|---|
id | 虚拟网络的 URI。 | 字符串 |
子 | 子网的属性。 | SubnetProperties |
VirtualNetworkPropertiesList
名字 | 描述 | 价值 |
---|---|---|
nextLink | 下一页链接(如果有)。 | 字符串 |
价值 | 虚拟网络数组。 | VirtualNetworkProperties[] |
Terraform (AzAPI 提供程序)资源定义
可以使用目标操作部署 enterprisePolicies 资源类型:
- 资源组
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.PowerPlatform/enterprisePolicies 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.PowerPlatform/enterprisePolicies@2020-10-30-preview"
name = "string"
identity = {
type = "string"
}
kind = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
encryption = {
keyVault = {
id = "string"
key = {
name = "string"
version = "string"
}
}
state = "string"
}
healthStatus = "string"
lockbox = {
state = "string"
}
networkInjection = {
virtualNetworks = {
nextLink = "string"
value = [
{
id = "string"
subnet = {
name = "string"
}
}
]
}
}
}
})
}
属性值
EnterprisePolicyIdentity
名字 | 描述 | 价值 |
---|---|---|
类型 | 用于 EnterprisePolicy 的标识类型。 目前,唯一受支持的类型是“SystemAssigned”,它隐式创建标识。 | “None” “SystemAssigned” |
KeyProperties
名字 | 描述 | 价值 |
---|---|---|
名字 | 用于加密数据的密钥保管库密钥的标识符。 | 字符串 |
版本 | 将用于访问密钥保管库的标识的版本。 | 字符串 |
KeyVaultProperties
名字 | 描述 | 价值 |
---|---|---|
id | KeyVault 的 URI | 字符串 |
钥匙 | 包含名称和版本的机密的标识。 | KeyProperties |
Microsoft.PowerPlatform/enterprisePolicies
名字 | 描述 | 价值 |
---|---|---|
身份 | EnterprisePolicy 的标识。 | EnterprisePolicyIdentity |
类 | 企业策略的类型(类型)。 | “加密” “Identity” “密码箱” “NetworkInjection” “PrivateEndpoint”(必需) |
位置 | 资源所在的地理位置 | string (必需) |
名字 | 资源名称 | string (必需) |
性能 | 定义企业策略配置的属性 | 属性 |
标签 | 资源标记 | 标记名称和值的字典。 |
类型 | 资源类型 | “Microsoft.PowerPlatform/enterprisePolicies@2020-10-30-preview” |
性能
名字 | 描述 | 价值 |
---|---|---|
加密 | 配置存储的加密设置。 | PropertiesEncryption |
healthStatus | 资源的运行状况。 | “正常” “不确定” “不正常” “Warning” |
密码箱 | 有关密码箱的设置。 | PropertiesLockbox |
networkInjection | 有关网络注入的设置。 | PropertiesNetworkInjection |
PropertiesEncryption
名字 | 描述 | 价值 |
---|---|---|
keyVault | Key Vault 属性。 | KeyVaultProperties |
州 | 载入状态,仅显示在响应中。 | “Disabled” “Enabled” “NotConfigured” |
PropertiesLockbox
名字 | 描述 | 价值 |
---|---|---|
州 | 密码箱配置 | “Disabled” “Enabled” “NotConfigured” |
PropertiesNetworkInjection
名字 | 描述 | 价值 |
---|---|---|
virtualNetworks | 网络注入配置 | VirtualNetworkPropertiesList |
SubnetProperties
名字 | 描述 | 价值 |
---|---|---|
名字 | 子网名称。 | 字符串 |
TrackedResourceTags
名字 | 描述 | 价值 |
---|
VirtualNetworkProperties
名字 | 描述 | 价值 |
---|---|---|
id | 虚拟网络的 URI。 | 字符串 |
子 | 子网的属性。 | SubnetProperties |
VirtualNetworkPropertiesList
名字 | 描述 | 价值 |
---|---|---|
nextLink | 下一页链接(如果有)。 | 字符串 |
价值 | 虚拟网络数组。 | VirtualNetworkProperties[] |