你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResourceManagerModelFactory.DataPolicyManifestData 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

namespaces
IEnumerable<String>

数据策略清单的命名空间列表。

policyMode
String

数据策略清单的策略模式。

isBuiltInOnly
Nullable<Boolean>

一个值,该值指示是否仅在内置定义中允许策略模式。

resourceTypeAliases
IEnumerable<ResourceTypeAliases>

资源类型别名的数组。

effects
IEnumerable<DataPolicyManifestEffect>

效果定义。

fieldValues
IEnumerable<String>

可在策略规则中使用的非别名字段访问器值。

standard
IEnumerable<String>

标准资源函数 (订阅和/或 resourceGroup) 。

customDefinitions
IEnumerable<DataManifestCustomResourceFunctionDefinition>

数据清单自定义资源定义的数组。

返回

用于模拟的新 DataPolicyManifestData 实例。

适用于