共用方式為


SecurityCenterLocationResource.GetJitNetworkAccessPoliciesByRegion Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies
  • Operation Id: JitNetworkAccessPolicies_ListByRegion
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource> GetJitNetworkAccessPoliciesByRegion (System.Threading.CancellationToken cancellationToken = default);
abstract member GetJitNetworkAccessPoliciesByRegion : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
override this.GetJitNetworkAccessPoliciesByRegion : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
Public Overridable Function GetJitNetworkAccessPoliciesByRegion (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of JitNetworkAccessPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of JitNetworkAccessPolicyResource that may take multiple service requests to iterate over.

Applies to