IdentityType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventgrid. models. IdentityType
- com.
- com.
public final class IdentityType
extends ExpandableStringEnum<IdentityType>
The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Identity |
NONE
Static value None for Identity |
|
static final
Identity |
SYSTEM_ASSIGNED
Static value System |
|
static final
Identity |
SYSTEM_ASSIGNED_USER_ASSIGNED
Static value System |
|
static final
Identity |
USER_ASSIGNED
Static value User |
Constructor Summary
| Constructor | Description |
|---|---|
| IdentityType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Identity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Identity |
fromString(String name)
Creates or finds a Identity |
|
static
Collection<Identity |
values()
Gets known Identity |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final IdentityType NONE
Static value None for IdentityType.
SYSTEM_ASSIGNED
public static final IdentityType SYSTEM_ASSIGNED
Static value SystemAssigned for IdentityType.
SYSTEM_ASSIGNED_USER_ASSIGNED
public static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
Static value SystemAssigned, UserAssigned for IdentityType.
USER_ASSIGNED
public static final IdentityType USER_ASSIGNED
Static value UserAssigned for IdentityType.
Constructor Details
IdentityType
@Deprecated
public IdentityType()
Deprecated
Creates a new instance of IdentityType value.
Method Details
fromString
public static IdentityType fromString(String name)
Creates or finds a IdentityType from its string representation.
Parameters:
Returns:
values
public static Collection<IdentityType> values()
Gets known IdentityType values.
Returns: