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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.policyinsights.getRemediationAtManagementGroup
Explore with Pulumi AI
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets an existing remediation at management group scope. Azure REST API version: 2021-10-01.
Other available API versions: 2018-07-01-preview, 2024-10-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:
- Management
Group stringId - Management group ID.
- Management
Groups stringNamespace - The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- Remediation
Name string - The name of the remediation.
- Management
Group stringId - Management group ID.
- Management
Groups stringNamespace - The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- Remediation
Name string - The name of the remediation.
- management
Group StringId - Management group ID.
- management
Groups StringNamespace - The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation
Name String - The name of the remediation.
- management
Group stringId - Management group ID.
- management
Groups stringNamespace - The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation
Name string - The name of the remediation.
- management_
group_ strid - Management group ID.
- management_
groups_ strnamespace - The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation_
name str - The name of the remediation.
- management
Group StringId - Management group ID.
- management
Groups StringNamespace - The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation
Name String - The name of the remediation.
getRemediationAtManagementGroup Result
The following output properties are available:
- 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 ID of the remediation.
- 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.
- Failure
Threshold Pulumi.Azure Native. Policy Insights. Outputs. Remediation Properties Response Failure Threshold - The remediation failure threshold settings
- Filters
Pulumi.
Azure Native. Policy Insights. Outputs. Remediation Filters Response - 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.
- 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 stringMode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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 ID of the remediation.
- 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.
- Failure
Threshold RemediationProperties Response Failure Threshold - The remediation failure threshold settings
- Filters
Remediation
Filters Response - 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.
- 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 stringMode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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 ID of the remediation.
- 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.
- failure
Threshold RemediationProperties Response Failure Threshold - The remediation failure threshold settings
- filters
Remediation
Filters Response - 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.
- 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 StringMode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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 ID of the remediation.
- 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.
- failure
Threshold RemediationProperties Response Failure Threshold - The remediation failure threshold settings
- filters
Remediation
Filters Response - 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.
- 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 stringMode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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 ID of the remediation.
- 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.
- failure_
threshold RemediationProperties Response Failure Threshold - The remediation failure threshold settings
- filters
Remediation
Filters Response - 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.
- 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_ strmode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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 ID of the remediation.
- 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.
- 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.
- 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 StringMode - The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
Supporting Types
RemediationDeploymentSummaryResponse
- 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.
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.
RemediationPropertiesResponseFailureThreshold
- 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.
SystemDataResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi