Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 9 additions & 9 deletions docs/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
# *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! ***
title: Cloudflare Provider
Expand Down Expand Up @@ -39,7 +39,7 @@
import * as cloudflare from "@pulumi/cloudflare";

// Create a DNS record
const www = new cloudflare.DnsRecord("www", {});
const www = new cloudflare.dns.Record("www", {});
```

{{% /choosable %}}
Expand All @@ -59,7 +59,7 @@
import pulumi_cloudflare as cloudflare

# Create a DNS record
www = cloudflare.DnsRecord("www")
www = cloudflare.dns.Record("www")
```

{{% /choosable %}}
Expand All @@ -83,7 +83,7 @@
return await Deployment.RunAsync(() =>
{
// Create a DNS record
var www = new Cloudflare.DnsRecord("www");
var www = new Cloudflare.Dns.Record("www");

});

Expand All @@ -105,14 +105,14 @@
package main

import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a DNS record
_, err := cloudflare.NewDnsRecord(ctx, "www", nil)
_, err := dns.NewRecord(ctx, "www", nil)
if err != nil {
return err
}
Expand All @@ -137,7 +137,7 @@
resources:
# Create a DNS record
www:
type: cloudflare:DnsRecord
type: cloudflare:dns:Record
```

{{% /choosable %}}
Expand All @@ -158,7 +158,7 @@
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.DnsRecord;
import com.pulumi.cloudflare.dns.Record;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
Expand All @@ -173,7 +173,7 @@

public static void stack(Context ctx) {
// Create a DNS record
var www = new DnsRecord("www");
var www = new Record("www");

}
}
Expand All @@ -191,7 +191,7 @@
}

# Create a DNS record
resource "cloudflare_dnsrecord" "www" {
resource "cloudflare_dns_record" "www" {
}
```

Expand Down
Loading
Loading