How to use the azure-mgmt-policyinsights.azure.mgmt.policyinsights.operations.policy_events_operations.PolicyEventsOperations function in azure-mgmt-policyinsights

To help you get started, we’ve selected a few azure-mgmt-policyinsights examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-mgmt-policyinsights / azure / mgmt / policyinsights / policy_insights_client.py View on Github external
def __init__(
            self, credentials, base_url=None):

        self.config = PolicyInsightsClientConfiguration(credentials, base_url)
        super(PolicyInsightsClient, self).__init__(self.config.credentials, self.config)

        client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
        self._serialize = Serializer(client_models)
        self._deserialize = Deserializer(client_models)

        self.policy_tracked_resources = PolicyTrackedResourcesOperations(
            self._client, self.config, self._serialize, self._deserialize)
        self.remediations = RemediationsOperations(
            self._client, self.config, self._serialize, self._deserialize)
        self.policy_events = PolicyEventsOperations(
            self._client, self.config, self._serialize, self._deserialize)
        self.policy_states = PolicyStatesOperations(
            self._client, self.config, self._serialize, self._deserialize)
        self.operations = Operations(
            self._client, self.config, self._serialize, self._deserialize)

azure-mgmt-policyinsights

Microsoft Azure Policy Insights Client Library for Python

MIT
Latest version published 4 years ago

Package Health Score

82 / 100
Full package analysis

Popular azure-mgmt-policyinsights functions

Similar packages