Source code for azure.mgmt.cosmosdb.models.cosmos_db_enums

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from enum import Enum


[docs]class DatabaseAccountKind(str, Enum): global_document_db = "GlobalDocumentDB" mongo_db = "MongoDB" parse = "Parse"
[docs]class DatabaseAccountOfferType(str, Enum): standard = "Standard"
[docs]class DefaultConsistencyLevel(str, Enum): eventual = "Eventual" session = "Session" bounded_staleness = "BoundedStaleness" strong = "Strong" consistent_prefix = "ConsistentPrefix"
[docs]class KeyKind(str, Enum): primary = "primary" secondary = "secondary" primary_readonly = "primaryReadonly" secondary_readonly = "secondaryReadonly"
[docs]class UnitType(str, Enum): count = "Count" bytes = "Bytes" seconds = "Seconds" percent = "Percent" count_per_second = "CountPerSecond" bytes_per_second = "BytesPerSecond" milliseconds = "Milliseconds"
[docs]class PrimaryAggregationType(str, Enum): none = "None" average = "Average" total = "Total" minimimum = "Minimimum" maximum = "Maximum" last = "Last"