-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SiteSourceControlData.cs
68 lines (62 loc) · 3.98 KB
/
SiteSourceControlData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.ResourceManager.AppService.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.AppService
{
/// <summary>
/// A class representing the SiteSourceControl data model.
/// Source control configuration for an app.
/// </summary>
public partial class SiteSourceControlData : ResourceData
{
/// <summary> Initializes a new instance of SiteSourceControlData. </summary>
public SiteSourceControlData()
{
}
/// <summary> Initializes a new instance of SiteSourceControlData. </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="repoUri"> Repository or source control URL. </param>
/// <param name="branch"> Name of branch to use for deployment. </param>
/// <param name="isManualIntegration"> <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). </param>
/// <param name="isGitHubAction"> <code>true</code> if this is deployed via GitHub action. </param>
/// <param name="isDeploymentRollbackEnabled"> <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. </param>
/// <param name="isMercurial"> <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. </param>
/// <param name="gitHubActionConfiguration"> If GitHub Action is selected, than the associated configuration. </param>
/// <param name="kind"> Kind of resource. </param>
internal SiteSourceControlData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Uri repoUri, string branch, bool? isManualIntegration, bool? isGitHubAction, bool? isDeploymentRollbackEnabled, bool? isMercurial, GitHubActionConfiguration gitHubActionConfiguration, string kind) : base(id, name, resourceType, systemData)
{
RepoUri = repoUri;
Branch = branch;
IsManualIntegration = isManualIntegration;
IsGitHubAction = isGitHubAction;
IsDeploymentRollbackEnabled = isDeploymentRollbackEnabled;
IsMercurial = isMercurial;
GitHubActionConfiguration = gitHubActionConfiguration;
Kind = kind;
}
/// <summary> Repository or source control URL. </summary>
public Uri RepoUri { get; set; }
/// <summary> Name of branch to use for deployment. </summary>
public string Branch { get; set; }
/// <summary> <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). </summary>
public bool? IsManualIntegration { get; set; }
/// <summary> <code>true</code> if this is deployed via GitHub action. </summary>
public bool? IsGitHubAction { get; set; }
/// <summary> <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. </summary>
public bool? IsDeploymentRollbackEnabled { get; set; }
/// <summary> <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. </summary>
public bool? IsMercurial { get; set; }
/// <summary> If GitHub Action is selected, than the associated configuration. </summary>
public GitHubActionConfiguration GitHubActionConfiguration { get; set; }
/// <summary> Kind of resource. </summary>
public string Kind { get; set; }
}
}