style: format with tabs
This commit is contained in:
172
sdk/nodejs/getNetworkAddressSet.ts
generated
172
sdk/nodejs/getNetworkAddressSet.ts
generated
@@ -22,67 +22,74 @@ import * as utilities from "./utilities";
|
||||
* export const networkAddressSetName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkAddressSet(args: GetNetworkAddressSetArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkAddressSetResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getNetworkAddressSet:getNetworkAddressSet", {
|
||||
"addresses": args.addresses,
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
export function getNetworkAddressSet(
|
||||
args: GetNetworkAddressSetArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetNetworkAddressSetResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkAddressSet:getNetworkAddressSet",
|
||||
{
|
||||
addresses: args.addresses,
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of arguments for invoking getNetworkAddressSet.
|
||||
*/
|
||||
export interface GetNetworkAddressSetArgs {
|
||||
/**
|
||||
* List of network addresses.
|
||||
*/
|
||||
addresses?: string[];
|
||||
/**
|
||||
* Description of the network address set.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* **Required** - Name of the network address set.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* *Optional* - Name of the project where the network address set 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;
|
||||
/**
|
||||
* List of network addresses.
|
||||
*/
|
||||
addresses?: string[];
|
||||
/**
|
||||
* Description of the network address set.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* **Required** - Name of the network address set.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* *Optional* - Name of the project where the network address set 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 getNetworkAddressSet.
|
||||
*/
|
||||
export interface GetNetworkAddressSetResult {
|
||||
/**
|
||||
* List of network addresses.
|
||||
*/
|
||||
readonly addresses: string[];
|
||||
/**
|
||||
* Map of key/value pairs of config settings.
|
||||
*/
|
||||
readonly config: {[key: string]: string};
|
||||
/**
|
||||
* Description of the network address set.
|
||||
*/
|
||||
readonly description: string;
|
||||
/**
|
||||
* The provider-assigned unique ID for this managed resource.
|
||||
*/
|
||||
readonly id: string;
|
||||
readonly name: string;
|
||||
readonly project?: string;
|
||||
readonly remote?: string;
|
||||
/**
|
||||
* List of network addresses.
|
||||
*/
|
||||
readonly addresses: string[];
|
||||
/**
|
||||
* Map of key/value pairs of config settings.
|
||||
*/
|
||||
readonly config: { [key: string]: string };
|
||||
/**
|
||||
* Description of the network address set.
|
||||
*/
|
||||
readonly description: string;
|
||||
/**
|
||||
* The provider-assigned unique ID for this managed resource.
|
||||
*/
|
||||
readonly id: string;
|
||||
readonly name: string;
|
||||
readonly project?: string;
|
||||
readonly remote?: string;
|
||||
}
|
||||
/**
|
||||
* ## # incus.NetworkAddressSet
|
||||
@@ -102,40 +109,47 @@ export interface GetNetworkAddressSetResult {
|
||||
* export const networkAddressSetName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkAddressSetOutput(args: GetNetworkAddressSetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkAddressSetResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkAddressSet:getNetworkAddressSet", {
|
||||
"addresses": args.addresses,
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
export function getNetworkAddressSetOutput(
|
||||
args: GetNetworkAddressSetOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetNetworkAddressSetResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkAddressSet:getNetworkAddressSet",
|
||||
{
|
||||
addresses: args.addresses,
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of arguments for invoking getNetworkAddressSet.
|
||||
*/
|
||||
export interface GetNetworkAddressSetOutputArgs {
|
||||
/**
|
||||
* List of network addresses.
|
||||
*/
|
||||
addresses?: pulumi.Input<pulumi.Input<string>[]>;
|
||||
/**
|
||||
* Description of the network address set.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
/**
|
||||
* **Required** - Name of the network address set.
|
||||
*/
|
||||
name: pulumi.Input<string>;
|
||||
/**
|
||||
* *Optional* - Name of the project where the network address set 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>;
|
||||
/**
|
||||
* List of network addresses.
|
||||
*/
|
||||
addresses?: pulumi.Input<pulumi.Input<string>[]>;
|
||||
/**
|
||||
* Description of the network address set.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
/**
|
||||
* **Required** - Name of the network address set.
|
||||
*/
|
||||
name: pulumi.Input<string>;
|
||||
/**
|
||||
* *Optional* - Name of the project where the network address set 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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user