Artifacts interface
Interface representing a Artifacts.
Methods
generate |
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, Artifacts |
Get artifact. |
list(string, string, string, Artifacts |
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.
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.