@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
159 lines (158 loc) • 4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Retrieves a listing of config items.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const allPreRules = scm.getAuthenticationRuleList({
* limit: 10,
* offset: 15,
* position: "pre",
* folder: "All",
* });
* export const fetchedRuleListSummary = {
* countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
* firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
* };
* ```
*/
export declare function getAuthenticationRuleList(args: GetAuthenticationRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthenticationRuleListResult>;
/**
* A collection of arguments for invoking getAuthenticationRuleList.
*/
export interface GetAuthenticationRuleListArgs {
/**
* The device of the item.
*/
device?: string;
/**
* The folder of the item. Default: Shared.
*/
folder?: string;
/**
* The max number of items to return. Default: 200.
*/
limit?: number;
/**
* The name of the item.
*/
name?: string;
/**
* The offset of the first item to return.
*/
offset?: number;
/**
* The relative position of the rule
*/
position: string;
/**
* The snippet of the item.
*/
snippet?: string;
}
/**
* A collection of values returned by getAuthenticationRuleList.
*/
export interface GetAuthenticationRuleListResult {
/**
* The data.
*/
readonly datas: outputs.GetAuthenticationRuleListData[];
/**
* The device of the item.
*/
readonly device?: string;
/**
* The folder of the item. Default: Shared.
*/
readonly folder?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The max number of items to return. Default: 200.
*/
readonly limit?: number;
/**
* The name of the item.
*/
readonly name?: string;
/**
* The offset of the first item to return.
*/
readonly offset?: number;
/**
* The relative position of the rule
*/
readonly position: string;
/**
* The snippet of the item.
*/
readonly snippet?: string;
readonly tfid: string;
/**
* The total number of items.
*/
readonly total: number;
}
/**
* Retrieves a listing of config items.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const allPreRules = scm.getAuthenticationRuleList({
* limit: 10,
* offset: 15,
* position: "pre",
* folder: "All",
* });
* export const fetchedRuleListSummary = {
* countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
* firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
* };
* ```
*/
export declare function getAuthenticationRuleListOutput(args: GetAuthenticationRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAuthenticationRuleListResult>;
/**
* A collection of arguments for invoking getAuthenticationRuleList.
*/
export interface GetAuthenticationRuleListOutputArgs {
/**
* The device of the item.
*/
device?: pulumi.Input<string>;
/**
* The folder of the item. Default: Shared.
*/
folder?: pulumi.Input<string>;
/**
* The max number of items to return. Default: 200.
*/
limit?: pulumi.Input<number>;
/**
* The name of the item.
*/
name?: pulumi.Input<string>;
/**
* The offset of the first item to return.
*/
offset?: pulumi.Input<number>;
/**
* The relative position of the rule
*/
position: pulumi.Input<string>;
/**
* The snippet of the item.
*/
snippet?: pulumi.Input<string>;
}