...

Source file src/github.com/Microsoft/hcsshim/osversion/windowsbuilds.go

Documentation: github.com/Microsoft/hcsshim/osversion

     1  package osversion
     2  
     3  // Windows Client and Server build numbers.
     4  //
     5  // See:
     6  // https://learn.microsoft.com/en-us/windows/release-health/release-information
     7  // https://learn.microsoft.com/en-us/windows/release-health/windows-server-release-info
     8  // https://learn.microsoft.com/en-us/windows/release-health/windows11-release-information
     9  const (
    10  	// RS1 (version 1607, codename "Redstone 1") corresponds to Windows Server
    11  	// 2016 (ltsc2016) and Windows 10 (Anniversary Update).
    12  	RS1 = 14393
    13  	// V1607 (version 1607, codename "Redstone 1") is an alias for [RS1].
    14  	V1607 = RS1
    15  	// LTSC2016 (Windows Server 2016) is an alias for [RS1].
    16  	LTSC2016 = RS1
    17  
    18  	// RS2 (version 1703, codename "Redstone 2") was a client-only update, and
    19  	// corresponds to Windows 10 (Creators Update).
    20  	RS2 = 15063
    21  	// V1703 (version 1703, codename "Redstone 2") is an alias for [RS2].
    22  	V1703 = RS2
    23  
    24  	// RS3 (version 1709, codename "Redstone 3") corresponds to Windows Server
    25  	// 1709 (Semi-Annual Channel (SAC)), and Windows 10 (Fall Creators Update).
    26  	RS3 = 16299
    27  	// V1709 (version 1709, codename "Redstone 3") is an alias for [RS3].
    28  	V1709 = RS3
    29  
    30  	// RS4 (version 1803, codename "Redstone 4") corresponds to Windows Server
    31  	// 1803 (Semi-Annual Channel (SAC)), and Windows 10 (April 2018 Update).
    32  	RS4 = 17134
    33  	// V1803 (version 1803, codename "Redstone 4") is an alias for [RS4].
    34  	V1803 = RS4
    35  
    36  	// RS5 (version 1809, codename "Redstone 5") corresponds to Windows Server
    37  	// 2019 (ltsc2019), and Windows 10 (October 2018 Update).
    38  	RS5 = 17763
    39  	// V1809 (version 1809, codename "Redstone 5") is an alias for [RS5].
    40  	V1809 = RS5
    41  	// LTSC2019 (Windows Server 2019) is an alias for [RS5].
    42  	LTSC2019 = RS5
    43  
    44  	// V19H1 (version 1903, codename 19H1) corresponds to Windows Server 1903 (semi-annual
    45  	// channel).
    46  	V19H1 = 18362
    47  	// V1903 (version 1903) is an alias for [V19H1].
    48  	V1903 = V19H1
    49  
    50  	// V19H2 (version 1909, codename 19H2) corresponds to Windows Server 1909 (semi-annual
    51  	// channel).
    52  	V19H2 = 18363
    53  	// V1909 (version 1909) is an alias for [V19H2].
    54  	V1909 = V19H2
    55  
    56  	// V20H1 (version 2004, codename 20H1) corresponds to Windows Server 2004 (semi-annual
    57  	// channel).
    58  	V20H1 = 19041
    59  	// V2004 (version 2004) is an alias for [V20H1].
    60  	V2004 = V20H1
    61  
    62  	// V20H2 corresponds to Windows Server 20H2 (semi-annual channel).
    63  	V20H2 = 19042
    64  
    65  	// V21H1 corresponds to Windows Server 21H1 (semi-annual channel).
    66  	V21H1 = 19043
    67  
    68  	// V21H2Win10 corresponds to Windows 10 (November 2021 Update).
    69  	V21H2Win10 = 19044
    70  
    71  	// V21H2Server corresponds to Windows Server 2022 (ltsc2022).
    72  	V21H2Server = 20348
    73  	// LTSC2022 (Windows Server 2022) is an alias for [V21H2Server]
    74  	LTSC2022 = V21H2Server
    75  
    76  	// V21H2Win11 corresponds to Windows 11 (original release).
    77  	V21H2Win11 = 22000
    78  
    79  	// V22H2Win10 corresponds to Windows 10 (2022 Update).
    80  	V22H2Win10 = 19045
    81  
    82  	// V22H2Win11 corresponds to Windows 11 (2022 Update).
    83  	V22H2Win11 = 22621
    84  )
    85  

View as plain text