Language

DataPolicyManifest Class

Definition

The data policy manifest.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.DataPolicyManifestTypeConverter))]
public class DataPolicyManifest : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IDataPolicyManifest, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.DataPolicyManifestTypeConverter))>]
type DataPolicyManifest = class
    interface IDataPolicyManifest
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class DataPolicyManifest
Implements IDataPolicyManifest, IValidates
Inheritance
DataPolicyManifest
Attributes
Implements

Constructors

Name Description
DataPolicyManifest()

Creates an new DataPolicyManifest instance.

Properties

Name Description
Effect

The effect definition.

FieldValue

The non-alias field accessor values that can be used in the policy rule.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IsBuiltInOnly

A value indicating whether policy mode is allowed only in built-in definitions.

Name

The name of the resource

Namespace

The list of namespaces for the data policy manifest.

PolicyMode

The policy mode of the data policy manifest.

ResourceFunctionCustom

An array of data manifest custom resource definitions.

ResourceFunctionStandard

The standard resource functions (subscription and/or resourceGroup).

ResourceTypeAlias

An array of resource type aliases.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataPolicyManifest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataPolicyManifest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IDataPolicyManifest.

FromJsonString(String)

Creates a new instance of DataPolicyManifest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataPolicyManifest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to