-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AppServiceValidateContent.cs
65 lines (59 loc) · 3.4 KB
/
AppServiceValidateContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Resource validation request content. </summary>
public partial class AppServiceValidateContent
{
/// <summary> Initializes a new instance of AppServiceValidateContent. </summary>
/// <param name="name"> Resource name to verify. </param>
/// <param name="validateResourceType"> Resource type used for verification. </param>
/// <param name="location"> Expected location of the resource. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public AppServiceValidateContent(string name, ValidateResourceType validateResourceType, AzureLocation location)
{
Argument.AssertNotNull(name, nameof(name));
Name = name;
ValidateResourceType = validateResourceType;
Location = location;
}
/// <summary> Resource name to verify. </summary>
public string Name { get; }
/// <summary> Resource type used for verification. </summary>
public ValidateResourceType ValidateResourceType { get; }
/// <summary> Expected location of the resource. </summary>
public AzureLocation Location { get; }
/// <summary> ARM resource ID of an App Service plan that would host the app. </summary>
public ResourceIdentifier ServerFarmId { get; set; }
/// <summary> Name of the target SKU for the App Service plan. </summary>
public string SkuName { get; set; }
/// <summary> <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>. </summary>
public bool? NeedLinuxWorkers { get; set; }
/// <summary> <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>. </summary>
public bool? IsSpot { get; set; }
/// <summary> Target capacity of the App Service plan (number of VMs). </summary>
public int? Capacity { get; set; }
/// <summary> Name of App Service Environment where app or App Service plan should be created. </summary>
public string HostingEnvironment { get; set; }
/// <summary> <code>true</code> if App Service plan is running as a windows container. </summary>
public bool? IsXenon { get; set; }
/// <summary> Base URL of the container registry. </summary>
public Uri ContainerRegistryBaseUri { get; set; }
/// <summary> Username for to access the container registry. </summary>
public string ContainerRegistryUsername { get; set; }
/// <summary> Password for to access the container registry. </summary>
public string ContainerRegistryPassword { get; set; }
/// <summary> Repository name (image name). </summary>
public string ContainerImageRepository { get; set; }
/// <summary> Image tag. </summary>
public string ContainerImageTag { get; set; }
/// <summary> Platform (windows or linux). </summary>
public string ContainerImagePlatform { get; set; }
/// <summary> App Service Environment Properties. </summary>
public AppServiceEnvironmentProperties AppServiceEnvironment { get; set; }
}
}