PolicyContract Class

Definition

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
System.Object
PolicyContract
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 resource ID.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
Type

Gets resource type for API Management resource.

(Inherited from Resource)
Value

Gets or sets contents of the Policy as defined by the format.

Methods

Validate()

Validate the object.

Applies to