1. Packages
  2. Azure Native
  3. API Docs
  4. blueprint
  5. getPolicyAssignmentArtifact
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.blueprint.getPolicyAssignmentArtifact

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get a blueprint artifact.

Uses Azure REST API version 2018-11-01-preview.

Using getPolicyAssignmentArtifact

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 getPolicyAssignmentArtifact(args: GetPolicyAssignmentArtifactArgs, opts?: InvokeOptions): Promise<GetPolicyAssignmentArtifactResult>
function getPolicyAssignmentArtifactOutput(args: GetPolicyAssignmentArtifactOutputArgs, opts?: InvokeOptions): Output<GetPolicyAssignmentArtifactResult>
Copy
def get_policy_assignment_artifact(artifact_name: Optional[str] = None,
                                   blueprint_name: Optional[str] = None,
                                   resource_scope: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetPolicyAssignmentArtifactResult
def get_policy_assignment_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[GetPolicyAssignmentArtifactResult]
Copy
func LookupPolicyAssignmentArtifact(ctx *Context, args *LookupPolicyAssignmentArtifactArgs, opts ...InvokeOption) (*LookupPolicyAssignmentArtifactResult, error)
func LookupPolicyAssignmentArtifactOutput(ctx *Context, args *LookupPolicyAssignmentArtifactOutputArgs, opts ...InvokeOption) LookupPolicyAssignmentArtifactResultOutput
Copy

> Note: This function is named LookupPolicyAssignmentArtifact in the Go SDK.

public static class GetPolicyAssignmentArtifact 
{
    public static Task<GetPolicyAssignmentArtifactResult> InvokeAsync(GetPolicyAssignmentArtifactArgs args, InvokeOptions? opts = null)
    public static Output<GetPolicyAssignmentArtifactResult> Invoke(GetPolicyAssignmentArtifactInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPolicyAssignmentArtifactResult> getPolicyAssignmentArtifact(GetPolicyAssignmentArtifactArgs args, InvokeOptions options)
public static Output<GetPolicyAssignmentArtifactResult> getPolicyAssignmentArtifact(GetPolicyAssignmentArtifactArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:blueprint:getPolicyAssignmentArtifact
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ArtifactName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint artifact.
BlueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
ResourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
ArtifactName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint artifact.
BlueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
ResourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifactName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint artifact.
blueprintName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint definition.
resourceScope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifactName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint artifact.
blueprintName
This property is required.
Changes to this property will trigger replacement.
string
Name of the blueprint definition.
resourceScope
This property is required.
Changes to this property will trigger replacement.
string
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifact_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the blueprint artifact.
blueprint_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the blueprint definition.
resource_scope
This property is required.
Changes to this property will trigger replacement.
str
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
artifactName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint artifact.
blueprintName
This property is required.
Changes to this property will trigger replacement.
String
Name of the blueprint definition.
resourceScope
This property is required.
Changes to this property will trigger replacement.
String
The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

getPolicyAssignmentArtifact Result

The following output properties are available:

Id string
String Id used to locate any resource on Azure.
Name string
Name of this resource.
Parameters Dictionary<string, Pulumi.AzureNative.Blueprint.Outputs.ParameterValueResponse>
Parameter values for the policy definition.
PolicyDefinitionId string
Azure resource ID of the policy definition.
Type string
Type of this resource.
DependsOn List<string>
Artifacts which need to be deployed before the specified artifact.
Description string
Multi-line explain this resource.
DisplayName string
One-liner string explain this resource.
ResourceGroup string
Name of the resource group placeholder to which the policy will be assigned.
Id string
String Id used to locate any resource on Azure.
Name string
Name of this resource.
Parameters map[string]ParameterValueResponse
Parameter values for the policy definition.
PolicyDefinitionId string
Azure resource ID of the policy definition.
Type string
Type of this resource.
DependsOn []string
Artifacts which need to be deployed before the specified artifact.
Description string
Multi-line explain this resource.
DisplayName string
One-liner string explain this resource.
ResourceGroup string
Name of the resource group placeholder to which the policy will be assigned.
id String
String Id used to locate any resource on Azure.
name String
Name of this resource.
parameters Map<String,ParameterValueResponse>
Parameter values for the policy definition.
policyDefinitionId String
Azure resource ID of the policy definition.
type String
Type of this resource.
dependsOn List<String>
Artifacts which need to be deployed before the specified artifact.
description String
Multi-line explain this resource.
displayName String
One-liner string explain this resource.
resourceGroup String
Name of the resource group placeholder to which the policy will be assigned.
id string
String Id used to locate any resource on Azure.
name string
Name of this resource.
parameters {[key: string]: ParameterValueResponse}
Parameter values for the policy definition.
policyDefinitionId string
Azure resource ID of the policy definition.
type string
Type of this resource.
dependsOn string[]
Artifacts which need to be deployed before the specified artifact.
description string
Multi-line explain this resource.
displayName string
One-liner string explain this resource.
resourceGroup string
Name of the resource group placeholder to which the policy will be assigned.
id str
String Id used to locate any resource on Azure.
name str
Name of this resource.
parameters Mapping[str, ParameterValueResponse]
Parameter values for the policy definition.
policy_definition_id str
Azure resource ID of the policy definition.
type str
Type of this resource.
depends_on Sequence[str]
Artifacts which need to be deployed before the specified artifact.
description str
Multi-line explain this resource.
display_name str
One-liner string explain this resource.
resource_group str
Name of the resource group placeholder to which the policy will be assigned.
id String
String Id used to locate any resource on Azure.
name String
Name of this resource.
parameters Map<Property Map>
Parameter values for the policy definition.
policyDefinitionId String
Azure resource ID of the policy definition.
type String
Type of this resource.
dependsOn List<String>
Artifacts which need to be deployed before the specified artifact.
description String
Multi-line explain this resource.
displayName String
One-liner string explain this resource.
resourceGroup String
Name of the resource group placeholder to which the policy will be assigned.

Supporting Types

KeyVaultReferenceResponse

Id This property is required. string
Azure resource ID of the Key Vault.
Id This property is required. string
Azure resource ID of the Key Vault.
id This property is required. String
Azure resource ID of the Key Vault.
id This property is required. string
Azure resource ID of the Key Vault.
id This property is required. str
Azure resource ID of the Key Vault.
id This property is required. String
Azure resource ID of the Key Vault.

ParameterValueResponse

Reference Pulumi.AzureNative.Blueprint.Inputs.SecretValueReferenceResponse
Parameter value as reference type.
Value object
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
Reference SecretValueReferenceResponse
Parameter value as reference type.
Value interface{}
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReferenceResponse
Parameter value as reference type.
value Object
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReferenceResponse
Parameter value as reference type.
value any
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference SecretValueReferenceResponse
Parameter value as reference type.
value Any
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.
reference Property Map
Parameter value as reference type.
value Any
Parameter value. Any valid JSON value is allowed including objects, arrays, strings, numbers and booleans.

SecretValueReferenceResponse

KeyVault This property is required. Pulumi.AzureNative.Blueprint.Inputs.KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
SecretName This property is required. string
Name of the secret.
SecretVersion string
The version of the secret to use. If left blank, the latest version of the secret is used.
KeyVault This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
SecretName This property is required. string
Name of the secret.
SecretVersion string
The version of the secret to use. If left blank, the latest version of the secret is used.
keyVault This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
secretName This property is required. String
Name of the secret.
secretVersion String
The version of the secret to use. If left blank, the latest version of the secret is used.
keyVault This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
secretName This property is required. string
Name of the secret.
secretVersion string
The version of the secret to use. If left blank, the latest version of the secret is used.
key_vault This property is required. KeyVaultReferenceResponse
Specifies the reference to a given Azure Key Vault.
secret_name This property is required. str
Name of the secret.
secret_version str
The version of the secret to use. If left blank, the latest version of the secret is used.
keyVault This property is required. Property Map
Specifies the reference to a given Azure Key Vault.
secretName This property is required. String
Name of the secret.
secretVersion String
The version of the secret to use. If left blank, the latest version of the secret is used.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi