IPolicyDefinition Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An immutable client-side representation of an Azure Policy Definition.
public interface IPolicyDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IUpdate>
type IPolicyDefinition = interface
interface IHasName
interface IHasId
interface IIndexable
interface IRefreshable<IPolicyDefinition>
interface IUpdatable<IUpdate>
Public Interface IPolicyDefinition
Implements IHasId, IHasName, IIndexable, IRefreshable(Of IPolicyDefinition), IUpdatable(Of IUpdate)
- Implements
Properties
Description |
Gets the description value. |
DisplayName |
Gets the display name value. |
Id |
Gets the resource id string (Inherited from IHasId) |
Key | (Inherited from IIndexable) |
Mode |
Gets the mode value. |
Name |
Gets the name of the resource (Inherited from IHasName) |
PolicyRule |
Gets the policy rule value. |
PolicyType |
Gets the policy type value. |
Methods
Refresh() |
Refreshes the resource to sync with Azure. (Inherited from IRefreshable<T>) |
RefreshAsync(CancellationToken) |
Refreshes the resource to sync with Azure. (Inherited from IRefreshable<T>) |
Update() | (Inherited from IUpdatable<T>) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET