Language

DataManifestCustomResourceFunctionDefinition Class

Definition

The custom resource function definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.DataManifestCustomResourceFunctionDefinitionTypeConverter))]
public class DataManifestCustomResourceFunctionDefinition : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IDataManifestCustomResourceFunctionDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.DataManifestCustomResourceFunctionDefinitionTypeConverter))>]
type DataManifestCustomResourceFunctionDefinition = class
    interface IDataManifestCustomResourceFunctionDefinition
    interface IJsonSerializable
Public Class DataManifestCustomResourceFunctionDefinition
Implements IDataManifestCustomResourceFunctionDefinition
Inheritance
DataManifestCustomResourceFunctionDefinition
Attributes
Implements

Constructors

Name Description
DataManifestCustomResourceFunctionDefinition()

Creates an new DataManifestCustomResourceFunctionDefinition instance.

Properties

Name Description
AllowCustomProperty

A value indicating whether the custom properties within the property bag are allowed. Needs api-version to be specified in the policy rule eg - vault('2019-06-01').

DefaultProperty

The top-level properties that can be selected on the function's output. eg - [ "name", "location" ] if vault().name and vault().location are supported.

FullyQualifiedResourceType

The fully qualified control plane resource type that this function represents. eg - 'Microsoft.KeyVault/vaults'.

Name

The function name as it will appear in the policy rule. eg - 'vault'.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataManifestCustomResourceFunctionDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataManifestCustomResourceFunctionDefinition.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataManifestCustomResourceFunctionDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to