get Published Version
Use this data source to access information about an existing Blueprint Published Version
NOTE: Azure Blueprints are in Preview and potentially subject to breaking change without notice.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.inputs.GetSubscriptionArgs;
import com.pulumi.azure.blueprint.BlueprintFunctions;
import com.pulumi.azure.blueprint.inputs.GetPublishedVersionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var current = CoreFunctions.getSubscription();
final var test = BlueprintFunctions.getPublishedVersion(GetPublishedVersionArgs.builder()
.scopeId(current.applyValue(getSubscriptionResult -> getSubscriptionResult.id()))
.blueprintName("exampleBluePrint")
.version("dev_v2.3")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getPublishedVersion.
Parameters
argument
A collection of arguments for invoking getPublishedVersion.
suspend fun getPublishedVersion(blueprintName: String, scopeId: String, version: String): GetPublishedVersionResult
Return
A collection of values returned by getPublishedVersion.
See also
Parameters
blueprint Name
The name of the Blueprint Definition
scope Id
The ID of the Management Group / Subscription where this Blueprint Definition is stored.
version
The Version name of the Published Version of the Blueprint Definition
suspend fun getPublishedVersion(argument: suspend GetPublishedVersionPlainArgsBuilder.() -> Unit): GetPublishedVersionResult
Return
A collection of values returned by getPublishedVersion.
See also
Parameters
argument
Builder for com.pulumi.azure.blueprint.kotlin.inputs.GetPublishedVersionPlainArgs.