你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PolicyInsightsClient Class

PolicyInsightsClient.

Inheritance
builtins.object
PolicyInsightsClient

Constructor

PolicyInsightsClient(credential: 'TokenCredential', 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

close() -> None