UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

105 lines (104 loc) 3.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * DnsSecurityProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single SCM DNS Security Profile object by its ID. * // * // Replace the ID with the UUID of the SCM DNS Profile you want to find. * const scmDnsProfile = scm.getDnsSecurityProfile({ * id: "18607c90-22fa-4627-8741-f0584d1fa7d6", * }); * export const scmDnsSecurityProfileDetails = { * profileId: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.id), * folder: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.folder), * name: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.name), * }; * ``` */ export declare function getDnsSecurityProfile(args: GetDnsSecurityProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsSecurityProfileResult>; /** * A collection of arguments for invoking getDnsSecurityProfile. */ export interface GetDnsSecurityProfileArgs { /** * The UUID of the DNS security profile */ id: string; /** * The name of the DNS security profile */ name?: string; } /** * A collection of values returned by getDnsSecurityProfile. */ export interface GetDnsSecurityProfileResult { /** * Botnet domains */ readonly botnetDomains: outputs.GetDnsSecurityProfileBotnetDomains; /** * The description of the DNS security profile */ readonly description: string; /** * The device in which the resource is defined */ readonly device: string; readonly folder: string; /** * The UUID of the DNS security profile */ readonly id: string; /** * The name of the DNS security profile */ readonly name: string; readonly snippet: string; readonly tfid: string; } /** * DnsSecurityProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single SCM DNS Security Profile object by its ID. * // * // Replace the ID with the UUID of the SCM DNS Profile you want to find. * const scmDnsProfile = scm.getDnsSecurityProfile({ * id: "18607c90-22fa-4627-8741-f0584d1fa7d6", * }); * export const scmDnsSecurityProfileDetails = { * profileId: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.id), * folder: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.folder), * name: scmDnsProfile.then(scmDnsProfile => scmDnsProfile.name), * }; * ``` */ export declare function getDnsSecurityProfileOutput(args: GetDnsSecurityProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsSecurityProfileResult>; /** * A collection of arguments for invoking getDnsSecurityProfile. */ export interface GetDnsSecurityProfileOutputArgs { /** * The UUID of the DNS security profile */ id: pulumi.Input<string>; /** * The name of the DNS security profile */ name?: pulumi.Input<string>; }