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

PolicyClient Interface

public interface PolicyClient

The interface for PolicyClient class.

Method Summary

Modifier and Type Method and Description
abstract DataPolicyManifestsClient getDataPolicyManifests()

Gets the DataPolicyManifestsClient object to access its operations.

abstract Duration getDefaultPollInterval()

Gets The default poll interval for long-running operation.

abstract String getEndpoint()

Gets server parameter.

abstract HttpPipeline getHttpPipeline()

Gets The HTTP pipeline to send requests through.

abstract PolicyAssignmentsClient getPolicyAssignments()

Gets the PolicyAssignmentsClient object to access its operations.

abstract PolicyDefinitionsClient getPolicyDefinitions()

Gets the PolicyDefinitionsClient object to access its operations.

abstract PolicyExemptionsClient getPolicyExemptions()

Gets the PolicyExemptionsClient object to access its operations.

abstract PolicySetDefinitionsClient getPolicySetDefinitions()

Gets the PolicySetDefinitionsClient object to access its operations.

abstract String getSubscriptionId()

Gets The ID of the target subscription.

Method Details

getDataPolicyManifests

public abstract DataPolicyManifestsClient getDataPolicyManifests()

Gets the DataPolicyManifestsClient object to access its operations.

Returns:

the DataPolicyManifestsClient object.

getDefaultPollInterval

public abstract Duration getDefaultPollInterval()

Gets The default poll interval for long-running operation.

Returns:

the defaultPollInterval value.

getEndpoint

public abstract String getEndpoint()

Gets server parameter.

Returns:

the endpoint value.

getHttpPipeline

public abstract HttpPipeline getHttpPipeline()

Gets The HTTP pipeline to send requests through.

Returns:

the httpPipeline value.

getPolicyAssignments

public abstract PolicyAssignmentsClient getPolicyAssignments()

Gets the PolicyAssignmentsClient object to access its operations.

Returns:

the PolicyAssignmentsClient object.

getPolicyDefinitions

public abstract PolicyDefinitionsClient getPolicyDefinitions()

Gets the PolicyDefinitionsClient object to access its operations.

Returns:

the PolicyDefinitionsClient object.

getPolicyExemptions

public abstract PolicyExemptionsClient getPolicyExemptions()

Gets the PolicyExemptionsClient object to access its operations.

Returns:

the PolicyExemptionsClient object.

getPolicySetDefinitions

public abstract PolicySetDefinitionsClient getPolicySetDefinitions()

Gets the PolicySetDefinitionsClient object to access its operations.

Returns:

the PolicySetDefinitionsClient object.

getSubscriptionId

public abstract String getSubscriptionId()

Gets The ID of the target subscription.

Returns:

the subscriptionId value.

Applies to