跳到正文

Random ​

The Random provider for Pulumi can be used to help introduce random values when dealing with Pulumi resources.

See the full API documentation for complete details of the available Random provider APIs.

Example ​

typescript
import * as random from "@pulumi/random";

const username = new random.RandomPet("my-user-name");

Libraries ​

The following packages are available in packager managers:

The Random provider is open source and available in the pulumi/pulumi-random repo.

文档内容翻译自 Pulumi 官方文档。