다음을 통해 공유


PolicyClient Class

Definition

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

public class PolicyClient : Microsoft.Azure.Management.ResourceManager.Fluent.Core.FluentServiceClientBase<Microsoft.Azure.Management.ResourceManager.Fluent.PolicyClient>, IDisposable, Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyClient, Microsoft.Rest.Azure.IAzureClient
type PolicyClient = class
    inherit FluentServiceClientBase<PolicyClient>
    interface IPolicyClient
    interface IDisposable
    interface IAzureClient
Public Class PolicyClient
Inherits FluentServiceClientBase(Of PolicyClient)
Implements IAzureClient, IDisposable, IPolicyClient
Inheritance
Implements

Constructors

PolicyClient(RestClient)

Initializes a new instance of the PolicyClient class.

Fields

_restClient (Inherited from FluentServiceClientBase<TClient>)

Properties

AcceptLanguage

The preferred language for the response.

ApiVersion

The API version to use for the operation.

BaseUri

The base URI of the service.

(Inherited from FluentServiceClientBase<TClient>)
Credentials

Credentials needed for the client to connect to Azure.

(Inherited from FluentServiceClientBase<TClient>)
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.

PolicyAssignments

Gets the IPolicyAssignmentsOperations.

PolicyDefinitions

Gets the IPolicyDefinitionsOperations.

PolicySetDefinitions

Gets the IPolicySetDefinitionsOperations.

SerializationSettings

Gets or sets json serialization settings.

SubscriptionId

The ID of the target subscription.

UserAgent (Inherited from ServiceClient<T>)

Methods

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from FluentServiceClientBase<TClient>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
Initialize()

Initializes client properties.

InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
NewInstance(RestClient)
SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)

Applies to