PolicyInsightsClient Class

PolicyInsightsClient.

Inheritance
builtins.object
PolicyInsightsClient

Constructor

PolicyInsightsClient(credential: AsyncTokenCredential, subscription_id: str, base_url: str | None = None, **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure.

subscription_id
Required
str

Microsoft Azure subscription ID.

base_url
str

Service URL

Default value: None

Keyword-Only Parameters

Name Description
polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
policy_tracked_resources

PolicyTrackedResourcesOperations operations

remediations

RemediationsOperations operations

policy_events

PolicyEventsOperations operations

policy_states

PolicyStatesOperations operations

operations

Operations operations

policy_metadata

PolicyMetadataOperations operations

policy_restrictions

PolicyRestrictionsOperations operations

Methods

close

close

async close() -> None