Partilhar via


SecurityCenterExtensions.GetAllowedConnection Método

Definição

Obtém a lista de todo o tráfego possível entre os recursos para a assinatura e o local, com base no tipo de conexão.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections/{connectionType}
  • IdAllowedConnections_Get de operação
public static Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection> GetAllowedConnection (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterConnectionType connectionType, System.Threading.CancellationToken cancellationToken = default);
static member GetAllowedConnection : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.SecurityCenter.Models.SecurityCenterConnectionType * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection>
<Extension()>
Public Function GetAllowedConnection (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation, connectionType As SecurityCenterConnectionType, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityCenterAllowedConnection)

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.

connectionType
SecurityCenterConnectionType

O tipo de conexões permitidas (Interno, Externo).

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a