azure-native.policyinsights.RemediationAtSubscription
Explore with Pulumi AI
The remediation definition.
Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2021-10-01.
Other available API versions: 2021-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native policyinsights [ApiVersion]
. See the version guide for details.
Example Usage
Create remediation at subscription scope
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var remediationAtSubscription = new AzureNative.PolicyInsights.RemediationAtSubscription("remediationAtSubscription", new()
{
PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
RemediationName = "storageRemediation",
});
});
package main
import (
policyinsights "github.com/pulumi/pulumi-azure-native-sdk/policyinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := policyinsights.NewRemediationAtSubscription(ctx, "remediationAtSubscription", &policyinsights.RemediationAtSubscriptionArgs{
PolicyAssignmentId: pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
RemediationName: pulumi.String("storageRemediation"),
})
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.RemediationAtSubscription;
import com.pulumi.azurenative.policyinsights.RemediationAtSubscriptionArgs;
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 remediationAtSubscription = new RemediationAtSubscription("remediationAtSubscription", RemediationAtSubscriptionArgs.builder()
.policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
.remediationName("storageRemediation")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const remediationAtSubscription = new azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscription", {
policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
remediationName: "storageRemediation",
});
import pulumi
import pulumi_azure_native as azure_native
remediation_at_subscription = azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscription",
policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
remediation_name="storageRemediation")
resources:
remediationAtSubscription:
type: azure-native:policyinsights:RemediationAtSubscription
properties:
policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
remediationName: storageRemediation
Create remediation at subscription scope with all properties
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var remediationAtSubscription = new AzureNative.PolicyInsights.RemediationAtSubscription("remediationAtSubscription", new()
{
FailureThreshold = new AzureNative.PolicyInsights.Inputs.RemediationPropertiesFailureThresholdArgs
{
Percentage = 0.1,
},
Filters = new AzureNative.PolicyInsights.Inputs.RemediationFiltersArgs
{
Locations = new[]
{
"eastus",
"westus",
},
},
ParallelDeployments = 6,
PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
PolicyDefinitionReferenceId = "8c8fa9e4",
RemediationName = "storageRemediation",
ResourceCount = 42,
ResourceDiscoveryMode = AzureNative.PolicyInsights.ResourceDiscoveryMode.ReEvaluateCompliance,
});
});
package main
import (
policyinsights "github.com/pulumi/pulumi-azure-native-sdk/policyinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := policyinsights.NewRemediationAtSubscription(ctx, "remediationAtSubscription", &policyinsights.RemediationAtSubscriptionArgs{
FailureThreshold: &policyinsights.RemediationPropertiesFailureThresholdArgs{
Percentage: pulumi.Float64(0.1),
},
Filters: &policyinsights.RemediationFiltersArgs{
Locations: pulumi.StringArray{
pulumi.String("eastus"),
pulumi.String("westus"),
},
},
ParallelDeployments: pulumi.Int(6),
PolicyAssignmentId: pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
PolicyDefinitionReferenceId: pulumi.String("8c8fa9e4"),
RemediationName: pulumi.String("storageRemediation"),
ResourceCount: pulumi.Int(42),
ResourceDiscoveryMode: pulumi.String(policyinsights.ResourceDiscoveryModeReEvaluateCompliance),
})
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.RemediationAtSubscription;
import com.pulumi.azurenative.policyinsights.RemediationAtSubscriptionArgs;
import com.pulumi.azurenative.policyinsights.inputs.RemediationPropertiesFailureThresholdArgs;
import com.pulumi.azurenative.policyinsights.inputs.RemediationFiltersArgs;
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 remediationAtSubscription = new RemediationAtSubscription("remediationAtSubscription", RemediationAtSubscriptionArgs.builder()
.failureThreshold(RemediationPropertiesFailureThresholdArgs.builder()
.percentage(0.1)
.build())
.filters(RemediationFiltersArgs.builder()
.locations(
"eastus",
"westus")
.build())
.parallelDeployments(6)
.policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
.policyDefinitionReferenceId("8c8fa9e4")
.remediationName("storageRemediation")
.resourceCount(42)
.resourceDiscoveryMode("ReEvaluateCompliance")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const remediationAtSubscription = new azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscription", {
failureThreshold: {
percentage: 0.1,
},
filters: {
locations: [
"eastus",
"westus",
],
},
parallelDeployments: 6,
policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
policyDefinitionReferenceId: "8c8fa9e4",
remediationName: "storageRemediation",
resourceCount: 42,
resourceDiscoveryMode: azure_native.policyinsights.ResourceDiscoveryMode.ReEvaluateCompliance,
});
import pulumi
import pulumi_azure_native as azure_native
remediation_at_subscription = azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscription",
failure_threshold={
"percentage": 0.1,
},
filters={
"locations": [
"eastus",
"westus",
],
},
parallel_deployments=6,
policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
policy_definition_reference_id="8c8fa9e4",
remediation_name="storageRemediation",
resource_count=42,
resource_discovery_mode=azure_native.policyinsights.ResourceDiscoveryMode.RE_EVALUATE_COMPLIANCE)
resources:
remediationAtSubscription:
type: azure-native:policyinsights:RemediationAtSubscription
properties:
failureThreshold:
percentage: 0.1
filters:
locations:
- eastus
- westus
parallelDeployments: 6
policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
policyDefinitionReferenceId: 8c8fa9e4
remediationName: storageRemediation
resourceCount: 42
resourceDiscoveryMode: ReEvaluateCompliance
Create remediation at subscription scope with resourceIds filter
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var remediationAtSubscription = new AzureNative.PolicyInsights.RemediationAtSubscription("remediationAtSubscription", new()
{
FailureThreshold = new AzureNative.PolicyInsights.Inputs.RemediationPropertiesFailureThresholdArgs
{
Percentage = 0.1,
},
Filters = new AzureNative.PolicyInsights.Inputs.RemediationFiltersArgs
{
Locations = new[]
{
"eastus",
"westus",
},
ResourceIds = new[]
{
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174",
},
},
ParallelDeployments = 6,
PolicyAssignmentId = "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
PolicyDefinitionReferenceId = "8c8fa9e4",
RemediationName = "storageRemediation",
ResourceCount = 42,
ResourceDiscoveryMode = AzureNative.PolicyInsights.ResourceDiscoveryMode.ExistingNonCompliant,
});
});
package main
import (
policyinsights "github.com/pulumi/pulumi-azure-native-sdk/policyinsights/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := policyinsights.NewRemediationAtSubscription(ctx, "remediationAtSubscription", &policyinsights.RemediationAtSubscriptionArgs{
FailureThreshold: &policyinsights.RemediationPropertiesFailureThresholdArgs{
Percentage: pulumi.Float64(0.1),
},
Filters: &policyinsights.RemediationFiltersArgs{
Locations: pulumi.StringArray{
pulumi.String("eastus"),
pulumi.String("westus"),
},
ResourceIds: pulumi.StringArray{
pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125"),
pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699"),
pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596"),
pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637"),
pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834"),
pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174"),
},
},
ParallelDeployments: pulumi.Int(6),
PolicyAssignmentId: pulumi.String("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5"),
PolicyDefinitionReferenceId: pulumi.String("8c8fa9e4"),
RemediationName: pulumi.String("storageRemediation"),
ResourceCount: pulumi.Int(42),
ResourceDiscoveryMode: pulumi.String(policyinsights.ResourceDiscoveryModeExistingNonCompliant),
})
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.RemediationAtSubscription;
import com.pulumi.azurenative.policyinsights.RemediationAtSubscriptionArgs;
import com.pulumi.azurenative.policyinsights.inputs.RemediationPropertiesFailureThresholdArgs;
import com.pulumi.azurenative.policyinsights.inputs.RemediationFiltersArgs;
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 remediationAtSubscription = new RemediationAtSubscription("remediationAtSubscription", RemediationAtSubscriptionArgs.builder()
.failureThreshold(RemediationPropertiesFailureThresholdArgs.builder()
.percentage(0.1)
.build())
.filters(RemediationFiltersArgs.builder()
.locations(
"eastus",
"westus")
.resourceIds(
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174")
.build())
.parallelDeployments(6)
.policyAssignmentId("/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5")
.policyDefinitionReferenceId("8c8fa9e4")
.remediationName("storageRemediation")
.resourceCount(42)
.resourceDiscoveryMode("ExistingNonCompliant")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const remediationAtSubscription = new azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscription", {
failureThreshold: {
percentage: 0.1,
},
filters: {
locations: [
"eastus",
"westus",
],
resourceIds: [
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174",
],
},
parallelDeployments: 6,
policyAssignmentId: "/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
policyDefinitionReferenceId: "8c8fa9e4",
remediationName: "storageRemediation",
resourceCount: 42,
resourceDiscoveryMode: azure_native.policyinsights.ResourceDiscoveryMode.ExistingNonCompliant,
});
import pulumi
import pulumi_azure_native as azure_native
remediation_at_subscription = azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscription",
failure_threshold={
"percentage": 0.1,
},
filters={
"locations": [
"eastus",
"westus",
],
"resource_ids": [
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834",
"/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174",
],
},
parallel_deployments=6,
policy_assignment_id="/subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5",
policy_definition_reference_id="8c8fa9e4",
remediation_name="storageRemediation",
resource_count=42,
resource_discovery_mode=azure_native.policyinsights.ResourceDiscoveryMode.EXISTING_NON_COMPLIANT)
resources:
remediationAtSubscription:
type: azure-native:policyinsights:RemediationAtSubscription
properties:
failureThreshold:
percentage: 0.1
filters:
locations:
- eastus
- westus
resourceIds:
- /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125
- /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699
- /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596
- /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637
- /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834
- /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174
parallelDeployments: 6
policyAssignmentId: /subscriptions/35ee058e-5fa0-414c-8145-3ebb8d09b6e2/providers/microsoft.authorization/policyassignments/b101830944f246d8a14088c5
policyDefinitionReferenceId: 8c8fa9e4
remediationName: storageRemediation
resourceCount: 42
resourceDiscoveryMode: ExistingNonCompliant
Create RemediationAtSubscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RemediationAtSubscription(name: string, args?: RemediationAtSubscriptionArgs, opts?: CustomResourceOptions);
@overload
def RemediationAtSubscription(resource_name: str,
args: Optional[RemediationAtSubscriptionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RemediationAtSubscription(resource_name: str,
opts: Optional[ResourceOptions] = 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 NewRemediationAtSubscription(ctx *Context, name string, args *RemediationAtSubscriptionArgs, opts ...ResourceOption) (*RemediationAtSubscription, error)
public RemediationAtSubscription(string name, RemediationAtSubscriptionArgs? args = null, CustomResourceOptions? opts = null)
public RemediationAtSubscription(String name, RemediationAtSubscriptionArgs args)
public RemediationAtSubscription(String name, RemediationAtSubscriptionArgs args, CustomResourceOptions options)
type: azure-native:policyinsights:RemediationAtSubscription
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 RemediationAtSubscriptionArgs
- 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 RemediationAtSubscriptionArgs
- 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 RemediationAtSubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RemediationAtSubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RemediationAtSubscriptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var remediationAtSubscriptionResource = new AzureNative.PolicyInsights.RemediationAtSubscription("remediationAtSubscriptionResource", new()
{
FailureThreshold = new AzureNative.PolicyInsights.Inputs.RemediationPropertiesFailureThresholdArgs
{
Percentage = 0,
},
Filters = new AzureNative.PolicyInsights.Inputs.RemediationFiltersArgs
{
Locations = new[]
{
"string",
},
ResourceIds = new[]
{
"string",
},
},
ParallelDeployments = 0,
PolicyAssignmentId = "string",
PolicyDefinitionReferenceId = "string",
RemediationName = "string",
ResourceCount = 0,
ResourceDiscoveryMode = "string",
});
example, err := policyinsights.NewRemediationAtSubscription(ctx, "remediationAtSubscriptionResource", &policyinsights.RemediationAtSubscriptionArgs{
FailureThreshold: &policyinsights.RemediationPropertiesFailureThresholdArgs{
Percentage: pulumi.Float64(0),
},
Filters: &policyinsights.RemediationFiltersArgs{
Locations: pulumi.StringArray{
pulumi.String("string"),
},
ResourceIds: 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 remediationAtSubscriptionResource = new RemediationAtSubscription("remediationAtSubscriptionResource", RemediationAtSubscriptionArgs.builder()
.failureThreshold(RemediationPropertiesFailureThresholdArgs.builder()
.percentage(0)
.build())
.filters(RemediationFiltersArgs.builder()
.locations("string")
.resourceIds("string")
.build())
.parallelDeployments(0)
.policyAssignmentId("string")
.policyDefinitionReferenceId("string")
.remediationName("string")
.resourceCount(0)
.resourceDiscoveryMode("string")
.build());
remediation_at_subscription_resource = azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscriptionResource",
failure_threshold={
"percentage": 0,
},
filters={
"locations": ["string"],
"resource_ids": ["string"],
},
parallel_deployments=0,
policy_assignment_id="string",
policy_definition_reference_id="string",
remediation_name="string",
resource_count=0,
resource_discovery_mode="string")
const remediationAtSubscriptionResource = new azure_native.policyinsights.RemediationAtSubscription("remediationAtSubscriptionResource", {
failureThreshold: {
percentage: 0,
},
filters: {
locations: ["string"],
resourceIds: ["string"],
},
parallelDeployments: 0,
policyAssignmentId: "string",
policyDefinitionReferenceId: "string",
remediationName: "string",
resourceCount: 0,
resourceDiscoveryMode: "string",
});
type: azure-native:policyinsights:RemediationAtSubscription
properties:
failureThreshold:
percentage: 0
filters:
locations:
- string
resourceIds:
- string
parallelDeployments: 0
policyAssignmentId: string
policyDefinitionReferenceId: string
remediationName: string
resourceCount: 0
resourceDiscoveryMode: string
RemediationAtSubscription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RemediationAtSubscription resource accepts the following input properties:
- Failure
Threshold Pulumi.Azure Native. Policy Insights. Inputs. Remediation Properties Failure Threshold - The remediation failure threshold settings
- Filters
Pulumi.
Azure Native. Policy Insights. Inputs. Remediation Filters - 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 stringId - The resource ID of the policy assignment that should be remediated.
- Policy
Definition stringReference Id - 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 string - 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 string | Pulumi.Mode Azure Native. Policy Insights. Resource Discovery Mode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- Failure
Threshold RemediationProperties Failure Threshold Args - The remediation failure threshold settings
- Filters
Remediation
Filters Args - 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 stringId - The resource ID of the policy assignment that should be remediated.
- Policy
Definition stringReference Id - 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 string - 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 string | ResourceMode Discovery Mode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- failure
Threshold RemediationProperties Failure Threshold - The remediation failure threshold settings
- filters
Remediation
Filters - The filters that will be applied to determine which resources to remediate.
- parallel
Deployments 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.
- policy
Assignment StringId - The resource ID of the policy assignment that should be remediated.
- policy
Definition StringReference Id - 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 String - The name of the remediation.
- resource
Count Integer - 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 String | ResourceMode Discovery Mode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- failure
Threshold RemediationProperties Failure Threshold - The remediation failure threshold settings
- filters
Remediation
Filters - The filters that will be applied to determine which resources to remediate.
- parallel
Deployments 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.
- policy
Assignment stringId - The resource ID of the policy assignment that should be remediated.
- policy
Definition stringReference Id - 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 string - The name of the remediation.
- resource
Count number - 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 string | ResourceMode Discovery Mode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- failure_
threshold RemediationProperties Failure Threshold Args - The remediation failure threshold settings
- filters
Remediation
Filters Args - 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_ strid - The resource ID of the policy assignment that should be remediated.
- policy_
definition_ strreference_ id - 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_ str | Resourcemode Discovery Mode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- failure
Threshold Property Map - The remediation failure threshold settings
- filters Property Map
- The filters that will be applied to determine which resources to remediate.
- parallel
Deployments 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.
- policy
Assignment StringId - The resource ID of the policy assignment that should be remediated.
- policy
Definition StringReference Id - 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 String - The name of the remediation.
- resource
Count Number - 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 String | "ExistingMode Non Compliant" | "Re Evaluate Compliance" - 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 RemediationAtSubscription resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Correlation
Id string - The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
- Created
On string - The time at which the remediation was created.
- Deployment
Status Pulumi.Azure Native. Policy Insights. Outputs. Remediation Deployment Summary Response - The deployment status summary for all deployments created by the remediation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringOn - The time at which the remediation was last updated.
- Name string
- The name of the remediation.
- Provisioning
State 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.
- Status
Message string - The remediation status message. Provides additional details regarding the state of the remediation.
- System
Data Pulumi.Azure Native. Policy Insights. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the remediation.
- Azure
Api stringVersion - The Azure API version of the resource.
- Correlation
Id string - The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
- Created
On string - The time at which the remediation was created.
- Deployment
Status RemediationDeployment Summary Response - The deployment status summary for all deployments created by the remediation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringOn - The time at which the remediation was last updated.
- Name string
- The name of the remediation.
- Provisioning
State 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.
- Status
Message string - The remediation status message. Provides additional details regarding the state of the remediation.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the remediation.
- azure
Api StringVersion - The Azure API version of the resource.
- correlation
Id String - The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
- created
On String - The time at which the remediation was created.
- deployment
Status RemediationDeployment Summary Response - The deployment status summary for all deployments created by the remediation.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringOn - The time at which the remediation was last updated.
- name String
- The name of the remediation.
- provisioning
State 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.
- status
Message String - The remediation status message. Provides additional details regarding the state of the remediation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the remediation.
- azure
Api stringVersion - The Azure API version of the resource.
- correlation
Id string - The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
- created
On string - The time at which the remediation was created.
- deployment
Status RemediationDeployment Summary Response - The deployment status summary for all deployments created by the remediation.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringOn - The time at which the remediation was last updated.
- name string
- The name of the remediation.
- provisioning
State 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.
- status
Message string - The remediation status message. Provides additional details regarding the state of the remediation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the remediation.
- azure_
api_ strversion - The Azure API version of the resource.
- 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 RemediationDeployment Summary Response - The deployment status summary for all deployments created by the remediation.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ stron - 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 SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the remediation.
- azure
Api StringVersion - The Azure API version of the resource.
- correlation
Id String - The remediation correlation Id. Can be used to find events related to the remediation in the activity log.
- created
On String - The time at which the remediation was created.
- deployment
Status Property Map - The deployment status summary for all deployments created by the remediation.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringOn - The time at which the remediation was last updated.
- name String
- The name of the remediation.
- provisioning
State 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.
- status
Message String - The remediation status message. Provides additional details regarding the state of the remediation.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the remediation.
Supporting Types
RemediationDeploymentSummaryResponse, RemediationDeploymentSummaryResponseArgs
- 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.
- 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.
- failed
Deployments Integer - The number of deployments required by the remediation that have failed.
- successful
Deployments Integer - The number of deployments required by the remediation that have succeeded.
- total
Deployments Integer - The number of deployments required by the remediation.
- failed
Deployments number - The number of deployments required by the remediation that have failed.
- successful
Deployments number - The number of deployments required by the remediation that have succeeded.
- total
Deployments 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.
- failed
Deployments Number - The number of deployments required by the remediation that have failed.
- successful
Deployments Number - The number of deployments required by the remediation that have succeeded.
- total
Deployments Number - The number of deployments required by the remediation.
RemediationFilters, RemediationFiltersArgs
- Locations List<string>
- The resource locations that will be remediated.
- Resource
Ids List<string> - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- Locations []string
- The resource locations that will be remediated.
- Resource
Ids []string - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations List<String>
- The resource locations that will be remediated.
- resource
Ids List<String> - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations string[]
- The resource locations that will be remediated.
- resource
Ids string[] - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations Sequence[str]
- The resource locations that will be remediated.
- resource_
ids Sequence[str] - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations List<String>
- The resource locations that will be remediated.
- resource
Ids List<String> - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
RemediationFiltersResponse, RemediationFiltersResponseArgs
- Locations List<string>
- The resource locations that will be remediated.
- Resource
Ids List<string> - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- Locations []string
- The resource locations that will be remediated.
- Resource
Ids []string - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations List<String>
- The resource locations that will be remediated.
- resource
Ids List<String> - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations string[]
- The resource locations that will be remediated.
- resource
Ids string[] - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations Sequence[str]
- The resource locations that will be remediated.
- resource_
ids Sequence[str] - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
- locations List<String>
- The resource locations that will be remediated.
- resource
Ids List<String> - The IDs of the resources that will be remediated. Can specify at most 100 IDs. This filter cannot be used when ReEvaluateCompliance is set to ReEvaluateCompliance, and cannot be empty if provided.
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
- 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. The resourceIds filter cannot be used in this mode.
- Resource
Discovery Mode Existing Non Compliant - ExistingNonCompliantRemediate resources that are already known to be non-compliant.
- Resource
Discovery Mode Re Evaluate Compliance - ReEvaluateComplianceRe-evaluate the compliance state of resources and then remediate the resources found to be non-compliant. The resourceIds filter cannot be used in this mode.
- 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. The resourceIds filter cannot be used in this mode.
- 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. The resourceIds filter cannot be used in this mode.
- 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. The resourceIds filter cannot be used in this mode.
- "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. The resourceIds filter cannot be used in this mode.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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:RemediationAtSubscription storageRemediation /subscriptions/{subscriptionId}/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