Source code for azure.mgmt.network.v2018_02_01.models.connection_monitor_query_result_py3

# 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 ConnectionMonitorQueryResult(Model): """List of connection states snaphots. :param source_status: Status of connection monitor source. Possible values include: 'Uknown', 'Active', 'Inactive' :type source_status: str or ~azure.mgmt.network.v2018_02_01.models.ConnectionMonitorSourceStatus :param states: Information about connection states. :type states: list[~azure.mgmt.network.v2018_02_01.models.ConnectionStateSnapshot] """ _attribute_map = { 'source_status': {'key': 'sourceStatus', 'type': 'str'}, 'states': {'key': 'states', 'type': '[ConnectionStateSnapshot]'}, } def __init__(self, *, source_status=None, states=None, **kwargs) -> None: super(ConnectionMonitorQueryResult, self).__init__(**kwargs) self.source_status = source_status self.states = states