Regenerate SDKs

This commit is contained in:
Bryce Lampe
2024-04-25 09:58:30 -07:00
parent 13fb5b6158
commit 9d35ccefac
7 changed files with 125 additions and 47 deletions

File diff suppressed because one or more lines are too long

10
sdk/dotnet/Image.cs generated
View File

@@ -201,6 +201,7 @@ namespace Pulumi.DockerBuild
/// DockerBuild.Platform.Plan9_amd64,
/// DockerBuild.Platform.Plan9_386,
/// },
/// Push = false,
/// });
///
/// });
@@ -280,6 +281,7 @@ namespace Pulumi.DockerBuild
/// {
/// Location = "app",
/// },
/// Push = false,
/// });
///
/// });
@@ -305,6 +307,7 @@ namespace Pulumi.DockerBuild
/// Location = "app",
/// },
/// Exec = true,
/// Push = false,
/// });
///
/// });
@@ -329,6 +332,7 @@ namespace Pulumi.DockerBuild
/// {
/// Location = "app",
/// },
/// Push = false,
/// });
///
/// });
@@ -349,6 +353,7 @@ namespace Pulumi.DockerBuild
/// {
/// Location = "app",
/// },
/// Push = false,
/// Target = "build-me",
/// });
///
@@ -377,6 +382,7 @@ namespace Pulumi.DockerBuild
/// } },
/// },
/// },
/// Push = false,
/// });
///
/// });
@@ -397,6 +403,7 @@ namespace Pulumi.DockerBuild
/// {
/// Location = "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
/// },
/// Push = false,
/// });
///
/// });
@@ -423,6 +430,7 @@ namespace Pulumi.DockerBuild
/// COPY hello.c ./
/// ",
/// },
/// Push = false,
/// });
///
/// });
@@ -447,6 +455,7 @@ namespace Pulumi.DockerBuild
/// {
/// Location = "app/Dockerfile",
/// },
/// Push = false,
/// });
///
/// });
@@ -477,6 +486,7 @@ namespace Pulumi.DockerBuild
/// },
/// },
/// },
/// Push = false,
/// });
///
/// });

View File

