Delen via


MockableSecurityCenterSubscriptionResource.GetJitNetworkAccessPoliciesAsync Method

Definition

Policies for protecting resources using Just-in-Time access control.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to