/
SapNetWeaverProviderInstanceProperties.cs
76 lines (70 loc) · 4.24 KB
/
SapNetWeaverProviderInstanceProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Workloads.Models
{
/// <summary> Gets or sets the provider properties. </summary>
public partial class SapNetWeaverProviderInstanceProperties : ProviderSpecificProperties
{
/// <summary> Initializes a new instance of <see cref="SapNetWeaverProviderInstanceProperties"/>. </summary>
public SapNetWeaverProviderInstanceProperties()
{
SapHostFileEntries = new ChangeTrackingList<string>();
ProviderType = "SapNetWeaver";
}
/// <summary> Initializes a new instance of <see cref="SapNetWeaverProviderInstanceProperties"/>. </summary>
/// <param name="providerType"> The provider type. For example, the value can be SapHana. </param>
/// <param name="sapSid"> Gets or sets the SAP System Identifier. </param>
/// <param name="sapHostname"> Gets or sets the target virtual machine IP Address/FQDN. </param>
/// <param name="sapInstanceNr"> Gets or sets the instance number of SAP NetWeaver. </param>
/// <param name="sapHostFileEntries"> Gets or sets the list of HostFile Entries. </param>
/// <param name="sapUsername"> Gets or sets the SAP user name. </param>
/// <param name="sapPassword"> Sets the SAP password. </param>
/// <param name="sapPasswordUri"> Gets or sets the key vault URI to secret with the SAP password. </param>
/// <param name="sapClientId"> Gets or sets the SAP Client ID. </param>
/// <param name="sapPortNumber"> Gets or sets the SAP HTTP port number. </param>
/// <param name="sslCertificateUri"> Gets or sets the blob URI to SSL certificate for the SAP system. </param>
/// <param name="sslPreference"> Gets or sets certificate preference if secure communication is enabled. </param>
internal SapNetWeaverProviderInstanceProperties(string providerType, string sapSid, string sapHostname, string sapInstanceNr, IList<string> sapHostFileEntries, string sapUsername, string sapPassword, Uri sapPasswordUri, string sapClientId, string sapPortNumber, Uri sslCertificateUri, SapSslPreference? sslPreference) : base(providerType)
{
SapSid = sapSid;
SapHostname = sapHostname;
SapInstanceNr = sapInstanceNr;
SapHostFileEntries = sapHostFileEntries;
SapUsername = sapUsername;
SapPassword = sapPassword;
SapPasswordUri = sapPasswordUri;
SapClientId = sapClientId;
SapPortNumber = sapPortNumber;
SslCertificateUri = sslCertificateUri;
SslPreference = sslPreference;
ProviderType = providerType ?? "SapNetWeaver";
}
/// <summary> Gets or sets the SAP System Identifier. </summary>
public string SapSid { get; set; }
/// <summary> Gets or sets the target virtual machine IP Address/FQDN. </summary>
public string SapHostname { get; set; }
/// <summary> Gets or sets the instance number of SAP NetWeaver. </summary>
public string SapInstanceNr { get; set; }
/// <summary> Gets or sets the list of HostFile Entries. </summary>
public IList<string> SapHostFileEntries { get; }
/// <summary> Gets or sets the SAP user name. </summary>
public string SapUsername { get; set; }
/// <summary> Sets the SAP password. </summary>
public string SapPassword { get; set; }
/// <summary> Gets or sets the key vault URI to secret with the SAP password. </summary>
public Uri SapPasswordUri { get; set; }
/// <summary> Gets or sets the SAP Client ID. </summary>
public string SapClientId { get; set; }
/// <summary> Gets or sets the SAP HTTP port number. </summary>
public string SapPortNumber { get; set; }
/// <summary> Gets or sets the blob URI to SSL certificate for the SAP system. </summary>
public Uri SslCertificateUri { get; set; }
/// <summary> Gets or sets certificate preference if secure communication is enabled. </summary>
public SapSslPreference? SslPreference { get; set; }
}
}