-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataFactoryPrivateEndpointConnectionProperties.cs
45 lines (38 loc) · 1.96 KB
/
DataFactoryPrivateEndpointConnectionProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> A remote private endpoint connection. </summary>
public partial class DataFactoryPrivateEndpointConnectionProperties
{
/// <summary> Initializes a new instance of <see cref="DataFactoryPrivateEndpointConnectionProperties"/>. </summary>
public DataFactoryPrivateEndpointConnectionProperties()
{
}
/// <summary> Initializes a new instance of <see cref="DataFactoryPrivateEndpointConnectionProperties"/>. </summary>
/// <param name="provisioningState"></param>
/// <param name="privateEndpoint"> PrivateEndpoint of a remote private endpoint connection. </param>
/// <param name="privateLinkServiceConnectionState"> The state of a private link connection. </param>
internal DataFactoryPrivateEndpointConnectionProperties(string provisioningState, SubResource privateEndpoint, PrivateLinkConnectionState privateLinkServiceConnectionState)
{
ProvisioningState = provisioningState;
PrivateEndpoint = privateEndpoint;
PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
}
/// <summary> Gets the provisioning state. </summary>
public string ProvisioningState { get; }
/// <summary> PrivateEndpoint of a remote private endpoint connection. </summary>
internal SubResource PrivateEndpoint { get; set; }
/// <summary> Gets Id. </summary>
public ResourceIdentifier PrivateEndpointId
{
get => PrivateEndpoint is null ? default : PrivateEndpoint.Id;
}
/// <summary> The state of a private link connection. </summary>
public PrivateLinkConnectionState PrivateLinkServiceConnectionState { get; set; }
}
}