PolicyInsightsClient Class

Definition

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
Inheritance
System.Object
PolicyInsightsClient
Implements
IPolicyInsightsClient IAzureClient System.IDisposable

Constructors

PolicyInsightsClient(DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(HttpClient, Boolean)

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(Uri, DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

PolicyInsightsClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the PolicyInsightsClient class.

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

Initializes a new instance of the PolicyInsightsClient class.

Properties

AcceptLanguage

The preferred language for the response.

BaseUri

The base URI of the service.

Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings

Gets or sets json deserialization settings.

FirstMessageHandler (Inherited from ServiceClient<T>)
GenerateClientRequestId

Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
LongRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

Operations

Gets the IOperations.

PolicyEvents

Gets the IPolicyEventsOperations.

PolicyMetadata

Gets the IPolicyMetadataOperations.

PolicyStates

Gets the IPolicyStatesOperations.

PolicyTrackedResources

Gets the IPolicyTrackedResourcesOperations.

Remediations

Gets the IRemediationsOperations.

SerializationSettings

Gets or sets json serialization settings.

UserAgent (Inherited from ServiceClient<T>)

Methods

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

Extension Methods

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

Gets operation result for long running operations.

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

Gets operation result for long running operations.

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

Gets operation result for long running operations.

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

Gets operation result for long running operations.

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

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

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

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

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

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

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

Gets operation result for DELETE and POST operations. (Deprecated, please use GetLongRunningOperationResultAsync)

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

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

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

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

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

Gets operation result for PUT and PATCH operations. (Deprecated, please use GetLongRunningOperationResultAsync)

Applies to