Share via


ResourceIdentityType Class

public final class ResourceIdentityType
extends ExpandableStringEnum<ResourceIdentityType>

The type of identity used for the resource mover service.

Field Summary

Modifier and Type Field and Description
static final ResourceIdentityType NONE

Static value None for ResourceIdentityType.

static final ResourceIdentityType SYSTEM_ASSIGNED

Static value SystemAssigned for ResourceIdentityType.

static final ResourceIdentityType USER_ASSIGNED

Static value UserAssigned for ResourceIdentityType.

Constructor Summary

Constructor Description
ResourceIdentityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceIdentityType value.

Method Summary

Modifier and Type Method and Description
static ResourceIdentityType fromString(String name)

Creates or finds a ResourceIdentityType from its string representation.

static Collection<ResourceIdentityType> values()

Gets known ResourceIdentityType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final ResourceIdentityType NONE

Static value None for ResourceIdentityType.

SYSTEM_ASSIGNED

public static final ResourceIdentityType SYSTEM_ASSIGNED

Static value SystemAssigned for ResourceIdentityType.

USER_ASSIGNED

public static final ResourceIdentityType USER_ASSIGNED

Static value UserAssigned for ResourceIdentityType.

Constructor Details

ResourceIdentityType

@Deprecated
public ResourceIdentityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResourceIdentityType value.

Method Details

fromString

public static ResourceIdentityType fromString(String name)

Creates or finds a ResourceIdentityType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceIdentityType.

values

public static Collection<ResourceIdentityType> values()

Gets known ResourceIdentityType values.

Returns:

known ResourceIdentityType values.

Applies to