Partilhar via


SecurityCenterExtensions.GetJitNetworkAccessPolicies Método

Definição

Sobrecargas

GetJitNetworkAccessPolicies(ResourceGroupResource, CancellationToken)

Políticas para proteger recursos usando o controle de acesso Just-In-Time para a assinatura, local

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • IdJitNetworkAccessPolicies_ListByResourceGroup de operação
GetJitNetworkAccessPolicies(SubscriptionResource, CancellationToken)

Políticas para proteger recursos usando o controle de acesso Just-In-Time.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • IdJitNetworkAccessPolicies_List de operação
GetJitNetworkAccessPolicies(ResourceGroupResource, AzureLocation)

Obtém uma coleção de JitNetworkAccessPolicyResources no ResourceGroupResource.

GetJitNetworkAccessPolicies(ResourceGroupResource, CancellationToken)

Políticas para proteger recursos usando o controle de acesso Just-In-Time para a assinatura, local

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • IdJitNetworkAccessPolicies_ListByResourceGroup de operação
public static Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource> GetJitNetworkAccessPolicies (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, System.Threading.CancellationToken cancellationToken = default);
static member GetJitNetworkAccessPolicies : Azure.ResourceManager.Resources.ResourceGroupResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
<Extension()>
Public Function GetJitNetworkAccessPolicies (resourceGroupResource As ResourceGroupResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of JitNetworkAccessPolicyResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de JitNetworkAccessPolicyResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetJitNetworkAccessPolicies(SubscriptionResource, CancellationToken)

Políticas para proteger recursos usando o controle de acesso Just-In-Time.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • IdJitNetworkAccessPolicies_List de operação
public static Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource> GetJitNetworkAccessPolicies (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetJitNetworkAccessPolicies : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyResource>
<Extension()>
Public Function GetJitNetworkAccessPolicies (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of JitNetworkAccessPolicyResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de JitNetworkAccessPolicyResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a

GetJitNetworkAccessPolicies(ResourceGroupResource, AzureLocation)

Obtém uma coleção de JitNetworkAccessPolicyResources no ResourceGroupResource.

public static Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyCollection GetJitNetworkAccessPolicies (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation);
static member GetJitNetworkAccessPolicies : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation -> Azure.ResourceManager.SecurityCenter.JitNetworkAccessPolicyCollection
<Extension()>
Public Function GetJitNetworkAccessPolicies (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation) As JitNetworkAccessPolicyCollection

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

ascLocation
AzureLocation

O local em que o ASC armazena os dados da assinatura. pode ser recuperado de Obter locais.

Retornos

Um objeto que representa a coleção de JitNetworkAccessPolicyResources e suas operações em um JitNetworkAccessPolicyResource.

Aplica-se a