-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
BatchApplicationData.cs
51 lines (45 loc) · 2.55 KB
/
BatchApplicationData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Batch
{
/// <summary>
/// A class representing the BatchApplication data model.
/// Contains information about an application in a Batch account.
/// </summary>
public partial class BatchApplicationData : ResourceData
{
/// <summary> Initializes a new instance of <see cref="BatchApplicationData"/>. </summary>
public BatchApplicationData()
{
}
/// <summary> Initializes a new instance of <see cref="BatchApplicationData"/>. </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="displayName"> The display name for the application. </param>
/// <param name="allowUpdates"> A value indicating whether packages within the application may be overwritten using the same version string. </param>
/// <param name="defaultVersion"> The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package. </param>
/// <param name="etag"> The ETag of the resource, used for concurrency statements. </param>
internal BatchApplicationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string displayName, bool? allowUpdates, string defaultVersion, ETag? etag) : base(id, name, resourceType, systemData)
{
DisplayName = displayName;
AllowUpdates = allowUpdates;
DefaultVersion = defaultVersion;
ETag = etag;
}
/// <summary> The display name for the application. </summary>
public string DisplayName { get; set; }
/// <summary> A value indicating whether packages within the application may be overwritten using the same version string. </summary>
public bool? AllowUpdates { get; set; }
/// <summary> The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package. </summary>
public string DefaultVersion { get; set; }
/// <summary> The ETag of the resource, used for concurrency statements. </summary>
public ETag? ETag { get; }
}
}