-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
ContainerAppData.cs
102 lines (96 loc) · 6.98 KB
/
ContainerAppData.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
95
96
97
98
99
100
101
102
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Net;
using Azure.Core;
using Azure.ResourceManager.AppContainers.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.AppContainers
{
/// <summary>
/// A class representing the ContainerApp data model.
/// Container App.
/// </summary>
public partial class ContainerAppData : TrackedResourceData
{
/// <summary> Initializes a new instance of ContainerAppData. </summary>
/// <param name="location"> The location. </param>
public ContainerAppData(AzureLocation location) : base(location)
{
OutboundIPAddressList = new ChangeTrackingList<IPAddress>();
}
/// <summary> Initializes a new instance of ContainerAppData. </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="extendedLocation"> The complex type of the extended location. </param>
/// <param name="identity"> managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code. </param>
/// <param name="managedBy"> The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. </param>
/// <param name="provisioningState"> Provisioning state of the Container App. </param>
/// <param name="managedEnvironmentId"> Deprecated. Resource ID of the Container App's environment. </param>
/// <param name="environmentId"> Resource ID of environment. </param>
/// <param name="workloadProfileName"> Workload profile name to pin for container app execution. </param>
/// <param name="latestRevisionName"> Name of the latest revision of the Container App. </param>
/// <param name="latestReadyRevisionName"> Name of the latest ready revision of the Container App. </param>
/// <param name="latestRevisionFqdn"> Fully Qualified Domain Name of the latest revision of the Container App. </param>
/// <param name="customDomainVerificationId"> Id used to verify domain name ownership. </param>
/// <param name="configuration"> Non versioned Container App configuration properties. </param>
/// <param name="template"> Container App versioned application definition. </param>
/// <param name="outboundIPAddressList"> Outbound IP Addresses for container app. </param>
/// <param name="eventStreamEndpoint"> The endpoint of the eventstream of the container app. </param>
internal ContainerAppData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, ContainerAppExtendedLocation extendedLocation, ManagedServiceIdentity identity, string managedBy, ContainerAppProvisioningState? provisioningState, ResourceIdentifier managedEnvironmentId, ResourceIdentifier environmentId, string workloadProfileName, string latestRevisionName, string latestReadyRevisionName, string latestRevisionFqdn, string customDomainVerificationId, ContainerAppConfiguration configuration, ContainerAppTemplate template, IReadOnlyList<IPAddress> outboundIPAddressList, Uri eventStreamEndpoint) : base(id, name, resourceType, systemData, tags, location)
{
ExtendedLocation = extendedLocation;
Identity = identity;
ManagedBy = managedBy;
ProvisioningState = provisioningState;
ManagedEnvironmentId = managedEnvironmentId;
EnvironmentId = environmentId;
WorkloadProfileName = workloadProfileName;
LatestRevisionName = latestRevisionName;
LatestReadyRevisionName = latestReadyRevisionName;
LatestRevisionFqdn = latestRevisionFqdn;
CustomDomainVerificationId = customDomainVerificationId;
Configuration = configuration;
Template = template;
OutboundIPAddressList = outboundIPAddressList;
EventStreamEndpoint = eventStreamEndpoint;
}
/// <summary> The complex type of the extended location. </summary>
public ContainerAppExtendedLocation ExtendedLocation { get; set; }
/// <summary> managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code. </summary>
public ManagedServiceIdentity Identity { get; set; }
/// <summary> The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. </summary>
public string ManagedBy { get; set; }
/// <summary> Provisioning state of the Container App. </summary>
public ContainerAppProvisioningState? ProvisioningState { get; }
/// <summary> Deprecated. Resource ID of the Container App's environment. </summary>
public ResourceIdentifier ManagedEnvironmentId { get; set; }
/// <summary> Resource ID of environment. </summary>
public ResourceIdentifier EnvironmentId { get; set; }
/// <summary> Workload profile name to pin for container app execution. </summary>
public string WorkloadProfileName { get; set; }
/// <summary> Name of the latest revision of the Container App. </summary>
public string LatestRevisionName { get; }
/// <summary> Name of the latest ready revision of the Container App. </summary>
public string LatestReadyRevisionName { get; }
/// <summary> Fully Qualified Domain Name of the latest revision of the Container App. </summary>
public string LatestRevisionFqdn { get; }
/// <summary> Id used to verify domain name ownership. </summary>
public string CustomDomainVerificationId { get; }
/// <summary> Non versioned Container App configuration properties. </summary>
public ContainerAppConfiguration Configuration { get; set; }
/// <summary> Container App versioned application definition. </summary>
public ContainerAppTemplate Template { get; set; }
/// <summary> Outbound IP Addresses for container app. </summary>
public IReadOnlyList<IPAddress> OutboundIPAddressList { get; }
/// <summary> The endpoint of the eventstream of the container app. </summary>
public Uri EventStreamEndpoint { get; }
}
}