MockableSecurityCenterResourceGroupResource.GetJitNetworkAccessPolicies Method

Definition

Overloads

GetJitNetworkAccessPolicies(AzureLocation)

Gets a collection of JitNetworkAccessPolicyResources in the ResourceGroupResource.

GetJitNetworkAccessPolicies(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

GetJitNetworkAccessPolicies(AzureLocation)

Source:
MockableSecurityCenterResourceGroupResource.cs

Gets a collection of JitNetworkAccessPolicyResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyCollection GetJitNetworkAccessPolicies (Azure.Core.AzureLocation ascLocation);
abstract member GetJitNetworkAccessPolicies : Azure.Core.AzureLocation -> Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyCollection
override this.GetJitNetworkAccessPolicies : Azure.Core.AzureLocation -> Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyCollection
Public Overridable Function GetJitNetworkAccessPolicies (ascLocation As AzureLocation) As JitNetworkAccessPolicyCollection

Parameters

ascLocation
AzureLocation

The location where ASC stores the data of the subscription. can be retrieved from Get locations.

Returns

An object representing collection of JitNetworkAccessPolicyResources and their operations over a JitNetworkAccessPolicyResource.

Applies to

GetJitNetworkAccessPolicies(CancellationToken)

Source:
MockableSecurityCenterResourceGroupResource.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 virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource> GetJitNetworkAccessPolicies (System.Threading.CancellationToken cancellationToken = default);
abstract member GetJitNetworkAccessPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
override this.GetJitNetworkAccessPolicies : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
Public Overridable Function GetJitNetworkAccessPolicies (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