ArmComputeModelFactory.WindowsParameters Method

Definition

public static Azure.ResourceManager.Compute.Models.WindowsParameters WindowsParameters(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.VmGuestPatchClassificationForWindows> classificationsToInclude = default, System.Collections.Generic.IEnumerable<string> kbNumbersToInclude = default, System.Collections.Generic.IEnumerable<string> kbNumbersToExclude = default, bool? excludeKbsRequiringReboot = default, DateTimeOffset? maxPatchPublishOn = default, System.Collections.Generic.IEnumerable<string> patchNameMasksToInclude = default, System.Collections.Generic.IEnumerable<string> patchNameMasksToExclude = default);
static member WindowsParameters : seq<Azure.ResourceManager.Compute.Models.VmGuestPatchClassificationForWindows> * seq<string> * seq<string> * Nullable<bool> * Nullable<DateTimeOffset> * seq<string> * seq<string> -> Azure.ResourceManager.Compute.Models.WindowsParameters
Public Shared Function WindowsParameters (Optional classificationsToInclude As IEnumerable(Of VmGuestPatchClassificationForWindows) = Nothing, Optional kbNumbersToInclude As IEnumerable(Of String) = Nothing, Optional kbNumbersToExclude As IEnumerable(Of String) = Nothing, Optional excludeKbsRequiringReboot As Nullable(Of Boolean) = Nothing, Optional maxPatchPublishOn As Nullable(Of DateTimeOffset) = Nothing, Optional patchNameMasksToInclude As IEnumerable(Of String) = Nothing, Optional patchNameMasksToExclude As IEnumerable(Of String) = Nothing) As WindowsParameters

Parameters

classificationsToInclude
IEnumerable<VmGuestPatchClassificationForWindows>

The update classifications to select when installing patches for Windows.

kbNumbersToInclude
IEnumerable<String>

Kbs to include in the patch operation.

kbNumbersToExclude
IEnumerable<String>

Kbs to exclude in the patch operation.

excludeKbsRequiringReboot
Nullable<Boolean>

Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.

maxPatchPublishOn
Nullable<DateTimeOffset>

This is used to install patches that were published on or before this given max published date.

patchNameMasksToInclude
IEnumerable<String>

This is used to include patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.

patchNameMasksToExclude
IEnumerable<String>

This is used to exclude patches that match the given patch name masks. Alphanumeric strings and wildcard expressions consisting of * and ? are only supported as input values in the list. Null, empty and only whitespaces strings as inputs values are not supported.

Returns

A new WindowsParameters instance for mocking.

Applies to