UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

95 lines (94 loc) 2.94 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a blueprint artifact. * * Uses Azure REST API version 2018-11-01-preview. */ export declare function getTemplateArtifact(args: GetTemplateArtifactArgs, opts?: pulumi.InvokeOptions): Promise<GetTemplateArtifactResult>; export interface GetTemplateArtifactArgs { /** * Name of the blueprint artifact. */ artifactName: string; /** * Name of the blueprint definition. */ blueprintName: string; /** * The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). */ resourceScope: string; } /** * Blueprint artifact that deploys a Resource Manager template. */ export interface GetTemplateArtifactResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Artifacts which need to be deployed before the specified artifact. */ readonly dependsOn?: string[]; /** * Multi-line explain this resource. */ readonly description?: string; /** * One-liner string explain this resource. */ readonly displayName?: string; /** * String Id used to locate any resource on Azure. */ readonly id: string; /** * Specifies the kind of blueprint artifact. * Expected value is 'template'. */ readonly kind: "template"; /** * Name of this resource. */ readonly name: string; /** * Resource Manager template blueprint artifact parameter values. */ readonly parameters: { [key: string]: outputs.blueprint.ParameterValueResponse; }; /** * If applicable, the name of the resource group placeholder to which the Resource Manager template blueprint artifact will be deployed. */ readonly resourceGroup?: string; /** * The Resource Manager template blueprint artifact body. */ readonly template: any; /** * Type of this resource. */ readonly type: string; } /** * Get a blueprint artifact. * * Uses Azure REST API version 2018-11-01-preview. */ export declare function getTemplateArtifactOutput(args: GetTemplateArtifactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTemplateArtifactResult>; export interface GetTemplateArtifactOutputArgs { /** * Name of the blueprint artifact. */ artifactName: pulumi.Input<string>; /** * Name of the blueprint definition. */ blueprintName: pulumi.Input<string>; /** * The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'). */ resourceScope: pulumi.Input<string>; }