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