Skip to content

Commit

Permalink
Publish Package Metadata for [email protected] (#5264)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored Aug 26, 2024
1 parent a1f2f95 commit 0ed8266
Show file tree
Hide file tree
Showing 3 changed files with 1,340 additions and 113 deletions.
89 changes: 2 additions & 87 deletions themes/default/content/registry/packages/alicloud/_index.md
Original file line number Diff line number Diff line change
@@ -1,90 +1,5 @@
---
title: Alibaba Cloud
meta_desc: Provides an overview of the Alibaba Cloud Provider for Pulumi.
title: Alicloud
meta_desc: The Alicloud provider for Pulumi can be used to provision any of the cloud resources available in Alicloud.
layout: package
---

The Alibaba Cloud provider for Pulumi can be used to provision any of the cloud resources available in [Alibaba Cloud](https://www.alibabacloud.com/).
The Alibaba Cloud provider must be configured with credentials to deploy and update resources in Alibaba Cloud.

## Example

{{< chooser language "javascript,typescript,python,go,csharp" >}}

{{% choosable language javascript %}}

```javascript
const alicloud = require("@pulumi/alicloud")

const vpc = new alicloud.vpc.Network("my-vpc", {
cidrBlock: "10.0.0.0/16",
});
```

{{% /choosable %}}
{{% choosable language typescript %}}

```typescript
import * as alicloud from "@pulumi/alicloud";

const vpc = new alicloud.vpc.Network("my-vpc", {
cidrBlock: "10.0.0.0/16",
});
```

{{% /choosable %}}
{{% choosable language python %}}

```python
import pulumi_alicloud as alicloud

vpc = alicloud.vpc.Network("my-vpc",
cidr_block="10.0.0.0/16"
)
```

{{% /choosable %}}
{{% choosable language go %}}

```go
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
vpc "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
)

func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
vpc, err := vpc.NewVpc(ctx, "demo-instance", &vpc.VpcArgs{
CidrBlock: pulumi.String("10.0.0.0/16"),
})
if err != nil {
return err
}

return nil
})
}

```

{{% /choosable %}}
{{% choosable language csharp %}}

```csharp
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Alicloud.Vpc;

await Deployment.RunAsync(() =>
{
var vpc = new Vpc("demo-instance", new VpcArgs
{
CidrBlock = "10.0.0.0/16"
});
});
```

{{% /choosable %}}

{{< /chooser >}}
Loading

0 comments on commit 0ed8266

Please sign in to comment.