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

VirtualMachineExtension.UpdateDefinitionStages.WithSettings<ParentT> Interface

Type Parameters

ParentT

the stage of the parent update to return to after attaching this definition

public interface WithSettings

The stage of the virtual machine extension definition allowing to specify the public and private settings.

Method Summary

Modifier and Type Method and Description
VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withProtectedSetting(String key, Object value)

Specifies a private settings entry.

VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withProtectedSettings(HashMap<String, Object> settings)

Specifies private settings.

VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withPublicSetting(String key, Object value)

Specifies a public settings entry.

VirtualMachineExtension.UpdateDefinitionStages.WithAttach<ParentT> withPublicSettings(HashMap<String, Object> settings)

Specifies public settings.

Method Details

withProtectedSetting

public WithAttach 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 definition

withProtectedSettings

public WithAttach withProtectedSettings(HashMap settings)

Specifies private settings.

Parameters:

settings - the private settings

Returns:

the next stage of the definition

withPublicSetting

public WithAttach 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 definition

withPublicSettings

public WithAttach withPublicSettings(HashMap settings)

Specifies public settings.

Parameters:

settings - the public settings

Returns:

the next stage of the definition

Applies to