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

@@ -24,76 +24,83 @@ import * as utilities from "./utilities";
* export const networkAclName = _this.then(_this => _this.name);
* ```
*/
export function getNetworkAcl(args: GetNetworkAclArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkAclResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("incus:index/getNetworkAcl:getNetworkAcl", {
"description": args.description,
"egresses": args.egresses,
"ingresses": args.ingresses,
"name": args.name,
"project": args.project,
"remote": args.remote,
}, opts);
export function getNetworkAcl(
args: GetNetworkAclArgs,
opts?: pulumi.InvokeOptions,
): Promise<GetNetworkAclResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke(
"incus:index/getNetworkAcl:getNetworkAcl",
{
description: args.description,
egresses: args.egresses,
ingresses: args.ingresses,
name: args.name,
project: args.project,
remote: args.remote,
},
opts,
);
}
/**
* A collection of arguments for invoking getNetworkAcl.
*/
export interface GetNetworkAclArgs {
/**
* Description of the rule.
*/
description?: string;
/**
* List of egress rules.
*/
egresses?: inputs.GetNetworkAclEgress[];
/**
* List of ingress rules.
*/
ingresses?: inputs.GetNetworkAclIngress[];
/**
* **Required** - Name of the network ACL.
*/
name: string;
/**
* *Optional* - Name of the project where the network ACL 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;
/**
* Description of the rule.
*/
description?: string;
/**
* List of egress rules.
*/
egresses?: inputs.GetNetworkAclEgress[];
/**
* List of ingress rules.
*/
ingresses?: inputs.GetNetworkAclIngress[];
/**
* **Required** - Name of the network ACL.
*/
name: string;
/**
* *Optional* - Name of the project where the network ACL 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;
}
/**
* A collection of values returned by getNetworkAcl.
*/
export interface GetNetworkAclResult {
/**
* Map of key/value pairs of config settings.
*/
readonly config: {[key: string]: string};
/**
* Description of the rule.
*/
readonly description: string;
/**
* List of egress rules.
*/
readonly egresses: outputs.GetNetworkAclEgress[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of ingress rules.
*/
readonly ingresses: outputs.GetNetworkAclIngress[];
readonly name: string;
readonly project?: string;
readonly remote?: string;
/**
* Map of key/value pairs of config settings.
*/
readonly config: { [key: string]: string };
/**
* Description of the rule.
*/
readonly description: string;
/**
* List of egress rules.
*/
readonly egresses: outputs.GetNetworkAclEgress[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of ingress rules.
*/
readonly ingresses: outputs.GetNetworkAclIngress[];
readonly name: string;
readonly project?: string;
readonly remote?: string;
}
/**
* ## # incus.NetworkAcl
@@ -113,45 +120,52 @@ export interface GetNetworkAclResult {
* export const networkAclName = _this.then(_this => _this.name);
* ```
*/
export function getNetworkAclOutput(args: GetNetworkAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkAclResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("incus:index/getNetworkAcl:getNetworkAcl", {
"description": args.description,
"egresses": args.egresses,
"ingresses": args.ingresses,
"name": args.name,
"project": args.project,
"remote": args.remote,
}, opts);
export function getNetworkAclOutput(
args: GetNetworkAclOutputArgs,
opts?: pulumi.InvokeOutputOptions,
): pulumi.Output<GetNetworkAclResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput(
"incus:index/getNetworkAcl:getNetworkAcl",
{
description: args.description,
egresses: args.egresses,
ingresses: args.ingresses,
name: args.name,
project: args.project,
remote: args.remote,
},
opts,
);
}
/**
* A collection of arguments for invoking getNetworkAcl.
*/
export interface GetNetworkAclOutputArgs {
/**
* Description of the rule.
*/
description?: pulumi.Input<string>;
/**
* List of egress rules.
*/
egresses?: pulumi.Input<pulumi.Input<inputs.GetNetworkAclEgressArgs>[]>;
/**
* List of ingress rules.
*/
ingresses?: pulumi.Input<pulumi.Input<inputs.GetNetworkAclIngressArgs>[]>;
/**
* **Required** - Name of the network ACL.
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the network ACL 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>;
/**
* Description of the rule.
*/
description?: pulumi.Input<string>;
/**
* List of egress rules.
*/
egresses?: pulumi.Input<pulumi.Input<inputs.GetNetworkAclEgressArgs>[]>;
/**
* List of ingress rules.
*/
ingresses?: pulumi.Input<pulumi.Input<inputs.GetNetworkAclIngressArgs>[]>;
/**
* **Required** - Name of the network ACL.
*/
name: pulumi.Input<string>;
/**
* *Optional* - Name of the project where the network ACL 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>;
}