getArtifact

Deprecated:

Please use one of the variants: PolicyAssignmentArtifact, RoleAssignmentArtifact, TemplateArtifact.

Represents 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:

ArtifactName string

Name of the blueprint artifact.

BlueprintName string

Name of the blueprint definition.

ResourceScope string

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

ArtifactName string

Name of the blueprint artifact.

BlueprintName string

Name of the blueprint definition.

ResourceScope string

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

artifactName String

Name of the blueprint artifact.

blueprintName String

Name of the blueprint definition.

resourceScope String

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

artifactName string

Name of the blueprint artifact.

blueprintName string

Name of the blueprint definition.

resourceScope 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}').

artifactName String

Name of the blueprint artifact.

blueprintName String

Name of the blueprint definition.

resourceScope 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:

Id string

String Id used to locate any resource on Azure.

Kind string

Specifies the kind of blueprint artifact.

Name string

Name of this resource.

Type string

Type of this resource.

Id string

String Id used to locate any resource on Azure.

Kind string

Specifies the kind of blueprint artifact.

Name string

Name of this resource.

Type string

Type of this resource.

id String

String Id used to locate any resource on Azure.

kind String

Specifies the kind of blueprint artifact.

name String

Name of this resource.

type String

Type of this resource.

id string

String Id used to locate any resource on Azure.

kind string

Specifies the kind of blueprint artifact.

name string

Name of this resource.

type string

Type of this resource.

id str

String Id used to locate any resource on Azure.

kind str

Specifies the kind of blueprint artifact.

name str

Name of this resource.

type str

Type of this resource.

id String

String Id used to locate any resource on Azure.

kind String

Specifies the kind of blueprint artifact.

name String

Name of this resource.

type String

Type of this resource.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0