你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContainerServiceServicePrincipalProfile Class
- java.
lang. Object - com.
microsoft. azure. management. compute. ContainerServiceServicePrincipalProfile
- com.
public class ContainerServiceServicePrincipalProfile
Information about a service principal identity for the cluster to use for manipulating Azure APIs.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientId()
Get the clientId value. |
String |
secret()
Get the secret value. |
Container |
withClientId(String clientId)
Set the clientId value. |
Container |
withSecret(String secret)
Set the secret value. |
Method Details
clientId
public String clientId()
Get the clientId value.
Returns:
the clientId value
secret
public String secret()
Get the secret value.
Returns:
the secret value
withClientId
public ContainerServiceServicePrincipalProfile withClientId(String clientId)
Set the clientId value.
Parameters:
clientId
- the clientId value to set
Returns:
the ContainerServiceServicePrincipalProfile object itself.
withSecret
public ContainerServiceServicePrincipalProfile withSecret(String secret)
Set the secret value.
Parameters:
secret
- the secret value to set
Returns:
the ContainerServiceServicePrincipalProfile object itself.