Class IdentityProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.IdentityProperties
Properties of a managed identity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the clientSecretUrl property: The client secret URL of the identity.Get the principalId property: The principal id of resource identity.tenantId()
Get the tenantId property: The tenant identifier of resource.type()
Get the type property: Managed identity.void
validate()
Validates the instance.withClientSecretUrl
(String clientSecretUrl) Set the clientSecretUrl property: The client secret URL of the identity.withPrincipalId
(String principalId) Set the principalId property: The principal id of resource identity.withTenantId
(String tenantId) Set the tenantId property: The tenant identifier of resource.withType
(ManagedIdentityType type) Set the type property: Managed identity.
-
Constructor Details
-
IdentityProperties
public IdentityProperties()Creates an instance of IdentityProperties class.
-
-
Method Details
-
type
Get the type property: Managed identity.- Returns:
- the type value.
-
withType
Set the type property: Managed identity.- Parameters:
type
- the type value to set.- Returns:
- the IdentityProperties object itself.
-
principalId
Get the principalId property: The principal id of resource identity.- Returns:
- the principalId value.
-
withPrincipalId
Set the principalId property: The principal id of resource identity.- Parameters:
principalId
- the principalId value to set.- Returns:
- the IdentityProperties object itself.
-
tenantId
Get the tenantId property: The tenant identifier of resource.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The tenant identifier of resource.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the IdentityProperties object itself.
-
clientSecretUrl
Get the clientSecretUrl property: The client secret URL of the identity.- Returns:
- the clientSecretUrl value.
-
withClientSecretUrl
Set the clientSecretUrl property: The client secret URL of the identity.- Parameters:
clientSecretUrl
- the clientSecretUrl value to set.- Returns:
- the IdentityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-