@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
112 lines (111 loc) • 3.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* MotdBannerSetting data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const settingsData = scm.getMotdBannerSetting({
* id: "bc31452f-7f57-4c29-9dab-e1cb461799eb",
* });
* export const fetchedSettings = settingsData;
* ```
*/
export declare function getMotdBannerSetting(args: GetMotdBannerSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetMotdBannerSettingResult>;
/**
* A collection of arguments for invoking getMotdBannerSetting.
*/
export interface GetMotdBannerSettingArgs {
/**
* 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;
/**
* 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 getMotdBannerSetting.
*/
export interface GetMotdBannerSettingResult {
/**
* 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;
/**
* Motd and banner
*/
readonly motdAndBanner: outputs.GetMotdBannerSettingMotdAndBanner;
/**
* 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;
}
/**
* MotdBannerSetting data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const settingsData = scm.getMotdBannerSetting({
* id: "bc31452f-7f57-4c29-9dab-e1cb461799eb",
* });
* export const fetchedSettings = settingsData;
* ```
*/
export declare function getMotdBannerSettingOutput(args: GetMotdBannerSettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMotdBannerSettingResult>;
/**
* A collection of arguments for invoking getMotdBannerSetting.
*/
export interface GetMotdBannerSettingOutputArgs {
/**
* 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>;
/**
* The snippet in which the resource is defined
* > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`.
*/
snippet?: pulumi.Input<string>;
}