style: format with tabs
This commit is contained in:
150
sdk/nodejs/getNetworkIntegration.ts
generated
150
sdk/nodejs/getNetworkIntegration.ts
generated
@@ -22,61 +22,68 @@ import * as utilities from "./utilities";
|
||||
* export const networkIntegrationName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkIntegration(args: GetNetworkIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkIntegrationResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getNetworkIntegration:getNetworkIntegration", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"remote": args.remote,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
export function getNetworkIntegration(
|
||||
args: GetNetworkIntegrationArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetNetworkIntegrationResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkIntegration:getNetworkIntegration",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of arguments for invoking getNetworkIntegration.
|
||||
*/
|
||||
export interface GetNetworkIntegrationArgs {
|
||||
/**
|
||||
* Description of the network integration.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* **Required** - Name of the network integration.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* *Optional* - The remote in which the resource was created. If
|
||||
* not provided, the provider's default remote will be used.
|
||||
*/
|
||||
remote?: string;
|
||||
/**
|
||||
* Integration type.
|
||||
*/
|
||||
type?: string;
|
||||
/**
|
||||
* Description of the network integration.
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* **Required** - Name of the network integration.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* *Optional* - The remote in which the resource was created. If
|
||||
* not provided, the provider's default remote will be used.
|
||||
*/
|
||||
remote?: string;
|
||||
/**
|
||||
* Integration type.
|
||||
*/
|
||||
type?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of values returned by getNetworkIntegration.
|
||||
*/
|
||||
export interface GetNetworkIntegrationResult {
|
||||
/**
|
||||
* Map of key/value pairs of config settings.
|
||||
*/
|
||||
readonly config: {[key: string]: string};
|
||||
/**
|
||||
* Description of the network integration.
|
||||
*/
|
||||
readonly description: string;
|
||||
/**
|
||||
* The provider-assigned unique ID for this managed resource.
|
||||
*/
|
||||
readonly id: string;
|
||||
readonly name: string;
|
||||
readonly remote?: string;
|
||||
/**
|
||||
* Integration type.
|
||||
*/
|
||||
readonly type: string;
|
||||
/**
|
||||
* Map of key/value pairs of config settings.
|
||||
*/
|
||||
readonly config: { [key: string]: string };
|
||||
/**
|
||||
* Description of the network integration.
|
||||
*/
|
||||
readonly description: string;
|
||||
/**
|
||||
* The provider-assigned unique ID for this managed resource.
|
||||
*/
|
||||
readonly id: string;
|
||||
readonly name: string;
|
||||
readonly remote?: string;
|
||||
/**
|
||||
* Integration type.
|
||||
*/
|
||||
readonly type: string;
|
||||
}
|
||||
/**
|
||||
* ## # incus.NetworkIntegration
|
||||
@@ -96,35 +103,42 @@ export interface GetNetworkIntegrationResult {
|
||||
* export const networkIntegrationName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkIntegrationOutput(args: GetNetworkIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkIntegrationResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkIntegration:getNetworkIntegration", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"remote": args.remote,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
export function getNetworkIntegrationOutput(
|
||||
args: GetNetworkIntegrationOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetNetworkIntegrationResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkIntegration:getNetworkIntegration",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A collection of arguments for invoking getNetworkIntegration.
|
||||
*/
|
||||
export interface GetNetworkIntegrationOutputArgs {
|
||||
/**
|
||||
* Description of the network integration.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
/**
|
||||
* **Required** - Name of the network integration.
|
||||
*/
|
||||
name: 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>;
|
||||
/**
|
||||
* Integration type.
|
||||
*/
|
||||
type?: pulumi.Input<string>;
|
||||
/**
|
||||
* Description of the network integration.
|
||||
*/
|
||||
description?: pulumi.Input<string>;
|
||||
/**
|
||||
* **Required** - Name of the network integration.
|
||||
*/
|
||||
name: 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>;
|
||||
/**
|
||||
* Integration type.
|
||||
*/
|
||||
type?: pulumi.Input<string>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user