次の方法で共有


VirtualMachineScaleSetExtension.UpdateStages.WithSettings Interface

public interface WithSettings

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

Method Summary

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

Specifies a private settings entry.

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

Specifies private settings.

VirtualMachineScaleSetExtension.Update withPublicSetting(String key, Object value)

Specifies a public settings entry.

VirtualMachineScaleSetExtension.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