Partager via


ArmSecurityCenterModelFactory.ConnectedResourceInfo Méthode

Définition

Initialise une nouvelle instance 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

Paramètres

connectedResourceId
ResourceIdentifier

ID de ressource Azure de la ressource connectée.

tcpPorts
String

Ports TCP autorisés.

udpPorts
String

Ports udp autorisés.

Retours

Une nouvelle ConnectedResourceInfo instance de moqueries.

S’applique à