Compartilhar via


ArmSecurityCenterModelFactory.ConnectedResourceInfo Método

Definição

Inicializa uma nova instância de ConnectedResourceInfo.

public static Azure.ResourceManager.SecurityCenter.Models.ConnectedResourceInfo ConnectedResourceInfo (Azure.Core.ResourceIdentifier connectedResourceId = default, string tcpPorts = default, string udpPorts = default);
static member ConnectedResourceInfo : Azure.Core.ResourceIdentifier * string * string -> Azure.ResourceManager.SecurityCenter.Models.ConnectedResourceInfo
Public Shared Function ConnectedResourceInfo (Optional connectedResourceId As ResourceIdentifier = Nothing, Optional tcpPorts As String = Nothing, Optional udpPorts As String = Nothing) As ConnectedResourceInfo

Parâmetros

connectedResourceId
ResourceIdentifier

A ID do recurso do Azure do recurso conectado.

tcpPorts
String

As portas tcp permitidas.

udpPorts
String

As portas udp permitidas.

Retornos

Uma nova ConnectedResourceInfo instância para zombar.

Aplica-se a