diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
new file mode 100644
index 0000000..7c7020d
--- /dev/null
+++ b/.devcontainer/Dockerfile
@@ -0,0 +1,11 @@
+FROM --platform=linux/amd64 pulumi/pulumi:3.74.0
+
+# Install pulumictl and set to PATH
+RUN curl -fsSL https://get.pulumi.com | sh
+ENV PATH="/root/.pulumi/bin:${PATH}"
+
+# create a directory for pulumictl and download the binary to it and set to PATH
+RUN mkdir -p /root/pulumictl && cd /root/pulumictl/
+RUN wget https://github.com/pulumi/pulumictl/releases/download/v0.0.42/pulumictl-v0.0.42-linux-amd64.tar.gz -O /root/pulumictl/pulumictl-v0.0.42-linux-amd64.tar.gz
+RUN tar -xvf /root/pulumictl/pulumictl-v0.0.42-linux-amd64.tar.gz -C /root/pulumictl/
+ENV PATH="//root/pulumictl/:${PATH}"
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 0000000..728066d
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,12 @@
+{
+ "build": {
+ "dockerfile": "Dockerfile"
+ },
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "golang.go"
+ ]
+ }
+ }
+}
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index fb3d9e3..e86ed31 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -33,3 +33,14 @@ updates:
commit-message:
prefix: "chore"
include: "scope"
+ - package-ecosystem: "docker"
+ directory: ".devcontainer"
+ schedule:
+ interval: "weekly"
+ day: "sunday"
+ time: "08:00"
+ labels:
+ - "dependencies"
+ commit-message:
+ prefix: "chore"
+ include: "scope"
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index f9ca115..1f006f8 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -6,7 +6,7 @@ on:
permissions:
contents: write
-
+ id-token: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -40,6 +40,8 @@ jobs:
repo: pulumi/pulumictl
- name: Set PreRelease Version
run: echo "GORELEASER_CURRENT_TAG=v$(pulumictl get version --language generic)" >> $GITHUB_ENV
+ - uses: sigstore/cosign-installer@d13028333d784fcc802b67ec924bcebe75aa0a5f # v3.1.0
+ - uses: anchore/sbom-action/download-syft@78fc58e266e87a38d4194b2137a3d4e9bcaf7ca1 # v0.14.3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # tag=v4.3.0
with:
@@ -116,6 +118,7 @@ jobs:
access: "public"
token: ${{ env.NPM_TOKEN }}
package: ${{github.workspace}}/sdk/nodejs/bin/package.json
+ provenance: true
- if: ${{ matrix.language == 'dotnet' && env.PUBLISH_NUGET == 'true' }}
name: publish nuget package
run: |
@@ -134,6 +137,6 @@ jobs:
- dotnet
- go
nodeversion:
- - 16.x
+ - 18.x
pythonversion:
- "3.9"
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 7943a50..4d98dbd 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -22,6 +22,28 @@ builds:
- -X github.com/pulumiverse/pulumi-purrl/provider/pkg/version.Version={{.Tag }}
main: ./cmd/pulumi-resource-purrl/
+signs:
+ - cmd: cosign
+ env:
+ - COSIGN_EXPERIMENTAL=1
+ certificate: '${artifact}.pem'
+ args:
+ - sign-blob
+ - '-y'
+ - '--output-certificate=${certificate}'
+ - '--bundle=${signature}'
+ - '${artifact}'
+ artifacts: all
+ output: true
+
+sboms:
+ - artifacts: archive
+ - id: source
+ artifacts: source
+
+source:
+ enabled: true
+
release:
disable: false
prerelease: auto
diff --git a/Makefile b/Makefile
index 3f57ac5..ee9c714 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ java_sdk::
gradle --console=plain build
.PHONY: build
-build:: codegen provider go_sdk dotnet_sdk nodejs_sdk python_sdk java_sdk
+build:: codegen provider go_sdk dotnet_sdk nodejs_sdk python_sdk #java_sdk
# Required for the codegen action that runs in pulumi/pulumi
only_build:: build
diff --git a/provider/go.mod b/provider/go.mod
index 1ef993b..33ae56e 100644
--- a/provider/go.mod
+++ b/provider/go.mod
@@ -48,7 +48,7 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/pkg/term v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/pulumi/pulumi/pkg/v3 v3.72.0 // indirect
+ github.com/pulumi/pulumi/pkg/v3 v3.74.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
diff --git a/provider/go.sum b/provider/go.sum
index 00349c3..cceba54 100644
--- a/provider/go.sum
+++ b/provider/go.sum
@@ -128,8 +128,8 @@ github.com/pulumi/pulumi-go-provider v0.10.0 h1:tgX2QPBLjgO4GSmCXW5ARzq7Mmna51jZ
github.com/pulumi/pulumi-go-provider v0.10.0/go.mod h1:6yOfJ+g5JkflllURGekK7lncGBaLLbSuwAfHpuTD+E4=
github.com/pulumi/pulumi-go-provider/integration v0.10.0 h1:GHesnrrvkboSjkZpC+qRwjkXBp5d+fSXqlIO92zQxvc=
github.com/pulumi/pulumi-go-provider/integration v0.10.0/go.mod h1:qAbKHpPzANFKOyjiQ0CzdgJh4DtM0gtujKhO7+l3/+w=
-github.com/pulumi/pulumi/pkg/v3 v3.72.0 h1:U7g7yAEwlfVIme0e+MmoWxArHYFTRpo8JX83KTQRuRg=
-github.com/pulumi/pulumi/pkg/v3 v3.72.0/go.mod h1:Bug/Xi21nzRtrD7Lx+rTBtQUrzyuiaj6rL6RAKMZLRo=
+github.com/pulumi/pulumi/pkg/v3 v3.74.0 h1:akL3ytYRgytJnlfj3hYyhNq15EiN5GGdlTB0vupxB7I=
+github.com/pulumi/pulumi/pkg/v3 v3.74.0/go.mod h1:HF+q4SozI1SZj8idzw0Kx3MIOH82m7er19PfVLUbDS0=
github.com/pulumi/pulumi/sdk/v3 v3.74.0 h1:U+7fc/iLFy/aZMyQNOSxrp2voqBk8VKLyodgwkmAt7Q=
github.com/pulumi/pulumi/sdk/v3 v3.74.0/go.mod h1:BUUBfQZsH0FPuznRfFHkR+b96VlXELnn+DgidFj4XSQ=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
diff --git a/sdk/dotnet/Pulumiverse.Purrl.csproj b/sdk/dotnet/Pulumiverse.Purrl.csproj
index a2cbd2a..47c5c43 100644
--- a/sdk/dotnet/Pulumiverse.Purrl.csproj
+++ b/sdk/dotnet/Pulumiverse.Purrl.csproj
@@ -12,7 +12,6 @@
net6.0
enable
- false
diff --git a/sdk/go/purrl/init.go b/sdk/go/purrl/init.go
index a212303..97b8ca0 100644
--- a/sdk/go/purrl/init.go
+++ b/sdk/go/purrl/init.go
@@ -1,4 +1,4 @@
-// Code generated by pulumi DO NOT EDIT.
+// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package purrl
diff --git a/sdk/go/purrl/provider.go b/sdk/go/purrl/provider.go
index 0aecf8e..b550b31 100644
--- a/sdk/go/purrl/provider.go
+++ b/sdk/go/purrl/provider.go
@@ -1,4 +1,4 @@
-// Code generated by pulumi DO NOT EDIT.
+// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package purrl
diff --git a/sdk/go/purrl/pulumiUtilities.go b/sdk/go/purrl/pulumiUtilities.go
index 744245a..d297529 100644
--- a/sdk/go/purrl/pulumiUtilities.go
+++ b/sdk/go/purrl/pulumiUtilities.go
@@ -1,4 +1,4 @@
-// Code generated by pulumi DO NOT EDIT.
+// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package purrl
@@ -51,7 +51,7 @@ func parseEnvStringArray(v string) interface{} {
func getEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} {
for _, v := range vars {
- if value := os.Getenv(v); value != "" {
+ if value, ok := os.LookupEnv(v); ok {
if parser != nil {
return parser(value)
}
diff --git a/sdk/go/purrl/purrl.go b/sdk/go/purrl/purrl.go
index b15f2a6..a56f0ca 100644
--- a/sdk/go/purrl/purrl.go
+++ b/sdk/go/purrl/purrl.go
@@ -1,4 +1,4 @@
-// Code generated by pulumi DO NOT EDIT.
+// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package purrl
diff --git a/sdk/java/README.md b/sdk/java/README.md
deleted file mode 100644
index c126bb4..0000000
--- a/sdk/java/README.md
+++ /dev/null
@@ -1 +0,0 @@
-A Pulumi native provider for making API calls
diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle
deleted file mode 100644
index b0b2117..0000000
--- a/sdk/java/build.gradle
+++ /dev/null
@@ -1,148 +0,0 @@
-// *** WARNING: this file was generated by pulumi-java-gen ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-plugins {
- id("signing")
- id("java-library")
- id("maven-publish")
- id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
-}
-
-group = "com.pulumi"
-
-def resolvedVersion = System.getenv("PACKAGE_VERSION") ?:
- (project.version == "unspecified"
- ? "0.0.1"
- : project.version)
-
-def signingKey = System.getenv("SIGNING_KEY")
-def signingPassword = System.getenv("SIGNING_PASSWORD")
-def publishRepoURL = System.getenv("PUBLISH_REPO_URL") ?: "https://s01.oss.sonatype.org"
-def publishRepoUsername = System.getenv("PUBLISH_REPO_USERNAME")
-def publishRepoPassword = System.getenv("PUBLISH_REPO_PASSWORD")
-
-java {
- toolchain {
- languageVersion = JavaLanguageVersion.of(11)
- }
-}
-
-compileJava {
- options.fork = true
- options.forkOptions.jvmArgs.addAll(["-Xmx4g"])
-}
-
-repositories {
- mavenLocal()
- maven { // The google mirror is less flaky than mavenCentral()
- url("https://maven-central.storage-download.googleapis.com/maven2/")
- }
- mavenCentral()
-}
-
-dependencies {
- implementation("com.google.code.findbugs:jsr305:3.0.2")
- implementation("com.google.code.gson:gson:2.8.9")
- implementation("com.pulumi:pulumi:0.6.0")
-}
-
-task sourcesJar(type: Jar) {
- from sourceSets.main.allJava
- archiveClassifier.set('sources')
-}
-
-task javadocJar(type: Jar) {
- from javadoc
- archiveClassifier.set('javadoc')
- zip64 = true
-}
-
-def genPulumiResources = tasks.register('genPulumiResources') {
- doLast {
- def resourcesDir = sourceSets.main.output.resourcesDir
- def subDir = project.name.replace(".", "/")
- def outDir = file("$resourcesDir/$subDir")
- outDir.mkdirs()
- new File(outDir, "version.txt").text = resolvedVersion
- def info = new Object()
- info.metaClass.resource = true
- info.metaClass.name = "purrl"
- info.metaClass.version = resolvedVersion
- def infoJson = new groovy.json.JsonBuilder(info).toPrettyString()
- new File(outDir, "plugin.json").text = infoJson
- }
-}
-
-jar.configure {
- dependsOn genPulumiResources
-}
-
-publishing {
- publications {
- mainPublication(MavenPublication) {
- groupId = "com.pulumi"
- artifactId = "purrl"
- version = resolvedVersion
- from components.java
- artifact sourcesJar
- artifact javadocJar
-
- pom {
- inceptionYear = "2022"
- name = "pulumi-purrl"
- packaging = "jar"
- description = "A Pulumi native provider for making API calls"
-
- url = "https://github.com/pulumiverse/pulumi-purrl"
-
- scm {
- connection = "git@github.com/pulumiverse/pulumi-purrl.git"
- developerConnection = "git@github.com/pulumiverse/pulumi-purrl.git"
- url = "https://github.com/pulumiverse/pulumi-purrl"
- }
-
- licenses {
- license {
- name = "The Apache License, Version 2.0"
- url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
- }
- }
-
- developers {
- developer {
- id = "pulumi"
- name = "Pulumi"
- email = "support@pulumi.com"
- }
- }
- }
- }
- }
-}
-
-javadoc {
- if (JavaVersion.current().isJava9Compatible()) {
- options.addBooleanOption('html5', true)
- }
- options.jFlags("-Xmx8g", "-Xms512m")
-}
-
-if (publishRepoUsername) {
- nexusPublishing {
- repositories {
- sonatype {
- nexusUrl.set(uri(publishRepoURL + "/service/local/"))
- snapshotRepositoryUrl.set(uri(publishRepoURL + "/content/repositories/snapshots/"))
- username = publishRepoUsername
- password = publishRepoPassword
- }
- }
- }
-}
-
-if (signingKey) {
- signing {
- useInMemoryPgpKeys(signingKey, signingPassword)
- sign publishing.publications.mainPublication
- }
-}
\ No newline at end of file
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Provider.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Provider.class
deleted file mode 100644
index 43f4465..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Provider.class and /dev/null differ
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/ProviderArgs$Builder.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/ProviderArgs$Builder.class
deleted file mode 100644
index 30b629e..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/ProviderArgs$Builder.class and /dev/null differ
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/ProviderArgs.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/ProviderArgs.class
deleted file mode 100644
index 2b5d82c..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/ProviderArgs.class and /dev/null differ
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Purrl.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Purrl.class
deleted file mode 100644
index 736502d..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Purrl.class and /dev/null differ
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/PurrlArgs$Builder.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/PurrlArgs$Builder.class
deleted file mode 100644
index df29030..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/PurrlArgs$Builder.class and /dev/null differ
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/PurrlArgs.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/PurrlArgs.class
deleted file mode 100644
index 9b52838..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/PurrlArgs.class and /dev/null differ
diff --git a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Utilities.class b/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Utilities.class
deleted file mode 100644
index 07532fc..0000000
Binary files a/sdk/java/build/classes/java/main/com/pulumiverse/purrl/Utilities.class and /dev/null differ
diff --git a/sdk/java/build/resources/main/com/pulumiverse/purrl/plugin.json b/sdk/java/build/resources/main/com/pulumiverse/purrl/plugin.json
deleted file mode 100644
index 57e0f6b..0000000
--- a/sdk/java/build/resources/main/com/pulumiverse/purrl/plugin.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "resource": true,
- "version": "0.0.1",
- "name": "purrl"
-}
\ No newline at end of file
diff --git a/sdk/java/build/tmp/compileJava/previous-compilation-data.bin b/sdk/java/build/tmp/compileJava/previous-compilation-data.bin
deleted file mode 100644
index 4d929b6..0000000
Binary files a/sdk/java/build/tmp/compileJava/previous-compilation-data.bin and /dev/null differ
diff --git a/sdk/java/build/tmp/jar/MANIFEST.MF b/sdk/java/build/tmp/jar/MANIFEST.MF
deleted file mode 100644
index 59499bc..0000000
--- a/sdk/java/build/tmp/jar/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/sdk/java/settings.gradle b/sdk/java/settings.gradle
deleted file mode 100644
index 9521110..0000000
--- a/sdk/java/settings.gradle
+++ /dev/null
@@ -1,14 +0,0 @@
-// *** WARNING: this file was generated by pulumi-java-gen. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-pluginManagement {
- repositories {
- maven { // The google mirror is less flaky than mavenCentral()
- url("https://maven-central.storage-download.googleapis.com/maven2/")
- }
- gradlePluginPortal()
- }
-}
-
-rootProject.name = "com.pulumiverse.purrl"
-include("lib")
diff --git a/sdk/java/src/main/java/com/pulumiverse/purrl/Provider.java b/sdk/java/src/main/java/com/pulumiverse/purrl/Provider.java
deleted file mode 100644
index 5017c4a..0000000
--- a/sdk/java/src/main/java/com/pulumiverse/purrl/Provider.java
+++ /dev/null
@@ -1,47 +0,0 @@
-// *** WARNING: this file was generated by pulumi. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-package com.pulumiverse.purrl;
-
-import com.pulumi.core.Output;
-import com.pulumi.core.annotations.ResourceType;
-import com.pulumi.core.internal.Codegen;
-import com.pulumiverse.purrl.ProviderArgs;
-import com.pulumiverse.purrl.Utilities;
-import javax.annotation.Nullable;
-
-@ResourceType(type="pulumi:providers:purrl")
-public class Provider extends com.pulumi.resources.ProviderResource {
- /**
- *
- * @param name The _unique_ name of the resulting resource.
- */
- public Provider(String name) {
- this(name, ProviderArgs.Empty);
- }
- /**
- *
- * @param name The _unique_ name of the resulting resource.
- * @param args The arguments to use to populate this resource's properties.
- */
- public Provider(String name, @Nullable ProviderArgs args) {
- this(name, args, null);
- }
- /**
- *
- * @param name The _unique_ name of the resulting resource.
- * @param args The arguments to use to populate this resource's properties.
- * @param options A bag of options that control this resource's behavior.
- */
- public Provider(String name, @Nullable ProviderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
- super("purrl", name, args == null ? ProviderArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
- }
-
- private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
- var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
- .version(Utilities.getVersion())
- .build();
- return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
- }
-
-}
diff --git a/sdk/java/src/main/java/com/pulumiverse/purrl/ProviderArgs.java b/sdk/java/src/main/java/com/pulumiverse/purrl/ProviderArgs.java
deleted file mode 100644
index f86f4e6..0000000
--- a/sdk/java/src/main/java/com/pulumiverse/purrl/ProviderArgs.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// *** WARNING: this file was generated by pulumi. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-package com.pulumiverse.purrl;
-
-
-
-
-public final class ProviderArgs extends com.pulumi.resources.ResourceArgs {
-
- public static final ProviderArgs Empty = new ProviderArgs();
-
- public static Builder builder() {
- return new Builder();
- }
-
- public static final class Builder {
- private ProviderArgs $;
-
- public Builder() {
- $ = new ProviderArgs();
- }
- public ProviderArgs build() {
- return $;
- }
- }
-
-}
diff --git a/sdk/java/src/main/java/com/pulumiverse/purrl/Purrl.java b/sdk/java/src/main/java/com/pulumiverse/purrl/Purrl.java
deleted file mode 100644
index 84eb1ce..0000000
--- a/sdk/java/src/main/java/com/pulumiverse/purrl/Purrl.java
+++ /dev/null
@@ -1,374 +0,0 @@
-// *** WARNING: this file was generated by pulumi. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-package com.pulumiverse.purrl;
-
-import com.pulumi.core.Output;
-import com.pulumi.core.annotations.Export;
-import com.pulumi.core.annotations.ResourceType;
-import com.pulumi.core.internal.Codegen;
-import com.pulumiverse.purrl.PurrlArgs;
-import com.pulumiverse.purrl.Utilities;
-import java.lang.Boolean;
-import java.lang.Integer;
-import java.lang.String;
-import java.util.List;
-import java.util.Map;
-import java.util.Optional;
-import javax.annotation.Nullable;
-
-/**
- * A Pulumi provider for making API calls
- *
- */
-@ResourceType(type="purrl:index:Purrl")
-public class Purrl extends com.pulumi.resources.CustomResource {
- /**
- * The body of the request.
- *
- */
- @Export(name="body", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> body;
-
- /**
- * @return The body of the request.
- *
- */
- public Output> body() {
- return Codegen.optional(this.body);
- }
- /**
- * The CA certificate if server cert is not signed by a trusted CA.
- *
- */
- @Export(name="caCert", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> caCert;
-
- /**
- * @return The CA certificate if server cert is not signed by a trusted CA.
- *
- */
- public Output> caCert() {
- return Codegen.optional(this.caCert);
- }
- /**
- * The client certificate to use for TLS verification.
- *
- */
- @Export(name="cert", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> cert;
-
- /**
- * @return The client certificate to use for TLS verification.
- *
- */
- public Output> cert() {
- return Codegen.optional(this.cert);
- }
- /**
- * The body of the request.
- *
- */
- @Export(name="deleteBody", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteBody;
-
- /**
- * @return The body of the request.
- *
- */
- public Output> deleteBody() {
- return Codegen.optional(this.deleteBody);
- }
- /**
- * The CA certificate if server cert is not signed by a trusted CA.
- *
- */
- @Export(name="deleteCaCert", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteCaCert;
-
- /**
- * @return The CA certificate if server cert is not signed by a trusted CA.
- *
- */
- public Output> deleteCaCert() {
- return Codegen.optional(this.deleteCaCert);
- }
- /**
- * The client certificate to use for TLS verification.
- *
- */
- @Export(name="deleteCert", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteCert;
-
- /**
- * @return The client certificate to use for TLS verification.
- *
- */
- public Output> deleteCert() {
- return Codegen.optional(this.deleteCert);
- }
- /**
- * The headers to send with the request.
- *
- */
- @Export(name="deleteHeaders", refs={Map.class,String.class}, tree="[0,1,1]")
- private Output* @Nullable */ Map> deleteHeaders;
-
- /**
- * @return The headers to send with the request.
- *
- */
- public Output>> deleteHeaders() {
- return Codegen.optional(this.deleteHeaders);
- }
- /**
- * Skip TLS verification.
- *
- */
- @Export(name="deleteInsecureSkipTLSVerify", refs={Boolean.class}, tree="[0]")
- private Output* @Nullable */ Boolean> deleteInsecureSkipTLSVerify;
-
- /**
- * @return Skip TLS verification.
- *
- */
- public Output> deleteInsecureSkipTLSVerify() {
- return Codegen.optional(this.deleteInsecureSkipTLSVerify);
- }
- /**
- * The client key to use for TLS verification.
- *
- */
- @Export(name="deleteKey", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteKey;
-
- /**
- * @return The client key to use for TLS verification.
- *
- */
- public Output> deleteKey() {
- return Codegen.optional(this.deleteKey);
- }
- /**
- * The HTTP method to use.
- *
- */
- @Export(name="deleteMethod", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteMethod;
-
- /**
- * @return The HTTP method to use.
- *
- */
- public Output> deleteMethod() {
- return Codegen.optional(this.deleteMethod);
- }
- /**
- * The response from the API call.
- *
- */
- @Export(name="deleteResponse", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteResponse;
-
- /**
- * @return The response from the API call.
- *
- */
- public Output> deleteResponse() {
- return Codegen.optional(this.deleteResponse);
- }
- /**
- * The expected response code.
- *
- */
- @Export(name="deleteResponseCodes", refs={List.class,String.class}, tree="[0,1]")
- private Output* @Nullable */ List> deleteResponseCodes;
-
- /**
- * @return The expected response code.
- *
- */
- public Output>> deleteResponseCodes() {
- return Codegen.optional(this.deleteResponseCodes);
- }
- /**
- * The API endpoint to call.
- *
- */
- @Export(name="deleteUrl", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> deleteUrl;
-
- /**
- * @return The API endpoint to call.
- *
- */
- public Output> deleteUrl() {
- return Codegen.optional(this.deleteUrl);
- }
- /**
- * The headers to send with the request.
- *
- */
- @Export(name="headers", refs={Map.class,String.class}, tree="[0,1,1]")
- private Output* @Nullable */ Map> headers;
-
- /**
- * @return The headers to send with the request.
- *
- */
- public Output>> headers() {
- return Codegen.optional(this.headers);
- }
- /**
- * Skip TLS verification.
- *
- */
- @Export(name="insecureSkipTLSVerify", refs={Boolean.class}, tree="[0]")
- private Output* @Nullable */ Boolean> insecureSkipTLSVerify;
-
- /**
- * @return Skip TLS verification.
- *
- */
- public Output> insecureSkipTLSVerify() {
- return Codegen.optional(this.insecureSkipTLSVerify);
- }
- /**
- * The client key to use for TLS verification.
- *
- */
- @Export(name="key", refs={String.class}, tree="[0]")
- private Output* @Nullable */ String> key;
-
- /**
- * @return The client key to use for TLS verification.
- *
- */
- public Output> key() {
- return Codegen.optional(this.key);
- }
- /**
- * The HTTP method to use.
- *
- */
- @Export(name="method", refs={String.class}, tree="[0]")
- private Output method;
-
- /**
- * @return The HTTP method to use.
- *
- */
- public Output method() {
- return this.method;
- }
- /**
- * The name for this API call.
- *
- */
- @Export(name="name", refs={String.class}, tree="[0]")
- private Output name;
-
- /**
- * @return The name for this API call.
- *
- */
- public Output name() {
- return this.name;
- }
- /**
- * The response from the API call.
- *
- */
- @Export(name="response", refs={String.class}, tree="[0]")
- private Output response;
-
- /**
- * @return The response from the API call.
- *
- */
- public Output response() {
- return this.response;
- }
- @Export(name="responseCode", refs={Integer.class}, tree="[0]")
- private Output responseCode;
-
- public Output responseCode() {
- return this.responseCode;
- }
- /**
- * The expected response code.
- *
- */
- @Export(name="responseCodes", refs={List.class,String.class}, tree="[0,1]")
- private Output> responseCodes;
-
- /**
- * @return The expected response code.
- *
- */
- public Output> responseCodes() {
- return this.responseCodes;
- }
- /**
- * The API endpoint to call.
- *
- */
- @Export(name="url", refs={String.class}, tree="[0]")
- private Output url;
-
- /**
- * @return The API endpoint to call.
- *
- */
- public Output url() {
- return this.url;
- }
-
- /**
- *
- * @param name The _unique_ name of the resulting resource.
- */
- public Purrl(String name) {
- this(name, PurrlArgs.Empty);
- }
- /**
- *
- * @param name The _unique_ name of the resulting resource.
- * @param args The arguments to use to populate this resource's properties.
- */
- public Purrl(String name, PurrlArgs args) {
- this(name, args, null);
- }
- /**
- *
- * @param name The _unique_ name of the resulting resource.
- * @param args The arguments to use to populate this resource's properties.
- * @param options A bag of options that control this resource's behavior.
- */
- public Purrl(String name, PurrlArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
- super("purrl:index:Purrl", name, args == null ? PurrlArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
- }
-
- private Purrl(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
- super("purrl:index:Purrl", name, null, makeResourceOptions(options, id));
- }
-
- private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
- var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
- .version(Utilities.getVersion())
- .build();
- return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
- }
-
- /**
- * Get an existing Host resource's state with the given name, ID, and optional extra
- * properties used to qualify the lookup.
- *
- * @param name The _unique_ name of the resulting resource.
- * @param id The _unique_ provider ID of the resource to lookup.
- * @param options Optional settings to control the behavior of the CustomResource.
- */
- public static Purrl get(String name, Output id, @Nullable com.pulumi.resources.CustomResourceOptions options) {
- return new Purrl(name, id, options);
- }
-}
diff --git a/sdk/java/src/main/java/com/pulumiverse/purrl/PurrlArgs.java b/sdk/java/src/main/java/com/pulumiverse/purrl/PurrlArgs.java
deleted file mode 100644
index b20a771..0000000
--- a/sdk/java/src/main/java/com/pulumiverse/purrl/PurrlArgs.java
+++ /dev/null
@@ -1,776 +0,0 @@
-// *** WARNING: this file was generated by pulumi. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-package com.pulumiverse.purrl;
-
-import com.pulumi.core.Output;
-import com.pulumi.core.annotations.Import;
-import java.lang.Boolean;
-import java.lang.String;
-import java.util.List;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import javax.annotation.Nullable;
-
-
-public final class PurrlArgs extends com.pulumi.resources.ResourceArgs {
-
- public static final PurrlArgs Empty = new PurrlArgs();
-
- /**
- * The body of the request.
- *
- */
- @Import(name="body")
- private @Nullable Output body;
-
- /**
- * @return The body of the request.
- *
- */
- public Optional