-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
MediaServicesPrivateEndpointConnectionData.cs
54 lines (47 loc) · 2.65 KB
/
MediaServicesPrivateEndpointConnectionData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.Media.Models;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Media
{
/// <summary>
/// A class representing the MediaServicesPrivateEndpointConnection data model.
/// The Private Endpoint Connection resource.
/// </summary>
public partial class MediaServicesPrivateEndpointConnectionData : ResourceData
{
/// <summary> Initializes a new instance of MediaServicesPrivateEndpointConnectionData. </summary>
public MediaServicesPrivateEndpointConnectionData()
{
}
/// <summary> Initializes a new instance of MediaServicesPrivateEndpointConnectionData. </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 MediaServicesPrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SubResource privateEndpoint, MediaPrivateLinkServiceConnectionState connectionState, MediaPrivateEndpointConnectionProvisioningState? 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 MediaPrivateLinkServiceConnectionState ConnectionState { get; set; }
/// <summary> The provisioning state of the private endpoint connection resource. </summary>
public MediaPrivateEndpointConnectionProvisioningState? ProvisioningState { get; }
}
}