@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
64 lines (63 loc) • 2.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The `dynatrace.VulnerabilityAlerting` data source allows the vulnerability alerting profile ID to be retrieved by its name.
*
* - `name` (String) - The name of the vulnerability alerting profile
*
* If multiple services match the given criteria, the first result will be retrieved.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getVulnerabilityAlerting({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getVulnerabilityAlerting(args: GetVulnerabilityAlertingArgs, opts?: pulumi.InvokeOptions): Promise<GetVulnerabilityAlertingResult>;
/**
* A collection of arguments for invoking getVulnerabilityAlerting.
*/
export interface GetVulnerabilityAlertingArgs {
name: string;
}
/**
* A collection of values returned by getVulnerabilityAlerting.
*/
export interface GetVulnerabilityAlertingResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
}
/**
* The `dynatrace.VulnerabilityAlerting` data source allows the vulnerability alerting profile ID to be retrieved by its name.
*
* - `name` (String) - The name of the vulnerability alerting profile
*
* If multiple services match the given criteria, the first result will be retrieved.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumi/dynatrace";
*
* const example = dynatrace.getVulnerabilityAlerting({
* name: "Terraform Example",
* });
* export const id = example.then(example => example.id);
* ```
*/
export declare function getVulnerabilityAlertingOutput(args: GetVulnerabilityAlertingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVulnerabilityAlertingResult>;
/**
* A collection of arguments for invoking getVulnerabilityAlerting.
*/
export interface GetVulnerabilityAlertingOutputArgs {
name: pulumi.Input<string>;
}