1. Packages
  2. Azure Native
  3. API Docs
  4. blueprint
  5. getPolicyAssignmentArtifact
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

azure-native.blueprint.getPolicyAssignmentArtifact

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

    Get a blueprint artifact. 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>
    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]
    func LookupPolicyAssignmentArtifact(ctx *Context, args *LookupPolicyAssignmentArtifactArgs, opts ...InvokeOption) (*LookupPolicyAssignmentArtifactResult, error)
    func LookupPolicyAssignmentArtifactOutput(ctx *Context, args *LookupPolicyAssignmentArtifactOutputArgs, opts ...InvokeOption) LookupPolicyAssignmentArtifactResultOutput

    > 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)
    }
    public static CompletableFuture<GetPolicyAssignmentArtifactResult> getPolicyAssignmentArtifact(GetPolicyAssignmentArtifactArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:blueprint:getPolicyAssignmentArtifact
      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}').

    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 string
    Azure resource ID of the Key Vault.
    Id string
    Azure resource ID of the Key Vault.
    id String
    Azure resource ID of the Key Vault.
    id string
    Azure resource ID of the Key Vault.
    id str
    Azure resource ID of the Key Vault.
    id 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 Pulumi.AzureNative.Blueprint.Inputs.KeyVaultReferenceResponse
    Specifies the reference to a given Azure Key Vault.
    SecretName 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 KeyVaultReferenceResponse
    Specifies the reference to a given Azure Key Vault.
    SecretName 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 KeyVaultReferenceResponse
    Specifies the reference to a given Azure Key Vault.
    secretName 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 KeyVaultReferenceResponse
    Specifies the reference to a given Azure Key Vault.
    secretName 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 KeyVaultReferenceResponse
    Specifies the reference to a given Azure Key Vault.
    secret_name 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 Property Map
    Specifies the reference to a given Azure Key Vault.
    secretName 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.49.1 published on Tuesday, Jul 9, 2024 by Pulumi