@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
121 lines (120 loc) • 3.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* DecryptionRule data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // We use the ID from the resource created above.
* const singleRuleById = scm.getDecryptionRule({
* id: "b3544acb-fc55-4c6f-921d-4128b5a1d135",
* });
* export const singleDecryptionRuleName = singleRuleById;
* ```
*/
export declare function getDecryptionRule(args: GetDecryptionRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetDecryptionRuleResult>;
/**
* A collection of arguments for invoking getDecryptionRule.
*/
export interface GetDecryptionRuleArgs {
/**
* The UUID of the decryption rule
*/
id: string;
/**
* The name of the decryption rule
*/
name?: string;
}
/**
* A collection of values returned by getDecryptionRule.
*/
export interface GetDecryptionRuleResult {
/**
* The action to be taken
*/
readonly action: string;
/**
* The destination URL category
*/
readonly categories: string[];
/**
* The description of the decryption rule
*/
readonly description: string;
/**
* The Host Integrity Profile of the destination host
*/
readonly destinationHips: string[];
/**
* The destination addresses
*/
readonly destinations: string[];
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly disabled: boolean;
readonly folder: string;
readonly froms: string[];
/**
* The UUID of the decryption rule
*/
readonly id: string;
readonly logFail: boolean;
readonly logSetting: string;
readonly logSuccess: boolean;
/**
* The name of the decryption rule
*/
readonly name: string;
readonly negateDestination: boolean;
readonly negateSource: boolean;
readonly position: string;
readonly profile: string;
readonly relativePosition: string;
readonly services: string[];
readonly snippet: string;
readonly sourceHips: string[];
readonly sourceUsers: string[];
readonly sources: string[];
readonly tags: string[];
readonly targetRule: string;
readonly tfid: string;
readonly tos: string[];
readonly type: outputs.GetDecryptionRuleType;
}
/**
* DecryptionRule data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // We use the ID from the resource created above.
* const singleRuleById = scm.getDecryptionRule({
* id: "b3544acb-fc55-4c6f-921d-4128b5a1d135",
* });
* export const singleDecryptionRuleName = singleRuleById;
* ```
*/
export declare function getDecryptionRuleOutput(args: GetDecryptionRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDecryptionRuleResult>;
/**
* A collection of arguments for invoking getDecryptionRule.
*/
export interface GetDecryptionRuleOutputArgs {
/**
* The UUID of the decryption rule
*/
id: pulumi.Input<string>;
/**
* The name of the decryption rule
*/
name?: pulumi.Input<string>;
}