@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
152 lines (151 loc) • 5.06 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 {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: string;
/**
* UUID of the resource
*/
id: string;
/**
* Must start with alphanumeric char and should contain only alphanemeric, underscore, hyphen, dot or space
*/
name?: string;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: string;
}
/**
* A collection of values returned by getDecryptionProfile.
*/
export interface GetDecryptionProfileResult {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly device: string;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
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;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
/**
* Ssl forward proxy
*/
readonly sslForwardProxy: outputs.GetDecryptionProfileSslForwardProxy;
/**
* Ssl inbound proxy
*/
readonly sslInboundProxy: outputs.GetDecryptionProfileSslInboundProxy;
/**
* Ssl no proxy
*/
readonly sslNoProxy: outputs.GetDecryptionProfileSslNoProxy;
/**
* Ssl protocol settings
*/
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 {
/**
* The device in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
device?: pulumi.Input<string>;
/**
* The folder in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
folder?: pulumi.Input<string>;
/**
* 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>;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
}