你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Microsoft.MachineLearningServices workspaces/privateEndpointConnections 2025-07-01-预览版

Bicep 资源定义

可以使用目标操作部署 workspaces/privateEndpointConnections 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志。

资源格式

若要创建 Microsoft.MachineLearningServices/workspaces/privateEndpointConnections 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/privateEndpointConnections@2025-07-01-preview' = {
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    privateEndpoint: {}
    privateLinkServiceConnectionState: {
      actionsRequired: 'string'
      description: 'string'
      status: 'string'
    }
  }
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

属性值

Microsoft.MachineLearningServices/workspaces/privateEndpointConnections

名称 DESCRIPTION 价值
标识 托管服务标识(系统分配和/或用户分配的标识) ManagedServiceIdentity
位置 与工作区位置相同。 字符串
姓名 资源名称 string (必需)
父级 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

有关详细信息,请参阅 父资源外部的子资源。
类型资源的符号名称: 工作区
属性 专用终结点连接属性。 PrivateEndpointConnectionProperties
sku 可选。 此字段需要由 RP 实现,因为 AML 支持多个层 SKU
标签 资源标记 标记名称和值的字典。 请参阅模板 中的 标记

ManagedServiceIdentity

名称 DESCRIPTION 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
用户分配的标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 UserAssignedIdentities

PrivateEndpointConnectionProperties

名称 DESCRIPTION 价值
privateEndpoint 专用终结点资源。 WorkspacePrivateEndpointResource
privateLinkServiceConnectionState 连接状态。 PrivateLinkServiceConnectionState

PrivateEndpointConnection标签

名称 DESCRIPTION 价值

PrivateLinkServiceConnectionState

名称 DESCRIPTION 价值
作必需 某些 RP 选择“无”。 其他 RP 将此用于区域扩展。 字符串
描述 根据 NRP 文档,用户定义的消息可用于与审批相关的消息。 字符串
状态 服务使用者与服务提供商的连接状态 “已批准”
“Disconnected”
“Pending”
“已拒绝”
“Timeout”

SKU

名称 DESCRIPTION 价值
产能 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩小,则可能会省略此范围。 整数 (int)
家庭 如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 字符串
姓名 SKU 的名称。 例 - P3。 它通常是字母+数字代码 string (必需)
大小 SKU 大小。 当名称字段是层和其他一些值的组合时,这将是独立的代码。 字符串
分层 如果服务具有多个层,但在 PUT 上不需要,则需要资源提供程序实现此字段。 “Basic”
“Free”
“Premium”
“Standard”

UserAssignedIdentities

名称 DESCRIPTION 价值

UserAssignedIdentity

名称 DESCRIPTION 价值

WorkspacePrivateEndpointResource

名称 DESCRIPTION 价值

ARM 模板资源定义

可以使用目标操作部署 workspaces/privateEndpointConnections 资源类型:

用法示例

资源格式

若要创建 Microsoft.MachineLearningServices/workspaces/privateEndpointConnections 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections",
  "apiVersion": "2025-07-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "privateEndpoint": {
    },
    "privateLinkServiceConnectionState": {
      "actionsRequired": "string",
      "description": "string",
      "status": "string"
    }
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

属性值

Microsoft.MachineLearningServices/workspaces/privateEndpointConnections

名称 DESCRIPTION 价值
apiVersion API 版本 “2025-07-01-预览”
标识 托管服务标识(系统分配和/或用户分配的标识) ManagedServiceIdentity
位置 与工作区位置相同。 字符串
姓名 资源名称 string (必需)
属性 专用终结点连接属性。 PrivateEndpointConnectionProperties
sku 可选。 此字段需要由 RP 实现,因为 AML 支持多个层 SKU
标签 资源标记 标记名称和值的字典。 请参阅模板 中的 标记
类型 资源类型 “Microsoft.MachineLearningServices/workspaces/privateEndpointConnections”

ManagedServiceIdentity

名称 DESCRIPTION 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
用户分配的标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 UserAssignedIdentities

PrivateEndpointConnectionProperties

