### YamlMime:JavaType uid: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity" fullName: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity" name: "DigitalTwinsIdentity" nameWithType: "DigitalTwinsIdentity" summary: "The managed identity for the DigitalTwinsInstance." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **DigitalTwinsIdentity**" constructors: - uid: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.DigitalTwinsIdentity()" fullName: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.DigitalTwinsIdentity()" name: "DigitalTwinsIdentity()" nameWithType: "DigitalTwinsIdentity.DigitalTwinsIdentity()" syntax: "public DigitalTwinsIdentity()" methods: - uid: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.principalId()" fullName: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.principalId()" name: "principalId()" nameWithType: "DigitalTwinsIdentity.principalId()" summary: "Get the object id of the Managed Identity Resource." syntax: "public String principalId()" desc: "Get the object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity." returns: description: "the principalId value" type: "" - uid: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.tenantId()" fullName: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.tenantId()" name: "tenantId()" nameWithType: "DigitalTwinsIdentity.tenantId()" summary: "Get the tenant id of the Managed Identity Resource." syntax: "public String tenantId()" desc: "Get the tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity." returns: description: "the tenantId value" type: "" - uid: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.type()" fullName: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.type()" name: "type()" nameWithType: "DigitalTwinsIdentity.type()" summary: "Get the type of Managed Identity used by the DigitalTwinsInstance." syntax: "public DigitalTwinsIdentityType type()" desc: "Get the type of Managed Identity used by the DigitalTwinsInstance. Only SystemAssigned is supported. Possible values include: 'None', 'SystemAssigned'." returns: description: "the type value" type: "" - uid: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.withType(com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentityType)" fullName: "com.microsoft.azure.management.digitaltwins.v2020_12_01.DigitalTwinsIdentity.withType(DigitalTwinsIdentityType type)" name: "withType(DigitalTwinsIdentityType type)" nameWithType: "DigitalTwinsIdentity.withType(DigitalTwinsIdentityType type)" summary: "Set the type of Managed Identity used by the DigitalTwinsInstance." parameters: - description: "the type value to set" name: "type" type: "" syntax: "public DigitalTwinsIdentity withType(DigitalTwinsIdentityType type)" desc: "Set the type of Managed Identity used by the DigitalTwinsInstance. Only SystemAssigned is supported. Possible values include: 'None', 'SystemAssigned'." returns: description: "the DigitalTwinsIdentity object itself." type: "" type: "class" desc: "The managed identity for the DigitalTwinsInstance." metadata: {} package: "com.microsoft.azure.management.digitaltwins.v2020_12_01" artifact: com.microsoft.azure.digitaltwins.v2020_12_01:azure-mgmt-digitaltwins:1.0.0