-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AutomationAccountData.cs
94 lines (88 loc) · 5.55 KB
/
AutomationAccountData.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure;
using Azure.Core;
using Azure.ResourceManager.Automation.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Automation
{
/// <summary>
/// A class representing the AutomationAccount data model.
/// Definition of the automation account type.
/// </summary>
public partial class AutomationAccountData : TrackedResourceData
{
/// <summary> Initializes a new instance of AutomationAccountData. </summary>
/// <param name="location"> The location. </param>
public AutomationAccountData(AzureLocation location) : base(location)
{
PrivateEndpointConnections = new ChangeTrackingList<AutomationPrivateEndpointConnectionData>();
}
/// <summary> Initializes a new instance of AutomationAccountData. </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="etag"> Gets or sets the etag of the resource. </param>
/// <param name="identity"> Identity for the resource. </param>
/// <param name="sku"> Gets or sets the SKU of account. </param>
/// <param name="lastModifiedBy"> Gets or sets the last modified by. </param>
/// <param name="state"> Gets status of account. </param>
/// <param name="createdOn"> Gets the creation time. </param>
/// <param name="lastModifiedOn"> Gets the last modified time. </param>
/// <param name="description"> Gets or sets the description. </param>
/// <param name="encryption"> Encryption properties for the automation account. </param>
/// <param name="privateEndpointConnections"> List of Automation operations supported by the Automation resource provider. </param>
/// <param name="isPublicNetworkAccessAllowed"> Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet. </param>
/// <param name="isLocalAuthDisabled"> Indicates whether requests using non-AAD authentication are blocked. </param>
/// <param name="automationHybridServiceUri"> URL of automation hybrid service which is used for hybrid worker on-boarding. </param>
internal AutomationAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, ETag? etag, ManagedServiceIdentity identity, AutomationSku sku, string lastModifiedBy, AutomationAccountState? state, DateTimeOffset? createdOn, DateTimeOffset? lastModifiedOn, string description, AutomationEncryptionProperties encryption, IList<AutomationPrivateEndpointConnectionData> privateEndpointConnections, bool? isPublicNetworkAccessAllowed, bool? isLocalAuthDisabled, Uri automationHybridServiceUri) : base(id, name, resourceType, systemData, tags, location)
{
ETag = etag;
Identity = identity;
Sku = sku;
LastModifiedBy = lastModifiedBy;
State = state;
CreatedOn = createdOn;
LastModifiedOn = lastModifiedOn;
Description = description;
Encryption = encryption;
PrivateEndpointConnections = privateEndpointConnections;
IsPublicNetworkAccessAllowed = isPublicNetworkAccessAllowed;
IsLocalAuthDisabled = isLocalAuthDisabled;
AutomationHybridServiceUri = automationHybridServiceUri;
}
/// <summary> Gets or sets the etag of the resource. </summary>
public ETag? ETag { get; set; }
/// <summary> Identity for the resource. </summary>
public ManagedServiceIdentity Identity { get; set; }
/// <summary> Gets or sets the SKU of account. </summary>
public AutomationSku Sku { get; set; }
/// <summary> Gets or sets the last modified by. </summary>
public string LastModifiedBy { get; set; }
/// <summary> Gets status of account. </summary>
public AutomationAccountState? State { get; }
/// <summary> Gets the creation time. </summary>
public DateTimeOffset? CreatedOn { get; }
/// <summary> Gets the last modified time. </summary>
public DateTimeOffset? LastModifiedOn { get; }
/// <summary> Gets or sets the description. </summary>
public string Description { get; set; }
/// <summary> Encryption properties for the automation account. </summary>
public AutomationEncryptionProperties Encryption { get; set; }
/// <summary> List of Automation operations supported by the Automation resource provider. </summary>
public IList<AutomationPrivateEndpointConnectionData> PrivateEndpointConnections { get; }
/// <summary> Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet. </summary>
public bool? IsPublicNetworkAccessAllowed { get; set; }
/// <summary> Indicates whether requests using non-AAD authentication are blocked. </summary>
public bool? IsLocalAuthDisabled { get; set; }
/// <summary> URL of automation hybrid service which is used for hybrid worker on-boarding. </summary>
public Uri AutomationHybridServiceUri { get; set; }
}
}