-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DeviceUpdateAccountData.cs
69 lines (63 loc) · 3.8 KB
/
DeviceUpdateAccountData.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
61
62
63
64
65
66
67
68
69
// 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.DeviceUpdate.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.DeviceUpdate
{
/// <summary>
/// A class representing the DeviceUpdateAccount data model.
/// Device Update account details.
/// </summary>
public partial class DeviceUpdateAccountData : TrackedResourceData
{
/// <summary> Initializes a new instance of DeviceUpdateAccountData. </summary>
/// <param name="location"> The location. </param>
public DeviceUpdateAccountData(AzureLocation location) : base(location)
{
PrivateEndpointConnections = new ChangeTrackingList<DeviceUpdatePrivateEndpointConnectionData>();
Locations = new ChangeTrackingList<DeviceUpdateAccountLocationDetail>();
}
/// <summary> Initializes a new instance of DeviceUpdateAccountData. </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="identity"> The type of identity used for the resource. </param>
/// <param name="provisioningState"> Provisioning state. </param>
/// <param name="hostName"> API host name. </param>
/// <param name="publicNetworkAccess"> Whether or not public network access is allowed for the account. </param>
/// <param name="privateEndpointConnections"> List of private endpoint connections associated with the account. </param>
/// <param name="sku"> Device Update Sku. </param>
/// <param name="locations"> Device Update account primary and failover location details. </param>
internal DeviceUpdateAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, ManagedServiceIdentity identity, ProvisioningState? provisioningState, string hostName, PublicNetworkAccess? publicNetworkAccess, IList<DeviceUpdatePrivateEndpointConnectionData> privateEndpointConnections, DeviceUpdateSku? sku, IReadOnlyList<DeviceUpdateAccountLocationDetail> locations) : base(id, name, resourceType, systemData, tags, location)
{
Identity = identity;
ProvisioningState = provisioningState;
HostName = hostName;
PublicNetworkAccess = publicNetworkAccess;
PrivateEndpointConnections = privateEndpointConnections;
Sku = sku;
Locations = locations;
}
/// <summary> The type of identity used for the resource. </summary>
public ManagedServiceIdentity Identity { get; set; }
/// <summary> Provisioning state. </summary>
public ProvisioningState? ProvisioningState { get; }
/// <summary> API host name. </summary>
public string HostName { get; }
/// <summary> Whether or not public network access is allowed for the account. </summary>
public PublicNetworkAccess? PublicNetworkAccess { get; set; }
/// <summary> List of private endpoint connections associated with the account. </summary>
public IList<DeviceUpdatePrivateEndpointConnectionData> PrivateEndpointConnections { get; }
/// <summary> Device Update Sku. </summary>
public DeviceUpdateSku? Sku { get; set; }
/// <summary> Device Update account primary and failover location details. </summary>
public IReadOnlyList<DeviceUpdateAccountLocationDetail> Locations { get; }
}
}