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

JitNetworkAccessPoliciesOperationsExtensions.ListByResourceGroupAndRegionAsync Method

Definition

Policies for protecting resources using Just-in-Time access control for the subscription, location

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicy>> ListByResourceGroupAndRegionAsync (this Microsoft.Azure.Management.Security.IJitNetworkAccessPoliciesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAndRegionAsync : Microsoft.Azure.Management.Security.IJitNetworkAccessPoliciesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.JitNetworkAccessPolicy>>
<Extension()>
Public Function ListByResourceGroupAndRegionAsync (operations As IJitNetworkAccessPoliciesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of JitNetworkAccessPolicy))

Parameters

operations
IJitNetworkAccessPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription. The name is case insensitive.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to