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.listRemediationDeploymentsAtResource
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 all deployments for a remediation at resource scope. Azure REST API version: 2021-10-01.
Other available API versions: 2018-07-01-preview, 2024-10-01.
Using listRemediationDeploymentsAtResource
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 listRemediationDeploymentsAtResource(args: ListRemediationDeploymentsAtResourceArgs, opts?: InvokeOptions): Promise<ListRemediationDeploymentsAtResourceResult>
function listRemediationDeploymentsAtResourceOutput(args: ListRemediationDeploymentsAtResourceOutputArgs, opts?: InvokeOptions): Output<ListRemediationDeploymentsAtResourceResult>
def list_remediation_deployments_at_resource(remediation_name: Optional[str] = None,
resource_id: Optional[str] = None,
top: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> ListRemediationDeploymentsAtResourceResult
def list_remediation_deployments_at_resource_output(remediation_name: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
top: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListRemediationDeploymentsAtResourceResult]
func ListRemediationDeploymentsAtResource(ctx *Context, args *ListRemediationDeploymentsAtResourceArgs, opts ...InvokeOption) (*ListRemediationDeploymentsAtResourceResult, error)
func ListRemediationDeploymentsAtResourceOutput(ctx *Context, args *ListRemediationDeploymentsAtResourceOutputArgs, opts ...InvokeOption) ListRemediationDeploymentsAtResourceResultOutput
> Note: This function is named ListRemediationDeploymentsAtResource
in the Go SDK.
public static class ListRemediationDeploymentsAtResource
{
public static Task<ListRemediationDeploymentsAtResourceResult> InvokeAsync(ListRemediationDeploymentsAtResourceArgs args, InvokeOptions? opts = null)
public static Output<ListRemediationDeploymentsAtResourceResult> Invoke(ListRemediationDeploymentsAtResourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListRemediationDeploymentsAtResourceResult> listRemediationDeploymentsAtResource(ListRemediationDeploymentsAtResourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:policyinsights:listRemediationDeploymentsAtResource
arguments:
# arguments dictionary
The following arguments are supported:
- Remediation
Name string - The name of the remediation.
- Resource
Id string - Resource ID.
- Top int
- Maximum number of records to return.
- Remediation
Name string - The name of the remediation.
- Resource
Id string - Resource ID.
- Top int
- Maximum number of records to return.
- remediation
Name String - The name of the remediation.
- resource
Id String - Resource ID.
- top Integer
- Maximum number of records to return.
- remediation
Name string - The name of the remediation.
- resource
Id string - Resource ID.
- top number
- Maximum number of records to return.
- remediation_
name str - The name of the remediation.
- resource_
id str - Resource ID.
- top int
- Maximum number of records to return.
- remediation
Name String - The name of the remediation.
- resource
Id String - Resource ID.
- top Number
- Maximum number of records to return.
listRemediationDeploymentsAtResource 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
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