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

Web Pub Sub Shared Private Link Resources - List

列出共享的专用链接资源

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources?api-version=2023-02-01

URI 参数

名称 必需 类型 说明
resourceGroupName
path True

string

包含该资源的资源组名称。 可以从 Azure 资源管理器 API 或门户获取此值。

resourceName
path True

string

资源的名称。

subscriptionId
path True

string

获取唯一标识 Microsoft Azure 订阅的订阅 ID。 此订阅 ID 是每个服务调用的 URI 的一部分。

api-version
query True

string

客户端 API 版本。

响应

名称 类型 说明
200 OK

SharedPrivateLinkResourceList

成功。 响应描述共享专用链接资源的列表。

Other Status Codes

ErrorResponse

描述操作失败原因的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 流

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名称 说明
user_impersonation 模拟用户帐户

示例

WebPubSubSharedPrivateLinkResources_List

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SignalRService/webPubSub/myWebPubSubService/sharedPrivateLinkResources?api-version=2023-02-01

Sample Response

{
  "value": [
    {
      "properties": {
        "groupId": "sites",
        "privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp",
        "provisioningState": "Succeeded",
        "requestMessage": "Please approve",
        "status": "Approved"
      },
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/upstream",
      "name": "upstream",
      "type": "Microsoft.SignalRService/WebPubSub/privateEndpointConnections"
    }
  ]
}

定义

名称 说明
createdByType

创建资源的标识类型。

ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

ProvisioningState

资源的预配状态。

SharedPrivateLinkResource

描述共享专用链接资源

SharedPrivateLinkResourceList

共享专用链接资源的列表

SharedPrivateLinkResourceStatus

共享专用链接资源的状态

systemData

与资源的创建和上次修改相关的元数据。

createdByType

创建资源的标识类型。

名称 类型 说明
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

其他信息。

type

string

其他信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

ProvisioningState

资源的预配状态。

名称 类型 说明
Canceled

string

Creating

string

Deleting

string

Failed

string

Moving

string

Running

string

Succeeded

string

Unknown

string

Updating

string

SharedPrivateLinkResource

描述共享专用链接资源

名称 类型 说明
id

string

资源的完全限定资源 ID。

name

string

资源的名称。

properties.groupId

string

共享专用链接资源所属的资源提供程序中的组 ID

properties.privateLinkResourceId

string

共享专用链接资源的资源的资源 ID

properties.provisioningState

ProvisioningState

资源的预配状态。

properties.requestMessage

string

请求批准共享专用链接资源的请求消息

properties.status

SharedPrivateLinkResourceStatus

共享专用链接资源的状态

systemData

systemData

与资源的创建和上次修改相关的元数据。

type

string

资源的类型 - 例如“Microsoft.SignalRService/SignalR”

SharedPrivateLinkResourceList

共享专用链接资源的列表

名称 类型 说明
nextLink

string

可用于查询专用终结点连接的下一页的请求 URL。 当请求的专用终结点连接总数超过最大页大小时返回。

value

SharedPrivateLinkResource[]

共享专用链接资源的列表

SharedPrivateLinkResourceStatus

共享专用链接资源的状态

名称 类型 说明
Approved

string

Disconnected

string

Pending

string

Rejected

string

Timeout

string

systemData

与资源的创建和上次修改相关的元数据。

名称 类型 说明
createdAt

string

资源的创建时间戳 (UTC) 。

createdBy

string

创建资源的标识。

createdByType

createdByType

创建资源的标识类型。

lastModifiedAt

string

资源上次修改的时间戳 (UTC)

lastModifiedBy

string

上次修改资源的标识。

lastModifiedByType

createdByType

上次修改资源的标识类型。