@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
87 lines (86 loc) • 2.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of rds postgresql parameter template apply diffs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const diffs = volcengine.rds_postgresql.getParameterTemplateApplyDiffs({
* instanceId: "postgres-72715e0d9f58",
* templateId: "postgresql-ef66e3807988595a",
* });
* ```
*/
export declare function getParameterTemplateApplyDiffs(args: GetParameterTemplateApplyDiffsArgs, opts?: pulumi.InvokeOptions): Promise<GetParameterTemplateApplyDiffsResult>;
/**
* A collection of arguments for invoking getParameterTemplateApplyDiffs.
*/
export interface GetParameterTemplateApplyDiffsArgs {
/**
* The id of the PostgreSQL instance.
*/
instanceId: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The id of the template.
*/
templateId: string;
}
/**
* A collection of values returned by getParameterTemplateApplyDiffs.
*/
export interface GetParameterTemplateApplyDiffsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly outputFile?: string;
/**
* Changes in instance parameters after applying the specified parameter template.
*/
readonly parameters: outputs.rds_postgresql.GetParameterTemplateApplyDiffsParameter[];
readonly templateId: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of rds postgresql parameter template apply diffs
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const diffs = volcengine.rds_postgresql.getParameterTemplateApplyDiffs({
* instanceId: "postgres-72715e0d9f58",
* templateId: "postgresql-ef66e3807988595a",
* });
* ```
*/
export declare function getParameterTemplateApplyDiffsOutput(args: GetParameterTemplateApplyDiffsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetParameterTemplateApplyDiffsResult>;
/**
* A collection of arguments for invoking getParameterTemplateApplyDiffs.
*/
export interface GetParameterTemplateApplyDiffsOutputArgs {
/**
* The id of the PostgreSQL instance.
*/
instanceId: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The id of the template.
*/
templateId: pulumi.Input<string>;
}