1. Packages
  2. Azure Native v1
  3. API Docs
  4. policyinsights
  5. getRemediationAtManagementGroup
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.policyinsights.getRemediationAtManagementGroup

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets an existing remediation at management group scope. API Version: 2019-07-01.

    Using getRemediationAtManagementGroup

    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 getRemediationAtManagementGroup(args: GetRemediationAtManagementGroupArgs, opts?: InvokeOptions): Promise<GetRemediationAtManagementGroupResult>
    function getRemediationAtManagementGroupOutput(args: GetRemediationAtManagementGroupOutputArgs, opts?: InvokeOptions): Output<GetRemediationAtManagementGroupResult>
    def get_remediation_at_management_group(management_group_id: Optional[str] = None,
                                            management_groups_namespace: Optional[str] = None,
                                            remediation_name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetRemediationAtManagementGroupResult
    def get_remediation_at_management_group_output(management_group_id: Optional[pulumi.Input[str]] = None,
                                            management_groups_namespace: Optional[pulumi.Input[str]] = None,
                                            remediation_name: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetRemediationAtManagementGroupResult]
    func LookupRemediationAtManagementGroup(ctx *Context, args *LookupRemediationAtManagementGroupArgs, opts ...InvokeOption) (*LookupRemediationAtManagementGroupResult, error)
    func LookupRemediationAtManagementGroupOutput(ctx *Context, args *LookupRemediationAtManagementGroupOutputArgs, opts ...InvokeOption) LookupRemediationAtManagementGroupResultOutput

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

    public static class GetRemediationAtManagementGroup 
    {
        public static Task<GetRemediationAtManagementGroupResult> InvokeAsync(GetRemediationAtManagementGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetRemediationAtManagementGroupResult> Invoke(GetRemediationAtManagementGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRemediationAtManagementGroupResult> getRemediationAtManagementGroup(GetRemediationAtManagementGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:policyinsights:getRemediationAtManagementGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagementGroupId string
    Management group ID.
    ManagementGroupsNamespace string
    The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    RemediationName string
    The name of the remediation.
    ManagementGroupId string
    Management group ID.
    ManagementGroupsNamespace string
    The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    RemediationName string
    The name of the remediation.
    managementGroupId String
    Management group ID.
    managementGroupsNamespace String
    The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    remediationName String
    The name of the remediation.
    managementGroupId string
    Management group ID.
    managementGroupsNamespace string
    The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    remediationName string
    The name of the remediation.
    management_group_id str
    Management group ID.
    management_groups_namespace str
    The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    remediation_name str
    The name of the remediation.
    managementGroupId String
    Management group ID.
    managementGroupsNamespace String
    The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    remediationName String
    The name of the remediation.

    getRemediationAtManagementGroup Result

    The following output properties are available:

    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 ID of the remediation.
    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.
    Type string
    The type of the remediation.
    Filters Pulumi.AzureNative.PolicyInsights.Outputs.RemediationFiltersResponse
    The filters that will be applied to determine which resources to remediate.
    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.
    ResourceDiscoveryMode string
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    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 ID of the remediation.
    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.
    Type string
    The type of the remediation.
    Filters RemediationFiltersResponse
    The filters that will be applied to determine which resources to remediate.
    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.
    ResourceDiscoveryMode string
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    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 ID of the remediation.
    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.
    type String
    The type of the remediation.
    filters RemediationFiltersResponse
    The filters that will be applied to determine which resources to remediate.
    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.
    resourceDiscoveryMode String
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    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 ID of the remediation.
    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.
    type string
    The type of the remediation.
    filters RemediationFiltersResponse
    The filters that will be applied to determine which resources to remediate.
    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.
    resourceDiscoveryMode string
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    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 ID of the remediation.
    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.
    type str
    The type of the remediation.
    filters RemediationFiltersResponse
    The filters that will be applied to determine which resources to remediate.
    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.
    resource_discovery_mode str
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
    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 ID of the remediation.
    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.
    type String
    The type of the remediation.
    filters Property Map
    The filters that will be applied to determine which resources to remediate.
    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.
    resourceDiscoveryMode String
    The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.

    Supporting Types

    RemediationDeploymentSummaryResponse

    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.

    RemediationFiltersResponse

    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.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi