ResourceManagerModelFactory.DataManifestCustomResourceFunctionDefinition Method
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.
Initializes a new instance of DataManifestCustomResourceFunctionDefinition.
public static Azure.ResourceManager.Resources.Models.DataManifestCustomResourceFunctionDefinition DataManifestCustomResourceFunctionDefinition (string name = default, Azure.Core.ResourceType? fullyQualifiedResourceType = default, System.Collections.Generic.IEnumerable<string> defaultProperties = default, bool? allowCustomProperties = default);
static member DataManifestCustomResourceFunctionDefinition : string * Nullable<Azure.Core.ResourceType> * seq<string> * Nullable<bool> -> Azure.ResourceManager.Resources.Models.DataManifestCustomResourceFunctionDefinition
Public Shared Function DataManifestCustomResourceFunctionDefinition (Optional name As String = Nothing, Optional fullyQualifiedResourceType As Nullable(Of ResourceType) = Nothing, Optional defaultProperties As IEnumerable(Of String) = Nothing, Optional allowCustomProperties As Nullable(Of Boolean) = Nothing) As DataManifestCustomResourceFunctionDefinition
Parameters
- name
- String
The function name as it will appear in the policy rule. eg - 'vault'.
- fullyQualifiedResourceType
- Nullable<ResourceType>
The fully qualified control plane resource type that this function represents. eg - 'Microsoft.KeyVault/vaults'.
- defaultProperties
- IEnumerable<String>
The top-level properties that can be selected on the function's output. eg - [ "name", "location" ] if vault().name and vault().location are supported.
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').
Returns
A new DataManifestCustomResourceFunctionDefinition instance for mocking.
Applies to
Azure SDK for .NET