PolicyContract Class
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.
Policy Contract details.
[Microsoft.Rest.Serialization.JsonTransformation]
public class PolicyContract : Microsoft.Azure.Management.ApiManagement.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PolicyContract = class
inherit Resource
Public Class PolicyContract
Inherits Resource
- Inheritance
- Attributes
Constructors
PolicyContract() |
Initializes a new instance of the PolicyContract class. |
PolicyContract(String, String, String, String, String) |
Initializes a new instance of the PolicyContract class. |
Properties
Format |
Gets or sets format of the policyContent. Possible values include: 'xml', 'xml-link', 'rawxml', 'rawxml-link' |
Id |
Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from Resource) |
Name |
Gets the name of the resource (Inherited from Resource) |
Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from Resource) |
Value |
Gets or sets contents of the Policy as defined by the format. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET