Share via


ArmResourcesModelFactory.ArmApplicationDefinitionData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

managedBy
String

ID of the resource that manages this resource.

sku
ArmApplicationSku

The SKU of the resource.

lockLevel
ArmApplicationLockLevel

The managed application lock level.

displayName
String

The managed application definition display name.

isEnabled
Nullable<Boolean>

A value indicating whether the package is enabled or not.

authorizations
IEnumerable<ArmApplicationAuthorization>

The managed application provider authorizations.

artifacts
IEnumerable<ArmApplicationDefinitionArtifact>

The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.

description
String

The managed application definition description.

packageFileUri
Uri

The managed application definition package file Uri. Use this element.

mainTemplate
BinaryData

The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.

createUiDefinition
BinaryData

The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.

notificationEndpoints
IEnumerable<ArmApplicationNotificationEndpoint>

The managed application notification policy.

lockingPolicy
ArmApplicationPackageLockingPolicy

The managed application locking policy.

deploymentMode
Nullable<ArmApplicationDeploymentMode>

The managed application deployment policy.

managementMode
Nullable<ArmApplicationManagementMode>

The managed application management policy that determines publisher's access to the managed resource group.

policies
IEnumerable<ArmApplicationPolicy>

The managed application provider policies.

Returns

A new ArmApplicationDefinitionData instance for mocking.

Applies to