ManagedClusterServicePrincipalProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterServicePrincipalProfile
- com.
public final class ManagedClusterServicePrincipalProfile
Information about a service principal identity for the cluster to use for manipulating Azure APIs.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterServicePrincipalProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the client |
String |
secret()
Get the secret property: The secret password associated with the service principal in plain text. |
void |
validate()
Validates the instance. |
Managed |
withClientId(String clientId)
Set the client |
Managed |
withSecret(String secret)
Set the secret property: The secret password associated with the service principal in plain text. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterServicePrincipalProfile
public ManagedClusterServicePrincipalProfile()
Creates an instance of ManagedClusterServicePrincipalProfile class.
Method Details
clientId
public String clientId()
Get the clientId property: The ID for the service principal.
Returns:
secret
public String secret()
Get the secret property: The secret password associated with the service principal in plain text.
Returns:
validate
public void validate()
Validates the instance.
withClientId
public ManagedClusterServicePrincipalProfile withClientId(String clientId)
Set the clientId property: The ID for the service principal.
Parameters:
Returns:
withSecret
public ManagedClusterServicePrincipalProfile withSecret(String secret)
Set the secret property: The secret password associated with the service principal in plain text.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for