Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .endpoint_info_py3 import EndpointInfo
class ProductionOrStagingEndpointInfo(EndpointInfo):
"""ProductionOrStagingEndpointInfo.
:param version_id: The version ID to publish.
:type version_id: str
:param is_staging: Indicates if the staging slot should be used, instead
of the Production one.
:type is_staging: bool
:param endpoint_url: The Runtime endpoint URL for this model version.
:type endpoint_url: str
:param region: The target region that the application is published to.
:type region: str
:param assigned_endpoint_key: The endpoint key.
:type assigned_endpoint_key: str
:param endpoint_region: The endpoint's region.
:type endpoint_region: str
:param failed_regions: Regions where publishing failed.