-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
ServicePrincipalProperties.cs
34 lines (28 loc) · 1.45 KB
/
ServicePrincipalProperties.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.MachineLearningCompute.Models
{
/// <summary> The Azure service principal used by Kubernetes for configuring load balancers. </summary>
public partial class ServicePrincipalProperties
{
/// <summary> Initializes a new instance of <see cref="ServicePrincipalProperties"/>. </summary>
/// <param name="clientId"> The service principal client ID. </param>
/// <param name="secret"> The service principal secret. This is not returned in response of GET/PUT on the resource. To see this please call listKeys. </param>
/// <exception cref="ArgumentNullException"> <paramref name="clientId"/> or <paramref name="secret"/> is null. </exception>
public ServicePrincipalProperties(string clientId, string secret)
{
Argument.AssertNotNull(clientId, nameof(clientId));
Argument.AssertNotNull(secret, nameof(secret));
ClientId = clientId;
Secret = secret;
}
/// <summary> The service principal client ID. </summary>
public string ClientId { get; set; }
/// <summary> The service principal secret. This is not returned in response of GET/PUT on the resource. To see this please call listKeys. </summary>
public string Secret { get; set; }
}
}