public final class ManagedClusterServicePrincipalProfile extends Object
| Constructor and Description |
|---|
ManagedClusterServicePrincipalProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
clientId()
Get the clientId property: The ID for the service principal.
|
String |
secret()
Get the secret property: The secret password associated with the service principal in plain text.
|
void |
validate()
Validates the instance.
|
ManagedClusterServicePrincipalProfile |
withClientId(String clientId)
Set the clientId property: The ID for the service principal.
|
ManagedClusterServicePrincipalProfile |
withSecret(String secret)
Set the secret property: The secret password associated with the service principal in plain text.
|
public ManagedClusterServicePrincipalProfile()
public String clientId()
public ManagedClusterServicePrincipalProfile withClientId(String clientId)
clientId - the clientId value to set.public String secret()
public ManagedClusterServicePrincipalProfile withSecret(String secret)
secret - the secret value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.