-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SynapseWorkspaceRepositoryConfiguration.cs
62 lines (56 loc) · 3.13 KB
/
SynapseWorkspaceRepositoryConfiguration.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Synapse.Models
{
/// <summary> Git integration settings. </summary>
public partial class SynapseWorkspaceRepositoryConfiguration
{
/// <summary> Initializes a new instance of SynapseWorkspaceRepositoryConfiguration. </summary>
public SynapseWorkspaceRepositoryConfiguration()
{
}
/// <summary> Initializes a new instance of SynapseWorkspaceRepositoryConfiguration. </summary>
/// <param name="workspaceRepositoryConfigurationType"> Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration. </param>
/// <param name="hostName"> GitHub Enterprise host name. For example: https://github.mydomain.com. </param>
/// <param name="accountName"> Account name. </param>
/// <param name="projectName"> VSTS project name. </param>
/// <param name="repositoryName"> Repository name. </param>
/// <param name="collaborationBranch"> Collaboration branch. </param>
/// <param name="rootFolder"> Root folder to use in the repository. </param>
/// <param name="lastCommitId"> The last commit ID. </param>
/// <param name="tenantId"> The VSTS tenant ID. </param>
internal SynapseWorkspaceRepositoryConfiguration(string workspaceRepositoryConfigurationType, string hostName, string accountName, string projectName, string repositoryName, string collaborationBranch, string rootFolder, string lastCommitId, Guid? tenantId)
{
WorkspaceRepositoryConfigurationType = workspaceRepositoryConfigurationType;
HostName = hostName;
AccountName = accountName;
ProjectName = projectName;
RepositoryName = repositoryName;
CollaborationBranch = collaborationBranch;
RootFolder = rootFolder;
LastCommitId = lastCommitId;
TenantId = tenantId;
}
/// <summary> Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration. </summary>
public string WorkspaceRepositoryConfigurationType { get; set; }
/// <summary> GitHub Enterprise host name. For example: https://github.mydomain.com. </summary>
public string HostName { get; set; }
/// <summary> Account name. </summary>
public string AccountName { get; set; }
/// <summary> VSTS project name. </summary>
public string ProjectName { get; set; }
/// <summary> Repository name. </summary>
public string RepositoryName { get; set; }
/// <summary> Collaboration branch. </summary>
public string CollaborationBranch { get; set; }
/// <summary> Root folder to use in the repository. </summary>
public string RootFolder { get; set; }
/// <summary> The last commit ID. </summary>
public string LastCommitId { get; set; }
/// <summary> The VSTS tenant ID. </summary>
public Guid? TenantId { get; set; }
}
}