你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Bicep 资源定义
可以使用目标操作部署 privateLinkServicesForO365ManagementActivityAPI 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI@2021-03-25-preview' = {
etag: 'string'
identity: {
type: 'string'
}
kind: 'string'
location: 'string'
name: 'string'
properties: {
accessPolicies: [
{
objectId: 'string'
}
]
authenticationConfiguration: {
audience: 'string'
authority: 'string'
smartProxyEnabled: bool
}
corsConfiguration: {
allowCredentials: bool
headers: [
'string'
]
maxAge: int
methods: [
'string'
]
origins: [
'string'
]
}
cosmosDbConfiguration: {
keyVaultKeyUri: 'string'
offerThroughput: int
}
exportConfiguration: {
storageAccountName: 'string'
}
privateEndpointConnections: [
{
properties: {
privateEndpoint: {}
privateLinkServiceConnectionState: {
actionsRequired: 'string'
description: 'string'
status: 'string'
}
}
}
]
publicNetworkAccess: 'string'
}
tags: {
{customized property}: 'string'
}
}
属性值
Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI
名字 | 描述 | 价值 |
---|---|---|
etag | 与资源关联的 etag,在编辑资源时用于乐观并发。 | 字符串 |
身份 | 指示服务是否具有与之关联的托管标识的设置。 | ServicesResourceIdentity |
类 | 服务的类型。 | “fhir” “fhir-R4” “fhir-Stu3”(必需) |
位置 | 资源位置。 | string (必需) |
名字 | 资源名称 | 字符串 约束: 最小长度 = 3 最大长度 = 24 (必需) |
性能 | 服务的常见属性。 | ServicesProperties |
标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
PrivateEndpoint
名字 | 描述 | 价值 |
---|
PrivateEndpointConnection
名字 | 描述 | 价值 |
---|---|---|
性能 | 资源属性。 | PrivateEndpointConnectionProperties |
PrivateEndpointConnectionProperties
名字 | 描述 | 价值 |
---|---|---|
privateEndpoint | 专用终结点的资源。 | PrivateEndpoint |
privateLinkServiceConnectionState | 有关服务使用者与提供程序之间的连接状态的信息集合。 | PrivateLinkServiceConnectionState (必需) |
PrivateLinkServiceConnectionState
名字 | 描述 | 价值 |
---|---|---|
actionsRequired | 一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。 | 字符串 |
描述 | 批准/拒绝连接的原因。 | 字符串 |
地位 | 指示连接是否已被服务的所有者批准/拒绝/删除。 | “已批准” “Pending” “已拒绝” |
ServiceAccessPolicyEntry
名字 | 描述 | 价值 |
---|---|---|
objectId | 允许访问 FHIR 服务的 Azure AD 对象 ID(用户或应用)。 | 字符串 约束: 模式 = ^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$ (必需) |
ServiceAuthenticationConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
观众 | 服务的受众 URL | 字符串 |
柄 | 服务的颁发机构 URL | 字符串 |
smartProxyEnabled | 如果已启用 SMART on FHIR 代理 | 布尔 |
ServiceCorsConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
allowCredentials | 如果允许通过 CORS 提供凭据。 | 布尔 |
头 | 允许通过 CORS 的标头。 | 字符串[] |
maxAge | 允许通过 CORS 的最大期限。 | int 约束: 最小值 = 0 最大值 = 99999 |
方法 | 允许通过 CORS 的方法。 | 字符串[] |
起源 | 允许通过 CORS 的源。 | 字符串 约束: Pattern = ^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\:\/\/(?:[a-zA-Z0-9-]+[.]?)+(?:\:[0-9]{1,5})?|[*]))$ [] |
ServiceCosmosDbConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
keyVaultKeyUri | 支持数据库的客户管理的密钥的 URI。 | 字符串 |
offerThroughput | 备份数据库的预配吞吐量。 | int 约束: 最小值 = 400 最大值 = 10000 |
ServiceExportConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
存储账户名称 | 默认导出存储帐户的名称。 | 字符串 |
ServicesProperties
名字 | 描述 | 价值 |
---|---|---|
accessPolicies | 服务实例的访问策略。 | ServiceAccessPolicyEntry[] |
authenticationConfiguration | 服务实例的身份验证配置。 | ServiceAuthenticationConfigurationInfo |
corsConfiguration | 服务实例的 CORS 配置设置。 | ServiceCorsConfigurationInfo |
cosmosDbConfiguration | 支持服务的 Cosmos DB 数据库的设置。 | ServiceCosmosDbConfigurationInfo |
exportConfiguration | 服务实例的导出操作的设置。 | ServiceExportConfigurationInfo |
privateEndpointConnections | 为此资源设置的专用终结点连接列表。 | PrivateEndpointConnection[] |
publicNetworkAccess | 启用专用终结点时,控制来自公用网络的数据平面流量的权限。 | “Disabled” “Enabled” |
ServicesResourceIdentity
名字 | 描述 | 价值 |
---|---|---|
类型 | 指定的标识类型,当前允许 SystemAssigned 和 None。 | “None” “SystemAssigned” |
ServicesResourceTags
名字 | 描述 | 价值 |
---|
ARM 模板资源定义
可以使用目标操作部署 privateLinkServicesForO365ManagementActivityAPI 资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI",
"apiVersion": "2021-03-25-preview",
"name": "string",
"etag": "string",
"identity": {
"type": "string"
},
"kind": "string",
"location": "string",
"properties": {
"accessPolicies": [
{
"objectId": "string"
}
],
"authenticationConfiguration": {
"audience": "string",
"authority": "string",
"smartProxyEnabled": "bool"
},
"corsConfiguration": {
"allowCredentials": "bool",
"headers": [ "string" ],
"maxAge": "int",
"methods": [ "string" ],
"origins": [ "string" ]
},
"cosmosDbConfiguration": {
"keyVaultKeyUri": "string",
"offerThroughput": "int"
},
"exportConfiguration": {
"storageAccountName": "string"
},
"privateEndpointConnections": [
{
"properties": {
"privateEndpoint": {
},
"privateLinkServiceConnectionState": {
"actionsRequired": "string",
"description": "string",
"status": "string"
}
}
}
],
"publicNetworkAccess": "string"
},
"tags": {
"{customized property}": "string"
}
}
属性值
Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI
名字 | 描述 | 价值 |
---|---|---|
apiVersion | API 版本 | '2021-03-25-preview' |
etag | 与资源关联的 etag,在编辑资源时用于乐观并发。 | 字符串 |
身份 | 指示服务是否具有与之关联的托管标识的设置。 | ServicesResourceIdentity |
类 | 服务的类型。 | “fhir” “fhir-R4” “fhir-Stu3”(必需) |
位置 | 资源位置。 | string (必需) |
名字 | 资源名称 | 字符串 约束: 最小长度 = 3 最大长度 = 24 (必需) |
性能 | 服务的常见属性。 | ServicesProperties |
标签 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
类型 | 资源类型 | “Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI” |
PrivateEndpoint
名字 | 描述 | 价值 |
---|
PrivateEndpointConnection
名字 | 描述 | 价值 |
---|---|---|
性能 | 资源属性。 | PrivateEndpointConnectionProperties |
PrivateEndpointConnectionProperties
名字 | 描述 | 价值 |
---|---|---|
privateEndpoint | 专用终结点的资源。 | PrivateEndpoint |
privateLinkServiceConnectionState | 有关服务使用者与提供程序之间的连接状态的信息集合。 | PrivateLinkServiceConnectionState (必需) |
PrivateLinkServiceConnectionState
名字 | 描述 | 价值 |
---|---|---|
actionsRequired | 一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。 | 字符串 |
描述 | 批准/拒绝连接的原因。 | 字符串 |
地位 | 指示连接是否已被服务的所有者批准/拒绝/删除。 | “已批准” “Pending” “已拒绝” |
ServiceAccessPolicyEntry
名字 | 描述 | 价值 |
---|---|---|
objectId | 允许访问 FHIR 服务的 Azure AD 对象 ID(用户或应用)。 | 字符串 约束: 模式 = ^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$ (必需) |
ServiceAuthenticationConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
观众 | 服务的受众 URL | 字符串 |
柄 | 服务的颁发机构 URL | 字符串 |
smartProxyEnabled | 如果已启用 SMART on FHIR 代理 | 布尔 |
ServiceCorsConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
allowCredentials | 如果允许通过 CORS 提供凭据。 | 布尔 |
头 | 允许通过 CORS 的标头。 | 字符串[] |
maxAge | 允许通过 CORS 的最大期限。 | int 约束: 最小值 = 0 最大值 = 99999 |
方法 | 允许通过 CORS 的方法。 | 字符串[] |
起源 | 允许通过 CORS 的源。 | 字符串 约束: Pattern = ^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\:\/\/(?:[a-zA-Z0-9-]+[.]?)+(?:\:[0-9]{1,5})?|[*]))$ [] |
ServiceCosmosDbConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
keyVaultKeyUri | 支持数据库的客户管理的密钥的 URI。 | 字符串 |
offerThroughput | 备份数据库的预配吞吐量。 | int 约束: 最小值 = 400 最大值 = 10000 |
ServiceExportConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
存储账户名称 | 默认导出存储帐户的名称。 | 字符串 |
ServicesProperties
名字 | 描述 | 价值 |
---|---|---|
accessPolicies | 服务实例的访问策略。 | ServiceAccessPolicyEntry[] |
authenticationConfiguration | 服务实例的身份验证配置。 | ServiceAuthenticationConfigurationInfo |
corsConfiguration | 服务实例的 CORS 配置设置。 | ServiceCorsConfigurationInfo |
cosmosDbConfiguration | 支持服务的 Cosmos DB 数据库的设置。 | ServiceCosmosDbConfigurationInfo |
exportConfiguration | 服务实例的导出操作的设置。 | ServiceExportConfigurationInfo |
privateEndpointConnections | 为此资源设置的专用终结点连接列表。 | PrivateEndpointConnection[] |
publicNetworkAccess | 启用专用终结点时,控制来自公用网络的数据平面流量的权限。 | “Disabled” “Enabled” |
ServicesResourceIdentity
名字 | 描述 | 价值 |
---|---|---|
类型 | 指定的标识类型,当前允许 SystemAssigned 和 None。 | “None” “SystemAssigned” |
ServicesResourceTags
名字 | 描述 | 价值 |
---|
用法示例
Terraform (AzAPI 提供程序)资源定义
可以使用目标操作部署 privateLinkServicesForO365ManagementActivityAPI 资源类型:
- 资源组
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI@2021-03-25-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
etag = "string"
kind = "string"
properties = {
accessPolicies = [
{
objectId = "string"
}
]
authenticationConfiguration = {
audience = "string"
authority = "string"
smartProxyEnabled = bool
}
corsConfiguration = {
allowCredentials = bool
headers = [
"string"
]
maxAge = int
methods = [
"string"
]
origins = [
"string"
]
}
cosmosDbConfiguration = {
keyVaultKeyUri = "string"
offerThroughput = int
}
exportConfiguration = {
storageAccountName = "string"
}
privateEndpointConnections = [
{
properties = {
privateEndpoint = {
}
privateLinkServiceConnectionState = {
actionsRequired = "string"
description = "string"
status = "string"
}
}
}
]
publicNetworkAccess = "string"
}
}
}
属性值
Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI
名字 | 描述 | 价值 |
---|---|---|
etag | 与资源关联的 etag,在编辑资源时用于乐观并发。 | 字符串 |
身份 | 指示服务是否具有与之关联的托管标识的设置。 | ServicesResourceIdentity |
类 | 服务的类型。 | “fhir” “fhir-R4” “fhir-Stu3”(必需) |
位置 | 资源位置。 | string (必需) |
名字 | 资源名称 | 字符串 约束: 最小长度 = 3 最大长度 = 24 (必需) |
性能 | 服务的常见属性。 | ServicesProperties |
标签 | 资源标记 | 标记名称和值的字典。 |
类型 | 资源类型 | “Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI@2021-03-25-preview” |
PrivateEndpoint
名字 | 描述 | 价值 |
---|
PrivateEndpointConnection
名字 | 描述 | 价值 |
---|---|---|
性能 | 资源属性。 | PrivateEndpointConnectionProperties |
PrivateEndpointConnectionProperties
名字 | 描述 | 价值 |
---|---|---|
privateEndpoint | 专用终结点的资源。 | PrivateEndpoint |
privateLinkServiceConnectionState | 有关服务使用者与提供程序之间的连接状态的信息集合。 | PrivateLinkServiceConnectionState (必需) |
PrivateLinkServiceConnectionState
名字 | 描述 | 价值 |
---|---|---|
actionsRequired | 一条消息,指示服务提供商上的更改是否需要对使用者进行任何更新。 | 字符串 |
描述 | 批准/拒绝连接的原因。 | 字符串 |
地位 | 指示连接是否已被服务的所有者批准/拒绝/删除。 | “已批准” “Pending” “已拒绝” |
ServiceAccessPolicyEntry
名字 | 描述 | 价值 |
---|---|---|
objectId | 允许访问 FHIR 服务的 Azure AD 对象 ID(用户或应用)。 | 字符串 约束: 模式 = ^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$ (必需) |
ServiceAuthenticationConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
观众 | 服务的受众 URL | 字符串 |
柄 | 服务的颁发机构 URL | 字符串 |
smartProxyEnabled | 如果已启用 SMART on FHIR 代理 | 布尔 |
ServiceCorsConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
allowCredentials | 如果允许通过 CORS 提供凭据。 | 布尔 |
头 | 允许通过 CORS 的标头。 | 字符串[] |
maxAge | 允许通过 CORS 的最大期限。 | int 约束: 最小值 = 0 最大值 = 99999 |
方法 | 允许通过 CORS 的方法。 | 字符串[] |
起源 | 允许通过 CORS 的源。 | 字符串 约束: Pattern = ^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\:\/\/(?:[a-zA-Z0-9-]+[.]?)+(?:\:[0-9]{1,5})?|[*]))$ [] |
ServiceCosmosDbConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
keyVaultKeyUri | 支持数据库的客户管理的密钥的 URI。 | 字符串 |
offerThroughput | 备份数据库的预配吞吐量。 | int 约束: 最小值 = 400 最大值 = 10000 |
ServiceExportConfigurationInfo
名字 | 描述 | 价值 |
---|---|---|
存储账户名称 | 默认导出存储帐户的名称。 | 字符串 |
ServicesProperties
名字 | 描述 | 价值 |
---|---|---|
accessPolicies | 服务实例的访问策略。 | ServiceAccessPolicyEntry[] |
authenticationConfiguration | 服务实例的身份验证配置。 | ServiceAuthenticationConfigurationInfo |
corsConfiguration | 服务实例的 CORS 配置设置。 | ServiceCorsConfigurationInfo |
cosmosDbConfiguration | 支持服务的 Cosmos DB 数据库的设置。 | ServiceCosmosDbConfigurationInfo |
exportConfiguration | 服务实例的导出操作的设置。 | ServiceExportConfigurationInfo |
privateEndpointConnections | 为此资源设置的专用终结点连接列表。 | PrivateEndpointConnection[] |
publicNetworkAccess | 启用专用终结点时,控制来自公用网络的数据平面流量的权限。 | “Disabled” “Enabled” |
ServicesResourceIdentity
名字 | 描述 | 价值 |
---|---|---|
类型 | 指定的标识类型,当前允许 SystemAssigned 和 None。 | “None” “SystemAssigned” |
ServicesResourceTags
名字 | 描述 | 价值 |
---|