@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets all deployments for a remediation at resource 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listRemediationDeploymentsAtResource(args: ListRemediationDeploymentsAtResourceArgs, opts?: pulumi.InvokeOptions): Promise<ListRemediationDeploymentsAtResourceResult>;
export interface ListRemediationDeploymentsAtResourceArgs {
/**
* The name of the remediation.
*/
remediationName: string;
/**
* Resource ID.
*/
resourceId: string;
/**
* Maximum number of records to return.
*/
top?: number;
}
/**
* List of deployments for a remediation.
*/
export interface ListRemediationDeploymentsAtResourceResult {
/**
* The URL to get the next set of results.
*/
readonly nextLink: string;
/**
* Array of deployments for the remediation.
*/
readonly value: outputs.policyinsights.RemediationDeploymentResponse[];
}
/**
* Gets all deployments for a remediation at resource 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listRemediationDeploymentsAtResourceOutput(args: ListRemediationDeploymentsAtResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListRemediationDeploymentsAtResourceResult>;
export interface ListRemediationDeploymentsAtResourceOutputArgs {
/**
* The name of the remediation.
*/
remediationName: pulumi.Input<string>;
/**
* Resource ID.
*/
resourceId: pulumi.Input<string>;
/**
* Maximum number of records to return.
*/
top?: pulumi.Input<number>;
}