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
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 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