File: service_versions.py

package info (click to toggle)
python-azure 20230112%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 749,544 kB
  • sloc: python: 6,815,827; javascript: 287; makefile: 195; xml: 109; sh: 105
file content (27 lines) | stat: -rw-r--r-- 800 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from enum import Enum


class ServiceVersion(str, Enum):

    V2019_02_02 = "2019-02-02"
    V2019_07_07 = "2019-07-07"
    V2019_10_10 = "2019-10-10"
    V2019_12_12 = "2019-12-12"
    V2020_02_10 = "2020-02-10"
    V2020_04_08 = "2020-04-08"
    V2020_06_12 = "2020-06-12"
    V2020_08_04 = "2020-08-04"


service_version_map = {
    "V2019_02_02": ServiceVersion.V2019_02_02,
    "V2019_07_07": ServiceVersion.V2019_07_07,
    "V2019_10_10": ServiceVersion.V2019_10_10,
    "V2019_12_12": ServiceVersion.V2019_12_12,
    "V2020_02_10": ServiceVersion.V2020_02_10,
    "V2020_04_08": ServiceVersion.V2020_04_08,
    "V2020_06_12": ServiceVersion.V2020_06_12,
    "V2020_08_04": ServiceVersion.V2020_08_04,
    "LATEST": ServiceVersion.V2020_08_04,
    "LATEST_PLUS_1": ServiceVersion.V2020_06_12
}