### YamlMime:JavaType uid: "com.microsoft.azure.management.storage.Identity" fullName: "com.microsoft.azure.management.storage.Identity" name: "Identity" nameWithType: "Identity" summary: "Identity for the resource." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **Identity**" constructors: - uid: "com.microsoft.azure.management.storage.Identity.Identity()" fullName: "com.microsoft.azure.management.storage.Identity.Identity()" name: "Identity()" nameWithType: "Identity.Identity()" summary: "Creates an instance of Identity class." syntax: "public Identity()" desc: "Creates an instance of Identity class." methods: - uid: "com.microsoft.azure.management.storage.Identity.principalId()" fullName: "com.microsoft.azure.management.storage.Identity.principalId()" name: "principalId()" nameWithType: "Identity.principalId()" summary: "Get the principal ID of resource identity." syntax: "public String principalId()" desc: "Get the principal ID of resource identity." returns: description: "the principalId value" type: "" - uid: "com.microsoft.azure.management.storage.Identity.tenantId()" fullName: "com.microsoft.azure.management.storage.Identity.tenantId()" name: "tenantId()" nameWithType: "Identity.tenantId()" summary: "Get the tenant ID of resource." syntax: "public String tenantId()" desc: "Get the tenant ID of resource." returns: description: "the tenantId value" type: "" - uid: "com.microsoft.azure.management.storage.Identity.type()" fullName: "com.microsoft.azure.management.storage.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.storage.Identity.withType(java.lang.String)" fullName: "com.microsoft.azure.management.storage.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: "Identity for the resource." metadata: {} package: "com.microsoft.azure.management.storage" artifact: com.microsoft.azure:azure-mgmt-storage:1.41.4