style: format with tabs
This commit is contained in:
7
sdk/nodejs/.oxfmtrc.json
generated
Normal file
7
sdk/nodejs/.oxfmtrc.json
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||
// Use 80 if migrating from Prettier; 100 is the Oxfmt default!
|
||||
"printWidth": 100,
|
||||
"useTabs": true,
|
||||
"tabWidth": 4
|
||||
}
|
||||
21
sdk/nodejs/certificate.ts
generated
21
sdk/nodejs/certificate.ts
generated
@@ -19,12 +19,17 @@ export class Certificate extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: CertificateState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Certificate {
|
||||
return new Certificate(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/certificate:Certificate';
|
||||
public static readonly __pulumiType = "incus:index/certificate:Certificate";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
||||
@@ -34,7 +39,7 @@ export class Certificate extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Certificate.__pulumiType;
|
||||
return obj["__pulumiType"] === Certificate.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,7 +53,7 @@ export class Certificate extends pulumi.CustomResource {
|
||||
/**
|
||||
* The fingerprint of the certificate.
|
||||
*/
|
||||
declare public /*out*/ readonly fingerprint: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ fingerprint: pulumi.Output<string>;
|
||||
/**
|
||||
* **Required** - Name of the certificate.
|
||||
*/
|
||||
@@ -79,8 +84,12 @@ export class Certificate extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: CertificateArgs | CertificateState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: CertificateArgs | CertificateState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
19
sdk/nodejs/clusterGroup.ts
generated
19
sdk/nodejs/clusterGroup.ts
generated
@@ -14,12 +14,17 @@ export class ClusterGroup extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterGroupState, opts?: pulumi.CustomResourceOptions): ClusterGroup {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: ClusterGroupState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): ClusterGroup {
|
||||
return new ClusterGroup(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/clusterGroup:ClusterGroup';
|
||||
public static readonly __pulumiType = "incus:index/clusterGroup:ClusterGroup";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterGroup. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class ClusterGroup extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterGroup.__pulumiType;
|
||||
return obj["__pulumiType"] === ClusterGroup.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -58,8 +63,12 @@ export class ClusterGroup extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: ClusterGroupArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: ClusterGroupArgs | ClusterGroupState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: ClusterGroupArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: ClusterGroupArgs | ClusterGroupState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
19
sdk/nodejs/clusterGroupMember.ts
generated
19
sdk/nodejs/clusterGroupMember.ts
generated
@@ -14,12 +14,17 @@ export class ClusterGroupMember extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterGroupMemberState, opts?: pulumi.CustomResourceOptions): ClusterGroupMember {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: ClusterGroupMemberState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): ClusterGroupMember {
|
||||
return new ClusterGroupMember(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/clusterGroupMember:ClusterGroupMember';
|
||||
public static readonly __pulumiType = "incus:index/clusterGroupMember:ClusterGroupMember";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterGroupMember. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class ClusterGroupMember extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterGroupMember.__pulumiType;
|
||||
return obj["__pulumiType"] === ClusterGroupMember.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -53,8 +58,12 @@ export class ClusterGroupMember extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: ClusterGroupMemberArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: ClusterGroupMemberArgs | ClusterGroupMemberState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: ClusterGroupMemberArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: ClusterGroupMemberArgs | ClusterGroupMemberState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
1
sdk/nodejs/config/vars.ts
generated
1
sdk/nodejs/config/vars.ts
generated
@@ -74,4 +74,3 @@ Object.defineProperty(exports, "remotes", {
|
||||
},
|
||||
enumerable: true,
|
||||
});
|
||||
|
||||
|
||||
31
sdk/nodejs/getCluster.ts
generated
31
sdk/nodejs/getCluster.ts
generated
@@ -2,7 +2,6 @@
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "./types/input";
|
||||
import * as outputs from "./types/output";
|
||||
import * as utilities from "./utilities";
|
||||
|
||||
@@ -58,12 +57,19 @@ import * as utilities from "./utilities";
|
||||
*
|
||||
* * For non-clustered setups, the `members` attribute will be `null`.
|
||||
*/
|
||||
export function getCluster(args?: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult> {
|
||||
export function getCluster(
|
||||
args?: GetClusterArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetClusterResult> {
|
||||
args = args || {};
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getCluster:getCluster", {
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getCluster:getCluster",
|
||||
{
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -148,12 +154,19 @@ export interface GetClusterResult {
|
||||
*
|
||||
* * For non-clustered setups, the `members` attribute will be `null`.
|
||||
*/
|
||||
export function getClusterOutput(args?: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult> {
|
||||
export function getClusterOutput(
|
||||
args?: GetClusterOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetClusterResult> {
|
||||
args = args || {};
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getCluster:getCluster", {
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getCluster:getCluster",
|
||||
{
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
50
sdk/nodejs/getImage.ts
generated
50
sdk/nodejs/getImage.ts
generated
@@ -24,17 +24,24 @@ import * as utilities from "./utilities";
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
export function getImage(args?: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult> {
|
||||
export function getImage(
|
||||
args?: GetImageArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetImageResult> {
|
||||
args = args || {};
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getImage:getImage", {
|
||||
"architecture": args.architecture,
|
||||
"fingerprint": args.fingerprint,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getImage:getImage",
|
||||
{
|
||||
architecture: args.architecture,
|
||||
fingerprint: args.fingerprint,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -111,17 +118,24 @@ export interface GetImageResult {
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
export function getImageOutput(args?: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult> {
|
||||
export function getImageOutput(
|
||||
args?: GetImageOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetImageResult> {
|
||||
args = args || {};
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getImage:getImage", {
|
||||
"architecture": args.architecture,
|
||||
"fingerprint": args.fingerprint,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getImage:getImage",
|
||||
{
|
||||
architecture: args.architecture,
|
||||
fingerprint: args.fingerprint,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
74
sdk/nodejs/getInstance.ts
generated
74
sdk/nodejs/getInstance.ts
generated
@@ -24,22 +24,29 @@ import * as utilities from "./utilities";
|
||||
* export const instanceName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult> {
|
||||
export function getInstance(
|
||||
args: GetInstanceArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetInstanceResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getInstance:getInstance", {
|
||||
"architecture": args.architecture,
|
||||
"description": args.description,
|
||||
"devices": args.devices,
|
||||
"ephemeral": args.ephemeral,
|
||||
"location": args.location,
|
||||
"name": args.name,
|
||||
"profiles": args.profiles,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"stateful": args.stateful,
|
||||
"status": args.status,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getInstance:getInstance",
|
||||
{
|
||||
architecture: args.architecture,
|
||||
description: args.description,
|
||||
devices: args.devices,
|
||||
ephemeral: args.ephemeral,
|
||||
location: args.location,
|
||||
name: args.name,
|
||||
profiles: args.profiles,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
stateful: args.stateful,
|
||||
status: args.status,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -173,22 +180,29 @@ export interface GetInstanceResult {
|
||||
* export const instanceName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult> {
|
||||
export function getInstanceOutput(
|
||||
args: GetInstanceOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetInstanceResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getInstance:getInstance", {
|
||||
"architecture": args.architecture,
|
||||
"description": args.description,
|
||||
"devices": args.devices,
|
||||
"ephemeral": args.ephemeral,
|
||||
"location": args.location,
|
||||
"name": args.name,
|
||||
"profiles": args.profiles,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"stateful": args.stateful,
|
||||
"status": args.status,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getInstance:getInstance",
|
||||
{
|
||||
architecture: args.architecture,
|
||||
description: args.description,
|
||||
devices: args.devices,
|
||||
ephemeral: args.ephemeral,
|
||||
location: args.location,
|
||||
name: args.name,
|
||||
profiles: args.profiles,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
stateful: args.stateful,
|
||||
status: args.status,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
62
sdk/nodejs/getNetwork.ts
generated
62
sdk/nodejs/getNetwork.ts
generated
@@ -22,19 +22,26 @@ import * as utilities from "./utilities";
|
||||
* export const networkName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkResult> {
|
||||
export function getNetwork(
|
||||
args: GetNetworkArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetNetworkResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getNetwork:getNetwork", {
|
||||
"description": args.description,
|
||||
"locations": args.locations,
|
||||
"managed": args.managed,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"status": args.status,
|
||||
"target": args.target,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetwork:getNetwork",
|
||||
{
|
||||
description: args.description,
|
||||
locations: args.locations,
|
||||
managed: args.managed,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
status: args.status,
|
||||
target: args.target,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -138,19 +145,26 @@ export interface GetNetworkResult {
|
||||
* export const networkName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkResult> {
|
||||
export function getNetworkOutput(
|
||||
args: GetNetworkOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetNetworkResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getNetwork:getNetwork", {
|
||||
"description": args.description,
|
||||
"locations": args.locations,
|
||||
"managed": args.managed,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"status": args.status,
|
||||
"target": args.target,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetwork:getNetwork",
|
||||
{
|
||||
description: args.description,
|
||||
locations: args.locations,
|
||||
managed: args.managed,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
status: args.status,
|
||||
target: args.target,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
50
sdk/nodejs/getNetworkAcl.ts
generated
50
sdk/nodejs/getNetworkAcl.ts
generated
@@ -24,16 +24,23 @@ import * as utilities from "./utilities";
|
||||
* export const networkAclName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkAcl(args: GetNetworkAclArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkAclResult> {
|
||||
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);
|
||||
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,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -113,16 +120,23 @@ export interface GetNetworkAclResult {
|
||||
* export const networkAclName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkAclOutput(args: GetNetworkAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkAclResult> {
|
||||
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);
|
||||
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,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
46
sdk/nodejs/getNetworkAddressSet.ts
generated
46
sdk/nodejs/getNetworkAddressSet.ts
generated
@@ -22,15 +22,22 @@ import * as utilities from "./utilities";
|
||||
* export const networkAddressSetName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkAddressSet(args: GetNetworkAddressSetArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkAddressSetResult> {
|
||||
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);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkAddressSet:getNetworkAddressSet",
|
||||
{
|
||||
addresses: args.addresses,
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -102,15 +109,22 @@ export interface GetNetworkAddressSetResult {
|
||||
* export const networkAddressSetName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkAddressSetOutput(args: GetNetworkAddressSetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkAddressSetResult> {
|
||||
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);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkAddressSet:getNetworkAddressSet",
|
||||
{
|
||||
addresses: args.addresses,
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
58
sdk/nodejs/getNetworkForward.ts
generated
58
sdk/nodejs/getNetworkForward.ts
generated
@@ -25,18 +25,25 @@ import * as utilities from "./utilities";
|
||||
* export const networkForwardListenAddress = _this.then(_this => _this.listenAddress);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkForward(args: GetNetworkForwardArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkForwardResult> {
|
||||
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);
|
||||
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,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -127,18 +134,25 @@ export interface GetNetworkForwardResult {
|
||||
* export const networkForwardListenAddress = _this.then(_this => _this.listenAddress);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkForwardOutput(args: GetNetworkForwardOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkForwardResult> {
|
||||
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);
|
||||
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,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
42
sdk/nodejs/getNetworkIntegration.ts
generated
42
sdk/nodejs/getNetworkIntegration.ts
generated
@@ -22,14 +22,21 @@ import * as utilities from "./utilities";
|
||||
* export const networkIntegrationName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkIntegration(args: GetNetworkIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkIntegrationResult> {
|
||||
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);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkIntegration:getNetworkIntegration",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,14 +103,21 @@ export interface GetNetworkIntegrationResult {
|
||||
* export const networkIntegrationName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkIntegrationOutput(args: GetNetworkIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkIntegrationResult> {
|
||||
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);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkIntegration:getNetworkIntegration",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
58
sdk/nodejs/getNetworkLoadBalancer.ts
generated
58
sdk/nodejs/getNetworkLoadBalancer.ts
generated
@@ -25,18 +25,25 @@ import * as utilities from "./utilities";
|
||||
* export const networkLoadBalancerListenAddress = _this.then(_this => _this.listenAddress);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkLoadBalancer(args: GetNetworkLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkLoadBalancerResult> {
|
||||
export function getNetworkLoadBalancer(
|
||||
args: GetNetworkLoadBalancerArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetNetworkLoadBalancerResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer", {
|
||||
"backends": args.backends,
|
||||
"description": args.description,
|
||||
"listenAddress": args.listenAddress,
|
||||
"location": args.location,
|
||||
"network": args.network,
|
||||
"ports": args.ports,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer",
|
||||
{
|
||||
backends: args.backends,
|
||||
description: args.description,
|
||||
listenAddress: args.listenAddress,
|
||||
location: args.location,
|
||||
network: args.network,
|
||||
ports: args.ports,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -130,18 +137,25 @@ export interface GetNetworkLoadBalancerResult {
|
||||
* export const networkLoadBalancerListenAddress = _this.then(_this => _this.listenAddress);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkLoadBalancerOutput(args: GetNetworkLoadBalancerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkLoadBalancerResult> {
|
||||
export function getNetworkLoadBalancerOutput(
|
||||
args: GetNetworkLoadBalancerOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetNetworkLoadBalancerResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer", {
|
||||
"backends": args.backends,
|
||||
"description": args.description,
|
||||
"listenAddress": args.listenAddress,
|
||||
"location": args.location,
|
||||
"network": args.network,
|
||||
"ports": args.ports,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer",
|
||||
{
|
||||
backends: args.backends,
|
||||
description: args.description,
|
||||
listenAddress: args.listenAddress,
|
||||
location: args.location,
|
||||
network: args.network,
|
||||
ports: args.ports,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
66
sdk/nodejs/getNetworkPeer.ts
generated
66
sdk/nodejs/getNetworkPeer.ts
generated
@@ -23,20 +23,27 @@ import * as utilities from "./utilities";
|
||||
* export const networkPeerName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkPeer(args: GetNetworkPeerArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkPeerResult> {
|
||||
export function getNetworkPeer(
|
||||
args: GetNetworkPeerArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetNetworkPeerResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getNetworkPeer:getNetworkPeer", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"network": args.network,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"status": args.status,
|
||||
"targetIntegration": args.targetIntegration,
|
||||
"targetNetwork": args.targetNetwork,
|
||||
"targetProject": args.targetProject,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkPeer:getNetworkPeer",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
network: args.network,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
status: args.status,
|
||||
targetIntegration: args.targetIntegration,
|
||||
targetNetwork: args.targetNetwork,
|
||||
targetProject: args.targetProject,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -146,20 +153,27 @@ export interface GetNetworkPeerResult {
|
||||
* export const networkPeerName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkPeerOutput(args: GetNetworkPeerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkPeerResult> {
|
||||
export function getNetworkPeerOutput(
|
||||
args: GetNetworkPeerOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetNetworkPeerResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkPeer:getNetworkPeer", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"network": args.network,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"status": args.status,
|
||||
"targetIntegration": args.targetIntegration,
|
||||
"targetNetwork": args.targetNetwork,
|
||||
"targetProject": args.targetProject,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkPeer:getNetworkPeer",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
network: args.network,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
status: args.status,
|
||||
targetIntegration: args.targetIntegration,
|
||||
targetNetwork: args.targetNetwork,
|
||||
targetProject: args.targetProject,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
42
sdk/nodejs/getNetworkZone.ts
generated
42
sdk/nodejs/getNetworkZone.ts
generated
@@ -22,14 +22,21 @@ import * as utilities from "./utilities";
|
||||
* export const networkZoneName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkZone(args: GetNetworkZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkZoneResult> {
|
||||
export function getNetworkZone(
|
||||
args: GetNetworkZoneArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetNetworkZoneResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getNetworkZone:getNetworkZone", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getNetworkZone:getNetworkZone",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -93,14 +100,21 @@ export interface GetNetworkZoneResult {
|
||||
* export const networkZoneName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getNetworkZoneOutput(args: GetNetworkZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkZoneResult> {
|
||||
export function getNetworkZoneOutput(
|
||||
args: GetNetworkZoneOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetNetworkZoneResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkZone:getNetworkZone", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getNetworkZone:getNetworkZone",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
46
sdk/nodejs/getProfile.ts
generated
46
sdk/nodejs/getProfile.ts
generated
@@ -24,15 +24,22 @@ import * as utilities from "./utilities";
|
||||
* export const profileName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetProfileResult> {
|
||||
export function getProfile(
|
||||
args: GetProfileArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetProfileResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getProfile:getProfile", {
|
||||
"description": args.description,
|
||||
"devices": args.devices,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getProfile:getProfile",
|
||||
{
|
||||
description: args.description,
|
||||
devices: args.devices,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -108,15 +115,22 @@ export interface GetProfileResult {
|
||||
* export const profileName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProfileResult> {
|
||||
export function getProfileOutput(
|
||||
args: GetProfileOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetProfileResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getProfile:getProfile", {
|
||||
"description": args.description,
|
||||
"devices": args.devices,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getProfile:getProfile",
|
||||
{
|
||||
description: args.description,
|
||||
devices: args.devices,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
38
sdk/nodejs/getProject.ts
generated
38
sdk/nodejs/getProject.ts
generated
@@ -21,13 +21,20 @@ import * as utilities from "./utilities";
|
||||
* export const projectName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult> {
|
||||
export function getProject(
|
||||
args: GetProjectArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetProjectResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getProject:getProject", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getProject:getProject",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -86,13 +93,20 @@ export interface GetProjectResult {
|
||||
* export const projectName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult> {
|
||||
export function getProjectOutput(
|
||||
args: GetProjectOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetProjectResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getProject:getProject", {
|
||||
"description": args.description,
|
||||
"name": args.name,
|
||||
"remote": args.remote,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getProject:getProject",
|
||||
{
|
||||
description: args.description,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
58
sdk/nodejs/getStorageBucket.ts
generated
58
sdk/nodejs/getStorageBucket.ts
generated
@@ -23,18 +23,25 @@ import * as utilities from "./utilities";
|
||||
* export const storageBucketName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getStorageBucket(args: GetStorageBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageBucketResult> {
|
||||
export function getStorageBucket(
|
||||
args: GetStorageBucketArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetStorageBucketResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getStorageBucket:getStorageBucket", {
|
||||
"description": args.description,
|
||||
"location": args.location,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"s3Url": args.s3Url,
|
||||
"storagePool": args.storagePool,
|
||||
"target": args.target,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getStorageBucket:getStorageBucket",
|
||||
{
|
||||
description: args.description,
|
||||
location: args.location,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
s3Url: args.s3Url,
|
||||
storagePool: args.storagePool,
|
||||
target: args.target,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -126,18 +133,25 @@ export interface GetStorageBucketResult {
|
||||
* export const storageBucketName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getStorageBucketOutput(args: GetStorageBucketOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageBucketResult> {
|
||||
export function getStorageBucketOutput(
|
||||
args: GetStorageBucketOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetStorageBucketResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getStorageBucket:getStorageBucket", {
|
||||
"description": args.description,
|
||||
"location": args.location,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"s3Url": args.s3Url,
|
||||
"storagePool": args.storagePool,
|
||||
"target": args.target,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getStorageBucket:getStorageBucket",
|
||||
{
|
||||
description: args.description,
|
||||
location: args.location,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
s3Url: args.s3Url,
|
||||
storagePool: args.storagePool,
|
||||
target: args.target,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
50
sdk/nodejs/getStoragePool.ts
generated
50
sdk/nodejs/getStoragePool.ts
generated
@@ -22,16 +22,23 @@ import * as utilities from "./utilities";
|
||||
* export const storagePoolName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getStoragePool(args: GetStoragePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetStoragePoolResult> {
|
||||
export function getStoragePool(
|
||||
args: GetStoragePoolArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetStoragePoolResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getStoragePool:getStoragePool", {
|
||||
"description": args.description,
|
||||
"driver": args.driver,
|
||||
"name": args.name,
|
||||
"remote": args.remote,
|
||||
"status": args.status,
|
||||
"target": args.target,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getStoragePool:getStoragePool",
|
||||
{
|
||||
description: args.description,
|
||||
driver: args.driver,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
status: args.status,
|
||||
target: args.target,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -112,16 +119,23 @@ export interface GetStoragePoolResult {
|
||||
* export const storagePoolName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getStoragePoolOutput(args: GetStoragePoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStoragePoolResult> {
|
||||
export function getStoragePoolOutput(
|
||||
args: GetStoragePoolOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetStoragePoolResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getStoragePool:getStoragePool", {
|
||||
"description": args.description,
|
||||
"driver": args.driver,
|
||||
"name": args.name,
|
||||
"remote": args.remote,
|
||||
"status": args.status,
|
||||
"target": args.target,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getStoragePool:getStoragePool",
|
||||
{
|
||||
description: args.description,
|
||||
driver: args.driver,
|
||||
name: args.name,
|
||||
remote: args.remote,
|
||||
status: args.status,
|
||||
target: args.target,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
62
sdk/nodejs/getStorageVolume.ts
generated
62
sdk/nodejs/getStorageVolume.ts
generated
@@ -24,19 +24,26 @@ import * as utilities from "./utilities";
|
||||
* export const storageVolumeName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getStorageVolume(args: GetStorageVolumeArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageVolumeResult> {
|
||||
export function getStorageVolume(
|
||||
args: GetStorageVolumeArgs,
|
||||
opts?: pulumi.InvokeOptions,
|
||||
): Promise<GetStorageVolumeResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invoke("incus:index/getStorageVolume:getStorageVolume", {
|
||||
"contentType": args.contentType,
|
||||
"description": args.description,
|
||||
"location": args.location,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"storagePool": args.storagePool,
|
||||
"target": args.target,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invoke(
|
||||
"incus:index/getStorageVolume:getStorageVolume",
|
||||
{
|
||||
contentType: args.contentType,
|
||||
description: args.description,
|
||||
location: args.location,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
storagePool: args.storagePool,
|
||||
target: args.target,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -134,19 +141,26 @@ export interface GetStorageVolumeResult {
|
||||
* export const storageVolumeName = _this.then(_this => _this.name);
|
||||
* ```
|
||||
*/
|
||||
export function getStorageVolumeOutput(args: GetStorageVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageVolumeResult> {
|
||||
export function getStorageVolumeOutput(
|
||||
args: GetStorageVolumeOutputArgs,
|
||||
opts?: pulumi.InvokeOutputOptions,
|
||||
): pulumi.Output<GetStorageVolumeResult> {
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||
return pulumi.runtime.invokeOutput("incus:index/getStorageVolume:getStorageVolume", {
|
||||
"contentType": args.contentType,
|
||||
"description": args.description,
|
||||
"location": args.location,
|
||||
"name": args.name,
|
||||
"project": args.project,
|
||||
"remote": args.remote,
|
||||
"storagePool": args.storagePool,
|
||||
"target": args.target,
|
||||
"type": args.type,
|
||||
}, opts);
|
||||
return pulumi.runtime.invokeOutput(
|
||||
"incus:index/getStorageVolume:getStorageVolume",
|
||||
{
|
||||
contentType: args.contentType,
|
||||
description: args.description,
|
||||
location: args.location,
|
||||
name: args.name,
|
||||
project: args.project,
|
||||
remote: args.remote,
|
||||
storagePool: args.storagePool,
|
||||
target: args.target,
|
||||
type: args.type,
|
||||
},
|
||||
opts,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
27
sdk/nodejs/image.ts
generated
27
sdk/nodejs/image.ts
generated
@@ -66,12 +66,17 @@ export class Image extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImageState, opts?: pulumi.CustomResourceOptions): Image {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: ImageState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Image {
|
||||
return new Image(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/image:Image';
|
||||
public static readonly __pulumiType = "incus:index/image:Image";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Image. This is designed to work even
|
||||
@@ -81,7 +86,7 @@ export class Image extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Image.__pulumiType;
|
||||
return obj["__pulumiType"] === Image.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -92,15 +97,15 @@ export class Image extends pulumi.CustomResource {
|
||||
* The list of aliases that were copied from the
|
||||
* `sourceImage`.
|
||||
*/
|
||||
declare public /*out*/ readonly copiedAliases: pulumi.Output<string[]>;
|
||||
declare public readonly /*out*/ copiedAliases: pulumi.Output<string[]>;
|
||||
/**
|
||||
* The datetime of image creation, in Unix time.
|
||||
*/
|
||||
declare public /*out*/ readonly createdAt: pulumi.Output<number>;
|
||||
declare public readonly /*out*/ createdAt: pulumi.Output<number>;
|
||||
/**
|
||||
* The unique hash fingperint of the image.
|
||||
*/
|
||||
declare public /*out*/ readonly fingerprint: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ fingerprint: pulumi.Output<string>;
|
||||
/**
|
||||
* *Optional* - Name of the project where the image will be stored.
|
||||
*/
|
||||
@@ -110,7 +115,7 @@ export class Image extends pulumi.CustomResource {
|
||||
* not provided, the provider's default remote will be used.
|
||||
*/
|
||||
declare public readonly remote: pulumi.Output<string | undefined>;
|
||||
declare public /*out*/ readonly resourceId: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ resourceId: pulumi.Output<string>;
|
||||
/**
|
||||
* *Optional* - The image file from the local file system from which the image will be created. See reference below.
|
||||
*/
|
||||
@@ -131,8 +136,12 @@ export class Image extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ImageArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: ImageArgs | ImageState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args?: ImageArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: ImageArgs | ImageState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
245
sdk/nodejs/index.ts
generated
245
sdk/nodejs/index.ts
generated
@@ -17,7 +17,8 @@ utilities.lazyLoad(exports, ["ClusterGroup"], () => require("./clusterGroup"));
|
||||
|
||||
export { ClusterGroupMemberArgs, ClusterGroupMemberState } from "./clusterGroupMember";
|
||||
export type ClusterGroupMember = import("./clusterGroupMember").ClusterGroupMember;
|
||||
export const ClusterGroupMember: typeof import("./clusterGroupMember").ClusterGroupMember = null as any;
|
||||
export const ClusterGroupMember: typeof import("./clusterGroupMember").ClusterGroupMember =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["ClusterGroupMember"], () => require("./clusterGroupMember"));
|
||||
|
||||
export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster";
|
||||
@@ -42,38 +43,87 @@ utilities.lazyLoad(exports, ["getNetwork","getNetworkOutput"], () => require("./
|
||||
|
||||
export { GetNetworkAclArgs, GetNetworkAclResult, GetNetworkAclOutputArgs } from "./getNetworkAcl";
|
||||
export const getNetworkAcl: typeof import("./getNetworkAcl").getNetworkAcl = null as any;
|
||||
export const getNetworkAclOutput: typeof import("./getNetworkAcl").getNetworkAclOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkAcl","getNetworkAclOutput"], () => require("./getNetworkAcl"));
|
||||
export const getNetworkAclOutput: typeof import("./getNetworkAcl").getNetworkAclOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkAcl", "getNetworkAclOutput"], () =>
|
||||
require("./getNetworkAcl"),
|
||||
);
|
||||
|
||||
export { GetNetworkAddressSetArgs, GetNetworkAddressSetResult, GetNetworkAddressSetOutputArgs } from "./getNetworkAddressSet";
|
||||
export const getNetworkAddressSet: typeof import("./getNetworkAddressSet").getNetworkAddressSet = null as any;
|
||||
export const getNetworkAddressSetOutput: typeof import("./getNetworkAddressSet").getNetworkAddressSetOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkAddressSet","getNetworkAddressSetOutput"], () => require("./getNetworkAddressSet"));
|
||||
export {
|
||||
GetNetworkAddressSetArgs,
|
||||
GetNetworkAddressSetResult,
|
||||
GetNetworkAddressSetOutputArgs,
|
||||
} from "./getNetworkAddressSet";
|
||||
export const getNetworkAddressSet: typeof import("./getNetworkAddressSet").getNetworkAddressSet =
|
||||
null as any;
|
||||
export const getNetworkAddressSetOutput: typeof import("./getNetworkAddressSet").getNetworkAddressSetOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkAddressSet", "getNetworkAddressSetOutput"], () =>
|
||||
require("./getNetworkAddressSet"),
|
||||
);
|
||||
|
||||
export { GetNetworkForwardArgs, GetNetworkForwardResult, GetNetworkForwardOutputArgs } from "./getNetworkForward";
|
||||
export const getNetworkForward: typeof import("./getNetworkForward").getNetworkForward = null as any;
|
||||
export const getNetworkForwardOutput: typeof import("./getNetworkForward").getNetworkForwardOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkForward","getNetworkForwardOutput"], () => require("./getNetworkForward"));
|
||||
export {
|
||||
GetNetworkForwardArgs,
|
||||
GetNetworkForwardResult,
|
||||
GetNetworkForwardOutputArgs,
|
||||
} from "./getNetworkForward";
|
||||
export const getNetworkForward: typeof import("./getNetworkForward").getNetworkForward =
|
||||
null as any;
|
||||
export const getNetworkForwardOutput: typeof import("./getNetworkForward").getNetworkForwardOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkForward", "getNetworkForwardOutput"], () =>
|
||||
require("./getNetworkForward"),
|
||||
);
|
||||
|
||||
export { GetNetworkIntegrationArgs, GetNetworkIntegrationResult, GetNetworkIntegrationOutputArgs } from "./getNetworkIntegration";
|
||||
export const getNetworkIntegration: typeof import("./getNetworkIntegration").getNetworkIntegration = null as any;
|
||||
export const getNetworkIntegrationOutput: typeof import("./getNetworkIntegration").getNetworkIntegrationOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkIntegration","getNetworkIntegrationOutput"], () => require("./getNetworkIntegration"));
|
||||
export {
|
||||
GetNetworkIntegrationArgs,
|
||||
GetNetworkIntegrationResult,
|
||||
GetNetworkIntegrationOutputArgs,
|
||||
} from "./getNetworkIntegration";
|
||||
export const getNetworkIntegration: typeof import("./getNetworkIntegration").getNetworkIntegration =
|
||||
null as any;
|
||||
export const getNetworkIntegrationOutput: typeof import("./getNetworkIntegration").getNetworkIntegrationOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkIntegration", "getNetworkIntegrationOutput"], () =>
|
||||
require("./getNetworkIntegration"),
|
||||
);
|
||||
|
||||
export { GetNetworkLoadBalancerArgs, GetNetworkLoadBalancerResult, GetNetworkLoadBalancerOutputArgs } from "./getNetworkLoadBalancer";
|
||||
export const getNetworkLoadBalancer: typeof import("./getNetworkLoadBalancer").getNetworkLoadBalancer = null as any;
|
||||
export const getNetworkLoadBalancerOutput: typeof import("./getNetworkLoadBalancer").getNetworkLoadBalancerOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkLoadBalancer","getNetworkLoadBalancerOutput"], () => require("./getNetworkLoadBalancer"));
|
||||
export {
|
||||
GetNetworkLoadBalancerArgs,
|
||||
GetNetworkLoadBalancerResult,
|
||||
GetNetworkLoadBalancerOutputArgs,
|
||||
} from "./getNetworkLoadBalancer";
|
||||
export const getNetworkLoadBalancer: typeof import("./getNetworkLoadBalancer").getNetworkLoadBalancer =
|
||||
null as any;
|
||||
export const getNetworkLoadBalancerOutput: typeof import("./getNetworkLoadBalancer").getNetworkLoadBalancerOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkLoadBalancer", "getNetworkLoadBalancerOutput"], () =>
|
||||
require("./getNetworkLoadBalancer"),
|
||||
);
|
||||
|
||||
export { GetNetworkPeerArgs, GetNetworkPeerResult, GetNetworkPeerOutputArgs } from "./getNetworkPeer";
|
||||
export {
|
||||
GetNetworkPeerArgs,
|
||||
GetNetworkPeerResult,
|
||||
GetNetworkPeerOutputArgs,
|
||||
} from "./getNetworkPeer";
|
||||
export const getNetworkPeer: typeof import("./getNetworkPeer").getNetworkPeer = null as any;
|
||||
export const getNetworkPeerOutput: typeof import("./getNetworkPeer").getNetworkPeerOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkPeer","getNetworkPeerOutput"], () => require("./getNetworkPeer"));
|
||||
export const getNetworkPeerOutput: typeof import("./getNetworkPeer").getNetworkPeerOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkPeer", "getNetworkPeerOutput"], () =>
|
||||
require("./getNetworkPeer"),
|
||||
);
|
||||
|
||||
export { GetNetworkZoneArgs, GetNetworkZoneResult, GetNetworkZoneOutputArgs } from "./getNetworkZone";
|
||||
export {
|
||||
GetNetworkZoneArgs,
|
||||
GetNetworkZoneResult,
|
||||
GetNetworkZoneOutputArgs,
|
||||
} from "./getNetworkZone";
|
||||
export const getNetworkZone: typeof import("./getNetworkZone").getNetworkZone = null as any;
|
||||
export const getNetworkZoneOutput: typeof import("./getNetworkZone").getNetworkZoneOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkZone","getNetworkZoneOutput"], () => require("./getNetworkZone"));
|
||||
export const getNetworkZoneOutput: typeof import("./getNetworkZone").getNetworkZoneOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getNetworkZone", "getNetworkZoneOutput"], () =>
|
||||
require("./getNetworkZone"),
|
||||
);
|
||||
|
||||
export { GetProfileArgs, GetProfileResult, GetProfileOutputArgs } from "./getProfile";
|
||||
export const getProfile: typeof import("./getProfile").getProfile = null as any;
|
||||
@@ -85,20 +135,41 @@ export const getProject: typeof import("./getProject").getProject = null as any;
|
||||
export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
|
||||
|
||||
export { GetStorageBucketArgs, GetStorageBucketResult, GetStorageBucketOutputArgs } from "./getStorageBucket";
|
||||
export {
|
||||
GetStorageBucketArgs,
|
||||
GetStorageBucketResult,
|
||||
GetStorageBucketOutputArgs,
|
||||
} from "./getStorageBucket";
|
||||
export const getStorageBucket: typeof import("./getStorageBucket").getStorageBucket = null as any;
|
||||
export const getStorageBucketOutput: typeof import("./getStorageBucket").getStorageBucketOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getStorageBucket","getStorageBucketOutput"], () => require("./getStorageBucket"));
|
||||
export const getStorageBucketOutput: typeof import("./getStorageBucket").getStorageBucketOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getStorageBucket", "getStorageBucketOutput"], () =>
|
||||
require("./getStorageBucket"),
|
||||
);
|
||||
|
||||
export { GetStoragePoolArgs, GetStoragePoolResult, GetStoragePoolOutputArgs } from "./getStoragePool";
|
||||
export {
|
||||
GetStoragePoolArgs,
|
||||
GetStoragePoolResult,
|
||||
GetStoragePoolOutputArgs,
|
||||
} from "./getStoragePool";
|
||||
export const getStoragePool: typeof import("./getStoragePool").getStoragePool = null as any;
|
||||
export const getStoragePoolOutput: typeof import("./getStoragePool").getStoragePoolOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getStoragePool","getStoragePoolOutput"], () => require("./getStoragePool"));
|
||||
export const getStoragePoolOutput: typeof import("./getStoragePool").getStoragePoolOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getStoragePool", "getStoragePoolOutput"], () =>
|
||||
require("./getStoragePool"),
|
||||
);
|
||||
|
||||
export { GetStorageVolumeArgs, GetStorageVolumeResult, GetStorageVolumeOutputArgs } from "./getStorageVolume";
|
||||
export {
|
||||
GetStorageVolumeArgs,
|
||||
GetStorageVolumeResult,
|
||||
GetStorageVolumeOutputArgs,
|
||||
} from "./getStorageVolume";
|
||||
export const getStorageVolume: typeof import("./getStorageVolume").getStorageVolume = null as any;
|
||||
export const getStorageVolumeOutput: typeof import("./getStorageVolume").getStorageVolumeOutput = null as any;
|
||||
utilities.lazyLoad(exports, ["getStorageVolume","getStorageVolumeOutput"], () => require("./getStorageVolume"));
|
||||
export const getStorageVolumeOutput: typeof import("./getStorageVolume").getStorageVolumeOutput =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["getStorageVolume", "getStorageVolumeOutput"], () =>
|
||||
require("./getStorageVolume"),
|
||||
);
|
||||
|
||||
export { ImageArgs, ImageState } from "./image";
|
||||
export type Image = import("./image").Image;
|
||||
@@ -127,7 +198,8 @@ utilities.lazyLoad(exports, ["NetworkAcl"], () => require("./networkAcl"));
|
||||
|
||||
export { NetworkAddressSetArgs, NetworkAddressSetState } from "./networkAddressSet";
|
||||
export type NetworkAddressSet = import("./networkAddressSet").NetworkAddressSet;
|
||||
export const NetworkAddressSet: typeof import("./networkAddressSet").NetworkAddressSet = null as any;
|
||||
export const NetworkAddressSet: typeof import("./networkAddressSet").NetworkAddressSet =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["NetworkAddressSet"], () => require("./networkAddressSet"));
|
||||
|
||||
export { NetworkForwardArgs, NetworkForwardState } from "./networkForward";
|
||||
@@ -137,12 +209,14 @@ utilities.lazyLoad(exports, ["NetworkForward"], () => require("./networkForward"
|
||||
|
||||
export { NetworkIntegrationArgs, NetworkIntegrationState } from "./networkIntegration";
|
||||
export type NetworkIntegration = import("./networkIntegration").NetworkIntegration;
|
||||
export const NetworkIntegration: typeof import("./networkIntegration").NetworkIntegration = null as any;
|
||||
export const NetworkIntegration: typeof import("./networkIntegration").NetworkIntegration =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["NetworkIntegration"], () => require("./networkIntegration"));
|
||||
|
||||
export { NetworkLoadBalancerArgs, NetworkLoadBalancerState } from "./networkLoadBalancer";
|
||||
export type NetworkLoadBalancer = import("./networkLoadBalancer").NetworkLoadBalancer;
|
||||
export const NetworkLoadBalancer: typeof import("./networkLoadBalancer").NetworkLoadBalancer = null as any;
|
||||
export const NetworkLoadBalancer: typeof import("./networkLoadBalancer").NetworkLoadBalancer =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["NetworkLoadBalancer"], () => require("./networkLoadBalancer"));
|
||||
|
||||
export { NetworkPeerArgs, NetworkPeerState } from "./networkPeer";
|
||||
@@ -157,7 +231,8 @@ utilities.lazyLoad(exports, ["NetworkZone"], () => require("./networkZone"));
|
||||
|
||||
export { NetworkZoneRecordArgs, NetworkZoneRecordState } from "./networkZoneRecord";
|
||||
export type NetworkZoneRecord = import("./networkZoneRecord").NetworkZoneRecord;
|
||||
export const NetworkZoneRecord: typeof import("./networkZoneRecord").NetworkZoneRecord = null as any;
|
||||
export const NetworkZoneRecord: typeof import("./networkZoneRecord").NetworkZoneRecord =
|
||||
null as any;
|
||||
utilities.lazyLoad(exports, ["NetworkZoneRecord"], () => require("./networkZoneRecord"));
|
||||
|
||||
export { ProfileArgs, ProfileState } from "./profile";
|
||||
@@ -198,91 +273,87 @@ export type StorageVolume = import("./storageVolume").StorageVolume;
|
||||
export const StorageVolume: typeof import("./storageVolume").StorageVolume = null as any;
|
||||
utilities.lazyLoad(exports, ["StorageVolume"], () => require("./storageVolume"));
|
||||
|
||||
|
||||
// Export sub-modules:
|
||||
import * as config from "./config";
|
||||
import * as types from "./types";
|
||||
|
||||
export {
|
||||
config,
|
||||
types,
|
||||
};
|
||||
export { config, types };
|
||||
|
||||
const _module = {
|
||||
version: utilities.getVersion(),
|
||||
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
||||
switch (type) {
|
||||
case "incus:index/certificate:Certificate":
|
||||
return new Certificate(name, <any>undefined, { urn })
|
||||
return new Certificate(name, <any>undefined, { urn });
|
||||
case "incus:index/clusterGroup:ClusterGroup":
|
||||
return new ClusterGroup(name, <any>undefined, { urn })
|
||||
return new ClusterGroup(name, <any>undefined, { urn });
|
||||
case "incus:index/clusterGroupMember:ClusterGroupMember":
|
||||
return new ClusterGroupMember(name, <any>undefined, { urn })
|
||||
return new ClusterGroupMember(name, <any>undefined, { urn });
|
||||
case "incus:index/image:Image":
|
||||
return new Image(name, <any>undefined, { urn })
|
||||
return new Image(name, <any>undefined, { urn });
|
||||
case "incus:index/instance:Instance":
|
||||
return new Instance(name, <any>undefined, { urn })
|
||||
return new Instance(name, <any>undefined, { urn });
|
||||
case "incus:index/instanceSnapshot:InstanceSnapshot":
|
||||
return new InstanceSnapshot(name, <any>undefined, { urn })
|
||||
return new InstanceSnapshot(name, <any>undefined, { urn });
|
||||
case "incus:index/network:Network":
|
||||
return new Network(name, <any>undefined, { urn })
|
||||
return new Network(name, <any>undefined, { urn });
|
||||
case "incus:index/networkAcl:NetworkAcl":
|
||||
return new NetworkAcl(name, <any>undefined, { urn })
|
||||
return new NetworkAcl(name, <any>undefined, { urn });
|
||||
case "incus:index/networkAddressSet:NetworkAddressSet":
|
||||
return new NetworkAddressSet(name, <any>undefined, { urn })
|
||||
return new NetworkAddressSet(name, <any>undefined, { urn });
|
||||
case "incus:index/networkForward:NetworkForward":
|
||||
return new NetworkForward(name, <any>undefined, { urn })
|
||||
return new NetworkForward(name, <any>undefined, { urn });
|
||||
case "incus:index/networkIntegration:NetworkIntegration":
|
||||
return new NetworkIntegration(name, <any>undefined, { urn })
|
||||
return new NetworkIntegration(name, <any>undefined, { urn });
|
||||
case "incus:index/networkLoadBalancer:NetworkLoadBalancer":
|
||||
return new NetworkLoadBalancer(name, <any>undefined, { urn })
|
||||
return new NetworkLoadBalancer(name, <any>undefined, { urn });
|
||||
case "incus:index/networkPeer:NetworkPeer":
|
||||
return new NetworkPeer(name, <any>undefined, { urn })
|
||||
return new NetworkPeer(name, <any>undefined, { urn });
|
||||
case "incus:index/networkZone:NetworkZone":
|
||||
return new NetworkZone(name, <any>undefined, { urn })
|
||||
return new NetworkZone(name, <any>undefined, { urn });
|
||||
case "incus:index/networkZoneRecord:NetworkZoneRecord":
|
||||
return new NetworkZoneRecord(name, <any>undefined, { urn })
|
||||
return new NetworkZoneRecord(name, <any>undefined, { urn });
|
||||
case "incus:index/profile:Profile":
|
||||
return new Profile(name, <any>undefined, { urn })
|
||||
return new Profile(name, <any>undefined, { urn });
|
||||
case "incus:index/project:Project":
|
||||
return new Project(name, <any>undefined, { urn })
|
||||
return new Project(name, <any>undefined, { urn });
|
||||
case "incus:index/server:Server":
|
||||
return new Server(name, <any>undefined, { urn })
|
||||
return new Server(name, <any>undefined, { urn });
|
||||
case "incus:index/storageBucket:StorageBucket":
|
||||
return new StorageBucket(name, <any>undefined, { urn })
|
||||
return new StorageBucket(name, <any>undefined, { urn });
|
||||
case "incus:index/storageBucketKey:StorageBucketKey":
|
||||
return new StorageBucketKey(name, <any>undefined, { urn })
|
||||
return new StorageBucketKey(name, <any>undefined, { urn });
|
||||
case "incus:index/storagePool:StoragePool":
|
||||
return new StoragePool(name, <any>undefined, { urn })
|
||||
return new StoragePool(name, <any>undefined, { urn });
|
||||
case "incus:index/storageVolume:StorageVolume":
|
||||
return new StorageVolume(name, <any>undefined, { urn })
|
||||
return new StorageVolume(name, <any>undefined, { urn });
|
||||
default:
|
||||
throw new Error(`unknown resource type ${type}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
pulumi.runtime.registerResourceModule("incus", "index/certificate", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/clusterGroup", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/clusterGroupMember", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/image", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/instance", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/instanceSnapshot", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/network", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkAcl", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkAddressSet", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkForward", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkIntegration", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkLoadBalancer", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkPeer", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkZone", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkZoneRecord", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/profile", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/project", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/server", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storageBucket", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storageBucketKey", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storagePool", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storageVolume", _module)
|
||||
pulumi.runtime.registerResourceModule("incus", "index/certificate", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/clusterGroup", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/clusterGroupMember", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/image", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/instance", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/instanceSnapshot", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/network", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkAcl", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkAddressSet", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkForward", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkIntegration", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkLoadBalancer", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkPeer", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkZone", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/networkZoneRecord", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/profile", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/project", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/server", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storageBucket", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storageBucketKey", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storagePool", _module);
|
||||
pulumi.runtime.registerResourceModule("incus", "index/storageVolume", _module);
|
||||
pulumi.runtime.registerResourcePackage("incus", {
|
||||
version: utilities.getVersion(),
|
||||
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
|
||||
|
||||
33
sdk/nodejs/instance.ts
generated
33
sdk/nodejs/instance.ts
generated
@@ -16,12 +16,17 @@ export class Instance extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: InstanceState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Instance {
|
||||
return new Instance(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/instance:Instance';
|
||||
public static readonly __pulumiType = "incus:index/instance:Instance";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Instance. This is designed to work even
|
||||
@@ -31,7 +36,7 @@ export class Instance extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Instance.__pulumiType;
|
||||
return obj["__pulumiType"] === Instance.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -68,17 +73,17 @@ export class Instance extends pulumi.CustomResource {
|
||||
* The IPv4 Address of the instance. See Instance Network
|
||||
* Access for more details.
|
||||
*/
|
||||
declare public /*out*/ readonly ipv4Address: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ ipv4Address: pulumi.Output<string>;
|
||||
/**
|
||||
* The IPv6 Address of the instance. See Instance Network
|
||||
* Access for more details.
|
||||
*/
|
||||
declare public /*out*/ readonly ipv6Address: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ ipv6Address: pulumi.Output<string>;
|
||||
/**
|
||||
* The MAC address of the detected NIC. See Instance Network
|
||||
* Access for more details.
|
||||
*/
|
||||
declare public /*out*/ readonly macAddress: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ macAddress: pulumi.Output<string>;
|
||||
/**
|
||||
* **Required** - Name of the instance.
|
||||
*/
|
||||
@@ -109,11 +114,13 @@ export class Instance extends pulumi.CustomResource {
|
||||
/**
|
||||
* *Optional* - The source instance from which the instance will be created. See reference below.
|
||||
*/
|
||||
declare public readonly sourceInstance: pulumi.Output<outputs.InstanceSourceInstance | undefined>;
|
||||
declare public readonly sourceInstance: pulumi.Output<
|
||||
outputs.InstanceSourceInstance | undefined
|
||||
>;
|
||||
/**
|
||||
* The status of the instance.
|
||||
*/
|
||||
declare public /*out*/ readonly status: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ status: pulumi.Output<string>;
|
||||
/**
|
||||
* *Optional* - Specify a target node in a cluster.
|
||||
*/
|
||||
@@ -135,8 +142,12 @@ export class Instance extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: InstanceArgs | InstanceState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: InstanceArgs | InstanceState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -176,7 +187,7 @@ export class Instance extends pulumi.CustomResource {
|
||||
resourceInputs["image"] = args?.image;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["profiles"] = args?.profiles;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["running"] = args?.running;
|
||||
resourceInputs["sourceFile"] = args?.sourceFile;
|
||||
|
||||
23
sdk/nodejs/instanceSnapshot.ts
generated
23
sdk/nodejs/instanceSnapshot.ts
generated
@@ -36,12 +36,17 @@ export class InstanceSnapshot extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceSnapshotState, opts?: pulumi.CustomResourceOptions): InstanceSnapshot {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: InstanceSnapshotState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): InstanceSnapshot {
|
||||
return new InstanceSnapshot(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/instanceSnapshot:InstanceSnapshot';
|
||||
public static readonly __pulumiType = "incus:index/instanceSnapshot:InstanceSnapshot";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of InstanceSnapshot. This is designed to work even
|
||||
@@ -51,14 +56,14 @@ export class InstanceSnapshot extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === InstanceSnapshot.__pulumiType;
|
||||
return obj["__pulumiType"] === InstanceSnapshot.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time Incus reported the snapshot was successfully created,
|
||||
* in UTC.
|
||||
*/
|
||||
declare public /*out*/ readonly createdAt: pulumi.Output<number>;
|
||||
declare public readonly /*out*/ createdAt: pulumi.Output<number>;
|
||||
/**
|
||||
* **Required** - The name of the instance to snapshot.
|
||||
*/
|
||||
@@ -90,8 +95,12 @@ export class InstanceSnapshot extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: InstanceSnapshotArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: InstanceSnapshotArgs | InstanceSnapshotState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: InstanceSnapshotArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: InstanceSnapshotArgs | InstanceSnapshotState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -112,7 +121,7 @@ export class InstanceSnapshot extends pulumi.CustomResource {
|
||||
}
|
||||
resourceInputs["instance"] = args?.instance;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["stateful"] = args?.stateful;
|
||||
resourceInputs["createdAt"] = undefined /*out*/;
|
||||
|
||||
23
sdk/nodejs/network.ts
generated
23
sdk/nodejs/network.ts
generated
@@ -14,12 +14,17 @@ export class Network extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkState, opts?: pulumi.CustomResourceOptions): Network {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Network {
|
||||
return new Network(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/network:Network';
|
||||
public static readonly __pulumiType = "incus:index/network:Network";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Network. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class Network extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Network.__pulumiType;
|
||||
return obj["__pulumiType"] === Network.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -44,7 +49,7 @@ export class Network extends pulumi.CustomResource {
|
||||
/**
|
||||
* Whether or not the network is managed.
|
||||
*/
|
||||
declare public /*out*/ readonly managed: pulumi.Output<boolean>;
|
||||
declare public readonly /*out*/ managed: pulumi.Output<boolean>;
|
||||
/**
|
||||
* **Required** - Name of the network. This is usually the device the
|
||||
* network will appear as to instances.
|
||||
@@ -77,8 +82,12 @@ export class Network extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkArgs | NetworkState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkArgs | NetworkState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -99,7 +108,7 @@ export class Network extends pulumi.CustomResource {
|
||||
resourceInputs["config"] = args?.config;
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["target"] = args?.target;
|
||||
resourceInputs["type"] = args?.type;
|
||||
|
||||
21
sdk/nodejs/networkAcl.ts
generated
21
sdk/nodejs/networkAcl.ts
generated
@@ -16,12 +16,17 @@ export class NetworkAcl extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkAclState, opts?: pulumi.CustomResourceOptions): NetworkAcl {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkAclState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkAcl {
|
||||
return new NetworkAcl(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkAcl:NetworkAcl';
|
||||
public static readonly __pulumiType = "incus:index/networkAcl:NetworkAcl";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkAcl. This is designed to work even
|
||||
@@ -31,7 +36,7 @@ export class NetworkAcl extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkAcl.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkAcl.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -74,8 +79,12 @@ export class NetworkAcl extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkAclArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkAclArgs | NetworkAclState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkAclArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkAclArgs | NetworkAclState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -97,7 +106,7 @@ export class NetworkAcl extends pulumi.CustomResource {
|
||||
resourceInputs["egresses"] = args?.egresses;
|
||||
resourceInputs["ingresses"] = args?.ingresses;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
|
||||
19
sdk/nodejs/networkAddressSet.ts
generated
19
sdk/nodejs/networkAddressSet.ts
generated
@@ -62,12 +62,17 @@ export class NetworkAddressSet extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkAddressSetState, opts?: pulumi.CustomResourceOptions): NetworkAddressSet {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkAddressSetState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkAddressSet {
|
||||
return new NetworkAddressSet(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkAddressSet:NetworkAddressSet';
|
||||
public static readonly __pulumiType = "incus:index/networkAddressSet:NetworkAddressSet";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkAddressSet. This is designed to work even
|
||||
@@ -77,7 +82,7 @@ export class NetworkAddressSet extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkAddressSet.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkAddressSet.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -113,8 +118,12 @@ export class NetworkAddressSet extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkAddressSetArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkAddressSetArgs | NetworkAddressSetState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkAddressSetArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkAddressSetArgs | NetworkAddressSetState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
19
sdk/nodejs/networkForward.ts
generated
19
sdk/nodejs/networkForward.ts
generated
@@ -16,12 +16,17 @@ export class NetworkForward extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkForwardState, opts?: pulumi.CustomResourceOptions): NetworkForward {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkForwardState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkForward {
|
||||
return new NetworkForward(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkForward:NetworkForward';
|
||||
public static readonly __pulumiType = "incus:index/networkForward:NetworkForward";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkForward. This is designed to work even
|
||||
@@ -31,7 +36,7 @@ export class NetworkForward extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkForward.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkForward.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -74,8 +79,12 @@ export class NetworkForward extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkForwardArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkForwardArgs | NetworkForwardState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkForwardArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkForwardArgs | NetworkForwardState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
21
sdk/nodejs/networkIntegration.ts
generated
21
sdk/nodejs/networkIntegration.ts
generated
@@ -65,12 +65,17 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkIntegrationState, opts?: pulumi.CustomResourceOptions): NetworkIntegration {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkIntegrationState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkIntegration {
|
||||
return new NetworkIntegration(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkIntegration:NetworkIntegration';
|
||||
public static readonly __pulumiType = "incus:index/networkIntegration:NetworkIntegration";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkIntegration. This is designed to work even
|
||||
@@ -80,7 +85,7 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkIntegration.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkIntegration.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -116,8 +121,12 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkIntegrationArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkIntegrationArgs | NetworkIntegrationState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkIntegrationArgs | NetworkIntegrationState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -139,7 +148,7 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
||||
resourceInputs["config"] = args?.config;
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["type"] = args?.type;
|
||||
}
|
||||
|
||||
23
sdk/nodejs/networkLoadBalancer.ts
generated
23
sdk/nodejs/networkLoadBalancer.ts
generated
@@ -16,12 +16,17 @@ export class NetworkLoadBalancer extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkLoadBalancerState, opts?: pulumi.CustomResourceOptions): NetworkLoadBalancer {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkLoadBalancerState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkLoadBalancer {
|
||||
return new NetworkLoadBalancer(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkLoadBalancer:NetworkLoadBalancer';
|
||||
public static readonly __pulumiType = "incus:index/networkLoadBalancer:NetworkLoadBalancer";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkLoadBalancer. This is designed to work even
|
||||
@@ -31,13 +36,15 @@ export class NetworkLoadBalancer extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkLoadBalancer.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkLoadBalancer.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Network load balancer backend
|
||||
*/
|
||||
declare public readonly backends: pulumi.Output<outputs.NetworkLoadBalancerBackend[] | undefined>;
|
||||
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>;
|
||||
@@ -56,8 +63,12 @@ export class NetworkLoadBalancer extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkLoadBalancerArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkLoadBalancerArgs | NetworkLoadBalancerState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkLoadBalancerArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkLoadBalancerArgs | NetworkLoadBalancerState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
23
sdk/nodejs/networkPeer.ts
generated
23
sdk/nodejs/networkPeer.ts
generated
@@ -60,12 +60,17 @@ export class NetworkPeer extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkPeerState, opts?: pulumi.CustomResourceOptions): NetworkPeer {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkPeerState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkPeer {
|
||||
return new NetworkPeer(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkPeer:NetworkPeer';
|
||||
public static readonly __pulumiType = "incus:index/networkPeer:NetworkPeer";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkPeer. This is designed to work even
|
||||
@@ -75,7 +80,7 @@ export class NetworkPeer extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkPeer.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkPeer.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -103,7 +108,7 @@ export class NetworkPeer extends pulumi.CustomResource {
|
||||
* not provided, the provider's default remote will be used.
|
||||
*/
|
||||
declare public readonly remote: pulumi.Output<string | undefined>;
|
||||
declare public /*out*/ readonly status: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ status: pulumi.Output<string>;
|
||||
declare public readonly targetIntegration: pulumi.Output<string>;
|
||||
/**
|
||||
* **required** - Which network to create a peering with (required at create time for local peers)
|
||||
@@ -125,8 +130,12 @@ export class NetworkPeer extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkPeerArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkPeerArgs | NetworkPeerState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkPeerArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkPeerArgs | NetworkPeerState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -151,7 +160,7 @@ export class NetworkPeer extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["network"] = args?.network;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["targetIntegration"] = args?.targetIntegration;
|
||||
resourceInputs["targetNetwork"] = args?.targetNetwork;
|
||||
|
||||
21
sdk/nodejs/networkZone.ts
generated
21
sdk/nodejs/networkZone.ts
generated
@@ -14,12 +14,17 @@ export class NetworkZone extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkZoneState, opts?: pulumi.CustomResourceOptions): NetworkZone {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkZoneState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkZone {
|
||||
return new NetworkZone(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkZone:NetworkZone';
|
||||
public static readonly __pulumiType = "incus:index/networkZone:NetworkZone";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkZone. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class NetworkZone extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkZone.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkZone.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,8 +67,12 @@ export class NetworkZone extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkZoneArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkZoneArgs | NetworkZoneState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkZoneArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkZoneArgs | NetworkZoneState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -81,7 +90,7 @@ export class NetworkZone extends pulumi.CustomResource {
|
||||
resourceInputs["config"] = args?.config;
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
|
||||
21
sdk/nodejs/networkZoneRecord.ts
generated
21
sdk/nodejs/networkZoneRecord.ts
generated
@@ -16,12 +16,17 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkZoneRecordState, opts?: pulumi.CustomResourceOptions): NetworkZoneRecord {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: NetworkZoneRecordState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): NetworkZoneRecord {
|
||||
return new NetworkZoneRecord(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/networkZoneRecord:NetworkZoneRecord';
|
||||
public static readonly __pulumiType = "incus:index/networkZoneRecord:NetworkZoneRecord";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of NetworkZoneRecord. This is designed to work even
|
||||
@@ -31,7 +36,7 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === NetworkZoneRecord.__pulumiType;
|
||||
return obj["__pulumiType"] === NetworkZoneRecord.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -72,8 +77,12 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: NetworkZoneRecordArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: NetworkZoneRecordArgs | NetworkZoneRecordState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: NetworkZoneRecordArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: NetworkZoneRecordArgs | NetworkZoneRecordState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -97,7 +106,7 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["entries"] = args?.entries;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["zone"] = args?.zone;
|
||||
}
|
||||
|
||||
6
sdk/nodejs/package.json
generated
6
sdk/nodejs/package.json
generated
@@ -17,7 +17,8 @@
|
||||
"@pulumi/pulumi": "^3.142.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18",
|
||||
"@types/node": "^24.10.1",
|
||||
"oxfmt": "^0.17.0",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"pulumi": {
|
||||
@@ -25,5 +26,6 @@
|
||||
"name": "incus",
|
||||
"version": "1.0.0-alpha.0+dev",
|
||||
"server": "https://git.kalinow.ski/api/packages/kiterun/generic/pulumi-incus/${VERSION}/"
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
|
||||
}
|
||||
|
||||
21
sdk/nodejs/profile.ts
generated
21
sdk/nodejs/profile.ts
generated
@@ -16,12 +16,17 @@ export class Profile extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProfileState, opts?: pulumi.CustomResourceOptions): Profile {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: ProfileState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Profile {
|
||||
return new Profile(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/profile:Profile';
|
||||
public static readonly __pulumiType = "incus:index/profile:Profile";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Profile. This is designed to work even
|
||||
@@ -31,7 +36,7 @@ export class Profile extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Profile.__pulumiType;
|
||||
return obj["__pulumiType"] === Profile.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -68,8 +73,12 @@ export class Profile extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: ProfileArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: ProfileArgs | ProfileState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: ProfileArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: ProfileArgs | ProfileState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -89,7 +98,7 @@ export class Profile extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["devices"] = args?.devices;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
|
||||
19
sdk/nodejs/project.ts
generated
19
sdk/nodejs/project.ts
generated
@@ -14,12 +14,17 @@ export class Project extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectState, opts?: pulumi.CustomResourceOptions): Project {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: ProjectState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Project {
|
||||
return new Project(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/project:Project';
|
||||
public static readonly __pulumiType = "incus:index/project:Project";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Project. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class Project extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Project.__pulumiType;
|
||||
return obj["__pulumiType"] === Project.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,8 +66,12 @@ export class Project extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: ProjectArgs | ProjectState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: ProjectArgs | ProjectState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
23
sdk/nodejs/provider.ts
generated
23
sdk/nodejs/provider.ts
generated
@@ -14,7 +14,7 @@ import * as utilities from "./utilities";
|
||||
*/
|
||||
export class Provider extends pulumi.ProviderResource {
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus';
|
||||
public static readonly __pulumiType = "incus";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Provider. This is designed to work even
|
||||
@@ -24,7 +24,7 @@ export class Provider extends pulumi.ProviderResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
||||
return obj["__pulumiType"] === "pulumi:providers:" + Provider.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,10 +51,14 @@ export class Provider extends pulumi.ProviderResource {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
{
|
||||
resourceInputs["acceptRemoteCertificate"] = pulumi.output(args?.acceptRemoteCertificate).apply(JSON.stringify);
|
||||
resourceInputs["acceptRemoteCertificate"] = pulumi
|
||||
.output(args?.acceptRemoteCertificate)
|
||||
.apply(JSON.stringify);
|
||||
resourceInputs["configDir"] = args?.configDir;
|
||||
resourceInputs["defaultRemote"] = args?.defaultRemote;
|
||||
resourceInputs["generateClientCertificates"] = pulumi.output(args?.generateClientCertificates).apply(JSON.stringify);
|
||||
resourceInputs["generateClientCertificates"] = pulumi
|
||||
.output(args?.generateClientCertificates)
|
||||
.apply(JSON.stringify);
|
||||
resourceInputs["project"] = args?.project;
|
||||
resourceInputs["remotes"] = pulumi.output(args?.remotes).apply(JSON.stringify);
|
||||
}
|
||||
@@ -66,9 +70,13 @@ export class Provider extends pulumi.ProviderResource {
|
||||
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
||||
*/
|
||||
terraformConfig(): pulumi.Output<Provider.TerraformConfigResult> {
|
||||
return pulumi.runtime.call("pulumi:providers:incus/terraformConfig", {
|
||||
"__self__": this,
|
||||
}, this);
|
||||
return pulumi.runtime.call(
|
||||
"pulumi:providers:incus/terraformConfig",
|
||||
{
|
||||
__self__: this,
|
||||
},
|
||||
this,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,5 +117,4 @@ export namespace Provider {
|
||||
export interface TerraformConfigResult {
|
||||
readonly result: { [key: string]: any };
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
19
sdk/nodejs/server.ts
generated
19
sdk/nodejs/server.ts
generated
@@ -14,12 +14,17 @@ export class Server extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerState, opts?: pulumi.CustomResourceOptions): Server {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: ServerState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): Server {
|
||||
return new Server(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/server:Server';
|
||||
public static readonly __pulumiType = "incus:index/server:Server";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Server. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class Server extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Server.__pulumiType;
|
||||
return obj["__pulumiType"] === Server.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,8 +61,12 @@ export class Server extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ServerArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: ServerArgs | ServerState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args?: ServerArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: ServerArgs | ServerState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
|
||||
23
sdk/nodejs/storageBucket.ts
generated
23
sdk/nodejs/storageBucket.ts
generated
@@ -14,12 +14,17 @@ export class StorageBucket extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StorageBucketState, opts?: pulumi.CustomResourceOptions): StorageBucket {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: StorageBucketState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): StorageBucket {
|
||||
return new StorageBucket(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/storageBucket:StorageBucket';
|
||||
public static readonly __pulumiType = "incus:index/storageBucket:StorageBucket";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of StorageBucket. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class StorageBucket extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === StorageBucket.__pulumiType;
|
||||
return obj["__pulumiType"] === StorageBucket.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -45,7 +50,7 @@ export class StorageBucket extends pulumi.CustomResource {
|
||||
/**
|
||||
* Name of the node where storage bucket was created. It could be useful with Incus in cluster mode.
|
||||
*/
|
||||
declare public /*out*/ readonly location: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ location: pulumi.Output<string>;
|
||||
/**
|
||||
* **Required** - Name of the storage bucket.
|
||||
*/
|
||||
@@ -79,8 +84,12 @@ export class StorageBucket extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: StorageBucketArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: StorageBucketArgs | StorageBucketState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: StorageBucketArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: StorageBucketArgs | StorageBucketState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -106,7 +115,7 @@ export class StorageBucket extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["pool"] = args?.pool;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["sourceFile"] = args?.sourceFile;
|
||||
resourceInputs["target"] = args?.target;
|
||||
|
||||
25
sdk/nodejs/storageBucketKey.ts
generated
25
sdk/nodejs/storageBucketKey.ts
generated
@@ -14,12 +14,17 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StorageBucketKeyState, opts?: pulumi.CustomResourceOptions): StorageBucketKey {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: StorageBucketKeyState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): StorageBucketKey {
|
||||
return new StorageBucketKey(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/storageBucketKey:StorageBucketKey';
|
||||
public static readonly __pulumiType = "incus:index/storageBucketKey:StorageBucketKey";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of StorageBucketKey. This is designed to work even
|
||||
@@ -29,13 +34,13 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === StorageBucketKey.__pulumiType;
|
||||
return obj["__pulumiType"] === StorageBucketKey.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Access key of the storage bucket key.
|
||||
*/
|
||||
declare public /*out*/ readonly accessKey: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ accessKey: pulumi.Output<string>;
|
||||
/**
|
||||
* *Optional* - Description of the storage bucket key.
|
||||
*/
|
||||
@@ -65,7 +70,7 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
||||
/**
|
||||
* Secret key of the storage bucket key.
|
||||
*/
|
||||
declare public /*out*/ readonly secretKey: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ secretKey: pulumi.Output<string>;
|
||||
/**
|
||||
* **Required** - Name of the storage bucket.
|
||||
*/
|
||||
@@ -78,8 +83,12 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: StorageBucketKeyArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: StorageBucketKeyArgs | StorageBucketKeyState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: StorageBucketKeyArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: StorageBucketKeyArgs | StorageBucketKeyState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -107,7 +116,7 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["pool"] = args?.pool;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["role"] = args?.role;
|
||||
resourceInputs["storageBucket"] = args?.storageBucket;
|
||||
|
||||
21
sdk/nodejs/storagePool.ts
generated
21
sdk/nodejs/storagePool.ts
generated
@@ -14,12 +14,17 @@ export class StoragePool extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StoragePoolState, opts?: pulumi.CustomResourceOptions): StoragePool {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: StoragePoolState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): StoragePool {
|
||||
return new StoragePool(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/storagePool:StoragePool';
|
||||
public static readonly __pulumiType = "incus:index/storagePool:StoragePool";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of StoragePool. This is designed to work even
|
||||
@@ -29,7 +34,7 @@ export class StoragePool extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === StoragePool.__pulumiType;
|
||||
return obj["__pulumiType"] === StoragePool.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -71,8 +76,12 @@ export class StoragePool extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: StoragePoolArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: StoragePoolArgs | StoragePoolState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: StoragePoolArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: StoragePoolArgs | StoragePoolState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -96,7 +105,7 @@ export class StoragePool extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["driver"] = args?.driver;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["target"] = args?.target;
|
||||
}
|
||||
|
||||
27
sdk/nodejs/storageVolume.ts
generated
27
sdk/nodejs/storageVolume.ts
generated
@@ -16,12 +16,17 @@ export class StorageVolume extends pulumi.CustomResource {
|
||||
* @param state Any extra arguments used during the lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StorageVolumeState, opts?: pulumi.CustomResourceOptions): StorageVolume {
|
||||
public static get(
|
||||
name: string,
|
||||
id: pulumi.Input<pulumi.ID>,
|
||||
state?: StorageVolumeState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
): StorageVolume {
|
||||
return new StorageVolume(name, <any>state, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'incus:index/storageVolume:StorageVolume';
|
||||
public static readonly __pulumiType = "incus:index/storageVolume:StorageVolume";
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of StorageVolume. This is designed to work even
|
||||
@@ -31,7 +36,7 @@ export class StorageVolume extends pulumi.CustomResource {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === StorageVolume.__pulumiType;
|
||||
return obj["__pulumiType"] === StorageVolume.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,7 +56,7 @@ export class StorageVolume extends pulumi.CustomResource {
|
||||
/**
|
||||
* Name of the node where volume was created. It could be useful with Incus in cluster mode.
|
||||
*/
|
||||
declare public /*out*/ readonly location: pulumi.Output<string>;
|
||||
declare public readonly /*out*/ location: pulumi.Output<string>;
|
||||
/**
|
||||
* **Required** - Name of the storage volume.
|
||||
*/
|
||||
@@ -76,7 +81,9 @@ export class StorageVolume extends pulumi.CustomResource {
|
||||
/**
|
||||
* *Optional* - The source volume from which the volume will be created. See reference below.
|
||||
*/
|
||||
declare public readonly sourceVolume: pulumi.Output<outputs.StorageVolumeSourceVolume | undefined>;
|
||||
declare public readonly sourceVolume: pulumi.Output<
|
||||
outputs.StorageVolumeSourceVolume | undefined
|
||||
>;
|
||||
/**
|
||||
* *Optional* - Specify a target node in a cluster.
|
||||
*/
|
||||
@@ -94,8 +101,12 @@ export class StorageVolume extends pulumi.CustomResource {
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args: StorageVolumeArgs, opts?: pulumi.CustomResourceOptions)
|
||||
constructor(name: string, argsOrState?: StorageVolumeArgs | StorageVolumeState, opts?: pulumi.CustomResourceOptions) {
|
||||
constructor(name: string, args: StorageVolumeArgs, opts?: pulumi.CustomResourceOptions);
|
||||
constructor(
|
||||
name: string,
|
||||
argsOrState?: StorageVolumeArgs | StorageVolumeState,
|
||||
opts?: pulumi.CustomResourceOptions,
|
||||
) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (opts.id) {
|
||||
@@ -125,7 +136,7 @@ export class StorageVolume extends pulumi.CustomResource {
|
||||
resourceInputs["description"] = args?.description;
|
||||
resourceInputs["name"] = args?.name;
|
||||
resourceInputs["pool"] = args?.pool;
|
||||
resourceInputs["project"] = (args?.project) ?? "default";
|
||||
resourceInputs["project"] = args?.project ?? "default";
|
||||
resourceInputs["remote"] = args?.remote;
|
||||
resourceInputs["sourceFile"] = args?.sourceFile;
|
||||
resourceInputs["sourceVolume"] = args?.sourceVolume;
|
||||
|
||||
6
sdk/nodejs/tsconfig.json
generated
6
sdk/nodejs/tsconfig.json
generated
@@ -10,7 +10,7 @@
|
||||
"experimentalDecorators": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true
|
||||
"strict": true,
|
||||
},
|
||||
"files": [
|
||||
"certificate.ts",
|
||||
@@ -58,6 +58,6 @@
|
||||
"types/index.ts",
|
||||
"types/input.ts",
|
||||
"types/output.ts",
|
||||
"utilities.ts"
|
||||
]
|
||||
"utilities.ts",
|
||||
],
|
||||
}
|
||||
|
||||
5
sdk/nodejs/types/index.ts
generated
5
sdk/nodejs/types/index.ts
generated
@@ -7,7 +7,4 @@ import * as utilities from "../utilities";
|
||||
import * as input from "./input";
|
||||
import * as output from "./output";
|
||||
|
||||
export {
|
||||
input,
|
||||
output,
|
||||
};
|
||||
export { input, output };
|
||||
|
||||
5
sdk/nodejs/types/input.ts
generated
5
sdk/nodejs/types/input.ts
generated
@@ -2,8 +2,6 @@
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../types/input";
|
||||
import * as outputs from "../types/output";
|
||||
|
||||
export interface GetInstanceDevice {
|
||||
/**
|
||||
@@ -731,5 +729,4 @@ export interface StorageVolumeSourceVolume {
|
||||
*/
|
||||
remote?: pulumi.Input<string>;
|
||||
}
|
||||
export namespace config {
|
||||
}
|
||||
export namespace config {}
|
||||
|
||||
5
sdk/nodejs/types/output.ts
generated
5
sdk/nodejs/types/output.ts
generated
@@ -1,10 +1,6 @@
|
||||
// *** 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";
|
||||
import * as inputs from "../types/input";
|
||||
import * as outputs from "../types/output";
|
||||
|
||||
export interface GetClusterMembers {
|
||||
/**
|
||||
* Address of the cluster member, that is used for cluster communication.
|
||||
@@ -581,5 +577,4 @@ export namespace config {
|
||||
*/
|
||||
token?: string;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
28
sdk/nodejs/utilities.ts
generated
28
sdk/nodejs/utilities.ts
generated
@@ -1,7 +1,6 @@
|
||||
// *** 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 runtime from "@pulumi/pulumi/runtime";
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
|
||||
@@ -20,10 +19,10 @@ export function getEnvBoolean(...vars: string[]): boolean | undefined {
|
||||
if (s !== undefined) {
|
||||
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
||||
// Terraform uses internally when parsing boolean values.
|
||||
if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
|
||||
if (["1", "t", "T", "true", "TRUE", "True"].find((v) => v === s) !== undefined) {
|
||||
return true;
|
||||
}
|
||||
if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
|
||||
if (["0", "f", "F", "false", "FALSE", "False"].find((v) => v === s) !== undefined) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -42,10 +41,10 @@ export function getEnvNumber(...vars: string[]): number | undefined {
|
||||
}
|
||||
|
||||
export function getVersion(): string {
|
||||
let version = require('./package.json').version;
|
||||
let version = require("./package.json").version;
|
||||
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
||||
// If there is a v, strip it off.
|
||||
if (version.indexOf('v') === 0) {
|
||||
if (version.indexOf("v") === 0) {
|
||||
version = version.slice(1);
|
||||
}
|
||||
return version;
|
||||
@@ -53,7 +52,11 @@ export function getVersion(): string {
|
||||
|
||||
/** @internal */
|
||||
export function resourceOptsDefaults(): any {
|
||||
return { version: getVersion(), pluginDownloadURL: "https://git.kalinow.ski/api/packages/kiterun/generic/pulumi-incus/${VERSION}/" };
|
||||
return {
|
||||
version: getVersion(),
|
||||
pluginDownloadURL:
|
||||
"https://git.kalinow.ski/api/packages/kiterun/generic/pulumi-incus/${VERSION}/",
|
||||
};
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
@@ -79,14 +82,17 @@ export async function callAsync<T>(
|
||||
const value = await o.promise(true /*withUnknowns*/);
|
||||
const isKnown = await o.isKnown;
|
||||
const isSecret = await o.isSecret;
|
||||
const problem: string|undefined =
|
||||
!isKnown ? "an unknown value"
|
||||
: isSecret ? "a secret value"
|
||||
const problem: string | undefined = !isKnown
|
||||
? "an unknown value"
|
||||
: isSecret
|
||||
? "a secret value"
|
||||
: undefined;
|
||||
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
||||
if (problem) {
|
||||
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
||||
"This is an error in the provider, please report this to the provider developer.");
|
||||
throw new Error(
|
||||
`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
||||
"This is an error in the provider, please report this to the provider developer.",
|
||||
);
|
||||
}
|
||||
// Extract a single property if requested.
|
||||
if (opts && opts.property) {
|
||||
|
||||
Reference in New Issue
Block a user