你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OperationType Class

public final class OperationType
extends ExpandableStringEnum<OperationType>

Enum to indicate the operation type of the event.

Field Summary

Modifier and Type Field and Description
static final OperationType CREATE

Static value Create for OperationType.

static final OperationType DELETE

Static value Delete for OperationType.

static final OperationType RECREATE

Static value Recreate for OperationType.

static final OperationType REPLACE

Static value Replace for OperationType.

static final OperationType SYSTEM_OPERATION

Static value SystemOperation for OperationType.

Constructor Summary

Constructor Description
OperationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperationType value.

Method Summary

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

Creates or finds a OperationType from its string representation.

static Collection<OperationType> values()

Gets known OperationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATE

public static final OperationType CREATE

Static value Create for OperationType.

DELETE

public static final OperationType DELETE

Static value Delete for OperationType.

RECREATE

public static final OperationType RECREATE

Static value Recreate for OperationType.

REPLACE

public static final OperationType REPLACE

Static value Replace for OperationType.

SYSTEM_OPERATION

public static final OperationType SYSTEM_OPERATION

Static value SystemOperation for OperationType.

Constructor Details

OperationType

@Deprecated
public OperationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperationType value.

Method Details

fromString

public static OperationType fromString(String name)

Creates or finds a OperationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperationType.

values

public static Collection<OperationType> values()

Gets known OperationType values.

Returns:

known OperationType values.

Applies to