azure.mgmt.policyinsights package

Module contents

class azure.mgmt.policyinsights.PolicyInsightsClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)[source]

Bases: object

Query component policy states at varying resource scopes for Resource Provider mode policies.

Variables
Parameters
  • credential (TokenCredential) – Credential needed for the client to connect to Azure. Required.

  • subscription_id (str) – Microsoft Azure subscription ID. Required.

  • base_url (str) – Service URL. Default value is “https://management.azure.com”.

Keyword Arguments

polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

close()None[source]