ArmSecurityCenterModelFactory.TopologySingleResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TopologySingleResource.
public static Azure.ResourceManager.SecurityCenter.Models.TopologySingleResource TopologySingleResource (Azure.Core.ResourceIdentifier resourceId = default, string severity = default, bool? recommendationsExist = default, string networkZones = default, int? topologyScore = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.TopologySingleResourceParent> parents = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.TopologySingleResourceChild> children = default);
static member TopologySingleResource : Azure.Core.ResourceIdentifier * string * Nullable<bool> * string * Nullable<int> * Nullable<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.SecurityCenter.Models.TopologySingleResourceParent> * seq<Azure.ResourceManager.SecurityCenter.Models.TopologySingleResourceChild> -> Azure.ResourceManager.SecurityCenter.Models.TopologySingleResource
Public Shared Function TopologySingleResource (Optional resourceId As ResourceIdentifier = Nothing, Optional severity As String = Nothing, Optional recommendationsExist As Nullable(Of Boolean) = Nothing, Optional networkZones As String = Nothing, Optional topologyScore As Nullable(Of Integer) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional parents As IEnumerable(Of TopologySingleResourceParent) = Nothing, Optional children As IEnumerable(Of TopologySingleResourceChild) = Nothing) As TopologySingleResource
Parameters
- resourceId
- ResourceIdentifier
Azure resource id.
- severity
- String
The security severity of the resource.
- networkZones
- String
Indicates the resource connectivity level to the Internet (InternetFacing, Internal ,etc.).
- location
- Nullable<AzureLocation>
The location of this resource.
- parents
- IEnumerable<TopologySingleResourceParent>
Azure resources connected to this resource which are in higher level in the topology view.
- children
- IEnumerable<TopologySingleResourceChild>
Azure resources connected to this resource which are in lower level in the topology view.
Returns
A new TopologySingleResource instance for mocking.