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

SecurityCenterLocationResource.GetAllowedConnectionsByHomeRegion 方法

定义

获取订阅和位置的资源之间所有可能流量的列表。

  • 请求路径/订阅/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections
  • 操作IdAllowedConnections_ListByHomeRegion
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection> GetAllowedConnectionsByHomeRegion (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllowedConnectionsByHomeRegion : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection>
override this.GetAllowedConnectionsByHomeRegion : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection>
Public Overridable Function GetAllowedConnectionsByHomeRegion (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityCenterAllowedConnection)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 SecurityCenterAllowedConnection 集合。

适用于