/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Artifact, ArtifactsListOptionalParams, ArtifactsGetOptionalParams, ArtifactsGetResponse, GenerateArmTemplateRequest, ArtifactsGenerateArmTemplateOptionalParams, ArtifactsGenerateArmTemplateResponse } from "../models"; /// /** Interface representing a Artifacts. */ export interface Artifacts { /** * List artifacts in a given artifact source. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. * @param options The options parameters. */ list( resourceGroupName: string, labName: string, artifactSourceName: string, options?: ArtifactsListOptionalParams ): PagedAsyncIterableIterator; /** * Get artifact. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. * @param name The name of the artifact. * @param options The options parameters. */ get( resourceGroupName: string, labName: string, artifactSourceName: string, name: string, options?: ArtifactsGetOptionalParams ): Promise; /** * Generates an ARM template for the given artifact, uploads the required files to a storage account, * and validates the generated artifact. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. * @param name The name of the artifact. * @param generateArmTemplateRequest Parameters for generating an ARM template for deploying artifacts. * @param options The options parameters. */ generateArmTemplate( resourceGroupName: string, labName: string, artifactSourceName: string, name: string, generateArmTemplateRequest: GenerateArmTemplateRequest, options?: ArtifactsGenerateArmTemplateOptionalParams ): Promise; }