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

ArmResourcesModelFactory.ArmApplicationDefinitionData 方法

定义

初始化 ArmApplicationDefinitionData 的新实例。

public static Azure.ResourceManager.Resources.ArmApplicationDefinitionData ArmApplicationDefinitionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string managedBy = default, Azure.ResourceManager.Resources.Models.ArmApplicationSku sku = default, Azure.ResourceManager.Resources.Models.ArmApplicationLockLevel lockLevel = Azure.ResourceManager.Resources.Models.ArmApplicationLockLevel.None, string displayName = default, bool? isEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ArmApplicationAuthorization> authorizations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ArmApplicationDefinitionArtifact> artifacts = default, string description = default, Uri packageFileUri = default, BinaryData mainTemplate = default, BinaryData createUiDefinition = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ArmApplicationNotificationEndpoint> notificationEndpoints = default, Azure.ResourceManager.Resources.Models.ArmApplicationPackageLockingPolicy lockingPolicy = default, Azure.ResourceManager.Resources.Models.ArmApplicationDeploymentMode? deploymentMode = default, Azure.ResourceManager.Resources.Models.ArmApplicationManagementMode? managementMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ArmApplicationPolicy> policies = default);
static member ArmApplicationDefinitionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Azure.ResourceManager.Resources.Models.ArmApplicationSku * Azure.ResourceManager.Resources.Models.ArmApplicationLockLevel * string * Nullable<bool> * seq<Azure.ResourceManager.Resources.Models.ArmApplicationAuthorization> * seq<Azure.ResourceManager.Resources.Models.ArmApplicationDefinitionArtifact> * string * Uri * BinaryData * BinaryData * seq<Azure.ResourceManager.Resources.Models.ArmApplicationNotificationEndpoint> * Azure.ResourceManager.Resources.Models.ArmApplicationPackageLockingPolicy * Nullable<Azure.ResourceManager.Resources.Models.ArmApplicationDeploymentMode> * Nullable<Azure.ResourceManager.Resources.Models.ArmApplicationManagementMode> * seq<Azure.ResourceManager.Resources.Models.ArmApplicationPolicy> -> Azure.ResourceManager.Resources.ArmApplicationDefinitionData
Public Shared Function ArmApplicationDefinitionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional managedBy As String = Nothing, Optional sku As ArmApplicationSku = Nothing, Optional lockLevel As ArmApplicationLockLevel = Azure.ResourceManager.Resources.Models.ArmApplicationLockLevel.None, Optional displayName As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional authorizations As IEnumerable(Of ArmApplicationAuthorization) = Nothing, Optional artifacts As IEnumerable(Of ArmApplicationDefinitionArtifact) = Nothing, Optional description As String = Nothing, Optional packageFileUri As Uri = Nothing, Optional mainTemplate As BinaryData = Nothing, Optional createUiDefinition As BinaryData = Nothing, Optional notificationEndpoints As IEnumerable(Of ArmApplicationNotificationEndpoint) = Nothing, Optional lockingPolicy As ArmApplicationPackageLockingPolicy = Nothing, Optional deploymentMode As Nullable(Of ArmApplicationDeploymentMode) = Nothing, Optional managementMode As Nullable(Of ArmApplicationManagementMode) = Nothing, Optional policies As IEnumerable(Of ArmApplicationPolicy) = Nothing) As ArmApplicationDefinitionData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

managedBy
String

管理此资源的资源的 ID。

sku
ArmApplicationSku

资源的 SKU。

lockLevel
ArmApplicationLockLevel

托管应用程序锁级别。

displayName
String

托管应用程序定义显示名称。

isEnabled
Nullable<Boolean>

一个值,该值指示是否启用包。

authorizations
IEnumerable<ArmApplicationAuthorization>

托管应用程序提供程序授权。

artifacts
IEnumerable<ArmApplicationDefinitionArtifact>

托管应用程序项目的集合。 门户将使用指定为项目的文件来构造从托管应用程序定义创建托管应用程序的用户体验。

description
String

托管应用程序定义说明。

packageFileUri
Uri

托管应用程序定义包文件 URI。 使用此元素。

mainTemplate
BinaryData

内联main模板 json,其中包含要预配的资源。 它可以是 JObject 或格式正确的 JSON 字符串。

createUiDefinition
BinaryData

包含 Microsoft.Solutions/applications 资源的后备模板的 createUiDefinition json。 它可以是 JObject 或格式正确的 JSON 字符串。

notificationEndpoints
IEnumerable<ArmApplicationNotificationEndpoint>

托管应用程序通知策略。

lockingPolicy
ArmApplicationPackageLockingPolicy

托管应用程序锁定策略。

deploymentMode
Nullable<ArmApplicationDeploymentMode>

托管应用程序部署策略。

managementMode
Nullable<ArmApplicationManagementMode>

确定发布者对托管资源组的访问权限的托管应用程序管理策略。

policies
IEnumerable<ArmApplicationPolicy>

托管应用程序提供程序策略。

返回

用于模拟的新 ArmApplicationDefinitionData 实例。

适用于