次の方法で共有


OSProfile Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.OSProfile

public class OSProfile

Describes an OS profile.

Method Summary

Modifier and Type Method and Description
String adminPassword()

Get the adminPassword value.

String adminUsername()

Get the adminUsername value.

String computerName()

Get the computerName value.

String customData()

Get the customData value.

LinuxConfiguration linuxConfiguration()

Get the linuxConfiguration value.

List<VaultSecretGroup> secrets()

Get the secrets value.

WindowsConfiguration windowsConfiguration()

Get the windowsConfiguration value.

OSProfile withAdminPassword(String adminPassword)

Set the adminPassword value.

OSProfile withAdminUsername(String adminUsername)

Set the adminUsername value.

OSProfile withComputerName(String computerName)

Set the computerName value.

OSProfile withCustomData(String customData)

Set the customData value.

OSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)

Set the linuxConfiguration value.

OSProfile withSecrets(List<VaultSecretGroup> secrets)

Set the secrets value.

OSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)

Set the windowsConfiguration value.

Method Details

adminPassword

public String adminPassword()

Get the adminPassword value.

Returns:

the adminPassword value

adminUsername

public String adminUsername()

Get the adminUsername value.

Returns:

the adminUsername value

computerName

public String computerName()

Get the computerName value.

Returns:

the computerName value

customData

public String customData()

Get the customData value.

Returns:

the customData value

linuxConfiguration

public LinuxConfiguration linuxConfiguration()

Get the linuxConfiguration value.

Returns:

the linuxConfiguration value

secrets

public List secrets()

Get the secrets value.

Returns:

the secrets value

windowsConfiguration

public WindowsConfiguration windowsConfiguration()

Get the windowsConfiguration value.

Returns:

the windowsConfiguration value

withAdminPassword

public OSProfile withAdminPassword(String adminPassword)

Set the adminPassword value.

Parameters:

adminPassword - the adminPassword value to set

Returns:

the OSProfile object itself.

withAdminUsername

public OSProfile withAdminUsername(String adminUsername)

Set the adminUsername value.

Parameters:

adminUsername - the adminUsername value to set

Returns:

the OSProfile object itself.

withComputerName

public OSProfile withComputerName(String computerName)

Set the computerName value.

Parameters:

computerName - the computerName value to set

Returns:

the OSProfile object itself.

withCustomData

public OSProfile withCustomData(String customData)

Set the customData value.

Parameters:

customData - the customData value to set

Returns:

the OSProfile object itself.

withLinuxConfiguration

public OSProfile withLinuxConfiguration(LinuxConfiguration linuxConfiguration)

Set the linuxConfiguration value.

Parameters:

linuxConfiguration - the linuxConfiguration value to set

Returns:

the OSProfile object itself.

withSecrets

public OSProfile withSecrets(List secrets)

Set the secrets value.

Parameters:

secrets - the secrets value to set

Returns:

the OSProfile object itself.

withWindowsConfiguration

public OSProfile withWindowsConfiguration(WindowsConfiguration windowsConfiguration)

Set the windowsConfiguration value.

Parameters:

windowsConfiguration - the windowsConfiguration value to set

Returns:

the OSProfile object itself.

Applies to