Source code for azure.mgmt.containerinstance.models._container_instance_management_client_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
from azure.core import CaseInsensitiveEnumMeta


[docs]class ContainerGroupIpAddressType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Specifies if the IP is exposed to the public internet or private VNET.""" PUBLIC = "Public" PRIVATE = "Private"
[docs]class ContainerGroupNetworkProtocol(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The protocol associated with the port.""" TCP = "TCP" UDP = "UDP"
[docs]class ContainerGroupPriority(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The priority of the container group.""" REGULAR = "Regular" SPOT = "Spot"
[docs]class ContainerGroupRestartPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Restart policy for all containers within the container group. * ``Always`` Always restart * ``OnFailure`` Restart on failure * ``Never`` Never restart. """ ALWAYS = "Always" ON_FAILURE = "OnFailure" NEVER = "Never"
[docs]class ContainerGroupSku(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The container group SKU.""" STANDARD = "Standard" DEDICATED = "Dedicated" CONFIDENTIAL = "Confidential"
[docs]class ContainerInstanceOperationsOrigin(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The intended executor of the operation.""" USER = "User" SYSTEM = "System"
[docs]class ContainerNetworkProtocol(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The protocol associated with the port.""" TCP = "TCP" UDP = "UDP"
[docs]class DnsNameLabelReusePolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant. """ UNSECURE = "Unsecure" TENANT_REUSE = "TenantReuse" SUBSCRIPTION_REUSE = "SubscriptionReuse" RESOURCE_GROUP_REUSE = "ResourceGroupReuse" NOREUSE = "Noreuse"
[docs]class GpuSku(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The SKU of the GPU resource.""" K80 = "K80" P100 = "P100" V100 = "V100"
[docs]class LogAnalyticsLogType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The log type to be used.""" CONTAINER_INSIGHTS = "ContainerInsights" CONTAINER_INSTANCE_LOGS = "ContainerInstanceLogs"
[docs]class OperatingSystemTypes(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The operating system type required by the containers in the container group.""" WINDOWS = "Windows" LINUX = "Linux"
[docs]class ResourceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group. """ SYSTEM_ASSIGNED = "SystemAssigned" USER_ASSIGNED = "UserAssigned" SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" NONE = "None"
[docs]class Scheme(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The scheme.""" HTTP = "http" HTTPS = "https"