@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
144 lines (143 loc) • 4.96 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* TlsServiceProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single SCM TLS Service Profile object by its ID.
* //
* // Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
* const scmTlsServiceProf = scm.getTlsServiceProfile({
* id: "b4d70015-5b0e-4491-a2a9-4305b01397d5",
* });
* export const scmTlsServiceProfileDetails = {
* profileId: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.id),
* folder: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.folder),
* name: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.name),
* };
* ```
*/
export declare function getTlsServiceProfile(args: GetTlsServiceProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetTlsServiceProfileResult>;
/**
* A collection of arguments for invoking getTlsServiceProfile.
*/
export interface GetTlsServiceProfileArgs {
/**
* 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;
/**
* The UUID of the TLS service profile
*/
id: string;
/**
* TLS service profile name. The value is `muCustomDomainSSLProfile` when it is used on mobile-agent infra settings.
*/
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 getTlsServiceProfile.
*/
export interface GetTlsServiceProfileResult {
/**
* Certificate name
*/
readonly certificate: string;
/**
* 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;
/**
* The UUID of the TLS service profile
*/
readonly id: string;
/**
* TLS service profile name. The value is `muCustomDomainSSLProfile` when it is used on mobile-agent infra settings.
*/
readonly name: string;
/**
* Protocol settings
*/
readonly protocolSettings: outputs.GetTlsServiceProfileProtocolSettings;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
readonly snippet: string;
readonly tfid: string;
}
/**
* TlsServiceProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* //
* // Data source to retrieve a single SCM TLS Service Profile object by its ID.
* //
* // Replace the ID with the UUID of the SCM TLS Service Profile you want to find.
* const scmTlsServiceProf = scm.getTlsServiceProfile({
* id: "b4d70015-5b0e-4491-a2a9-4305b01397d5",
* });
* export const scmTlsServiceProfileDetails = {
* profileId: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.id),
* folder: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.folder),
* name: scmTlsServiceProf.then(scmTlsServiceProf => scmTlsServiceProf.name),
* };
* ```
*/
export declare function getTlsServiceProfileOutput(args: GetTlsServiceProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTlsServiceProfileResult>;
/**
* A collection of arguments for invoking getTlsServiceProfile.
*/
export interface GetTlsServiceProfileOutputArgs {
/**
* 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>;
/**
* The UUID of the TLS service profile
*/
id: pulumi.Input<string>;
/**
* TLS service profile name. The value is `muCustomDomainSSLProfile` when it is used on mobile-agent infra settings.
*/
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>;
}