Azure Native
getRemediationAtResourceGroup
The remediation definition. API Version: 2019-07-01.
Using getRemediationAtResourceGroup
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 getRemediationAtResourceGroup(args: GetRemediationAtResourceGroupArgs, opts?: InvokeOptions): Promise<GetRemediationAtResourceGroupResult>
function getRemediationAtResourceGroupOutput(args: GetRemediationAtResourceGroupOutputArgs, opts?: InvokeOptions): Output<GetRemediationAtResourceGroupResult>
def get_remediation_at_resource_group(remediation_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRemediationAtResourceGroupResult
def get_remediation_at_resource_group_output(remediation_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRemediationAtResourceGroupResult]
func LookupRemediationAtResourceGroup(ctx *Context, args *LookupRemediationAtResourceGroupArgs, opts ...InvokeOption) (*LookupRemediationAtResourceGroupResult, error)
func LookupRemediationAtResourceGroupOutput(ctx *Context, args *LookupRemediationAtResourceGroupOutputArgs, opts ...InvokeOption) LookupRemediationAtResourceGroupResultOutput
> Note: This function is named LookupRemediationAtResourceGroup
in the Go SDK.
public static class GetRemediationAtResourceGroup
{
public static Task<GetRemediationAtResourceGroupResult> InvokeAsync(GetRemediationAtResourceGroupArgs args, InvokeOptions? opts = null)
public static Output<GetRemediationAtResourceGroupResult> Invoke(GetRemediationAtResourceGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRemediationAtResourceGroupResult> getRemediationAtResourceGroup(GetRemediationAtResourceGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: azure-native:policyinsights:getRemediationAtResourceGroup
Arguments:
# Arguments dictionary
The following arguments are supported:
- Remediation
Name string The name of the remediation.
- Resource
Group stringName Resource group name.
- Remediation
Name string The name of the remediation.
- Resource
Group stringName Resource group name.
- remediation
Name String The name of the remediation.
- resource
Group StringName Resource group name.
- remediation
Name string The name of the remediation.
- resource
Group stringName Resource group name.
- remediation_
name str The name of the remediation.
- resource_
group_ strname Resource group name.
- remediation
Name String The name of the remediation.
- resource
Group StringName Resource group name.
getRemediationAtResourceGroup Result
The following output properties are available:
- 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.
- Type string
The type of the remediation.
- Filters
Pulumi.
Azure Native. Policy Insights. Outputs. Remediation Filters Response The filters that will be applied to determine which resources to remediate.
- 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
Discovery stringMode The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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.
- Type string
The type of the remediation.
- Filters
Remediation
Filters Response The filters that will be applied to determine which resources to remediate.
- 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
Discovery stringMode The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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.
- type String
The type of the remediation.
- filters
Remediation
Filters Response The filters that will be applied to determine which resources to remediate.
- 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
Discovery StringMode The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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.
- type string
The type of the remediation.
- filters
Remediation
Filters Response The filters that will be applied to determine which resources to remediate.
- 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
Discovery stringMode 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 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.
- type str
The type of the remediation.
- filters
Remediation
Filters Response The filters that will be applied to determine which resources to remediate.
- 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_
discovery_ strmode The way resources to remediate are discovered. Defaults to ExistingNonCompliant if not specified.
- 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.
- type String
The type of the remediation.
- filters Property Map
The filters that will be applied to determine which resources to remediate.
- 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
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
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
The resource locations that will be remediated.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-native
- License
- Apache-2.0