名称 DESCRIPTION 价值
privateEndpoint 专用终结点资源。 WorkspacePrivateEndpointResource
privateLinkServiceConnectionState 连接状态。 PrivateLinkServiceConnectionState

PrivateEndpointConnection标签

名称 DESCRIPTION 价值

PrivateLinkServiceConnectionState

名称 DESCRIPTION 价值
作必需 某些 RP 选择“无”。 其他 RP 将此用于区域扩展。 字符串
描述 根据 NRP 文档,用户定义的消息可用于与审批相关的消息。 字符串
状态 服务使用者与服务提供商的连接状态 “已批准”
“Disconnected”
“Pending”
“已拒绝”
“Timeout”

SKU

名称 DESCRIPTION 价值
产能 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩小,则可能会省略此范围。 整数 (int)
家庭 如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 字符串
姓名 SKU 的名称。 例 - P3。 它通常是字母+数字代码 string (必需)
大小 SKU 大小。 当名称字段是层和其他一些值的组合时,这将是独立的代码。 字符串
分层 如果服务具有多个层,但在 PUT 上不需要,则需要资源提供程序实现此字段。 “Basic”
“Free”
“Premium”
“Standard”

UserAssignedIdentities

名称 DESCRIPTION 价值

UserAssignedIdentity

名称 DESCRIPTION 价值

WorkspacePrivateEndpointResource

名称 DESCRIPTION 价值

Terraform (AzAPI 提供程序)资源定义

可以使用目标操作部署 workspaces/privateEndpointConnections 资源类型:

  • 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。

资源格式

若要创建 Microsoft.MachineLearningServices/workspaces/privateEndpointConnections 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections@2025-07-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      privateEndpoint = {
      }
      privateLinkServiceConnectionState = {
        actionsRequired = "string"
        description = "string"
        status = "string"
      }
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
  }
}

属性值

Microsoft.MachineLearningServices/workspaces/privateEndpointConnections

名称 DESCRIPTION 价值
标识 托管服务标识(系统分配和/或用户分配的标识) ManagedServiceIdentity
位置 与工作区位置相同。 字符串
姓名 资源名称 string (必需)
parent_id 此资源的父资源的 ID。 类型资源的 ID: 工作区
属性 专用终结点连接属性。 PrivateEndpointConnectionProperties
sku 可选。 此字段需要由 RP 实现,因为 AML 支持多个层 SKU
标签 资源标记 标记名称和值的字典。
类型 资源类型 “Microsoft.MachineLearningServices/workspaces/privateEndpointConnections@2025-07-01-preview”

ManagedServiceIdentity

名称 DESCRIPTION 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
用户分配的标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 UserAssignedIdentities

PrivateEndpointConnectionProperties

名称 DESCRIPTION 价值
privateEndpoint 专用终结点资源。 WorkspacePrivateEndpointResource
privateLinkServiceConnectionState 连接状态。 PrivateLinkServiceConnectionState

PrivateEndpointConnection标签

名称 DESCRIPTION 价值

PrivateLinkServiceConnectionState

名称 DESCRIPTION 价值
作必需 某些 RP 选择“无”。 其他 RP 将此用于区域扩展。 字符串
描述 根据 NRP 文档,用户定义的消息可用于与审批相关的消息。 字符串
状态 服务使用者与服务提供商的连接状态 “已批准”
“Disconnected”
“Pending”
“已拒绝”
“Timeout”

SKU

名称 DESCRIPTION 价值
产能 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩小,则可能会省略此范围。 整数 (int)
家庭 如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 字符串
姓名 SKU 的名称。 例 - P3。 它通常是字母+数字代码 string (必需)
大小 SKU 大小。 当名称字段是层和其他一些值的组合时,这将是独立的代码。 字符串
分层 如果服务具有多个层,但在 PUT 上不需要,则需要资源提供程序实现此字段。 “Basic”
“Free”
“Premium”
“Standard”

UserAssignedIdentities

名称 DESCRIPTION 价值

UserAssignedIdentity

名称 DESCRIPTION 价值

WorkspacePrivateEndpointResource

名称 DESCRIPTION 价值