# Functions
GetRandomBytes gets an existing RandomBytes resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomId gets an existing RandomId resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomInteger gets an existing RandomInteger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomPassword gets an existing RandomPassword resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomPet gets an existing RandomPet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomShuffle gets an existing RandomShuffle resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomString gets an existing RandomString resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetRandomUuid gets an existing RandomUuid resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
NewProvider registers a new resource with the given unique name, arguments, and options.
NewRandomBytes registers a new resource with the given unique name, arguments, and options.
NewRandomId registers a new resource with the given unique name, arguments, and options.
NewRandomInteger registers a new resource with the given unique name, arguments, and options.
NewRandomPassword registers a new resource with the given unique name, arguments, and options.
NewRandomPet registers a new resource with the given unique name, arguments, and options.
NewRandomShuffle registers a new resource with the given unique name, arguments, and options.
NewRandomString registers a new resource with the given unique name, arguments, and options.
NewRandomUuid registers a new resource with the given unique name, arguments, and options.
# Structs
The provider type for the random package.
The set of arguments for constructing a Provider resource.
No description provided by the author
The resource `RandomBytes` generates random bytes that are intended to be used as a secret, or key.
The set of arguments for constructing a RandomBytes resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The resource `RandomId` generates random numbers that are intended to be used as unique identifiers for other resources.
The set of arguments for constructing a RandomId resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The resource `RandomInteger` generates random values from a given range, described by the `min` and `max` attributes of a given resource.
The set of arguments for constructing a RandomInteger resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { password, err := random.NewRandomPassword(ctx, "password", &random.RandomPasswordArgs{ Length: pulumi.Int(16), Special: pulumi.Bool(true), OverrideSpecial: pulumi.String("!#$%&*()-_=+[]{}<>:?"), }) if err != nil { return err } _, err = rds.NewInstance(ctx, "example", &rds.InstanceArgs{ InstanceClass: pulumi.String(rds.InstanceType_T3_Micro), AllocatedStorage: pulumi.Int(64), Engine: pulumi.String("mysql"), Username: pulumi.String("someone"), Password: password.Result, }) if err != nil { return err } return nil }) }
```
## Import
You can import external passwords into your Pulumi programs as follows:.
The set of arguments for constructing a RandomPassword resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The resource `RandomPet` generates random pet names that are intended to be used as unique identifiers for other resources.
The set of arguments for constructing a RandomPet resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The resource `RandomShuffle` generates a random permutation of a list of strings given as an argument.
The set of arguments for constructing a RandomShuffle resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The resource `RandomString` generates a random permutation of alphanumeric characters and optionally special characters.
The set of arguments for constructing a RandomString resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
## Example Usage
```go package main
import (
"fmt"
"github.com/pulumi/pulumi-azurerm/sdk/go/azurerm" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // The following example shows how to generate a unique name for an Azure Resource Group.
The set of arguments for constructing a RandomUuid resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
RandomBytesArrayInput is an input type that accepts RandomBytesArray and RandomBytesArrayOutput values.
No description provided by the author
RandomBytesMapInput is an input type that accepts RandomBytesMap and RandomBytesMapOutput values.
RandomIdArrayInput is an input type that accepts RandomIdArray and RandomIdArrayOutput values.
No description provided by the author
RandomIdMapInput is an input type that accepts RandomIdMap and RandomIdMapOutput values.
RandomIntegerArrayInput is an input type that accepts RandomIntegerArray and RandomIntegerArrayOutput values.
No description provided by the author
RandomIntegerMapInput is an input type that accepts RandomIntegerMap and RandomIntegerMapOutput values.
RandomPasswordArrayInput is an input type that accepts RandomPasswordArray and RandomPasswordArrayOutput values.
No description provided by the author
RandomPasswordMapInput is an input type that accepts RandomPasswordMap and RandomPasswordMapOutput values.
RandomPetArrayInput is an input type that accepts RandomPetArray and RandomPetArrayOutput values.
No description provided by the author
RandomPetMapInput is an input type that accepts RandomPetMap and RandomPetMapOutput values.
RandomShuffleArrayInput is an input type that accepts RandomShuffleArray and RandomShuffleArrayOutput values.
No description provided by the author
RandomShuffleMapInput is an input type that accepts RandomShuffleMap and RandomShuffleMapOutput values.
RandomStringArrayInput is an input type that accepts RandomStringArray and RandomStringArrayOutput values.
No description provided by the author
RandomStringMapInput is an input type that accepts RandomStringMap and RandomStringMapOutput values.
RandomUuidArrayInput is an input type that accepts RandomUuidArray and RandomUuidArrayOutput values.
No description provided by the author
RandomUuidMapInput is an input type that accepts RandomUuidMap and RandomUuidMapOutput values.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author