Class Identity
java.lang.Object
com.azure.resourcemanager.eventhubs.models.Identity
Properties to configure Identity for Bring your Own Keys.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: ObjectId from the KeyVault.tenantId()
Get the tenantId property: TenantId from the KeyVault.type()
Get the type property: Type of managed service identity.Get the userAssignedIdentities property: Properties for User Assigned Identities.void
validate()
Validates the instance.Set the type property: Type of managed service identity.withUserAssignedIdentities
(Map<String, UserAssignedIdentity> userAssignedIdentities) Set the userAssignedIdentities property: Properties for User Assigned Identities.
-
Constructor Details
-
Identity
public Identity()
-
-
Method Details
-
principalId
Get the principalId property: ObjectId from the KeyVault.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: TenantId from the KeyVault.- Returns:
- the tenantId value.
-
type
Get the type property: Type of managed service identity.- Returns:
- the type value.
-
withType
Set the type property: Type of managed service identity.- Parameters:
type
- the type value to set.- Returns:
- the Identity object itself.
-
userAssignedIdentities
Get the userAssignedIdentities property: Properties for User Assigned Identities.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
Set the userAssignedIdentities property: Properties for User Assigned Identities.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the Identity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-