Udostępnij za pośrednictwem


ResourceManagerModelFactory.DataPolicyManifestData Method

Definition

Initializes a new instance of DataPolicyManifestData.

public static Azure.ResourceManager.Resources.DataPolicyManifestData DataPolicyManifestData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<string> namespaces = default, string policyMode = default, bool? isBuiltInOnly = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ResourceTypeAliases> resourceTypeAliases = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.DataPolicyManifestEffect> effects = default, System.Collections.Generic.IEnumerable<string> fieldValues = default, System.Collections.Generic.IEnumerable<string> standard = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.DataManifestCustomResourceFunctionDefinition> customDefinitions = default);
static member DataPolicyManifestData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<string> * string * Nullable<bool> * seq<Azure.ResourceManager.Resources.Models.ResourceTypeAliases> * seq<Azure.ResourceManager.Resources.Models.DataPolicyManifestEffect> * seq<string> * seq<string> * seq<Azure.ResourceManager.Resources.Models.DataManifestCustomResourceFunctionDefinition> -> Azure.ResourceManager.Resources.DataPolicyManifestData
Public Shared Function DataPolicyManifestData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional namespaces As IEnumerable(Of String) = Nothing, Optional policyMode As String = Nothing, Optional isBuiltInOnly As Nullable(Of Boolean) = Nothing, Optional resourceTypeAliases As IEnumerable(Of ResourceTypeAliases) = Nothing, Optional effects As IEnumerable(Of DataPolicyManifestEffect) = Nothing, Optional fieldValues As IEnumerable(Of String) = Nothing, Optional standard As IEnumerable(Of String) = Nothing, Optional customDefinitions As IEnumerable(Of DataManifestCustomResourceFunctionDefinition) = Nothing) As DataPolicyManifestData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

namespaces
IEnumerable<String>

The list of namespaces for the data policy manifest.

policyMode
String

The policy mode of the data policy manifest.

isBuiltInOnly
Nullable<Boolean>

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

resourceTypeAliases
IEnumerable<ResourceTypeAliases>

An array of resource type aliases.

effects
IEnumerable<DataPolicyManifestEffect>

The effect definition.

fieldValues
IEnumerable<String>

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

standard
IEnumerable<String>

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

customDefinitions
IEnumerable<DataManifestCustomResourceFunctionDefinition>

An array of data manifest custom resource definition.

Returns

A new DataPolicyManifestData instance for mocking.

Applies to