azure-native.blueprint.getArtifact
Deprecated:
Please use one of the variants: PolicyAssignmentArtifact, RoleAssignmentArtifact, TemplateArtifact.
Get a blueprint artifact. API Version: 2018-11-01-preview.
Using getArtifact
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getArtifact(args: GetArtifactArgs, opts?: InvokeOptions): Promise<GetArtifactResult>
function getArtifactOutput(args: GetArtifactOutputArgs, opts?: InvokeOptions): Output<GetArtifactResult>
def get_artifact(artifact_name: Optional[str] = None,
blueprint_name: Optional[str] = None,
resource_scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetArtifactResult
def get_artifact_output(artifact_name: Optional[pulumi.Input[str]] = None,
blueprint_name: Optional[pulumi.Input[str]] = None,
resource_scope: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetArtifactResult]
func LookupArtifact(ctx *Context, args *LookupArtifactArgs, opts ...InvokeOption) (*LookupArtifactResult, error)
func LookupArtifactOutput(ctx *Context, args *LookupArtifactOutputArgs, opts ...InvokeOption) LookupArtifactResultOutput
> Note: This function is named LookupArtifact
in the Go SDK.
public static class GetArtifact
{
public static Task<GetArtifactResult> InvokeAsync(GetArtifactArgs args, InvokeOptions? opts = null)
public static Output<GetArtifactResult> Invoke(GetArtifactInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:blueprint:getArtifact
arguments:
# arguments dictionary
The following arguments are supported:
- Artifact
Name string Name of the blueprint artifact.
- Blueprint
Name string Name of the blueprint definition.
- Resource
Scope string The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- Artifact
Name string Name of the blueprint artifact.
- Blueprint
Name string Name of the blueprint definition.
- Resource
Scope string The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- artifact
Name String Name of the blueprint artifact.
- blueprint
Name String Name of the blueprint definition.
- resource
Scope String The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- artifact
Name string Name of the blueprint artifact.
- blueprint
Name string Name of the blueprint definition.
- resource
Scope string The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- artifact_
name str Name of the blueprint artifact.
- blueprint_
name str Name of the blueprint definition.
- resource_
scope str The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
- artifact
Name String Name of the blueprint artifact.
- blueprint
Name String Name of the blueprint definition.
- resource
Scope String The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
getArtifact Result
The following output properties are available:
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0