共用方式為


ArmDevTestLabsModelFactory.DevTestLabArmTemplateData Method

Definition

Initializes a new instance of DevTestLabArmTemplateData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabArmTemplateData DevTestLabArmTemplateData (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 displayName = default, string description = default, string publisher = default, string icon = default, BinaryData contents = default, DateTimeOffset? createdOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabParametersValueFileInfo> parametersValueFilesInfo = default, bool? isEnabled = default);
static member DevTestLabArmTemplateData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * string * BinaryData * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabParametersValueFileInfo> * Nullable<bool> -> Azure.ResourceManager.DevTestLabs.DevTestLabArmTemplateData
Public Shared Function DevTestLabArmTemplateData (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 displayName As String = Nothing, Optional description As String = Nothing, Optional publisher As String = Nothing, Optional icon As String = Nothing, Optional contents As BinaryData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional parametersValueFilesInfo As IEnumerable(Of DevTestLabParametersValueFileInfo) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing) As DevTestLabArmTemplateData

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.

displayName
String

The display name of the ARM template.

description
String

The description of the ARM template.

publisher
String

The publisher of the ARM template.

icon
String

The URI to the icon of the ARM template.

contents
BinaryData

The contents of the ARM template.

createdOn
Nullable<DateTimeOffset>

The creation date of the armTemplate.

parametersValueFilesInfo
IEnumerable<DevTestLabParametersValueFileInfo>

File name and parameter values information from all azuredeploy.*.parameters.json for the ARM template.

isEnabled
Nullable<Boolean>

Whether or not ARM template is enabled for use by lab user.

Returns

A new DevTestLabArmTemplateData instance for mocking.

Applies to