PolicyClient Class

Definition

To manage and control access to your resources, you can define customized policies and assign them at a scope.

C#
public class PolicyClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.ResourceManager.PolicyClient>, IDisposable, Microsoft.Azure.Management.ResourceManager.IPolicyClient, Microsoft.Rest.Azure.IAzureClient
Inheritance
Implements

Constructors

PolicyClient(DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

PolicyClient(HttpClient, Boolean)

Initializes a new instance of the PolicyClient class.

PolicyClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

PolicyClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

PolicyClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the PolicyClient class.

PolicyClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

PolicyClient(Uri, DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

PolicyClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

PolicyClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the PolicyClient class.

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

Initializes a new instance of the PolicyClient 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.

DataPolicyManifests

Gets the IDataPolicyManifestsOperations.

DeserializationSettings

Gets or sets json deserialization settings.

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.

LongRunningOperationRetryTimeout

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

PolicyAssignments

Gets the IPolicyAssignmentsOperations.

PolicyDefinitions

Gets the IPolicyDefinitionsOperations.

PolicyExemptions

Gets the IPolicyExemptionsOperations.

PolicySetDefinitions

Gets the IPolicySetDefinitionsOperations.

SerializationSettings

Gets or sets json serialization settings.

SubscriptionId

The ID of the target subscription.

Applies to

Product Versions
Azure SDK for .NET Legacy