-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish Package Metadata for [email protected] (#5263)
- Loading branch information
1 parent
0bff003
commit a1f2f95
Showing
3 changed files
with
541 additions
and
112 deletions.
There are no files selected for viewing
92 changes: 2 additions & 90 deletions
92
themes/default/content/registry/packages/cloudamqp/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,5 @@ | ||
--- | ||
title: CloudAMQP | ||
meta_desc: Provides an overview of the CloudAMQP Provider for Pulumi. | ||
title: Cloudamqp | ||
meta_desc: The Cloudamqp provider for Pulumi can be used to provision any of the cloud resources available in Cloudamqp. | ||
layout: package | ||
--- | ||
|
||
The CloudAMQP provider for Pulumi can be used to provision any of the cloud resources available in [CloudAMQP](https://www.cloudamqp.com/). | ||
The CloudAMQP provider must be configured with credentials to deploy and update resources in CloudAMQP. | ||
|
||
## Example | ||
|
||
{{< chooser language "javascript,typescript,python,go,csharp" >}} | ||
|
||
{{% choosable language javascript %}} | ||
|
||
```javascript | ||
const cloudamqp = require("@pulumi/cloudamqp") | ||
|
||
const instance = new cloudamqp.Instance("demo-instance", { | ||
plan: "lemur", | ||
region: "amazon-web-services::us-west-2" | ||
}); | ||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language typescript %}} | ||
|
||
```typescript | ||
import * as cloudamqp from "@pulumi/cloudamqp"; | ||
|
||
const instance = new cloudamqp.Instance("demo-instance", { | ||
plan: "lemur", | ||
region: "amazon-web-services::us-west-2" | ||
}); | ||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language python %}} | ||
|
||
```python | ||
import pulumi_cloudamqp as cloudamqp | ||
|
||
instance = cloudamqp.Instance("demo-instance", | ||
plan="lemur", | ||
region="amazon-web-services::us-west-2" | ||
) | ||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language go %}} | ||
|
||
```go | ||
import ( | ||
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" | ||
cloudamqp "github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp" | ||
) | ||
|
||
func main() { | ||
pulumi.Run(func(ctx *pulumi.Context) error { | ||
instance, err := cloudamqp.NewInstance(ctx, "demo-instance", &cloudamqp.InstanceArgs{ | ||
Plan: pulumi.String("lemur"), | ||
Region: pulumi.String("amazon-web-services::us-west-2"), | ||
}) | ||
if err != nil { | ||
return err | ||
} | ||
|
||
return nil | ||
}) | ||
} | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language csharp %}} | ||
|
||
```csharp | ||
using Pulumi; | ||
using Pulumi.Cloudamqp; | ||
|
||
await Deployment.RunAsync(() => | ||
{ | ||
var instance = new Instance("demo-instance", new InstanceArgs | ||
{ | ||
Plan = "lemur", | ||
Region = "amazon-web-services::us-west-2", | ||
}); | ||
}); | ||
``` | ||
|
||
{{% /choosable %}} | ||
|
||
{{< /chooser >}} |
Oops, something went wrong.