-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
RedisEnterpriseCachePrivateEndpointConnectionData.cs
51 lines (44 loc) · 2.71 KB
/
RedisEnterpriseCachePrivateEndpointConnectionData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.RedisEnterpriseCache.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.RedisEnterpriseCache
{
/// <summary> A class representing the RedisEnterpriseCachePrivateEndpointConnection data model. </summary>
public partial class RedisEnterpriseCachePrivateEndpointConnectionData : ResourceData
{
/// <summary> Initializes a new instance of RedisEnterpriseCachePrivateEndpointConnectionData. </summary>
public RedisEnterpriseCachePrivateEndpointConnectionData()
{
}
/// <summary> Initializes a new instance of RedisEnterpriseCachePrivateEndpointConnectionData. </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="privateEndpoint"> The resource of private end point. </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 RedisEnterpriseCachePrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SubResource privateEndpoint, RedisEnterpriseCachePrivateLinkServiceConnectionState connectionState, RedisEnterpriseCachePrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData)
{
PrivateEndpoint = privateEndpoint;
ConnectionState = connectionState;
ProvisioningState = provisioningState;
}
/// <summary> The resource of private end point. </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 RedisEnterpriseCachePrivateLinkServiceConnectionState ConnectionState { get; set; }
/// <summary> The provisioning state of the private endpoint connection resource. </summary>
public RedisEnterpriseCachePrivateEndpointConnectionProvisioningState? ProvisioningState { get; }
}
}