你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PrivateEndpointConnectionsOperationsExtensions.ListByResource 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
列出资源下的所有专用终结点连接。
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> ListByResource (this Microsoft.Azure.Management.EventGrid.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string parentType, string parentName, string filter = default, int? top = default);
static member ListByResource : Microsoft.Azure.Management.EventGrid.IPrivateEndpointConnectionsOperations * string * string * string * string * Nullable<int> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection>
<Extension()>
Public Function ListByResource (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, parentType As String, parentName As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing) As IPage(Of PrivateEndpointConnection)
参数
- operations
- IPrivateEndpointConnectionsOperations
此扩展方法的操作组。
- resourceGroupName
- String
用户订阅中资源组的名称。
- parentType
- String
父资源的类型。 这可以是“topics”、“domains”或“partnerNamespaces”。 可能的值包括:“topics”、“domains”、“partnerNamespaces”
- parentName
- String
父资源的名称 (即主题名称、域名或合作伙伴命名空间名称) 。
- filter
- String
用于使用 OData 语法筛选搜索结果的查询。 仅允许对“name”属性进行筛选,并且 OData 操作数有限。 这些操作包括:“contains”函数以及以下逻辑运算:not、、、或 eq (等于) ,ne (表示不等于) 。 不支持算术运算。 下面是一个有效的筛选器示例:$filter=contains (namE,'PATTERN') ,名称 ne 'PATTERN-1'。 下面是无效的筛选器示例:$filter=location eq 'westus'。
返回
注解
获取主题、域或合作伙伴命名空间下的所有专用终结点连接。