azure-native.policyinsights.listRemediationDeploymentsAtResourceGroup
Explore with Pulumi AI
Gets all deployments for a remediation at resource group scope.
Uses Azure REST API version 2024-10-01.
Other available API versions: 2021-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native policyinsights [ApiVersion]
. See the version guide for details.
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)
public static Output<ListRemediationDeploymentsAtResourceGroupResult> listRemediationDeploymentsAtResourceGroup(ListRemediationDeploymentsAtResourceGroupArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:policyinsights:listRemediationDeploymentsAtResourceGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Remediation
Name string - The name of the remediation.
- Resource
Group stringName - Resource group name.
- Top int
- Maximum number of records to return.
- Remediation
Name string - The name of the remediation.
- Resource
Group stringName - Resource group name.
- Top int
- Maximum number of records to return.
- remediation
Name String - The name of the remediation.
- resource
Group StringName - Resource group name.
- top Integer
- Maximum number of records to return.
- remediation
Name string - The name of the remediation.
- resource
Group stringName - Resource group name.
- top number
- Maximum number of records to return.
- remediation_
name str - The name of the remediation.
- resource_
group_ strname - Resource group name.
- top int
- Maximum number of records to return.
- remediation
Name String - The name of the remediation.
- resource
Group StringName - Resource group name.
- top Number
- Maximum number of records to return.
listRemediationDeploymentsAtResourceGroup Result
The following output properties are available:
- Next
Link string - The URL to get the next set of results.
- Value
List<Pulumi.
Azure Native. Policy Insights. Outputs. Remediation Deployment Response> - Array of deployments for the remediation.
- Next
Link string - The URL to get the next set of results.
- Value
[]Remediation
Deployment Response - Array of deployments for the remediation.
- next
Link String - The URL to get the next set of results.
- value
List<Remediation
Deployment Response> - Array of deployments for the remediation.
- next
Link string - The URL to get the next set of results.
- value
Remediation
Deployment Response[] - Array of deployments for the remediation.
- next_
link str - The URL to get the next set of results.
- value
Sequence[Remediation
Deployment Response] - Array of deployments for the remediation.
- next
Link String - The URL to get the next set of results.
- value List<Property Map>
- Array of deployments for the remediation.
Supporting Types
ErrorDefinitionResponse
- Additional
Info List<Pulumi.Azure Native. Policy Insights. Inputs. Typed Error Info Response> - Additional scenario specific error details.
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
List<Pulumi.
Azure Native. Policy Insights. Inputs. Error Definition Response> - Internal error details.
- Message string
- Description of the error.
- Target string
- The target of the error.
- Additional
Info []TypedError Info Response - Additional scenario specific error details.
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
[]Error
Definition Response - Internal error details.
- Message string
- Description of the error.
- Target string
- The target of the error.
- additional
Info List<TypedError Info Response> - Additional scenario specific error details.
- code String
- Service specific error code which serves as the substatus for the HTTP error code.
- details
List<Error
Definition Response> - Internal error details.
- message String
- Description of the error.
- target String
- The target of the error.
- additional
Info TypedError Info Response[] - Additional scenario specific error details.
- code string
- Service specific error code which serves as the substatus for the HTTP error code.
- details
Error
Definition Response[] - Internal error details.
- message string
- Description of the error.
- target string
- The target of the error.
- additional_
info Sequence[TypedError Info Response] - Additional scenario specific error details.
- code str
- Service specific error code which serves as the substatus for the HTTP error code.
- details
Sequence[Error
Definition Response] - Internal error details.
- message str
- Description of the error.
- target str
- The target of the error.
- additional
Info 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
- Created
On string - The time at which the remediation was created.
- Deployment
Id string - Resource ID of the template deployment that will remediate the resource.
- Error
Pulumi.
Azure Native. Policy Insights. Inputs. Error Definition Response - Error encountered while remediated the resource.
- Last
Updated stringOn - The time at which the remediation deployment was last updated.
- Remediated
Resource stringId - Resource ID of the resource that is being remediated by the deployment.
- Resource
Location string - Location of the resource that is being remediated.
- Status string
- Status of the remediation deployment.
- Created
On string - The time at which the remediation was created.
- Deployment
Id string - Resource ID of the template deployment that will remediate the resource.
- Error
Error
Definition Response - Error encountered while remediated the resource.
- Last
Updated stringOn - The time at which the remediation deployment was last updated.
- Remediated
Resource stringId - Resource ID of the resource that is being remediated by the deployment.
- Resource
Location string - Location of the resource that is being remediated.
- Status string
- Status of the remediation deployment.
- created
On String - The time at which the remediation was created.
- deployment
Id String - Resource ID of the template deployment that will remediate the resource.
- error
Error
Definition Response - Error encountered while remediated the resource.
- last
Updated StringOn - The time at which the remediation deployment was last updated.
- remediated
Resource StringId - Resource ID of the resource that is being remediated by the deployment.
- resource
Location String - Location of the resource that is being remediated.
- status String
- Status of the remediation deployment.
- created
On string - The time at which the remediation was created.
- deployment
Id string - Resource ID of the template deployment that will remediate the resource.
- error
Error
Definition Response - Error encountered while remediated the resource.
- last
Updated stringOn - The time at which the remediation deployment was last updated.
- remediated
Resource stringId - Resource ID of the resource that is being remediated by the deployment.
- resource
Location 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
Error
Definition Response - Error encountered while remediated the resource.
- last_
updated_ stron - The time at which the remediation deployment was last updated.
- remediated_
resource_ strid - 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.
- created
On String - The time at which the remediation was created.
- deployment
Id String - Resource ID of the template deployment that will remediate the resource.
- error Property Map
- Error encountered while remediated the resource.
- last
Updated StringOn - The time at which the remediation deployment was last updated.
- remediated
Resource StringId - Resource ID of the resource that is being remediated by the deployment.
- resource
Location String - Location of the resource that is being remediated.
- status String
- Status of the remediation deployment.
TypedErrorInfoResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0