@pulumi/ns1
Version:
A Pulumi package for creating and managing ns1 cloud resources.
66 lines (65 loc) • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Provides details of all available monitoring regions.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as ns1 from "@pulumi/ns1";
*
* // Get details of all available monitoring regions.
* const example = ns1.getMonitoringRegions({});
* ```
*/
export declare function getMonitoringRegions(args?: GetMonitoringRegionsArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitoringRegionsResult>;
/**
* A collection of arguments for invoking getMonitoringRegions.
*/
export interface GetMonitoringRegionsArgs {
/**
* A set of the available monitoring regions. Regions is
* documented below.
*/
regions?: inputs.GetMonitoringRegionsRegion[];
}
/**
* A collection of values returned by getMonitoringRegions.
*/
export interface GetMonitoringRegionsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A set of the available monitoring regions. Regions is
* documented below.
*/
readonly regions?: outputs.GetMonitoringRegionsRegion[];
}
/**
* Provides details of all available monitoring regions.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as ns1 from "@pulumi/ns1";
*
* // Get details of all available monitoring regions.
* const example = ns1.getMonitoringRegions({});
* ```
*/
export declare function getMonitoringRegionsOutput(args?: GetMonitoringRegionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitoringRegionsResult>;
/**
* A collection of arguments for invoking getMonitoringRegions.
*/
export interface GetMonitoringRegionsOutputArgs {
/**
* A set of the available monitoring regions. Regions is
* documented below.
*/
regions?: pulumi.Input<pulumi.Input<inputs.GetMonitoringRegionsRegionArgs>[]>;
}