ArmSecurityCenterModelFactory.SecurityCenterAllowedConnection 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 SecurityCenterAllowedConnection.
public static Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection SecurityCenterAllowedConnection (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? calculatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.ConnectableResourceInfo> connectableResources = default, Azure.Core.AzureLocation? location = default);
static member SecurityCenterAllowedConnection : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityCenter.Models.ConnectableResourceInfo> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.SecurityCenter.Models.SecurityCenterAllowedConnection
Public Shared Function SecurityCenterAllowedConnection (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional calculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional connectableResources As IEnumerable(Of ConnectableResourceInfo) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As SecurityCenterAllowedConnection
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- calculatedOn
- Nullable<DateTimeOffset>
The UTC time on which the allowed connections resource was calculated.
- connectableResources
- IEnumerable<ConnectableResourceInfo>
List of connectable resources.
- location
- Nullable<AzureLocation>
Location where the resource is stored.
Returns
A new SecurityCenterAllowedConnection instance for mocking.