-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
IotCentralPrivateEndpointConnectionData.cs
60 lines (53 loc) · 3.05 KB
/
IotCentralPrivateEndpointConnectionData.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.IotCentral.Models;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.IotCentral
{
/// <summary>
/// A class representing the IotCentralPrivateEndpointConnection data model.
/// The private endpoint connection resource.
/// </summary>
public partial class IotCentralPrivateEndpointConnectionData : ResourceData
{
/// <summary> Initializes a new instance of <see cref="IotCentralPrivateEndpointConnectionData"/>. </summary>
public IotCentralPrivateEndpointConnectionData()
{
GroupIds = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of <see cref="IotCentralPrivateEndpointConnectionData"/>. </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="groupIds"> The group ids for the private endpoint resource. </param>
/// <param name="privateEndpoint"> The private endpoint resource. </param>
/// <param name="connectionState"> A collection of information about the state of the connection between service consumer and provider. </param>
/// <param name="provisioningState"> The provisioning state of the private endpoint connection resource. </param>
internal IotCentralPrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IReadOnlyList<string> groupIds, SubResource privateEndpoint, IotCentralPrivateLinkServiceConnectionState connectionState, IotCentralPrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData)
{
GroupIds = groupIds;
PrivateEndpoint = privateEndpoint;
ConnectionState = connectionState;
ProvisioningState = provisioningState;
}
/// <summary> The group ids for the private endpoint resource. </summary>
public IReadOnlyList<string> GroupIds { get; }
/// <summary> The private endpoint resource. </summary>
internal SubResource PrivateEndpoint { get; set; }
/// <summary> Gets Id. </summary>
public ResourceIdentifier PrivateEndpointId
{
get => PrivateEndpoint is null ? default : PrivateEndpoint.Id;
}
/// <summary> A collection of information about the state of the connection between service consumer and provider. </summary>
public IotCentralPrivateLinkServiceConnectionState ConnectionState { get; set; }
/// <summary> The provisioning state of the private endpoint connection resource. </summary>
public IotCentralPrivateEndpointConnectionProvisioningState? ProvisioningState { get; }
}
}