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

VirtualMachineExtension.UpdateStages.WithSettings Interface

public interface WithSettings

The stage of the virtual machine extension update allowing to add or update public and private settings.

Method Summary

Modifier and Type Method and Description
VirtualMachineExtension.Update withProtectedSetting(String key, Object value)

Specifies a private settings entry.

VirtualMachineExtension.Update withProtectedSettings(HashMap<String, Object> settings)

Specifies private settings.

VirtualMachineExtension.Update withPublicSetting(String key, Object value)

Specifies a public settings entry.

VirtualMachineExtension.Update withPublicSettings(HashMap<String, Object> settings)

Specifies public settings.

Method Details

withProtectedSetting

public Update withProtectedSetting(String key, Object value)

Specifies a private settings entry.

Parameters:

key - the key of a private settings entry
value - the value of the private settings entry

Returns:

the next stage of the update

withProtectedSettings

public Update withProtectedSettings(HashMap settings)

Specifies private settings.

Parameters:

settings - the private settings

Returns:

the next stage of the update

withPublicSetting

public Update withPublicSetting(String key, Object value)

Specifies a public settings entry.

Parameters:

key - the key of a public settings entry
value - the value of the public settings entry

Returns:

the next stage of the update

withPublicSettings

public Update withPublicSettings(HashMap settings)

Specifies public settings.

Parameters:

settings - the public settings

Returns:

the next stage of the update

Applies to