1. Packages
  2. Azure Native
  3. API Docs
  4. policyinsights
  5. RemediationAtResource
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.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.policyinsights.RemediationAtResource

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.37.0 published on Monday, Apr 15, 2024 by Pulumi

    The remediation definition. Azure REST API version: 2021-10-01. Prior API version in Azure Native 1.x: 2019-07-01.

    Other available API versions: 2018-07-01-preview.

    Example Usage

    Create remediation at individual resource scope

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var remediationAtResource = new AzureNative.PolicyInsights.RemediationAtResource("remediationAtResource", new()
        {
            PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
            RemediationName = "storageRemediation",
            ResourceId = "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/policyinsights/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := policyinsights.NewRemediationAtResource(ctx, "remediationAtResource", &policyinsights.RemediationAtResourceArgs{
    			PolicyAssignmentId: pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
    			RemediationName:    pulumi.String("storageRemediation"),
    			ResourceId:         pulumi.String("subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.policyinsights.RemediationAtResource;
    import com.pulumi.azurenative.policyinsights.RemediationAtResourceArgs;
    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) {
            var remediationAtResource = new RemediationAtResource("remediationAtResource", RemediationAtResourceArgs.builder()        
                .policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
                .remediationName("storageRemediation")
                .resourceId("subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    remediation_at_resource = azure_native.policyinsights.RemediationAtResource("remediationAtResource",
        policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
        remediation_name="storageRemediation",
        resource_id="subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const remediationAtResource = new azure_native.policyinsights.RemediationAtResource("remediationAtResource", {
        policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
        remediationName: "storageRemediation",
        resourceId: "subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1",
    });
    
    resources:
      remediationAtResource:
        type: azure-native:policyinsights:RemediationAtResource
        properties:
          policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/myResourceGroup/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
          remediationName: storageRemediation
          resourceId: subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourcegroups/myResourceGroup/providers/microsoft.storage/storageaccounts/storAc1
    

    Create RemediationAtResource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RemediationAtResource(name: string, args: RemediationAtResourceArgs, opts?: CustomResourceOptions);
    @overload
    def RemediationAtResource(resource_name: str,
                              args: RemediationAtResourceArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def RemediationAtResource(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              resource_id: Optional[str] = None,
                              failure_threshold: Optional[RemediationPropertiesFailureThresholdArgs] = None,
                              filters: Optional[RemediationFiltersArgs] = None,
                              parallel_deployments: Optional[int] = None,
                              policy_assignment_id: Optional[str] = None,
                              policy_definition_reference_id: Optional[str] = None,
                              remediation_name: Optional[str] = None,
                              resource_count: Optional[int] = None,
                              resource_discovery_mode: Optional[Union[str, ResourceDiscoveryMode]] = None)
    func NewRemediationAtResource(ctx *Context, name string, args RemediationAtResourceArgs, opts ...ResourceOption) (*RemediationAtResource, error)
    public RemediationAtResource(string name, RemediationAtResourceArgs args, CustomResourceOptions? opts = null)
    public RemediationAtResource(String name, RemediationAtResourceArgs args)
    public RemediationAtResource(String name, RemediationAtResourceArgs args, CustomResourceOptions options)
    
    type: azure-native:policyinsights:RemediationAtResource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RemediationAtResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RemediationAtResourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RemediationAtResourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RemediationAtResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RemediationAtResourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var remediationAtResourceResource = new AzureNative.PolicyInsights.RemediationAtResource("remediationAtResourceResource", new()
    {
        ResourceId = "string",
        FailureThreshold = new AzureNative.PolicyInsights.Inputs.RemediationPropertiesFailureThresholdArgs
        {
            Percentage = 0,
        },
        Filters = new AzureNative.PolicyInsights.Inputs.RemediationFiltersArgs
        {
            Locations = new[]
            {
                "string",
            },
        },
        ParallelDeployments = 0,
        PolicyAssignmentId = "string",
        PolicyDefinitionReferenceId = "string",
        RemediationName = "string",
        ResourceCount = 0,
        ResourceDiscoveryMode = "string",
    });
    
    example, err := policyinsights.NewRemediationAtResource(ctx, "remediationAtResourceResource", &policyinsights.RemediationAtResourceArgs{
    ResourceId: pulumi.String("string"),
    FailureThreshold: &policyinsights.RemediationPropertiesFailureThresholdArgs{
    Percentage: pulumi.Float64(0),
    },
    Filters: &policyinsights.RemediationFiltersArgs{
    Locations: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    ParallelDeployments: pulumi.Int(0),
    PolicyAssignmentId: pulumi.String("string"),
    PolicyDefinitionReferenceId: pulumi.String("string"),
    RemediationName: pulumi.String("string"),
    ResourceCount: pulumi.Int(0),
    ResourceDiscoveryMode: pulumi.String("string"),
    })
    
    var remediationAtResourceResource = new RemediationAtResource("remediationAtResourceResource", RemediationAtResourceArgs.builder()        
        .resourceId("string")
        .failureThreshold(RemediationPropertiesFailureThresholdArgs.builder()
            .percentage(0)
            .build())
        .filters(RemediationFiltersArgs.builder()
            .locations("string")
            .build())
        .parallelDeployments(0)
        .policyAssignmentId("string")
        .policyDefinitionReferenceId("string")
        .remediationName("string")
        .resourceCount(0)
        .resourceDiscoveryMode("string")
        .build());
    
    remediation_at_resource_resource = azure_native.policyinsights.RemediationAtResource("remediationAtResourceResource",
        resource_id="string",
        failure_threshold=azure_native.policyinsights.RemediationPropertiesFailureThresholdArgs(
            percentage=0,
        ),
        filters=azure_native.policyinsights.RemediationFiltersArgs(
            locations=["string"],
        ),
        parallel_deployments=0,
        policy_assignment_id="string",
        policy_definition_reference_id="string",
        remediation_name="string",
        resource_count=0,
        resource_discovery_mode="string")
    
    const remediationAtResourceResource = new azure_native.policyinsights.RemediationAtResource("remediationAtResourceResource", {
        resourceId: "string",
        failureThreshold: {
            percentage: 0,
        },
        filters: {
            locations: ["string"],
        },
        parallelDeployments: 0,
        policyAssignmentId: "string",
        policyDefinitionReferenceId: "string",
        remediationName: "string",
        resourceCount: 0,
        resourceDiscoveryMode: "string",
    });
    
    type: azure-native:policyinsights:RemediationAtResource
    properties:
        failureThreshold:
            percentage: 0
        filters:
            locations:
                - string
        parallelDeployments: 0
        policyAssignmentId: string
        policyDefinitionReferenceId: string
        remediationName: string
        resourceCount: 0
        resourceDiscoveryMode: string
        resourceId: string
    

    RemediationAtResource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RemediationAtResource resource accepts the following input properties:

    ResourceId string
    Resource ID.
    FailureThreshold Pulumi.AzureNative.PolicyInsights.Inputs.RemediationPropertiesFailureThreshold
    The remediation failure threshold settings
    Filters Pulumi.AzureNative.PolicyInsights.Inputs.RemediationFilters
    The filters that will be applied to determine which resources to remediate.
    ParallelDeployments int
    Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
    PolicyAssignmentId string
    The resource ID of the policy assignment that should be remediated.
    PolicyDefinitionReferenceId string
    The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    RemediationName string
    The name of the remediation.
    ResourceCount int
    Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
    ResourceDiscoveryMode string | Pulumi.AzureNative.PolicyInsights.ResourceDiscoveryMode
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    ResourceId string
    Resource ID.
    FailureThreshold RemediationPropertiesFailureThresholdArgs
    The remediation failure threshold settings
    Filters RemediationFiltersArgs
    The filters that will be applied to determine which resources to remediate.
    ParallelDeployments int
    Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
    PolicyAssignmentId string
    The resource ID of the policy assignment that should be remediated.
    PolicyDefinitionReferenceId string
    The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    RemediationName string
    The name of the remediation.
    ResourceCount int
    Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
    ResourceDiscoveryMode string | ResourceDiscoveryMode
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    resourceId String
    Resource ID.
    failureThreshold RemediationPropertiesFailureThreshold
    The remediation failure threshold settings
    filters RemediationFilters
    The filters that will be applied to determine which resources to remediate.
    parallelDeployments Integer
    Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
    policyAssignmentId String
    The resource ID of the policy assignment that should be remediated.
    policyDefinitionReferenceId String
    The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    remediationName String
    The name of the remediation.
    resourceCount Integer
    Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
    resourceDiscoveryMode String | ResourceDiscoveryMode
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    resourceId string
    Resource ID.
    failureThreshold RemediationPropertiesFailureThreshold
    The remediation failure threshold settings
    filters RemediationFilters
    The filters that will be applied to determine which resources to remediate.
    parallelDeployments number
    Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
    policyAssignmentId string
    The resource ID of the policy assignment that should be remediated.
    policyDefinitionReferenceId string
    The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    remediationName string
    The name of the remediation.
    resourceCount number
    Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
    resourceDiscoveryMode string | ResourceDiscoveryMode
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    resource_id str
    Resource ID.
    failure_threshold RemediationPropertiesFailureThresholdArgs
    The remediation failure threshold settings
    filters RemediationFiltersArgs
    The filters that will be applied to determine which resources to remediate.
    parallel_deployments int
    Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
    policy_assignment_id str
    The resource ID of the policy assignment that should be remediated.
    policy_definition_reference_id str
    The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    remediation_name str
    The name of the remediation.
    resource_count int
    Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
    resource_discovery_mode str | ResourceDiscoveryMode
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    resourceId String
    Resource ID.
    failureThreshold Property Map
    The remediation failure threshold settings
    filters Property Map
    The filters that will be applied to determine which resources to remediate.
    parallelDeployments Number
    Determines how many resources to remediate at any given time. Can be used to increase or reduce the pace of the remediation. If not provided, the default parallel deployments value is used.
    policyAssignmentId String
    The resource ID of the policy assignment that should be remediated.
    policyDefinitionReferenceId String
    The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
    remediationName String
    The name of the remediation.
    resourceCount Number
    Determines the max number of resources that can be remediated by the remediation job. If not provided, the default resource count is used.
    resourceDiscoveryMode String | "ExistingNonCompliant" | "ReEvaluateCompliance"
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RemediationAtResource resource produces the following output properties:

    CorrelationId string
    The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
    CreatedOn string
    The time at which the remediation was created.
    DeploymentStatus Pulumi.AzureNative.PolicyInsights.Outputs.RemediationDeploymentSummaryResponse
    The deployment status summary for all deployments created by the remediation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedOn string
    The time at which the remediation was last updated.
    Name string
    The name of the remediation.
    ProvisioningState string
    The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.
    StatusMessage string
    The remediation status message. Provides additional details regarding the state of the remediation.
    SystemData Pulumi.AzureNative.PolicyInsights.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the remediation.
    CorrelationId string
    The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
    CreatedOn string
    The time at which the remediation was created.
    DeploymentStatus RemediationDeploymentSummaryResponse
    The deployment status summary for all deployments created by the remediation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedOn string
    The time at which the remediation was last updated.
    Name string
    The name of the remediation.
    ProvisioningState string
    The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.
    StatusMessage string
    The remediation status message. Provides additional details regarding the state of the remediation.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the remediation.
    correlationId String
    The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
    createdOn String
    The time at which the remediation was created.
    deploymentStatus RemediationDeploymentSummaryResponse
    The deployment status summary for all deployments created by the remediation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedOn String
    The time at which the remediation was last updated.
    name String
    The name of the remediation.
    provisioningState String
    The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.
    statusMessage String
    The remediation status message. Provides additional details regarding the state of the remediation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the remediation.
    correlationId string
    The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
    createdOn string
    The time at which the remediation was created.
    deploymentStatus RemediationDeploymentSummaryResponse
    The deployment status summary for all deployments created by the remediation.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedOn string
    The time at which the remediation was last updated.
    name string
    The name of the remediation.
    provisioningState string
    The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.
    statusMessage string
    The remediation status message. Provides additional details regarding the state of the remediation.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the remediation.
    correlation_id str
    The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
    created_on str
    The time at which the remediation was created.
    deployment_status RemediationDeploymentSummaryResponse
    The deployment status summary for all deployments created by the remediation.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_on str
    The time at which the remediation was last updated.
    name str
    The name of the remediation.
    provisioning_state str
    The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.
    status_message str
    The remediation status message. Provides additional details regarding the state of the remediation.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the remediation.
    correlationId String
    The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
    createdOn String
    The time at which the remediation was created.
    deploymentStatus Property Map
    The deployment status summary for all deployments created by the remediation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedOn String
    The time at which the remediation was last updated.
    name String
    The name of the remediation.
    provisioningState String
    The status of the remediation. This refers to the entire remediation task, not individual deployments. Allowed values are Evaluating, Canceled, Cancelling, Failed, Complete, or Succeeded.
    statusMessage String
    The remediation status message. Provides additional details regarding the state of the remediation.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the remediation.

    Supporting Types

    RemediationDeploymentSummaryResponse, RemediationDeploymentSummaryResponseArgs

    FailedDeployments int
    The number of deployments required by the remediation that have failed.
    SuccessfulDeployments int
    The number of deployments required by the remediation that have succeeded.
    TotalDeployments int
    The number of deployments required by the remediation.
    FailedDeployments int
    The number of deployments required by the remediation that have failed.
    SuccessfulDeployments int
    The number of deployments required by the remediation that have succeeded.
    TotalDeployments int
    The number of deployments required by the remediation.
    failedDeployments Integer
    The number of deployments required by the remediation that have failed.
    successfulDeployments Integer
    The number of deployments required by the remediation that have succeeded.
    totalDeployments Integer
    The number of deployments required by the remediation.
    failedDeployments number
    The number of deployments required by the remediation that have failed.
    successfulDeployments number
    The number of deployments required by the remediation that have succeeded.
    totalDeployments number
    The number of deployments required by the remediation.
    failed_deployments int
    The number of deployments required by the remediation that have failed.
    successful_deployments int
    The number of deployments required by the remediation that have succeeded.
    total_deployments int
    The number of deployments required by the remediation.
    failedDeployments Number
    The number of deployments required by the remediation that have failed.
    successfulDeployments Number
    The number of deployments required by the remediation that have succeeded.
    totalDeployments Number
    The number of deployments required by the remediation.

    RemediationFilters, RemediationFiltersArgs

    Locations List<string>
    The resource locations that will be remediated.
    Locations []string
    The resource locations that will be remediated.
    locations List<String>
    The resource locations that will be remediated.
    locations string[]
    The resource locations that will be remediated.
    locations Sequence[str]
    The resource locations that will be remediated.
    locations List<String>
    The resource locations that will be remediated.

    RemediationFiltersResponse, RemediationFiltersResponseArgs

    Locations List<string>
    The resource locations that will be remediated.
    Locations []string
    The resource locations that will be remediated.
    locations List<String>
    The resource locations that will be remediated.
    locations string[]
    The resource locations that will be remediated.
    locations Sequence[str]
    The resource locations that will be remediated.
    locations List<String>
    The resource locations that will be remediated.

    RemediationPropertiesFailureThreshold, RemediationPropertiesFailureThresholdArgs

    Percentage double
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    Percentage float64
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage Double
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage number
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage float
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage Number
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.

    RemediationPropertiesResponseFailureThreshold, RemediationPropertiesResponseFailureThresholdArgs

    Percentage double
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    Percentage float64
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage Double
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage number
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage float
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.
    percentage Number
    A number between 0.0 to 1.0 representing the percentage failure threshold. The remediation will fail if the percentage of failed remediation operations (i.e. failed deployments) exceeds this threshold.

    ResourceDiscoveryMode, ResourceDiscoveryModeArgs

    ExistingNonCompliant
    ExistingNonCompliantRemediate resources that are already known to be non-compliant.
    ReEvaluateCompliance
    ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.
    ResourceDiscoveryModeExistingNonCompliant
    ExistingNonCompliantRemediate resources that are already known to be non-compliant.
    ResourceDiscoveryModeReEvaluateCompliance
    ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.
    ExistingNonCompliant
    ExistingNonCompliantRemediate resources that are already known to be non-compliant.
    ReEvaluateCompliance
    ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.
    ExistingNonCompliant
    ExistingNonCompliantRemediate resources that are already known to be non-compliant.
    ReEvaluateCompliance
    ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.
    EXISTING_NON_COMPLIANT
    ExistingNonCompliantRemediate resources that are already known to be non-compliant.
    RE_EVALUATE_COMPLIANCE
    ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.
    "ExistingNonCompliant"
    ExistingNonCompliantRemediate resources that are already known to be non-compliant.
    "ReEvaluateCompliance"
    ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:policyinsights:RemediationAtResource storageRemediation /{resourceId}/providers/Microsoft.PolicyInsights/remediations/{remediationName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.37.0 published on Monday, Apr 15, 2024 by Pulumi