Class ManagedClusterServicePrincipalProfile
java.lang.Object
com.microsoft.azure.management.containerservice.ManagedClusterServicePrincipalProfile
Information about a service principal identity for the cluster to use for
manipulating Azure APIs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientId()
Get the ID for the service principal.secret()
Get the secret password associated with the service principal in plain text.withClientId
(String clientId) Set the ID for the service principal.withSecret
(String secret) Set the secret password associated with the service principal in plain text.
-
Constructor Details
-
ManagedClusterServicePrincipalProfile
public ManagedClusterServicePrincipalProfile()
-
-
Method Details
-
clientId
Get the ID for the service principal.- Returns:
- the clientId value
-
withClientId
Set the ID for the service principal.- Parameters:
clientId
- the clientId value to set- Returns:
- the ManagedClusterServicePrincipalProfile object itself.
-
secret
Get the secret password associated with the service principal in plain text.- Returns:
- the secret value
-
withSecret
Set the secret password associated with the service principal in plain text.- Parameters:
secret
- the secret value to set- Returns:
- the ManagedClusterServicePrincipalProfile object itself.
-