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

Artifacts interface

Interface representing a Artifacts.

Methods

generateArmTemplate(string, string, string, string, GenerateArmTemplateRequest, ArtifactsGenerateArmTemplateOptionalParams)

Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.

get(string, string, string, string, ArtifactsGetOptionalParams)

Get artifact.

list(string, string, string, ArtifactsListOptionalParams)

List artifacts in a given artifact source.

Method Details

generateArmTemplate(string, string, string, string, GenerateArmTemplateRequest, ArtifactsGenerateArmTemplateOptionalParams)

Generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact.

function generateArmTemplate(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, generateArmTemplateRequest: GenerateArmTemplateRequest, options?: ArtifactsGenerateArmTemplateOptionalParams): Promise<ArmTemplateInfo>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

artifactSourceName

string

The name of the artifact source.

name

string

The name of the artifact.

generateArmTemplateRequest
GenerateArmTemplateRequest

Parameters for generating an ARM template for deploying artifacts.

options
ArtifactsGenerateArmTemplateOptionalParams

The options parameters.

Returns

Promise<ArmTemplateInfo>

get(string, string, string, string, ArtifactsGetOptionalParams)

Get artifact.

function get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options?: ArtifactsGetOptionalParams): Promise<Artifact>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

artifactSourceName

string

The name of the artifact source.

name

string

The name of the artifact.

options
ArtifactsGetOptionalParams

The options parameters.

Returns

Promise<Artifact>

list(string, string, string, ArtifactsListOptionalParams)

List artifacts in a given artifact source.

function list(resourceGroupName: string, labName: string, artifactSourceName: string, options?: ArtifactsListOptionalParams): PagedAsyncIterableIterator<Artifact, Artifact[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

artifactSourceName

string

The name of the artifact source.

options
ArtifactsListOptionalParams

The options parameters.

Returns