public class Identity extends Object
| Constructor and Description |
|---|
Identity() |
| Modifier and Type | Method and Description |
|---|---|
String |
principalId()
Get the principal ID of resource identity.
|
String |
tenantId()
Get the tenant ID of resource.
|
ResourceIdentityType |
type()
Get the identity type.
|
Map<String,IdentityUserAssignedIdentitiesValue> |
userAssignedIdentities()
Get the list of user identities associated with the resource.
|
Identity |
withType(ResourceIdentityType type)
Set the identity type.
|
Identity |
withUserAssignedIdentities(Map<String,IdentityUserAssignedIdentitiesValue> userAssignedIdentities)
Set the list of user identities associated with the resource.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public Identity withType(ResourceIdentityType type)
type - the type value to setpublic Map<String,IdentityUserAssignedIdentitiesValue> userAssignedIdentities()
public Identity withUserAssignedIdentities(Map<String,IdentityUserAssignedIdentitiesValue> userAssignedIdentities)
userAssignedIdentities - the userAssignedIdentities value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/