@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
98 lines • 3.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves information about a Scaleway Budget Alert Notification.
*
* Use this data source to get details of an existing budget alert notification by its ID.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = scaleway.billing.getBudgetAlertNotification({
* notificationId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getBudgetAlertNotification(args: GetBudgetAlertNotificationArgs, opts?: pulumi.InvokeOptions): Promise<GetBudgetAlertNotificationResult>;
/**
* A collection of arguments for invoking getBudgetAlertNotification.
*/
export interface GetBudgetAlertNotificationArgs {
/**
* The ID of the budget alert. If not provided, it will be retrieved from the notification.
*/
budgetAlertId?: string;
/**
* The ID of the budget alert notification to retrieve.
*/
notificationId: string;
/**
* The organization ID. If not provided, the default organization configured in the provider is used.
*/
organizationId?: string;
}
/**
* A collection of values returned by getBudgetAlertNotification.
*/
export interface GetBudgetAlertNotificationResult {
readonly budgetAlertId: string;
/**
* The date and time of budget alert notification creation
*/
readonly createdAt: string;
/**
* The ID of the budget alert notification
*/
readonly id: string;
readonly notificationId: string;
readonly organizationId: string;
/**
* List of recipients for this notification
*/
readonly recipients: string[];
/**
* The type of notification (sms, email, or webhook)
*/
readonly type: string;
/**
* The date and time when the budget alert notification was last updated
*/
readonly updatedAt: string;
}
/**
* Retrieves information about a Scaleway Budget Alert Notification.
*
* Use this data source to get details of an existing budget alert notification by its ID.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = scaleway.billing.getBudgetAlertNotification({
* notificationId: "11111111-1111-1111-1111-111111111111",
* });
* ```
*/
export declare function getBudgetAlertNotificationOutput(args: GetBudgetAlertNotificationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetAlertNotificationResult>;
/**
* A collection of arguments for invoking getBudgetAlertNotification.
*/
export interface GetBudgetAlertNotificationOutputArgs {
/**
* The ID of the budget alert. If not provided, it will be retrieved from the notification.
*/
budgetAlertId?: pulumi.Input<string | undefined>;
/**
* The ID of the budget alert notification to retrieve.
*/
notificationId: pulumi.Input<string>;
/**
* The organization ID. If not provided, the default organization configured in the provider is used.
*/
organizationId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getBudgetAlertNotification.d.ts.map