@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
95 lines • 3.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* A connectivity test is a static analysis of your resource configurations
* that enables you to evaluate connectivity to and from Google Cloud
* resources in your Virtual Private Cloud (VPC) network. This data source allows
* you to list connectivity tests in a project.
*
* To get more information about connectivity tests, see:
*
* * [API documentation](https://cloud.google.com/network-intelligence-center/docs/reference/networkmanagement/rest/v1/projects.locations.global.connectivityTests/rerun)
* * How-to Guides
* * [Official Documentation](https://cloud.google.com/network-intelligence-center/docs)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const tests = gcp.networkmanagement.getConnectivityTests({
* filter: "name:projects/project-id/locations/global/connectivityTests/my-tests",
* });
* ```
*/
export declare function getConnectivityTests(args?: GetConnectivityTestsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectivityTestsResult>;
/**
* A collection of arguments for invoking getConnectivityTests.
*/
export interface GetConnectivityTestsArgs {
/**
* Lists the ConnectivityTests that match the [filter expression](https://cloud.google.com/network-intelligence-center/docs/reference/networkmanagement/rest/v1/projects.locations.global.connectivityTests/list#query-parameters). A filter expression filters the resources listed in the response.
*/
filter?: string;
/**
* The ID of the project.
*/
project?: string;
}
/**
* A collection of values returned by getConnectivityTests.
*/
export interface GetConnectivityTestsResult {
/**
* A list of connectivity tests in the selected project matching the filter. Structure is defined below.
*/
readonly connectivityTests: outputs.networkmanagement.GetConnectivityTestsConnectivityTest[];
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The ID of the project in which the resource belongs.
*/
readonly project: string;
}
/**
* A connectivity test is a static analysis of your resource configurations
* that enables you to evaluate connectivity to and from Google Cloud
* resources in your Virtual Private Cloud (VPC) network. This data source allows
* you to list connectivity tests in a project.
*
* To get more information about connectivity tests, see:
*
* * [API documentation](https://cloud.google.com/network-intelligence-center/docs/reference/networkmanagement/rest/v1/projects.locations.global.connectivityTests/rerun)
* * How-to Guides
* * [Official Documentation](https://cloud.google.com/network-intelligence-center/docs)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const tests = gcp.networkmanagement.getConnectivityTests({
* filter: "name:projects/project-id/locations/global/connectivityTests/my-tests",
* });
* ```
*/
export declare function getConnectivityTestsOutput(args?: GetConnectivityTestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectivityTestsResult>;
/**
* A collection of arguments for invoking getConnectivityTests.
*/
export interface GetConnectivityTestsOutputArgs {
/**
* Lists the ConnectivityTests that match the [filter expression](https://cloud.google.com/network-intelligence-center/docs/reference/networkmanagement/rest/v1/projects.locations.global.connectivityTests/list#query-parameters). A filter expression filters the resources listed in the response.
*/
filter?: pulumi.Input<string | undefined>;
/**
* The ID of the project.
*/
project?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getConnectivityTests.d.ts.map