@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
103 lines (102 loc) • 3.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* VulnerabilityProtectionProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single SCM Vulnerability Protection Profile object by its ID.
* //
* // Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
* const scmVpProfile = scm.getVulnerabilityProtectionProfile({
* id: "f2a337e2-f3a6-45aa-9273-de3d216f8d9c",
* });
* export const scmVulnerabilityProtectionProfileDetails = {
* profileId: scmVpProfile.then(scmVpProfile => scmVpProfile.id),
* folder: scmVpProfile.then(scmVpProfile => scmVpProfile.folder),
* name: scmVpProfile.then(scmVpProfile => scmVpProfile.name),
* };
* ```
*/
export declare function getVulnerabilityProtectionProfile(args: GetVulnerabilityProtectionProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetVulnerabilityProtectionProfileResult>;
/**
* A collection of arguments for invoking getVulnerabilityProtectionProfile.
*/
export interface GetVulnerabilityProtectionProfileArgs {
/**
* UUID of the resource
*/
id: string;
/**
* Name
*/
name?: string;
}
/**
* A collection of values returned by getVulnerabilityProtectionProfile.
*/
export interface GetVulnerabilityProtectionProfileResult {
/**
* Description
*/
readonly description: string;
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
/**
* Name
*/
readonly name: string;
readonly rules: outputs.GetVulnerabilityProtectionProfileRule[];
readonly snippet: string;
readonly tfid: string;
readonly threatExceptions: outputs.GetVulnerabilityProtectionProfileThreatException[];
}
/**
* VulnerabilityProtectionProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single SCM Vulnerability Protection Profile object by its ID.
* //
* // Replace the ID with the UUID of the SCM Vulnerability Protection Profile you want to find.
* const scmVpProfile = scm.getVulnerabilityProtectionProfile({
* id: "f2a337e2-f3a6-45aa-9273-de3d216f8d9c",
* });
* export const scmVulnerabilityProtectionProfileDetails = {
* profileId: scmVpProfile.then(scmVpProfile => scmVpProfile.id),
* folder: scmVpProfile.then(scmVpProfile => scmVpProfile.folder),
* name: scmVpProfile.then(scmVpProfile => scmVpProfile.name),
* };
* ```
*/
export declare function getVulnerabilityProtectionProfileOutput(args: GetVulnerabilityProtectionProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVulnerabilityProtectionProfileResult>;
/**
* A collection of arguments for invoking getVulnerabilityProtectionProfile.
*/
export interface GetVulnerabilityProtectionProfileOutputArgs {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Name
*/
name?: pulumi.Input<string>;
}