ManagedClusterServicePrincipalProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterServicePrincipalProfile
- com.
Implements
public final class ManagedClusterServicePrincipalProfile
implements JsonSerializable<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 |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
secret()
Get the secret property: The secret password associated with the service principal in plain text. |
Json |
toJson(JsonWriter jsonWriter) |
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:
fromJson
public static ManagedClusterServicePrincipalProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterServicePrincipalProfile from the JsonReader.
Parameters:
Returns:
Throws:
secret
public String secret()
Get the secret property: The secret password associated with the service principal in plain text.
Returns:
toJson
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