Freigeben über


ArmSecurityCenterModelFactory.ConnectedResourceInfo Methode

Definition

Initialisiert eine neue instance von 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

Parameter

connectedResourceId
ResourceIdentifier

Die Azure-Ressourcen-ID der verbundenen Ressource.

tcpPorts
String

Die zulässigen TCP-Ports.

udpPorts
String

Die zulässigen UDP-Ports.

Gibt zurück

Eine neue ConnectedResourceInfo instance zum Mocking.

Gilt für: