-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PrometheusHAClusterProviderInstanceProperties.cs
53 lines (47 loc) · 2.71 KB
/
PrometheusHAClusterProviderInstanceProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Workloads.Models
{
/// <summary> Gets or sets the PrometheusHaCluster provider properties. </summary>
public partial class PrometheusHAClusterProviderInstanceProperties : ProviderSpecificProperties
{
/// <summary> Initializes a new instance of <see cref="PrometheusHAClusterProviderInstanceProperties"/>. </summary>
public PrometheusHAClusterProviderInstanceProperties()
{
ProviderType = "PrometheusHaCluster";
}
/// <summary> Initializes a new instance of <see cref="PrometheusHAClusterProviderInstanceProperties"/>. </summary>
/// <param name="providerType"> The provider type. For example, the value can be SapHana. </param>
/// <param name="prometheusUri"> URL of the Node Exporter endpoint. </param>
/// <param name="hostname"> Gets or sets the target machine name. </param>
/// <param name="sid"> Gets or sets the cluster sid. </param>
/// <param name="clusterName"> Gets or sets the clusterName. </param>
/// <param name="sslPreference"> Gets or sets certificate preference if secure communication is enabled. </param>
/// <param name="sslCertificateUri"> Gets or sets the blob URI to SSL certificate for the HA cluster exporter. </param>
internal PrometheusHAClusterProviderInstanceProperties(string providerType, Uri prometheusUri, string hostname, string sid, string clusterName, SapSslPreference? sslPreference, Uri sslCertificateUri) : base(providerType)
{
PrometheusUri = prometheusUri;
Hostname = hostname;
Sid = sid;
ClusterName = clusterName;
SslPreference = sslPreference;
SslCertificateUri = sslCertificateUri;
ProviderType = providerType ?? "PrometheusHaCluster";
}
/// <summary> URL of the Node Exporter endpoint. </summary>
public Uri PrometheusUri { get; set; }
/// <summary> Gets or sets the target machine name. </summary>
public string Hostname { get; set; }
/// <summary> Gets or sets the cluster sid. </summary>
public string Sid { get; set; }
/// <summary> Gets or sets the clusterName. </summary>
public string ClusterName { get; set; }
/// <summary> Gets or sets certificate preference if secure communication is enabled. </summary>
public SapSslPreference? SslPreference { get; set; }
/// <summary> Gets or sets the blob URI to SSL certificate for the HA cluster exporter. </summary>
public Uri SslCertificateUri { get; set; }
}
}