@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
101 lines (100 loc) • 3.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* DecryptionProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single SCM Decryption Profile object by its ID.
* //
* // Replace the ID with the UUID of the SCM Decryption Profile you want to find.
* const scmDpProfile = scm.getDecryptionProfile({
* id: "c7629092-d286-400b-ba3f-1d57b8065645",
* });
* export const scmDecryptionProfileDetails = {
* profileId: scmDpProfile.then(scmDpProfile => scmDpProfile.id),
* folder: scmDpProfile.then(scmDpProfile => scmDpProfile.folder),
* name: scmDpProfile.then(scmDpProfile => scmDpProfile.name),
* };
* ```
*/
export declare function getDecryptionProfile(args: GetDecryptionProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetDecryptionProfileResult>;
/**
* A collection of arguments for invoking getDecryptionProfile.
*/
export interface GetDecryptionProfileArgs {
/**
* UUID of the resource
*/
id: string;
/**
* Must start with alphanumeric char and should contain only alphanemeric, underscore, hyphen, dot or space
*/
name?: string;
}
/**
* A collection of values returned by getDecryptionProfile.
*/
export interface GetDecryptionProfileResult {
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly folder: string;
/**
* UUID of the resource
*/
readonly id: string;
/**
* Must start with alphanumeric char and should contain only alphanemeric, underscore, hyphen, dot or space
*/
readonly name: string;
readonly snippet: string;
readonly sslForwardProxy: outputs.GetDecryptionProfileSslForwardProxy;
readonly sslInboundProxy: outputs.GetDecryptionProfileSslInboundProxy;
readonly sslNoProxy: outputs.GetDecryptionProfileSslNoProxy;
readonly sslProtocolSettings: outputs.GetDecryptionProfileSslProtocolSettings;
readonly tfid: string;
}
/**
* DecryptionProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single SCM Decryption Profile object by its ID.
* //
* // Replace the ID with the UUID of the SCM Decryption Profile you want to find.
* const scmDpProfile = scm.getDecryptionProfile({
* id: "c7629092-d286-400b-ba3f-1d57b8065645",
* });
* export const scmDecryptionProfileDetails = {
* profileId: scmDpProfile.then(scmDpProfile => scmDpProfile.id),
* folder: scmDpProfile.then(scmDpProfile => scmDpProfile.folder),
* name: scmDpProfile.then(scmDpProfile => scmDpProfile.name),
* };
* ```
*/
export declare function getDecryptionProfileOutput(args: GetDecryptionProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDecryptionProfileResult>;
/**
* A collection of arguments for invoking getDecryptionProfile.
*/
export interface GetDecryptionProfileOutputArgs {
/**
* UUID of the resource
*/
id: pulumi.Input<string>;
/**
* Must start with alphanumeric char and should contain only alphanemeric, underscore, hyphen, dot or space
*/
name?: pulumi.Input<string>;
}