-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
AppPlatformServiceRegistryProperties.cs
40 lines (34 loc) · 1.9 KB
/
AppPlatformServiceRegistryProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.AppPlatform.Models
{
/// <summary> Service Registry properties payload. </summary>
public partial class AppPlatformServiceRegistryProperties
{
/// <summary> Initializes a new instance of AppPlatformServiceRegistryProperties. </summary>
public AppPlatformServiceRegistryProperties()
{
Instances = new ChangeTrackingList<AppPlatformServiceRegistryInstance>();
}
/// <summary> Initializes a new instance of AppPlatformServiceRegistryProperties. </summary>
/// <param name="provisioningState"> State of the Service Registry. </param>
/// <param name="resourceRequests"> The requested resource quantity for required CPU and Memory. </param>
/// <param name="instances"> Collection of instances belong to Service Registry. </param>
internal AppPlatformServiceRegistryProperties(AppPlatformServiceRegistryProvisioningState? provisioningState, AppPlatformServiceRegistryResourceRequirements resourceRequests, IReadOnlyList<AppPlatformServiceRegistryInstance> instances)
{
ProvisioningState = provisioningState;
ResourceRequests = resourceRequests;
Instances = instances;
}
/// <summary> State of the Service Registry. </summary>
public AppPlatformServiceRegistryProvisioningState? ProvisioningState { get; }
/// <summary> The requested resource quantity for required CPU and Memory. </summary>
public AppPlatformServiceRegistryResourceRequirements ResourceRequests { get; }
/// <summary> Collection of instances belong to Service Registry. </summary>
public IReadOnlyList<AppPlatformServiceRegistryInstance> Instances { get; }
}
}