通过


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

ScriptShellTypes Class

public final class ScriptShellTypes
extends ExpandableStringEnum<ScriptShellTypes>

Script shell types.

Field Summary

Modifier and Type Field and Description
static final ScriptShellTypes DEFAULT

Static value Default for ScriptShellTypes.

static final ScriptShellTypes POWERSHELL7

Static value Powershell7 for ScriptShellTypes.

Constructor Summary

Constructor Description
ScriptShellTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptShellTypes value.

Method Summary

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

Creates or finds a ScriptShellTypes from its string representation.

static Collection<ScriptShellTypes> values()

Gets known ScriptShellTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final ScriptShellTypes DEFAULT

Static value Default for ScriptShellTypes.

POWERSHELL7

public static final ScriptShellTypes POWERSHELL7

Static value Powershell7 for ScriptShellTypes.

Constructor Details

ScriptShellTypes

@Deprecated
public ScriptShellTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptShellTypes value.

Method Details

fromString

public static ScriptShellTypes fromString(String name)

Creates or finds a ScriptShellTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScriptShellTypes.

values

public static Collection<ScriptShellTypes> values()

Gets known ScriptShellTypes values.

Returns:

known ScriptShellTypes values.

Applies to