### YamlMime:JavaType uid: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity" fullName: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity" name: "Identity" nameWithType: "Identity" summary: "Managed Identity." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **Identity**" constructors: - uid: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.Identity()" fullName: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.Identity()" name: "Identity()" nameWithType: "Identity.Identity()" syntax: "public Identity()" methods: - uid: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.principalId()" fullName: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.principalId()" name: "principalId()" nameWithType: "Identity.principalId()" summary: "Get the identity's principal id." syntax: "public String principalId()" desc: "Get the identity's principal id." returns: description: "the principalId value" type: "" - uid: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.tenantId()" fullName: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.tenantId()" name: "tenantId()" nameWithType: "Identity.tenantId()" summary: "Get the identity's tenant id." syntax: "public String tenantId()" desc: "Get the identity's tenant id." returns: description: "the tenantId value" type: "" - uid: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.type()" fullName: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.type()" name: "type()" nameWithType: "Identity.type()" summary: "Get the identity type." syntax: "public String type()" desc: "Get the identity type." returns: description: "the type value" type: "" - uid: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.withType(java.lang.String)" fullName: "com.microsoft.azure.management.hybridcompute.v2020_08_02.Identity.withType(String type)" name: "withType(String type)" nameWithType: "Identity.withType(String type)" summary: "Set the identity type." parameters: - description: "the type value to set" name: "type" type: "" syntax: "public Identity withType(String type)" desc: "Set the identity type." returns: description: "the Identity object itself." type: "" type: "class" desc: "Managed Identity." metadata: {} package: "com.microsoft.azure.management.hybridcompute.v2020_08_02" artifact: com.microsoft.azure.hybridcompute.v2020_08_02:azure-mgmt-hybridcompute:1.0.0-beta