MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: sonne (1011)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyo
�
d�bc@s�defd��YZdefd��YZdefd��YZdefd��YZie�ej6Zie�ej6Zd�Z	d	�Z
d
�ZdS(tSupportedFeatureNamescBseZdZdZdZRS(sY
    Enum for defining the Feature Names for all features that we the agent supports
    tMultipleExtensionsPerHandlertExtensionTelemetryPipeline(t__name__t
__module__t__doc__tMultiConfigR(((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyRstAgentSupportedFeaturecBsJeZdZded�Zed��Zed��Zed��ZRS(s|
    Interface for defining all features that the Linux Guest Agent supports and reports their if supported back to CRP
    s1.0cCs||_||_||_dS(N(t_AgentSupportedFeature__namet_AgentSupportedFeature__versiont!_AgentSupportedFeature__supported(tselftnametversiont	supported((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyt__init__ s		cCs|jS(N(R(R((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyR%scCs|jS(N(R	(R((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyR
)scCs|jS(N(R
(R((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pytis_supported-s(	RRRtFalseRtpropertyRR
R(((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyRs
t_MultiConfigFeaturecBs&eZejZdZeZd�ZRS(s1.0cCs2tt|�jdtjdtjdtj�dS(NRR
R(tsuperRRt_MultiConfigFeature__NAMEt_MultiConfigFeature__VERSIONt_MultiConfigFeature__SUPPORTED(R((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyR8s	(	RRRRRRtTrueRR(((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyR2s	t_ETPFeaturecBs&eZejZdZeZd�ZRS(s1.0cCs2tt|�jd|jd|jd|j�dS(NRR
R(RRRt_ETPFeature__NAMEt_ETPFeature__VERSIONt_ETPFeature__SUPPORTED(R((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyRDs	(	RRRRRRRRR(((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyR>s	cCsA|tkrt|S|tkr(t|Stdj|���dS(Ns Feature with Name: {0} not found(t__CRP_ADVERTISED_FEATURESt__EXTENSION_ADVERTISED_FEATUREStNotImplementedErrortformat(tfeature_name((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pytget_supported_feature_by_nameVs
cCstd�tj�D��S(s�
    List of features that the GuestAgent currently supports (like FastTrack, MultiConfig, etc).
    We need to send this list as part of Status reporting to inform CRP of all the features the agent supports.
    :return: Dict containing all CRP supported features with the key as their names and the AgentFeature object as
             the value if they are supported by the Agent
        Eg: {
                MultipleExtensionsPerHandler: _MultiConfigFeature()
            }
    css*|] \}}|jr||fVqdS(N(R(t.0Rtfeature((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pys	<genexpr>ks(tdictRtitems(((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyt)get_agent_supported_features_list_for_crp`scCstd�tj�D��S(sA
    List of features that the GuestAgent currently supports (like Extension Telemetry Pipeline, etc) needed by Extensions.
    We need to send this list as environment variables when calling extension commands to inform Extensions of all the
    features the agent supports.
    :return: Dict containing all Extension supported features with the key as their names and the AgentFeature object as
             the value if the feature is supported by the Agent.
        Eg: {
                CRPSupportedFeatureNames.ExtensionTelemetryPipeline: _ETPFeature()
            }
    css*|] \}}|jr||fVqdS(N(R(R#RR$((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pys	<genexpr>ys(R%RR&(((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyt0get_agent_supported_features_list_for_extensionsnsN(tobjectRRRRRRRRR"R'R((((sR/usr/lib/python2.7/site-packages/azurelinuxagent/common/agent_supported_feature.pyt<module>s