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

PolicyInsightsClient 类

定义

public class PolicyInsightsClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.PolicyInsights.PolicyInsightsClient>, IDisposable, Microsoft.Azure.Management.PolicyInsights.IPolicyInsightsClient, Microsoft.Rest.Azure.IAzureClient
type PolicyInsightsClient = class
    inherit ServiceClient<PolicyInsightsClient>
    interface IPolicyInsightsClient
    interface IDisposable
    interface IAzureClient
Public Class PolicyInsightsClient
Inherits ServiceClient(Of PolicyInsightsClient)
Implements IAzureClient, IDisposable, IPolicyInsightsClient
继承
PolicyInsightsClient
实现

构造函数

PolicyInsightsClient(DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(HttpClient, Boolean)

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(HttpClientHandler, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(ServiceClientCredentials, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(ServiceClientCredentials, HttpClient, Boolean)

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(Uri, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(Uri, HttpClientHandler, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(Uri, ServiceClientCredentials, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

PolicyInsightsClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 PolicyInsightsClient 类的新实例。

属性

AcceptLanguage

响应的首选语言。

Attestations

获取 IAttestationsOperations。

BaseUri

服务的基 URI。

Credentials

客户端连接到 Azure 所需的凭据。

DeserializationSettings

获取或设置 json 反序列化设置。

FirstMessageHandler (继承自 ServiceClient<T>)
GenerateClientRequestId

是否应生成唯一的 x-ms-client-request-id。 当设置为 true 时,将生成唯一的 x-ms-client-request-id 值并将其包含在每个请求中。 默认为 true。

HttpClient (继承自 ServiceClient<T>)
HttpClientHandler (继承自 ServiceClient<T>)
HttpMessageHandlers (继承自 ServiceClient<T>)
LongRunningOperationRetryTimeout

长时间运行的操作的重试超时(以秒为单位)。 默认值为 30。

Operations

获取 IOperations。

PolicyEvents

获取 IPolicyEventsOperations。

PolicyMetadata

获取 IPolicyMetadataOperations。

PolicyRestrictions

获取 IPolicyRestrictionsOperations。

PolicyStates

获取 IPolicyStatesOperations。

PolicyTrackedResources

获取 IPolicyTrackedResourcesOperations。

Remediations

获取 IRemediationsOperations。

SerializationSettings

获取或设置 json 序列化设置。

UserAgent (继承自 ServiceClient<T>)

方法

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
Dispose() (继承自 ServiceClient<T>)
Dispose(Boolean) (继承自 ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (继承自 ServiceClient<T>)
SetUserAgent(String) (继承自 ServiceClient<T>)
SetUserAgent(String, String) (继承自 ServiceClient<T>)

扩展方法

GetLongRunningOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetLongRunningOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetLongRunningOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetLongRunningOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

获取长时间运行的操作的操作结果。

GetPostOrDeleteOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<THeader>(IAzureClient, AzureOperationHeaderResponse<THeader>, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPostOrDeleteOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

获取 DELETE 和 POST 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<String,List<String>>, CancellationToken)

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody>(IAzureClient, AzureOperationResponse<TBody>, Dictionary<String,List<String>>, CancellationToken)

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

GetPutOrPatchOperationResultAsync<TBody,THeader>(IAzureClient, AzureOperationResponse<TBody,THeader>, Dictionary<String,List<String>>, CancellationToken)

获取 PUT 和 PATCH 操作的操作结果。 (弃用,请使用 GetLongRunningOperationResultAsync)

适用于