style: format with tabs

This commit is contained in:
2025-12-08 11:14:14 -05:00
parent c4445aa92f
commit 54f0fdb6c9
48 changed files with 7088 additions and 6580 deletions

View File

@@ -25,88 +25,95 @@ import * as utilities from "./utilities";
* export const networkForwardListenAddress = _this.then(_this => _this.listenAddress);
* ```
*/
export function getNetworkForward(args: GetNetworkForwardArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkForwardResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getNetworkForward:getNetworkForward", {
"description": args.description,
"listenAddress": args.listenAddress,
"location": args.location,
"network": args.network,
"ports": args.ports,
"project": args.project,
"remote": args.remote,
"target": args.target,
}, opts);
export function getNetworkForward(
args: GetNetworkForwardArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetNetworkForwardResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getNetworkForward:getNetworkForward",
{
description: args.description,
listenAddress: args.listenAddress,
location: args.location,
network: args.network,
ports: args.ports,
project: args.project,
remote: args.remote,
target: args.target,
},
opts,
);
}
/**
* A collection of arguments for invoking getNetworkForward.
*/
export interface GetNetworkForwardArgs {
/**
* Description of the forward port.
*/
description?: string;
/**
* **Required** - Listen Address of the network forward.
*/
listenAddress: string;
/**
* Location of the network forward.
*/
location?: string;
/**
* **Required** - Name of the parent network.
*/
network: string;
/**
* List of ports to forward.
*/
ports?: inputs.GetNetworkForwardPort[];
/**
* *Optional* - Name of the project where the network forward is be stored.
*/
project?: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
/**
* Description of the forward port.
*/
description?: string;
/**
* **Required** - Listen Address of the network forward.
*/
listenAddress: string;
/**
* Location of the network forward.
*/
location?: string;
/**
* **Required** - Name of the parent network.
*/
network: string;
/**
* List of ports to forward.
*/
ports?: inputs.GetNetworkForwardPort[];
/**
* *Optional* - Name of the project where the network forward is be stored.
*/
project?: string;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: string;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: string;
}
/**
* A collection of values returned by getNetworkForward.
*/
export interface GetNetworkForwardResult {
/**
* Map of key/value pairs of config settings.
*/
readonly config: {[key: string]: string};
/**
* Description of the forward port.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly listenAddress: string;
/**
* Location of the network forward.
*/
readonly location: string;
readonly network: string;
/**
* List of ports to forward.
*/
readonly ports: outputs.GetNetworkForwardPort[];
readonly project?: string;
readonly remote?: string;
readonly target?: string;
/**
* Map of key/value pairs of config settings.
*/
readonly config: { [key: string]: string };
/**
* Description of the forward port.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly listenAddress: string;
/**
* Location of the network forward.
*/
readonly location: string;
readonly network: string;
/**
* List of ports to forward.
*/
readonly ports: outputs.GetNetworkForwardPort[];
readonly project?: string;
readonly remote?: string;
readonly target?: string;
}
/**
* ## # incus.NetworkForward
@@ -127,55 +134,62 @@ export interface GetNetworkForwardResult {
* export const networkForwardListenAddress = _this.then(_this => _this.listenAddress);
* ```
*/
export function getNetworkForwardOutput(args: GetNetworkForwardOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkForwardResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getNetworkForward:getNetworkForward", {
"description": args.description,
"listenAddress": args.listenAddress,
"location": args.location,
"network": args.network,
"ports": args.ports,
"project": args.project,
"remote": args.remote,
"target": args.target,
}, opts);
export function getNetworkForwardOutput(
args: GetNetworkForwardOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetNetworkForwardResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getNetworkForward:getNetworkForward",
{
description: args.description,
listenAddress: args.listenAddress,
location: args.location,
network: args.network,
ports: args.ports,
project: args.project,
remote: args.remote,
target: args.target,
},
opts,
);
}
/**
* A collection of arguments for invoking getNetworkForward.
*/
export interface GetNetworkForwardOutputArgs {
/**
* Description of the forward port.
*/
description?: pulumi.Input<string>;
/**
* **Required** - Listen Address of the network forward.
*/
listenAddress: pulumi.Input<string>;
/**
* Location of the network forward.
*/
location?: pulumi.Input<string>;
/**
* **Required** - Name of the parent network.
*/
network: pulumi.Input<string>;
/**
* List of ports to forward.
*/
ports?: pulumi.Input<pulumi.Input<inputs.GetNetworkForwardPortArgs>[]>;
/**
* *Optional* - Name of the project where the network forward is be stored.
*/
project?: pulumi.Input<string>;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: pulumi.Input<string>;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: pulumi.Input<string>;
/**
* Description of the forward port.
*/
description?: pulumi.Input<string>;
/**
* **Required** - Listen Address of the network forward.
*/
listenAddress: pulumi.Input<string>;
/**
* Location of the network forward.
*/
location?: pulumi.Input<string>;
/**
* **Required** - Name of the parent network.
*/
network: pulumi.Input<string>;
/**
* List of ports to forward.
*/
ports?: pulumi.Input<pulumi.Input<inputs.GetNetworkForwardPortArgs>[]>;
/**
* *Optional* - Name of the project where the network forward is be stored.
*/
project?: pulumi.Input<string>;
/**
* *Optional* - The remote in which the resource was created. If
* not provided, the provider's default remote will be used.
*/
remote?: pulumi.Input<string>;
/**
* *Optional* - Specify a target node in a cluster.
*/
target?: pulumi.Input<string>;
}