IdentityType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. search. models. IdentityType
- com.
- com.
public final class IdentityType
extends ExpandableStringEnum<IdentityType>
The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Identity |
NONE
Indicates that any identity associated with the search service needs to be removed. |
|
static final
Identity |
SYSTEM_ASSIGNED
Indicates that system-assigned identity for the search service will be enabled. |
|
static final
Identity |
SYSTEM_ASSIGNED_USER_ASSIGNED
Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities. |
|
static final
Identity |
USER_ASSIGNED
Indicates that one or more user assigned identities will be assigned to the search service. |
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
Indicates that any identity associated with the search service needs to be removed.
SYSTEM_ASSIGNED
public static final IdentityType SYSTEM_ASSIGNED
Indicates that system-assigned identity for the search service will be enabled.
SYSTEM_ASSIGNED_USER_ASSIGNED
public static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities.
USER_ASSIGNED
public static final IdentityType USER_ASSIGNED
Indicates that one or more user assigned identities will be assigned to the search service.
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: