Freigeben über


ArmDevTestLabsModelFactory.DevTestLabArtifactGenerateArmTemplateContent Method

Definition

Parameters for generating an ARM template for deploying artifacts.

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactGenerateArmTemplateContent DevTestLabArtifactGenerateArmTemplateContent(string vmName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabParameter> parameters = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabFileUploadOption? fileUploadOptions = default);
static member DevTestLabArtifactGenerateArmTemplateContent : string * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabParameter> * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabFileUploadOption> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactGenerateArmTemplateContent
Public Shared Function DevTestLabArtifactGenerateArmTemplateContent (Optional vmName As String = Nothing, Optional parameters As IEnumerable(Of DevTestLabParameter) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional fileUploadOptions As Nullable(Of DevTestLabFileUploadOption) = Nothing) As DevTestLabArtifactGenerateArmTemplateContent

Parameters

vmName
String

The resource name of the virtual machine.

parameters
IEnumerable<DevTestLabParameter>

The parameters of the ARM template.

location
Nullable<AzureLocation>

The location of the virtual machine.

fileUploadOptions
Nullable<DevTestLabFileUploadOption>

Options for uploading the files for the artifact. UploadFilesAndGenerateSasTokens is the default value.

Returns

A new DevTestLabArtifactGenerateArmTemplateContent instance for mocking.

Applies to