@@ -211,6 +211,7 @@ import (
// dockerbuild.Platform_Plan9_amd64,
// dockerbuild.Platform_Plan9_386,
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -290,6 +291,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("app"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -320,6 +322,7 @@ import (
// Location: pulumi.String("app"),
// },
// Exec: pulumi.Bool(true),
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -349,6 +352,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("app"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -375,6 +379,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("app"),
// },
// Push: pulumi.Bool(false),
// Target: pulumi.String("build-me"),
// })
// if err != nil {
@@ -407,6 +412,7 @@ import (
// },
// },
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -433,6 +439,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -462,6 +469,7 @@ import (
// Dockerfile: &dockerbuild.DockerfileArgs{
// Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -491,6 +499,7 @@ import (
// Dockerfile: &dockerbuild.DockerfileArgs{
// Location: pulumi.String("app/Dockerfile"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -524,6 +533,7 @@ import (
// },
// },
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err

View File

@@ -211,6 +211,7 @@ import (
// dockerbuild.Platform_Plan9_amd64,
// dockerbuild.Platform_Plan9_386,
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -290,6 +291,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("app"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -320,6 +322,7 @@ import (
// Location: pulumi.String("app"),
// },
// Exec: pulumi.Bool(true),
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -349,6 +352,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("app"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -375,6 +379,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("app"),
// },
// Push: pulumi.Bool(false),
// Target: pulumi.String("build-me"),
// })
// if err != nil {
@@ -407,6 +412,7 @@ import (
// },
// },
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -433,6 +439,7 @@ import (
// Context: &dockerbuild.BuildContextArgs{
// Location: pulumi.String("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -462,6 +469,7 @@ import (
// Dockerfile: &dockerbuild.DockerfileArgs{
// Inline: pulumi.String("FROM busybox\nCOPY hello.c ./\n"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -491,6 +499,7 @@ import (
// Dockerfile: &dockerbuild.DockerfileArgs{
// Location: pulumi.String("app/Dockerfile"),
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err
@@ -524,6 +533,7 @@ import (
// },
// },
// },
// Push: pulumi.Bool(false),
// })
// if err != nil {
// return err

View File

@@ -225,6 +225,7 @@ import javax.annotation.Nullable;
* .platforms(
* "plan9/amd64",
* "plan9/386")
* .push(false)
* .build());
*
* }
@@ -313,6 +314,7 @@ import javax.annotation.Nullable;
* .context(BuildContextArgs.builder()
* .location("app")
* .build())
* .push(false)
* .build());
*
* }
@@ -350,6 +352,7 @@ import javax.annotation.Nullable;
* .location("app")
* .build())
* .exec(true)
* .push(false)
* .build());
*
* }
@@ -383,6 +386,7 @@ import javax.annotation.Nullable;
* .context(BuildContextArgs.builder()
* .location("app")
* .build())
* .push(false)
* .build());
*
* }
@@ -415,6 +419,7 @@ import javax.annotation.Nullable;
* .context(BuildContextArgs.builder()
* .location("app")
* .build())
* .push(false)
* .target("build-me")
* .build());
*
@@ -449,6 +454,7 @@ import javax.annotation.Nullable;
* .location("app")
* .named(Map.of("golang:latest", Map.of("location", "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984")))
* .build())
* .push(false)
* .build());
*
* }
@@ -481,6 +487,7 @@ import javax.annotation.Nullable;
* .context(BuildContextArgs.builder()
* .location("https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile")
* .build())
* .push(false)
* .build());
*
* }
@@ -520,6 +527,7 @@ import javax.annotation.Nullable;
* COPY hello.c ./
* """)
* .build())
* .push(false)
* .build());
*
* }
@@ -556,6 +564,7 @@ import javax.annotation.Nullable;
* .dockerfile(DockerfileArgs.builder()
* .location("app/Dockerfile")
* .build())
* .push(false)
* .build());
*
* }
@@ -595,6 +604,7 @@ import javax.annotation.Nullable;
* .tar(true)
* .build())
* .build())
* .push(false)
* .build());
*
* }

32
sdk/nodejs/image.ts generated
View File

@@ -291,6 +291,7 @@ import * as utilities from "./utilities";
* docker_build.Platform.Plan9_amd64,
* docker_build.Platform.Plan9_386,
* ],
* push: false,
* });
* ```
* ### Registry export
@@ -334,6 +335,7 @@ import * as utilities from "./utilities";
* context: {
* location: "app",
* },
* push: false,
* });
* ```
* ### Docker Build Cloud
@@ -350,6 +352,7 @@ import * as utilities from "./utilities";
* location: "app",
* },
* exec: true,
* push: false,
* });
* ```
* ### Build arguments
@@ -365,6 +368,7 @@ import * as utilities from "./utilities";
* context: {
* location: "app",
* },
* push: false,
* });
* ```
* ### Build target
@@ -377,6 +381,7 @@ import * as utilities from "./utilities";
* context: {
* location: "app",
* },
* push: false,
* target: "build-me",
* });
* ```
@@ -386,14 +391,17 @@ import * as utilities from "./utilities";
* import * as pulumi from "@pulumi/pulumi";
* import * as docker_build from "@pulumi/docker-build";
*
* const image = new docker_build.Image("image", {context: {
* location: "app",
* named: {
* "golang:latest": {
* location: "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
* const image = new docker_build.Image("image", {
* context: {
* location: "app",
* named: {
* "golang:latest": {
* location: "docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
* },
* },
* },
* }});
* push: false,
* });
* ```
* ### Remote context
*
@@ -401,9 +409,12 @@ import * as utilities from "./utilities";
* import * as pulumi from "@pulumi/pulumi";
* import * as docker_build from "@pulumi/docker-build";
*
* const image = new docker_build.Image("image", {context: {
* location: "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
* }});
* const image = new docker_build.Image("image", {
* context: {
* location: "https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
* },
* push: false,
* });
* ```
* ### Inline Dockerfile
*
@@ -420,6 +431,7 @@ import * as utilities from "./utilities";
* COPY hello.c ./
* `,
* },
* push: false,
* });
* ```
* ### Remote context
@@ -435,6 +447,7 @@ import * as utilities from "./utilities";
* dockerfile: {
* location: "app/Dockerfile",
* },
* push: false,
* });
* ```
* ### Local export
@@ -452,6 +465,7 @@ import * as utilities from "./utilities";
* tar: true,
* },
* }],
* push: false,
* });
* ```
*/

View File

@@ -754,7 +754,8 @@ class Image(pulumi.CustomResource):
platforms=[
docker_build.Platform.PLAN9_AMD64,
docker_build.Platform.PLAN9_386,
])
],
push=False)
```
### Registry export
```python
@@ -793,7 +794,8 @@ class Image(pulumi.CustomResource):
)],
context=docker_build.BuildContextArgs(
location="app",
))
),
push=False)
```
### Docker Build Cloud
```python
@@ -807,7 +809,8 @@ class Image(pulumi.CustomResource):
context=docker_build.BuildContextArgs(
location="app",
),
exec_=True)
exec_=True,
push=False)
```
### Build arguments
```python
@@ -820,7 +823,8 @@ class Image(pulumi.CustomResource):
},
context=docker_build.BuildContextArgs(
location="app",
))
),
push=False)
```
### Build target
```python
@@ -831,6 +835,7 @@ class Image(pulumi.CustomResource):
context=docker_build.BuildContextArgs(
location="app",
),
push=False,
target="build-me")
```
### Named contexts
@@ -838,23 +843,27 @@ class Image(pulumi.CustomResource):
import pulumi
import pulumi_docker_build as docker_build
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
location="app",
named={
"golang:latest": docker_build.ContextArgs(
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
),
},
))
image = docker_build.Image("image",
context=docker_build.BuildContextArgs(
location="app",
named={
"golang:latest": docker_build.ContextArgs(
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
),
},
),
push=False)
```
### Remote context
```python
import pulumi
import pulumi_docker_build as docker_build
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
))
image = docker_build.Image("image",
context=docker_build.BuildContextArgs(
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
),
push=False)
```
### Inline Dockerfile
```python
@@ -869,7 +878,8 @@ class Image(pulumi.CustomResource):
inline=\"\"\"FROM busybox
COPY hello.c ./
\"\"\",
))
),
push=False)
```
### Remote context
```python
@@ -882,7 +892,8 @@ class Image(pulumi.CustomResource):
),
dockerfile=docker_build.DockerfileArgs(
location="app/Dockerfile",
))
),
push=False)
```
### Local export
```python
@@ -897,7 +908,8 @@ class Image(pulumi.CustomResource):
docker=docker_build.ExportDockerArgs(
tar=True,
),
)])
)],
push=False)
```
:param str resource_name: The name of the resource.
@@ -1180,7 +1192,8 @@ class Image(pulumi.CustomResource):
platforms=[
docker_build.Platform.PLAN9_AMD64,
docker_build.Platform.PLAN9_386,
])
],
push=False)
```
### Registry export
```python
@@ -1219,7 +1232,8 @@ class Image(pulumi.CustomResource):
)],
context=docker_build.BuildContextArgs(
location="app",
))
),
push=False)
```
### Docker Build Cloud
```python
@@ -1233,7 +1247,8 @@ class Image(pulumi.CustomResource):
context=docker_build.BuildContextArgs(
location="app",
),
exec_=True)
exec_=True,
push=False)
```
### Build arguments
```python
@@ -1246,7 +1261,8 @@ class Image(pulumi.CustomResource):
},
context=docker_build.BuildContextArgs(
location="app",
))
),
push=False)
```
### Build target
```python
@@ -1257,6 +1273,7 @@ class Image(pulumi.CustomResource):
context=docker_build.BuildContextArgs(
location="app",
),
push=False,
target="build-me")
```
### Named contexts
@@ -1264,23 +1281,27 @@ class Image(pulumi.CustomResource):
import pulumi
import pulumi_docker_build as docker_build
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
location="app",
named={
"golang:latest": docker_build.ContextArgs(
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
),
},
))
image = docker_build.Image("image",
context=docker_build.BuildContextArgs(
location="app",
named={
"golang:latest": docker_build.ContextArgs(
location="docker-image://golang@sha256:b8e62cf593cdaff36efd90aa3a37de268e6781a2e68c6610940c48f7cdf36984",
),
},
),
push=False)
```
### Remote context
```python
import pulumi
import pulumi_docker_build as docker_build
image = docker_build.Image("image", context=docker_build.BuildContextArgs(
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
))
image = docker_build.Image("image",
context=docker_build.BuildContextArgs(
location="https://raw.githubusercontent.com/pulumi/pulumi-docker/api-types/provider/testdata/Dockerfile",
),
push=False)
```
### Inline Dockerfile
```python
@@ -1295,7 +1316,8 @@ class Image(pulumi.CustomResource):
inline=\"\"\"FROM busybox
COPY hello.c ./
\"\"\",
))
),
push=False)
```
### Remote context
```python
@@ -1308,7 +1330,8 @@ class Image(pulumi.CustomResource):
),
dockerfile=docker_build.DockerfileArgs(
location="app/Dockerfile",
))
),
push=False)
```
### Local export
```python
@@ -1323,7 +1346,8 @@ class Image(pulumi.CustomResource):
docker=docker_build.ExportDockerArgs(
tar=True,
),
)])
)],
push=False)
```
:param str resource_name: The name of the resource.