@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.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* DeviceRedistributionCollector data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const settingsData = scm.getDeviceRedistributionCollector({
* id: "8c1f7d95-83bd-4ae6-877c-89e1a212ef14",
* });
* export const fetchedSettings = settingsData;
* ```
*/
export declare function getDeviceRedistributionCollector(args: GetDeviceRedistributionCollectorArgs, opts?: pulumi.InvokeOptions): Promise<GetDeviceRedistributionCollectorResult>;
/**
* A collection of arguments for invoking getDeviceRedistributionCollector.
*/
export interface GetDeviceRedistributionCollectorArgs {
/**
* 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 getDeviceRedistributionCollector.
*/
export interface GetDeviceRedistributionCollectorResult {
/**
* 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;
/**
* Redistribution collector
*/
readonly redistributionCollector: outputs.GetDeviceRedistributionCollectorRedistributionCollector;
/**
* 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;
}
/**
* DeviceRedistributionCollector data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* const settingsData = scm.getDeviceRedistributionCollector({
* id: "8c1f7d95-83bd-4ae6-877c-89e1a212ef14",
* });
* export const fetchedSettings = settingsData;
* ```
*/
export declare function getDeviceRedistributionCollectorOutput(args: GetDeviceRedistributionCollectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeviceRedistributionCollectorResult>;
/**
* A collection of arguments for invoking getDeviceRedistributionCollector.
*/
export interface GetDeviceRedistributionCollectorOutputArgs {
/**
* 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>;
}