public class ManagedServiceIdentity extends Object
| Constructor and Description |
|---|
ManagedServiceIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
principalId()
Get the principal id of the system assigned identity.
|
String |
tenantId()
Get the tenant id of the system assigned identity.
|
ResourceIdentityType |
type()
Get the type of identity used for the resource.
|
Map<String,ManagedServiceIdentityUserAssignedIdentitiesValue> |
userAssignedIdentities()
Get the list of user identities associated with resource.
|
ManagedServiceIdentity |
withType(ResourceIdentityType type)
Set the type of identity used for the resource.
|
ManagedServiceIdentity |
withUserAssignedIdentities(Map<String,ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities)
Set the list of user identities associated with resource.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public ManagedServiceIdentity withType(ResourceIdentityType type)
type - the type value to setpublic Map<String,ManagedServiceIdentityUserAssignedIdentitiesValue> userAssignedIdentities()
public ManagedServiceIdentity withUserAssignedIdentities(Map<String,ManagedServiceIdentityUserAssignedIdentitiesValue> 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.
*/