-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ContainerAppReplicaData.cs
43 lines (37 loc) · 1.82 KB
/
ContainerAppReplicaData.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
// 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.Applications.Containers.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Applications.Containers
{
/// <summary> A class representing the ContainerAppReplica data model. </summary>
public partial class ContainerAppReplicaData : ResourceData
{
/// <summary> Initializes a new instance of ContainerAppReplicaData. </summary>
public ContainerAppReplicaData()
{
Containers = new ChangeTrackingList<ReplicaContainer>();
}
/// <summary> Initializes a new instance of ContainerAppReplicaData. </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="createdOn"> Timestamp describing when the pod was created by controller. </param>
/// <param name="containers"> The containers collection under a replica. </param>
internal ContainerAppReplicaData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? createdOn, IList<ReplicaContainer> containers) : base(id, name, resourceType, systemData)
{
CreatedOn = createdOn;
Containers = containers;
}
/// <summary> Timestamp describing when the pod was created by controller. </summary>
public DateTimeOffset? CreatedOn { get; }
/// <summary> The containers collection under a replica. </summary>
public IList<ReplicaContainer> Containers { get; }
}
}