This commit is contained in:
2025-12-08 10:47:09 -05:00
parent 136b88ccdc
commit c4445aa92f
109 changed files with 9007 additions and 1219 deletions

View File

@@ -1,4 +1,4 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
@@ -37,17 +37,17 @@ export class NetworkLoadBalancer extends pulumi.CustomResource {
/**
* Network load balancer backend
*/
public readonly backends!: pulumi.Output<outputs.NetworkLoadBalancerBackend[] | undefined>;
public readonly config!: pulumi.Output<{[key: string]: string}>;
public readonly description!: pulumi.Output<string>;
public readonly listenAddress!: pulumi.Output<string>;
public readonly network!: pulumi.Output<string>;
declare public readonly backends: pulumi.Output<outputs.NetworkLoadBalancerBackend[] | undefined>;
declare public readonly config: pulumi.Output<{[key: string]: string}>;
declare public readonly description: pulumi.Output<string>;
declare public readonly listenAddress: pulumi.Output<string>;
declare public readonly network: pulumi.Output<string>;
/**
* Network load balancer port
*/
public readonly ports!: pulumi.Output<outputs.NetworkLoadBalancerPort[] | undefined>;
public readonly project!: pulumi.Output<string | undefined>;
public readonly remote!: pulumi.Output<string | undefined>;
declare public readonly ports: pulumi.Output<outputs.NetworkLoadBalancerPort[] | undefined>;
declare public readonly project: pulumi.Output<string | undefined>;
declare public readonly remote: pulumi.Output<string | undefined>;
/**
* Create a NetworkLoadBalancer resource with the given unique name, arguments, and options.
@@ -62,30 +62,30 @@ export class NetworkLoadBalancer extends pulumi.CustomResource {
opts = opts || {};
if (opts.id) {
const state = argsOrState as NetworkLoadBalancerState | undefined;
resourceInputs["backends"] = state ? state.backends : undefined;
resourceInputs["config"] = state ? state.config : undefined;
resourceInputs["description"] = state ? state.description : undefined;
resourceInputs["listenAddress"] = state ? state.listenAddress : undefined;
resourceInputs["network"] = state ? state.network : undefined;
resourceInputs["ports"] = state ? state.ports : undefined;
resourceInputs["project"] = state ? state.project : undefined;
resourceInputs["remote"] = state ? state.remote : undefined;
resourceInputs["backends"] = state?.backends;
resourceInputs["config"] = state?.config;
resourceInputs["description"] = state?.description;
resourceInputs["listenAddress"] = state?.listenAddress;
resourceInputs["network"] = state?.network;
resourceInputs["ports"] = state?.ports;
resourceInputs["project"] = state?.project;
resourceInputs["remote"] = state?.remote;
} else {
const args = argsOrState as NetworkLoadBalancerArgs | undefined;
if ((!args || args.listenAddress === undefined) && !opts.urn) {
if (args?.listenAddress === undefined && !opts.urn) {
throw new Error("Missing required property 'listenAddress'");
}
if ((!args || args.network === undefined) && !opts.urn) {
if (args?.network === undefined && !opts.urn) {
throw new Error("Missing required property 'network'");
}
resourceInputs["backends"] = args ? args.backends : undefined;
resourceInputs["config"] = args ? args.config : undefined;
resourceInputs["description"] = args ? args.description : undefined;
resourceInputs["listenAddress"] = args ? args.listenAddress : undefined;
resourceInputs["network"] = args ? args.network : undefined;
resourceInputs["ports"] = args ? args.ports : undefined;
resourceInputs["project"] = args ? args.project : undefined;
resourceInputs["remote"] = args ? args.remote : undefined;
resourceInputs["backends"] = args?.backends;
resourceInputs["config"] = args?.config;
resourceInputs["description"] = args?.description;
resourceInputs["listenAddress"] = args?.listenAddress;
resourceInputs["network"] = args?.network;
resourceInputs["ports"] = args?.ports;
resourceInputs["project"] = args?.project;
resourceInputs["remote"] = args?.remote;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(NetworkLoadBalancer.__pulumiType, name, resourceInputs, opts);