Share via


SecurityCenterExtensions.GetJitNetworkAccessPoliciesAsync Method

Definition

Overloads

GetJitNetworkAccessPoliciesAsync(ResourceGroupResource, CancellationToken)

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
GetJitNetworkAccessPoliciesAsync(SubscriptionResource, CancellationToken)

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

GetJitNetworkAccessPoliciesAsync(ResourceGroupResource, CancellationToken)

Source:
SecurityCenterExtensions.cs
Source:
SecurityCenterExtensions.cs

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 static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource> GetJitNetworkAccessPoliciesAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, System.Threading.CancellationToken cancellationToken = default);
static member GetJitNetworkAccessPoliciesAsync : Azure.ResourceManager.Resources.ResourceGroupResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
<Extension()>
Public Function GetJitNetworkAccessPoliciesAsync (resourceGroupResource As ResourceGroupResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of JitNetworkAccessPolicyResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

resourceGroupResource is null.

Applies to

GetJitNetworkAccessPoliciesAsync(SubscriptionResource, CancellationToken)

Source:
SecurityCenterExtensions.cs
Source:
SecurityCenterExtensions.cs

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 static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource> GetJitNetworkAccessPoliciesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetJitNetworkAccessPoliciesAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
<Extension()>
Public Function GetJitNetworkAccessPoliciesAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of JitNetworkAccessPolicyResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to