Class ContainerServiceServicePrincipalProfile
Information about a service principal identity for the cluster to use for manipulating Azure APIs.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class ContainerServiceServicePrincipalProfile
Constructors
ContainerServiceServicePrincipalProfile()
Initializes a new instance of the ContainerServiceServicePrincipalProfile class.
Declaration
public ContainerServiceServicePrincipalProfile ();
ContainerServiceServicePrincipalProfile(String, String)
Initializes a new instance of the ContainerServiceServicePrincipalProfile class.
Declaration
public ContainerServiceServicePrincipalProfile (string clientId, string secret);
Parameters
|
String
clientId
The ID for the service principal. |
|
String
secret
The secret password associated with the service principal. |
Properties
ClientId
Gets or sets the ID for the service principal.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="clientId")]
public string ClientId { get; set; }
Property Value
|
String
|
Secret
Gets or sets the secret password associated with the service principal.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="secret")]
public string Secret { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |