sdk/python/pulumi_azure_nextgen/insights/_inputs.py
def data_source(self) -> Optional[pulumi.Input[Union['RuleManagementEventDataSourceArgs', 'RuleMetricDataSourceArgs']]]:
        """
        the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
        """
        return pulumi.get(self, "data_source")

        the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
        
the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
the resource from which the rule collects its data . For this type dataSource will always be of type RuleMetricDataSource .
def data_source(self) -> Optional[pulumi.Input[Union['RuleManagementEventDataSourceArgs', 'RuleMetricDataSourceArgs']]]:
        return pulumi.get(self, "data_source")
def data_source ( self ) -> Optional [ pulumi . Input [ Union [ 'RuleManagementEventDataSourceArgs' , 'RuleMetricDataSourceArgs' ] ] ] : return pulumi . get ( self , "data_source" )
the resource from which the rule collects its data.
the resource from which the rule collects its data .
"""
        the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
        """
self