@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
85 lines (84 loc) • 2.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about SNS for a Project
*
* ## Examples
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* // For default project
* const main = scaleway.mnq.getSns({});
* // For specific project
* const forProject = scaleway.mnq.getSns({
* projectId: mainScalewayAccountProject.id,
* });
* ```
*/
/** @deprecated scaleway.index/getmnqsns.getMnqSns has been deprecated in favor of scaleway.mnq/getsns.getSns */
export declare function getMnqSns(args?: GetMnqSnsArgs, opts?: pulumi.InvokeOptions): Promise<GetMnqSnsResult>;
/**
* A collection of arguments for invoking getMnqSns.
*/
export interface GetMnqSnsArgs {
/**
* `projectId`) The ID of the Project in which sns is enabled.
*/
projectId?: string;
/**
* `region`). The region in which sns is enabled.
*/
region?: string;
}
/**
* A collection of values returned by getMnqSns.
*/
export interface GetMnqSnsResult {
/**
* The endpoint of the SNS service for this Project.
*/
readonly endpoint: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly projectId?: string;
readonly region?: string;
}
/**
* Gets information about SNS for a Project
*
* ## Examples
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumi/scaleway";
*
* // For default project
* const main = scaleway.mnq.getSns({});
* // For specific project
* const forProject = scaleway.mnq.getSns({
* projectId: mainScalewayAccountProject.id,
* });
* ```
*/
/** @deprecated scaleway.index/getmnqsns.getMnqSns has been deprecated in favor of scaleway.mnq/getsns.getSns */
export declare function getMnqSnsOutput(args?: GetMnqSnsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMnqSnsResult>;
/**
* A collection of arguments for invoking getMnqSns.
*/
export interface GetMnqSnsOutputArgs {
/**
* `projectId`) The ID of the Project in which sns is enabled.
*/
projectId?: pulumi.Input<string>;
/**
* `region`). The region in which sns is enabled.
*/
region?: pulumi.Input<string>;
}