@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
69 lines (68 loc) • 2.4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves allowed private load zones for a k6 project.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
* const fromProjectId = grafana.k6.getProjectAllowedLoadZonesOutput({
* projectId: testProjectAllowedLoadZones.id,
* });
* ```
*/
export declare function getProjectAllowedLoadZones(args: GetProjectAllowedLoadZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectAllowedLoadZonesResult>;
/**
* A collection of arguments for invoking getProjectAllowedLoadZones.
*/
export interface GetProjectAllowedLoadZonesArgs {
/**
* The identifier of the project to retrieve private allowed load zones for.
*/
projectId: string;
}
/**
* A collection of values returned by getProjectAllowedLoadZones.
*/
export interface GetProjectAllowedLoadZonesResult {
/**
* List of allowed private k6 load zone IDs for this project.
*/
readonly allowedLoadZones: string[];
/**
* The identifier of the project. This is set to the same as the project_id.
*/
readonly id: string;
/**
* The identifier of the project to retrieve private allowed load zones for.
*/
readonly projectId: string;
}
/**
* Retrieves allowed private load zones for a k6 project.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const testProjectAllowedLoadZones = new grafana.k6.Project("test_project_allowed_load_zones", {name: "Terraform Project Test Allowed Load Zones"});
* const fromProjectId = grafana.k6.getProjectAllowedLoadZonesOutput({
* projectId: testProjectAllowedLoadZones.id,
* });
* ```
*/
export declare function getProjectAllowedLoadZonesOutput(args: GetProjectAllowedLoadZonesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectAllowedLoadZonesResult>;
/**
* A collection of arguments for invoking getProjectAllowedLoadZones.
*/
export interface GetProjectAllowedLoadZonesOutputArgs {
/**
* The identifier of the project to retrieve private allowed load zones for.
*/
projectId: pulumi.Input<string>;
}