# 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 msrest.serialization import Model
[docs]class SlotConfigNames(Model):
"""Class containing names for connection strings and application settings to
be marked as sticky to the slot
and not moved during swap operation
This is valid for all deployment slots under the site.
:param connection_string_names: List of connection string names
:type connection_string_names: list of str
:param app_setting_names: List of application settings names
:type app_setting_names: list of str
"""
_attribute_map = {
'connection_string_names': {'key': 'connectionStringNames', 'type': '[str]'},
'app_setting_names': {'key': 'appSettingNames', 'type': '[str]'},
}
def __init__(self, connection_string_names=None, app_setting_names=None):
self.connection_string_names = connection_string_names
self.app_setting_names = app_setting_names