1. Packages
  2. Azure Native v2
  3. API Docs
  4. policyinsights
  5. listRemediationDeploymentsAtResourceGroup
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.policyinsights.listRemediationDeploymentsAtResourceGroup

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets all deployments for a remediation at resource group scope. Azure REST API version: 2021-10-01.

Other available API versions: 2024-10-01.

Using listRemediationDeploymentsAtResourceGroup

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 listRemediationDeploymentsAtResourceGroup(args: ListRemediationDeploymentsAtResourceGroupArgs, opts?: InvokeOptions): Promise<ListRemediationDeploymentsAtResourceGroupResult>
function listRemediationDeploymentsAtResourceGroupOutput(args: ListRemediationDeploymentsAtResourceGroupOutputArgs, opts?: InvokeOptions): Output<ListRemediationDeploymentsAtResourceGroupResult>
Copy
def list_remediation_deployments_at_resource_group(remediation_name: Optional[str] = None,
                                                   resource_group_name: Optional[str] = None,
                                                   top: Optional[int] = None,
                                                   opts: Optional[InvokeOptions] = None) -> ListRemediationDeploymentsAtResourceGroupResult
def list_remediation_deployments_at_resource_group_output(remediation_name: Optional[pulumi.Input[str]] = None,
                                                   resource_group_name: Optional[pulumi.Input[str]] = None,
                                                   top: Optional[pulumi.Input[int]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[ListRemediationDeploymentsAtResourceGroupResult]
Copy
func ListRemediationDeploymentsAtResourceGroup(ctx *Context, args *ListRemediationDeploymentsAtResourceGroupArgs, opts ...InvokeOption) (*ListRemediationDeploymentsAtResourceGroupResult, error)
func ListRemediationDeploymentsAtResourceGroupOutput(ctx *Context, args *ListRemediationDeploymentsAtResourceGroupOutputArgs, opts ...InvokeOption) ListRemediationDeploymentsAtResourceGroupResultOutput
Copy

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

public static class ListRemediationDeploymentsAtResourceGroup 
{
    public static Task<ListRemediationDeploymentsAtResourceGroupResult> InvokeAsync(ListRemediationDeploymentsAtResourceGroupArgs args, InvokeOptions? opts = null)
    public static Output<ListRemediationDeploymentsAtResourceGroupResult> Invoke(ListRemediationDeploymentsAtResourceGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListRemediationDeploymentsAtResourceGroupResult> listRemediationDeploymentsAtResourceGroup(ListRemediationDeploymentsAtResourceGroupArgs args, InvokeOptions options)
public static Output<ListRemediationDeploymentsAtResourceGroupResult> listRemediationDeploymentsAtResourceGroup(ListRemediationDeploymentsAtResourceGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:policyinsights:listRemediationDeploymentsAtResourceGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

RemediationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the remediation.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name.
Top int
Maximum number of records to return.
RemediationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the remediation.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name.
Top int
Maximum number of records to return.
remediationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the remediation.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Resource group name.
top Integer
Maximum number of records to return.
remediationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the remediation.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name.
top number
Maximum number of records to return.
remediation_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the remediation.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Resource group name.
top int
Maximum number of records to return.
remediationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the remediation.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Resource group name.
top Number
Maximum number of records to return.

listRemediationDeploymentsAtResourceGroup Result

The following output properties are available:

NextLink string
The URL to get the next set of results.
Value List<Pulumi.AzureNative.PolicyInsights.Outputs.RemediationDeploymentResponse>
Array of deployments for the remediation.
NextLink string
The URL to get the next set of results.
Value []RemediationDeploymentResponse
Array of deployments for the remediation.
nextLink String
The URL to get the next set of results.
value List<RemediationDeploymentResponse>
Array of deployments for the remediation.
nextLink string
The URL to get the next set of results.
value RemediationDeploymentResponse[]
Array of deployments for the remediation.
next_link str
The URL to get the next set of results.
value Sequence[RemediationDeploymentResponse]
Array of deployments for the remediation.
nextLink String
The URL to get the next set of results.
value List<Property Map>
Array of deployments for the remediation.

Supporting Types

ErrorDefinitionResponse

AdditionalInfo This property is required. List<Pulumi.AzureNative.PolicyInsights.Inputs.TypedErrorInfoResponse>
Additional scenario specific error details.
Code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
Details This property is required. List<Pulumi.AzureNative.PolicyInsights.Inputs.ErrorDefinitionResponse>
Internal error details.
Message This property is required. string
Description of the error.
Target This property is required. string
The target of the error.
AdditionalInfo This property is required. []TypedErrorInfoResponse
Additional scenario specific error details.
Code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
Details This property is required. []ErrorDefinitionResponse
Internal error details.
Message This property is required. string
Description of the error.
Target This property is required. string
The target of the error.
additionalInfo This property is required. List<TypedErrorInfoResponse>
Additional scenario specific error details.
code This property is required. String
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. List<ErrorDefinitionResponse>
Internal error details.
message This property is required. String
Description of the error.
target This property is required. String
The target of the error.
additionalInfo This property is required. TypedErrorInfoResponse[]
Additional scenario specific error details.
code This property is required. string
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. ErrorDefinitionResponse[]
Internal error details.
message This property is required. string
Description of the error.
target This property is required. string
The target of the error.
additional_info This property is required. Sequence[TypedErrorInfoResponse]
Additional scenario specific error details.
code This property is required. str
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. Sequence[ErrorDefinitionResponse]
Internal error details.
message This property is required. str
Description of the error.
target This property is required. str
The target of the error.
additionalInfo This property is required. List<Property Map>
Additional scenario specific error details.
code This property is required. String
Service specific error code which serves as the substatus for the HTTP error code.
details This property is required. List<Property Map>
Internal error details.
message This property is required. String
Description of the error.
target This property is required. String
The target of the error.

RemediationDeploymentResponse

CreatedOn This property is required. string
The time at which the remediation was created.
DeploymentId This property is required. string
Resource ID of the template deployment that will remediate the resource.
Error This property is required. Pulumi.AzureNative.PolicyInsights.Inputs.ErrorDefinitionResponse
Error encountered while remediated the resource.
LastUpdatedOn This property is required. string
The time at which the remediation deployment was last updated.
RemediatedResourceId This property is required. string
Resource ID of the resource that is being remediated by the deployment.
ResourceLocation This property is required. string
Location of the resource that is being remediated.
Status This property is required. string
Status of the remediation deployment.
CreatedOn This property is required. string
The time at which the remediation was created.
DeploymentId This property is required. string
Resource ID of the template deployment that will remediate the resource.
Error This property is required. ErrorDefinitionResponse
Error encountered while remediated the resource.
LastUpdatedOn This property is required. string
The time at which the remediation deployment was last updated.
RemediatedResourceId This property is required. string
Resource ID of the resource that is being remediated by the deployment.
ResourceLocation This property is required. string
Location of the resource that is being remediated.
Status This property is required. string
Status of the remediation deployment.
createdOn This property is required. String
The time at which the remediation was created.
deploymentId This property is required. String
Resource ID of the template deployment that will remediate the resource.
error This property is required. ErrorDefinitionResponse
Error encountered while remediated the resource.
lastUpdatedOn This property is required. String
The time at which the remediation deployment was last updated.
remediatedResourceId This property is required. String
Resource ID of the resource that is being remediated by the deployment.
resourceLocation This property is required. String
Location of the resource that is being remediated.
status This property is required. String
Status of the remediation deployment.
createdOn This property is required. string
The time at which the remediation was created.
deploymentId This property is required. string
Resource ID of the template deployment that will remediate the resource.
error This property is required. ErrorDefinitionResponse
Error encountered while remediated the resource.
lastUpdatedOn This property is required. string
The time at which the remediation deployment was last updated.
remediatedResourceId This property is required. string
Resource ID of the resource that is being remediated by the deployment.
resourceLocation This property is required. string
Location of the resource that is being remediated.
status This property is required. string
Status of the remediation deployment.
created_on This property is required. str
The time at which the remediation was created.
deployment_id This property is required. str
Resource ID of the template deployment that will remediate the resource.
error This property is required. ErrorDefinitionResponse
Error encountered while remediated the resource.
last_updated_on This property is required. str
The time at which the remediation deployment was last updated.
remediated_resource_id This property is required. str
Resource ID of the resource that is being remediated by the deployment.
resource_location This property is required. str
Location of the resource that is being remediated.
status This property is required. str
Status of the remediation deployment.
createdOn This property is required. String
The time at which the remediation was created.
deploymentId This property is required. String
Resource ID of the template deployment that will remediate the resource.
error This property is required. Property Map
Error encountered while remediated the resource.
lastUpdatedOn This property is required. String
The time at which the remediation deployment was last updated.
remediatedResourceId This property is required. String
Resource ID of the resource that is being remediated by the deployment.
resourceLocation This property is required. String
Location of the resource that is being remediated.
status This property is required. String
Status of the remediation deployment.

TypedErrorInfoResponse

Info This property is required. object
The scenario specific error details.
Type This property is required. string
The type of included error details.
Info This property is required. interface{}
The scenario specific error details.
Type This property is required. string
The type of included error details.
info This property is required. Object
The scenario specific error details.
type This property is required. String
The type of included error details.
info This property is required. any
The scenario specific error details.
type This property is required. string
The type of included error details.
info This property is required. Any
The scenario specific error details.
type This property is required. str
The type of included error details.
info This property is required. Any
The scenario specific error details.
type This property is required. String
The type of included error details.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi