1. Packages
  2. Azure Native
  3. API Docs
  4. policyinsights
  5. listRemediationDeploymentsAtResourceGroup
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.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.policyinsights.listRemediationDeploymentsAtResourceGroup

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.33.0 published on Friday, Mar 22, 2024 by Pulumi

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

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

    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>
    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]
    func ListRemediationDeploymentsAtResourceGroup(ctx *Context, args *ListRemediationDeploymentsAtResourceGroupArgs, opts ...InvokeOption) (*ListRemediationDeploymentsAtResourceGroupResult, error)
    func ListRemediationDeploymentsAtResourceGroupOutput(ctx *Context, args *ListRemediationDeploymentsAtResourceGroupOutputArgs, opts ...InvokeOption) ListRemediationDeploymentsAtResourceGroupResultOutput

    > 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)
    }
    public static CompletableFuture<ListRemediationDeploymentsAtResourceGroupResult> listRemediationDeploymentsAtResourceGroup(ListRemediationDeploymentsAtResourceGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:policyinsights:listRemediationDeploymentsAtResourceGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RemediationName string
    The name of the remediation.
    ResourceGroupName string
    Resource group name.
    Top int
    Maximum number of records to return.
    RemediationName string
    The name of the remediation.
    ResourceGroupName string
    Resource group name.
    Top int
    Maximum number of records to return.
    remediationName String
    The name of the remediation.
    resourceGroupName String
    Resource group name.
    top Integer
    Maximum number of records to return.
    remediationName string
    The name of the remediation.
    resourceGroupName string
    Resource group name.
    top number
    Maximum number of records to return.
    remediation_name str
    The name of the remediation.
    resource_group_name str
    Resource group name.
    top int
    Maximum number of records to return.
    remediationName String
    The name of the remediation.
    resourceGroupName 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 List<Pulumi.AzureNative.PolicyInsights.Inputs.TypedErrorInfoResponse>
    Additional scenario specific error details.
    Code string
    Service specific error code which serves as the substatus for the HTTP error code.
    Details List<Pulumi.AzureNative.PolicyInsights.Inputs.ErrorDefinitionResponse>
    Internal error details.
    Message string
    Description of the error.
    Target string
    The target of the error.
    AdditionalInfo []TypedErrorInfoResponse
    Additional scenario specific error details.
    Code string
    Service specific error code which serves as the substatus for the HTTP error code.
    Details []ErrorDefinitionResponse
    Internal error details.
    Message string
    Description of the error.
    Target string
    The target of the error.
    additionalInfo List<TypedErrorInfoResponse>
    Additional scenario specific error details.
    code String
    Service specific error code which serves as the substatus for the HTTP error code.
    details List<ErrorDefinitionResponse>
    Internal error details.
    message String
    Description of the error.
    target String
    The target of the error.
    additionalInfo TypedErrorInfoResponse[]
    Additional scenario specific error details.
    code string
    Service specific error code which serves as the substatus for the HTTP error code.
    details ErrorDefinitionResponse[]
    Internal error details.
    message string
    Description of the error.
    target string
    The target of the error.
    additional_info Sequence[TypedErrorInfoResponse]
    Additional scenario specific error details.
    code str
    Service specific error code which serves as the substatus for the HTTP error code.
    details Sequence[ErrorDefinitionResponse]
    Internal error details.
    message str
    Description of the error.
    target str
    The target of the error.
    additionalInfo List<Property Map>
    Additional scenario specific error details.
    code String
    Service specific error code which serves as the substatus for the HTTP error code.
    details List<Property Map>
    Internal error details.
    message String
    Description of the error.
    target String
    The target of the error.

    RemediationDeploymentResponse

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

    TypedErrorInfoResponse

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

    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.33.0 published on Friday, Mar 22, 2024 by Pulumi