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

VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged Interface

public interface WithWindowsCreateUnmanaged extends VirtualMachineScaleSet.DefinitionStages.WithUnmanagedCreate

The stage of a Windows virtual machine scale set definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged withAutoUpdate()

Enables automatic updates.

VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged withoutAutoUpdate()

Disables automatic updates.

VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged withoutVMAgent()

Disables the VM agent.

VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged withTimeZone(String timeZone)

Specifies the time zone for the virtual machines to use.

VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged withVMAgent()

Enables the VM agent.

VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged withWinRM(WinRMListener listener)

Specifies the WinRM listener.

Each call to this method adds the given listener to the list of VM's WinRM listeners.

Inherited Members

Creatable<T>.create() Creatable<T>.createAsync(final ServiceCallback<T> callback) Creatable<T>.createAsync() VirtualMachineScaleSet.DefinitionStages.WithExtension.defineNewExtension(String name) Indexable.key() HasName.name() VirtualMachineScaleSet.DefinitionStages.WithCapacity.withCapacity(int capacity) VirtualMachineScaleSet.DefinitionStages.WithComputerNamePrefix.withComputerNamePrefix(String namePrefix) VirtualMachineScaleSet.DefinitionStages.WithCustomData.withCustomData(String base64EncodedCustomData) VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withExistingStorageAccount(StorageAccount storageAccount) VirtualMachineScaleSet.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity() VirtualMachineScaleSet.DefinitionStages.WithManagedServiceIdentity.withManagedServiceIdentity(int tokenPort) VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withNewStorageAccount(String name) VirtualMachineScaleSet.DefinitionStages.WithStorageAccount.withNewStorageAccount(Creatable<StorageAccount> creatable) VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings.withOSDiskCaching(CachingTypes cachingType) VirtualMachineScaleSet.DefinitionStages.WithOSDiskSettings.withOSDiskName(String name) VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withoutOverProvisioning() VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withOverProvision(boolean enabled) VirtualMachineScaleSet.DefinitionStages.WithOverProvision.withOverProvisioning() Resource.DefinitionWithTags<T>.withTag(String key, String value) Resource.DefinitionWithTags<T>.withTags(Map<String, String> tags) VirtualMachineScaleSet.DefinitionStages.WithUpgradePolicy.withUpgradeMode(UpgradeMode upgradeMode)

Method Details

withAutoUpdate

public WithWindowsCreateUnmanaged withAutoUpdate()

Enables automatic updates.

Returns:

the next stage of the definition

withoutAutoUpdate

public WithWindowsCreateUnmanaged withoutAutoUpdate()

Disables automatic updates.

Returns:

the next stage of the definition

withoutVMAgent

public WithWindowsCreateUnmanaged withoutVMAgent()

Disables the VM agent.

Returns:

the next stage of the definition

withTimeZone

public WithWindowsCreateUnmanaged withTimeZone(String timeZone)

Specifies the time zone for the virtual machines to use.

Parameters:

timeZone - a time zone

Returns:

the next stage of the definition

withVMAgent

public WithWindowsCreateUnmanaged withVMAgent()

Enables the VM agent.

Returns:

the next stage of the definition

withWinRM

public WithWindowsCreateUnmanaged withWinRM(WinRMListener listener)

Specifies the WinRM listener.

Each call to this method adds the given listener to the list of VM's WinRM listeners.

Parameters:

listener - a WinRM listener

Returns:

the next stage of the definition

Applies to