public class ContainerGroupIdentity extends Object
| Constructor and Description |
|---|
ContainerGroupIdentity() |
| Modifier and Type | Method and Description |
|---|---|
String |
principalId()
Get the principalId property: The principal id of the container group identity.
|
String |
tenantId()
Get the tenantId property: The tenant id associated with the container group.
|
ResourceIdentityType |
type()
Get the type property: The type of identity used for the container group.
|
Map<String,ContainerGroupIdentityUserAssignedIdentities> |
userAssignedIdentities()
Get the userAssignedIdentities property: The list of user identities associated with the container group.
|
void |
validate()
Validates the instance.
|
ContainerGroupIdentity |
withType(ResourceIdentityType type)
Set the type property: The type of identity used for the container group.
|
ContainerGroupIdentity |
withUserAssignedIdentities(Map<String,ContainerGroupIdentityUserAssignedIdentities> userAssignedIdentities)
Set the userAssignedIdentities property: The list of user identities associated with the container group.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public ContainerGroupIdentity withType(ResourceIdentityType type)
type - the type value to set.public Map<String,ContainerGroupIdentityUserAssignedIdentities> userAssignedIdentities()
public ContainerGroupIdentity withUserAssignedIdentities(Map<String,ContainerGroupIdentityUserAssignedIdentities> userAssignedIdentities)
userAssignedIdentities - the userAssignedIdentities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.