public final class ServicePrincipalCredentialTypeProperties extends Object
| Constructor and Description |
|---|
ServicePrincipalCredentialTypeProperties() |
| Modifier and Type | Method and Description |
|---|---|
Object |
servicePrincipalId()
Get the servicePrincipalId property: The app ID of the service principal used to authenticate.
|
AzureKeyVaultSecretReference |
servicePrincipalKey()
Get the servicePrincipalKey property: The key of the service principal used to authenticate.
|
Object |
tenant()
Get the tenant property: The ID of the tenant to which the service principal belongs.
|
void |
validate()
Validates the instance.
|
ServicePrincipalCredentialTypeProperties |
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The app ID of the service principal used to authenticate.
|
ServicePrincipalCredentialTypeProperties |
withServicePrincipalKey(AzureKeyVaultSecretReference servicePrincipalKey)
Set the servicePrincipalKey property: The key of the service principal used to authenticate.
|
ServicePrincipalCredentialTypeProperties |
withTenant(Object tenant)
Set the tenant property: The ID of the tenant to which the service principal belongs.
|
public ServicePrincipalCredentialTypeProperties()
public Object servicePrincipalId()
public ServicePrincipalCredentialTypeProperties withServicePrincipalId(Object servicePrincipalId)
servicePrincipalId - the servicePrincipalId value to set.public AzureKeyVaultSecretReference servicePrincipalKey()
public ServicePrincipalCredentialTypeProperties withServicePrincipalKey(AzureKeyVaultSecretReference servicePrincipalKey)
servicePrincipalKey - the servicePrincipalKey value to set.public Object tenant()
public ServicePrincipalCredentialTypeProperties withTenant(Object tenant)
tenant - the tenant value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.