-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SecurityCenterAllowedConnection.cs
46 lines (40 loc) · 2.18 KB
/
SecurityCenterAllowedConnection.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.SecurityCenter.Models
{
/// <summary> The resource whose properties describes the allowed traffic between Azure resources. </summary>
public partial class SecurityCenterAllowedConnection : ResourceData
{
/// <summary> Initializes a new instance of SecurityCenterAllowedConnection. </summary>
public SecurityCenterAllowedConnection()
{
ConnectableResources = new ChangeTrackingList<ConnectableResourceInfo>();
}
/// <summary> Initializes a new instance of SecurityCenterAllowedConnection. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="calculatedOn"> The UTC time on which the allowed connections resource was calculated. </param>
/// <param name="connectableResources"> List of connectable resources. </param>
/// <param name="location"> Location where the resource is stored. </param>
internal SecurityCenterAllowedConnection(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? calculatedOn, IReadOnlyList<ConnectableResourceInfo> connectableResources, AzureLocation? location) : base(id, name, resourceType, systemData)
{
CalculatedOn = calculatedOn;
ConnectableResources = connectableResources;
Location = location;
}
/// <summary> The UTC time on which the allowed connections resource was calculated. </summary>
public DateTimeOffset? CalculatedOn { get; }
/// <summary> List of connectable resources. </summary>
public IReadOnlyList<ConnectableResourceInfo> ConnectableResources { get; }
/// <summary> Location where the resource is stored. </summary>
public AzureLocation? Location { get; }
}
}