Class UpdateConfiguration
java.lang.Object
com.azure.resourcemanager.automation.models.UpdateConfiguration
Update specific properties of the software update configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureVirtualMachines property: List of azure resource Ids for azure virtual machines targeted by the software update configuration.duration()
Get the duration property: Maximum time allowed for the software update configuration run.linux()
Get the linux property: Linux specific update configuration.Get the nonAzureComputerNames property: List of names of non-azure machines targeted by the software update configuration.Get the operatingSystem property: operating system of target machines.targets()
Get the targets property: Group targets for the software update configuration.void
validate()
Validates the instance.windows()
Get the windows property: Windows specific update configuration.withAzureVirtualMachines
(List<String> azureVirtualMachines) Set the azureVirtualMachines property: List of azure resource Ids for azure virtual machines targeted by the software update configuration.withDuration
(Duration duration) Set the duration property: Maximum time allowed for the software update configuration run.withLinux
(LinuxProperties linux) Set the linux property: Linux specific update configuration.withNonAzureComputerNames
(List<String> nonAzureComputerNames) Set the nonAzureComputerNames property: List of names of non-azure machines targeted by the software update configuration.withOperatingSystem
(OperatingSystemType operatingSystem) Set the operatingSystem property: operating system of target machines.withTargets
(TargetProperties targets) Set the targets property: Group targets for the software update configuration.withWindows
(WindowsProperties windows) Set the windows property: Windows specific update configuration.
-
Constructor Details
-
UpdateConfiguration
public UpdateConfiguration()
-
-
Method Details
-
operatingSystem
Get the operatingSystem property: operating system of target machines.- Returns:
- the operatingSystem value.
-
withOperatingSystem
Set the operatingSystem property: operating system of target machines.- Parameters:
operatingSystem
- the operatingSystem value to set.- Returns:
- the UpdateConfiguration object itself.
-
windows
Get the windows property: Windows specific update configuration.- Returns:
- the windows value.
-
withWindows
Set the windows property: Windows specific update configuration.- Parameters:
windows
- the windows value to set.- Returns:
- the UpdateConfiguration object itself.
-
linux
Get the linux property: Linux specific update configuration.- Returns:
- the linux value.
-
withLinux
Set the linux property: Linux specific update configuration.- Parameters:
linux
- the linux value to set.- Returns:
- the UpdateConfiguration object itself.
-
duration
Get the duration property: Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601.- Returns:
- the duration value.
-
withDuration
Set the duration property: Maximum time allowed for the software update configuration run. Duration needs to be specified using the format PT[n]H[n]M[n]S as per ISO8601.- Parameters:
duration
- the duration value to set.- Returns:
- the UpdateConfiguration object itself.
-
azureVirtualMachines
Get the azureVirtualMachines property: List of azure resource Ids for azure virtual machines targeted by the software update configuration.- Returns:
- the azureVirtualMachines value.
-
withAzureVirtualMachines
Set the azureVirtualMachines property: List of azure resource Ids for azure virtual machines targeted by the software update configuration.- Parameters:
azureVirtualMachines
- the azureVirtualMachines value to set.- Returns:
- the UpdateConfiguration object itself.
-
nonAzureComputerNames
Get the nonAzureComputerNames property: List of names of non-azure machines targeted by the software update configuration.- Returns:
- the nonAzureComputerNames value.
-
withNonAzureComputerNames
Set the nonAzureComputerNames property: List of names of non-azure machines targeted by the software update configuration.- Parameters:
nonAzureComputerNames
- the nonAzureComputerNames value to set.- Returns:
- the UpdateConfiguration object itself.
-
targets
Get the targets property: Group targets for the software update configuration.- Returns:
- the targets value.
-
withTargets
Set the targets property: Group targets for the software update configuration.- Parameters:
targets
- the targets value to set.- Returns:
- the UpdateConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-