-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SapInstallWithoutOSConfigSoftwareConfiguration.cs
57 lines (50 loc) · 3.36 KB
/
SapInstallWithoutOSConfigSoftwareConfiguration.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Workloads.Models
{
/// <summary> The SAP Software configuration Input when the software is to be installed by service without OS Configurations. </summary>
public partial class SapInstallWithoutOSConfigSoftwareConfiguration : SapSoftwareConfiguration
{
/// <summary> Initializes a new instance of <see cref="SapInstallWithoutOSConfigSoftwareConfiguration"/>. </summary>
/// <param name="bomUri"> The URL to the SAP Build of Materials(BOM) file. </param>
/// <param name="sapBitsStorageAccountId"> The SAP bits storage account id. </param>
/// <param name="softwareVersion"> The software version to install. </param>
/// <exception cref="ArgumentNullException"> <paramref name="bomUri"/>, <paramref name="sapBitsStorageAccountId"/> or <paramref name="softwareVersion"/> is null. </exception>
public SapInstallWithoutOSConfigSoftwareConfiguration(Uri bomUri, string sapBitsStorageAccountId, string softwareVersion)
{
Argument.AssertNotNull(bomUri, nameof(bomUri));
Argument.AssertNotNull(sapBitsStorageAccountId, nameof(sapBitsStorageAccountId));
Argument.AssertNotNull(softwareVersion, nameof(softwareVersion));
BomUri = bomUri;
SapBitsStorageAccountId = sapBitsStorageAccountId;
SoftwareVersion = softwareVersion;
SoftwareInstallationType = SapSoftwareInstallationType.SapInstallWithoutOSConfig;
}
/// <summary> Initializes a new instance of <see cref="SapInstallWithoutOSConfigSoftwareConfiguration"/>. </summary>
/// <param name="softwareInstallationType"> The SAP software installation Type. </param>
/// <param name="bomUri"> The URL to the SAP Build of Materials(BOM) file. </param>
/// <param name="sapBitsStorageAccountId"> The SAP bits storage account id. </param>
/// <param name="softwareVersion"> The software version to install. </param>
/// <param name="highAvailabilitySoftwareConfiguration"> Gets or sets the HA software configuration. </param>
internal SapInstallWithoutOSConfigSoftwareConfiguration(SapSoftwareInstallationType softwareInstallationType, Uri bomUri, string sapBitsStorageAccountId, string softwareVersion, HighAvailabilitySoftwareConfiguration highAvailabilitySoftwareConfiguration) : base(softwareInstallationType)
{
BomUri = bomUri;
SapBitsStorageAccountId = sapBitsStorageAccountId;
SoftwareVersion = softwareVersion;
HighAvailabilitySoftwareConfiguration = highAvailabilitySoftwareConfiguration;
SoftwareInstallationType = softwareInstallationType;
}
/// <summary> The URL to the SAP Build of Materials(BOM) file. </summary>
public Uri BomUri { get; set; }
/// <summary> The SAP bits storage account id. </summary>
public string SapBitsStorageAccountId { get; set; }
/// <summary> The software version to install. </summary>
public string SoftwareVersion { get; set; }
/// <summary> Gets or sets the HA software configuration. </summary>
public HighAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration { get; set; }
}
}