@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
107 lines • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets information about a VPC ACL (Access Control List).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Get the IPv4 ACL for a VPC
* const myAcl = scaleway.network.getAcl({
* vpcId: myVpc.id,
* isIpv6: false,
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Get the IPv6 ACL for a VPC
* const myAclV6 = scaleway.network.getAcl({
* vpcId: myVpc.id,
* isIpv6: true,
* });
* ```
*/
export declare function getAcl(args: GetAclArgs, opts?: pulumi.InvokeOptions): Promise<GetAclResult>;
/**
* A collection of arguments for invoking getAcl.
*/
export interface GetAclArgs {
/**
* Whether to get the IPv6 ACL.
*/
isIpv6?: boolean;
/**
* `region`). The region in which the ACL exists.
*/
region?: string;
/**
* The VPC ID to look up the ACL for.
*/
vpcId: string;
}
/**
* A collection of values returned by getAcl.
*/
export interface GetAclResult {
readonly defaultPolicy: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly isIpv6?: boolean;
readonly region?: string;
readonly rules: outputs.network.GetAclRule[];
readonly vpcId: string;
}
/**
* Gets information about a VPC ACL (Access Control List).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Get the IPv4 ACL for a VPC
* const myAcl = scaleway.network.getAcl({
* vpcId: myVpc.id,
* isIpv6: false,
* });
* ```
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* // Get the IPv6 ACL for a VPC
* const myAclV6 = scaleway.network.getAcl({
* vpcId: myVpc.id,
* isIpv6: true,
* });
* ```
*/
export declare function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclResult>;
/**
* A collection of arguments for invoking getAcl.
*/
export interface GetAclOutputArgs {
/**
* Whether to get the IPv6 ACL.
*/
isIpv6?: pulumi.Input<boolean | undefined>;
/**
* `region`). The region in which the ACL exists.
*/
region?: pulumi.Input<string | undefined>;
/**
* The VPC ID to look up the ACL for.
*/
vpcId: pulumi.Input<string>;
}
//# sourceMappingURL=getAcl.d.ts.map