### YamlMime:JavaType
uid: "com.azure.resourcemanager.eventhubs.models.Identity"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity"
name: "Identity"
nameWithType: "Identity"
summary: "Properties to configure Identity for Bring your Own Keys."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public class **Identity**"
constructors:
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.Identity()"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.Identity()"
name: "Identity()"
nameWithType: "Identity.Identity()"
syntax: "public Identity()"
methods:
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.principalId()"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.principalId()"
name: "principalId()"
nameWithType: "Identity.principalId()"
summary: "Get the principalId property: ObjectId from the KeyVault."
syntax: "public String principalId()"
desc: "Get the principalId property: ObjectId from the KeyVault."
returns:
description: "the principalId value."
type: "String"
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.tenantId()"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.tenantId()"
name: "tenantId()"
nameWithType: "Identity.tenantId()"
summary: "Get the tenantId property: TenantId from the KeyVault."
syntax: "public String tenantId()"
desc: "Get the tenantId property: TenantId from the KeyVault."
returns:
description: "the tenantId value."
type: "String"
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.type()"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.type()"
name: "type()"
nameWithType: "Identity.type()"
summary: "Get the type property: Type of managed service identity."
syntax: "public ManagedServiceIdentityType type()"
desc: "Get the type property: Type of managed service identity."
returns:
description: "the type value."
type: ""
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.userAssignedIdentities()"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.userAssignedIdentities()"
name: "userAssignedIdentities()"
nameWithType: "Identity.userAssignedIdentities()"
summary: "Get the userAssignedIdentities property: Properties for User Assigned Identities."
syntax: "public Map userAssignedIdentities()"
desc: "Get the userAssignedIdentities property: Properties for User Assigned Identities."
returns:
description: "the userAssignedIdentities value."
type: "Map<String,>"
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.validate()"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.validate()"
name: "validate()"
nameWithType: "Identity.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.withType(com.azure.resourcemanager.eventhubs.models.ManagedServiceIdentityType)"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.withType(ManagedServiceIdentityType type)"
name: "withType(ManagedServiceIdentityType type)"
nameWithType: "Identity.withType(ManagedServiceIdentityType type)"
summary: "Set the type property: Type of managed service identity."
parameters:
- description: "the type value to set."
name: "type"
type: ""
syntax: "public Identity withType(ManagedServiceIdentityType type)"
desc: "Set the type property: Type of managed service identity."
returns:
description: "the Identity object itself."
type: ""
- uid: "com.azure.resourcemanager.eventhubs.models.Identity.withUserAssignedIdentities(java.util.Map)"
fullName: "com.azure.resourcemanager.eventhubs.models.Identity.withUserAssignedIdentities(Map userAssignedIdentities)"
name: "withUserAssignedIdentities(Map userAssignedIdentities)"
nameWithType: "Identity.withUserAssignedIdentities(Map userAssignedIdentities)"
summary: "Set the userAssignedIdentities property: Properties for User Assigned Identities."
parameters:
- description: "the userAssignedIdentities value to set."
name: "userAssignedIdentities"
type: "Map<String,>"
syntax: "public Identity withUserAssignedIdentities(Map userAssignedIdentities)"
desc: "Set the userAssignedIdentities property: Properties for User Assigned Identities."
returns:
description: "the Identity object itself."
type: ""
type: "class"
desc: "Properties to configure Identity for Bring your Own Keys."
metadata: {}
package: "com.azure.resourcemanager.eventhubs.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-eventhubs:2.24.0