Share via


MockableSecurityCenterResourceGroupResource.GetJitNetworkAccessPoliciesAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • Operation Id: JitNetworkAccessPolicies_ListByResourceGroup
  • 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