@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
129 lines (128 loc) • 4.14 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* AuthenticationSequence data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const sequenceData = scm.getAuthenticationSequence({
* id: "1ee14ac7-760c-401f-8dbc-c887db16106a",
* });
* export const scmAuthenticationSequence = sequenceData.then(sequenceData => sequenceData.id);
* export const fetchedSequence = sequenceData;
* ```
*/
export declare function getAuthenticationSequence(args: GetAuthenticationSequenceArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthenticationSequenceResult>;
/**
* A collection of arguments for invoking getAuthenticationSequence.
*/
export interface GetAuthenticationSequenceArgs {
/**
* 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 authentication sequence
*/
id: string;
/**
* The name of the authentication sequence
*/
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 getAuthenticationSequence.
*/
export interface GetAuthenticationSequenceResult {
/**
* An ordered list of authentication profiles
*/
readonly authenticationProfiles: 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 authentication sequence
*/
readonly id: string;
/**
* The name of the authentication sequence
*/
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;
readonly tfid: string;
/**
* Use domain to determine authentication profile?
*/
readonly useDomainFindProfile: boolean;
}
/**
* AuthenticationSequence data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const sequenceData = scm.getAuthenticationSequence({
* id: "1ee14ac7-760c-401f-8dbc-c887db16106a",
* });
* export const scmAuthenticationSequence = sequenceData.then(sequenceData => sequenceData.id);
* export const fetchedSequence = sequenceData;
* ```
*/
export declare function getAuthenticationSequenceOutput(args: GetAuthenticationSequenceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAuthenticationSequenceResult>;
/**
* A collection of arguments for invoking getAuthenticationSequence.
*/
export interface GetAuthenticationSequenceOutputArgs {
/**
* 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 authentication sequence
*/
id: pulumi.Input<string>;
/**
* The name of the authentication sequence
*/
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>;
}