# 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 DiagnosticsRef(Model):
"""Reference to sinks in DiagnosticsDescription.
:param enabled: Status of whether or not sinks are enabled.
:type enabled: bool
:param sink_refs: List of sinks to be used if enabled. References the list
of sinks in DiagnosticsDescription.
:type sink_refs: list[str]
"""
_attribute_map = {
'enabled': {'key': 'enabled', 'type': 'bool'},
'sink_refs': {'key': 'sinkRefs', 'type': '[str]'},
}
def __init__(self, *, enabled: bool=None, sink_refs=None, **kwargs) -> None:
super(DiagnosticsRef, self).__init__(**kwargs)
self.enabled = enabled
self.sink_refs = sink_refs