Skip to content

Commit

Permalink
generate sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
EronWright committed Mar 8, 2024
1 parent d4a60d9 commit 02ca515
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions provider/cmd/pulumi-resource-kubernetes/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -95200,11 +95200,11 @@
"inputProperties": {
"file": {
"type": "string",
"description": "Path or a URL that uniquely identifies a file."
"description": "Path or URL to a Kubernetes manifest file. File must exist."
},
"resourcePrefix": {
"type": "string",
"description": "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"."
"description": "A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\"."
},
"skipAwait": {
"type": "boolean",
Expand Down
4 changes: 2 additions & 2 deletions provider/pkg/gen/overlays.go
Original file line number Diff line number Diff line change
Expand Up @@ -1087,13 +1087,13 @@ var yamlConfigFileV2Resource = pschema.ResourceSpec{
TypeSpec: pschema.TypeSpec{
Type: "string",
},
Description: "Path or a URL that uniquely identifies a file.",
Description: "Path or URL to a Kubernetes manifest file. File must exist.",
},
"resourcePrefix": {
TypeSpec: pschema.TypeSpec{
Type: "string",
},
Description: "An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\".",
Description: "A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=\"foo\" would produce a resource named \"foo-resourceName\".",
},
"skipAwait": {
TypeSpec: pschema.TypeSpec{
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Yaml/V2/ConfigFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ namespace Pulumi.Kubernetes.Types.Inputs.Yaml.V2
public class ConfigFileArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Path or a URL that uniquely identifies a file.
/// Path or URL to a Kubernetes manifest file. File must exist.
/// </summary>
[Input("file", required: true)]
public Input<string> File { get; set; } = null!;

/// <summary>
/// An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
/// A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
/// </summary>
[Input("resourcePrefix")]
public Input<string>? ResourcePrefix { get; set; }
Expand Down
8 changes: 4 additions & 4 deletions sdk/go/kubernetes/yaml/v2/configFile.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@ public final class ConfigFileArgs extends com.pulumi.resources.ResourceArgs {
public static final ConfigFileArgs Empty = new ConfigFileArgs();

/**
* Path or a URL that uniquely identifies a file.
* Path or URL to a Kubernetes manifest file. File must exist.
*
*/
@Import(name="file", required=true)
private Output<String> file;

/**
* @return Path or a URL that uniquely identifies a file.
* @return Path or URL to a Kubernetes manifest file. File must exist.
*
*/
public Output<String> file() {
return this.file;
}

/**
* An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
* A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
*
*/
@Import(name="resourcePrefix")
private @Nullable Output<String> resourcePrefix;

/**
* @return An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
* @return A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
*
*/
public Optional<Output<String>> resourcePrefix() {
Expand Down Expand Up @@ -88,7 +88,7 @@ public Builder(ConfigFileArgs defaults) {
}

/**
* @param file Path or a URL that uniquely identifies a file.
* @param file Path or URL to a Kubernetes manifest file. File must exist.
*
* @return builder
*
Expand All @@ -99,7 +99,7 @@ public Builder file(Output<String> file) {
}

/**
* @param file Path or a URL that uniquely identifies a file.
* @param file Path or URL to a Kubernetes manifest file. File must exist.
*
* @return builder
*
Expand All @@ -109,7 +109,7 @@ public Builder file(String file) {
}

/**
* @param resourcePrefix An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
* @param resourcePrefix A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
*
* @return builder
*
Expand All @@ -120,7 +120,7 @@ public Builder resourcePrefix(@Nullable Output<String> resourcePrefix) {
}

/**
* @param resourcePrefix An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
* @param resourcePrefix A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix=&#34;foo&#34; would produce a resource named &#34;foo-resourceName&#34;.
*
* @return builder
*
Expand Down
4 changes: 2 additions & 2 deletions sdk/nodejs/yaml/v2/configFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ export class ConfigFile extends pulumi.ComponentResource {
*/
export interface ConfigFileArgs {
/**
* Path or a URL that uniquely identifies a file.
* Path or URL to a Kubernetes manifest file. File must exist.
*/
file: pulumi.Input<string>;
/**
* An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
* A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
*/
resourcePrefix?: pulumi.Input<string>;
/**
Expand Down
12 changes: 6 additions & 6 deletions sdk/python/pulumi_kubernetes/yaml/v2/ConfigFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def __init__(__self__, *,
skip_await: Optional[pulumi.Input[bool]] = None):
"""
The set of arguments for constructing a ConfigFile resource.
:param pulumi.Input[str] file: Path or a URL that uniquely identifies a file.
:param pulumi.Input[str] resource_prefix: An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
:param pulumi.Input[str] file: Path or URL to a Kubernetes manifest file. File must exist.
:param pulumi.Input[str] resource_prefix: A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
:param pulumi.Input[bool] skip_await: Indicates that child resources should skip the await logic.
"""
pulumi.set(__self__, "file", file)
Expand All @@ -33,7 +33,7 @@ def __init__(__self__, *,
@pulumi.getter
def file(self) -> pulumi.Input[str]:
"""
Path or a URL that uniquely identifies a file.
Path or URL to a Kubernetes manifest file. File must exist.
"""
return pulumi.get(self, "file")

Expand All @@ -45,7 +45,7 @@ def file(self, value: pulumi.Input[str]):
@pulumi.getter(name="resourcePrefix")
def resource_prefix(self) -> Optional[pulumi.Input[str]]:
"""
An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
"""
return pulumi.get(self, "resource_prefix")

Expand Down Expand Up @@ -92,8 +92,8 @@ def __init__(__self__,
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] file: Path or a URL that uniquely identifies a file.
:param pulumi.Input[str] resource_prefix: An optional prefix for the auto-generated resource names. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
:param pulumi.Input[str] file: Path or URL to a Kubernetes manifest file. File must exist.
:param pulumi.Input[str] resource_prefix: A prefix for the auto-generated resource names. Defaults to the name of the ConfigFile. Example: A resource created with resourcePrefix="foo" would produce a resource named "foo-resourceName".
:param pulumi.Input[bool] skip_await: Indicates that child resources should skip the await logic.
"""
...
Expand Down

0 comments on commit 02ca515

Please sign in to comment.