-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
MonitorPrivateLinkScopeData.cs
58 lines (51 loc) · 3.4 KB
/
MonitorPrivateLinkScopeData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.Monitor.Models;
namespace Azure.ResourceManager.Monitor
{
/// <summary>
/// A class representing the MonitorPrivateLinkScope data model.
/// An Azure Monitor PrivateLinkScope definition.
/// </summary>
public partial class MonitorPrivateLinkScopeData : TrackedResourceData
{
/// <summary> Initializes a new instance of MonitorPrivateLinkScopeData. </summary>
/// <param name="location"> The location. </param>
/// <param name="accessModeSettings"> Access mode settings. </param>
/// <exception cref="ArgumentNullException"> <paramref name="accessModeSettings"/> is null. </exception>
public MonitorPrivateLinkScopeData(AzureLocation location, MonitorPrivateLinkAccessModeSettings accessModeSettings) : base(location)
{
Argument.AssertNotNull(accessModeSettings, nameof(accessModeSettings));
PrivateEndpointConnections = new ChangeTrackingList<MonitorPrivateEndpointConnectionData>();
AccessModeSettings = accessModeSettings;
}
/// <summary> Initializes a new instance of MonitorPrivateLinkScopeData. </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="tags"> The tags. </param>
/// <param name="location"> The location. </param>
/// <param name="provisioningState"> Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed. </param>
/// <param name="privateEndpointConnections"> List of private endpoint connections. </param>
/// <param name="accessModeSettings"> Access mode settings. </param>
internal MonitorPrivateLinkScopeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, string provisioningState, IReadOnlyList<MonitorPrivateEndpointConnectionData> privateEndpointConnections, MonitorPrivateLinkAccessModeSettings accessModeSettings) : base(id, name, resourceType, systemData, tags, location)
{
ProvisioningState = provisioningState;
PrivateEndpointConnections = privateEndpointConnections;
AccessModeSettings = accessModeSettings;
}
/// <summary> Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed. </summary>
public string ProvisioningState { get; }
/// <summary> List of private endpoint connections. </summary>
public IReadOnlyList<MonitorPrivateEndpointConnectionData> PrivateEndpointConnections { get; }
/// <summary> Access mode settings. </summary>
public MonitorPrivateLinkAccessModeSettings AccessModeSettings { get; set; }
}
}