@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
165 lines (164 loc) • 4.99 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of transit router bandwidth packages
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
* import * as volcengine from "@volcengine/pulumi";
*
* const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
* transitRouterBandwidthPackageName: "acc-tf-test",
* description: "acc-test",
* bandwidth: 2,
* period: 1,
* renewType: "Manual",
* });
* const fooBandwidthPackages = volcengine.transit_router.getBandwidthPackagesOutput({
* ids: [fooBandwidthPackage.id],
* });
* ```
*/
export declare function getBandwidthPackages(args?: GetBandwidthPackagesArgs, opts?: pulumi.InvokeOptions): Promise<GetBandwidthPackagesResult>;
/**
* A collection of arguments for invoking getBandwidthPackages.
*/
export interface GetBandwidthPackagesArgs {
/**
* The ID list of the TransitRouter bandwidth package.
*/
ids?: string[];
/**
* The local geographic region set ID.
*/
localGeographicRegionSetId?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The peer geographic region set ID.
*/
peerGeographicRegionSetId?: string;
/**
* The ProjectName of the TransitRouter bandwidth package.
*/
projectName?: string;
/**
* Tags.
*/
tags?: inputs.transit_router.GetBandwidthPackagesTag[];
/**
* The name of the TransitRouter bandwidth package.
*/
transitRouterBandwidthPackageName?: string;
/**
* The ID of the peer attachment.
*/
transitRouterPeerAttachmentId?: string;
}
/**
* A collection of values returned by getBandwidthPackages.
*/
export interface GetBandwidthPackagesResult {
/**
* The collection of query.
*/
readonly bandwidthPackages: outputs.transit_router.GetBandwidthPackagesBandwidthPackage[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ids?: string[];
/**
* The local geographic region set ID.
*/
readonly localGeographicRegionSetId?: string;
readonly outputFile?: string;
/**
* The peer geographic region set ID.
*/
readonly peerGeographicRegionSetId?: string;
/**
* The ProjectName of the transit router bandwidth package.
*/
readonly projectName?: string;
/**
* Tags.
*/
readonly tags?: outputs.transit_router.GetBandwidthPackagesTag[];
/**
* The total count of query.
*/
readonly totalCount: number;
/**
* The name of the transit router bandwidth package.
*/
readonly transitRouterBandwidthPackageName?: string;
/**
* The ID of the peer attachment.
*/
readonly transitRouterPeerAttachmentId?: string;
}
/**
* Use this data source to query detailed information of transit router bandwidth packages
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
* import * as volcengine from "@volcengine/pulumi";
*
* const fooBandwidthPackage = new volcengine.transit_router.BandwidthPackage("fooBandwidthPackage", {
* transitRouterBandwidthPackageName: "acc-tf-test",
* description: "acc-test",
* bandwidth: 2,
* period: 1,
* renewType: "Manual",
* });
* const fooBandwidthPackages = volcengine.transit_router.getBandwidthPackagesOutput({
* ids: [fooBandwidthPackage.id],
* });
* ```
*/
export declare function getBandwidthPackagesOutput(args?: GetBandwidthPackagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBandwidthPackagesResult>;
/**
* A collection of arguments for invoking getBandwidthPackages.
*/
export interface GetBandwidthPackagesOutputArgs {
/**
* The ID list of the TransitRouter bandwidth package.
*/
ids?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The local geographic region set ID.
*/
localGeographicRegionSetId?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The peer geographic region set ID.
*/
peerGeographicRegionSetId?: pulumi.Input<string>;
/**
* The ProjectName of the TransitRouter bandwidth package.
*/
projectName?: pulumi.Input<string>;
/**
* Tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.transit_router.GetBandwidthPackagesTagArgs>[]>;
/**
* The name of the TransitRouter bandwidth package.
*/
transitRouterBandwidthPackageName?: pulumi.Input<string>;
/**
* The ID of the peer attachment.
*/
transitRouterPeerAttachmentId?: pulumi.Input<string>;
}