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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Certificate(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
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.
|
* 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.
|
* **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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: CertificateArgs | CertificateState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: CertificateArgs | CertificateState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
|
|||||||
25
sdk/nodejs/clusterGroup.ts
generated
25
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new ClusterGroup(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of ClusterGroup. This is designed to work even
|
||||||
@@ -29,14 +34,14 @@ export class ClusterGroup extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === ClusterGroup.__pulumiType;
|
return obj["__pulumiType"] === ClusterGroup.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the cluster group.
|
* *Optional* - Description of the cluster group.
|
||||||
*/
|
*/
|
||||||
@@ -58,8 +63,12 @@ export class ClusterGroup extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: ClusterGroupArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: ClusterGroupArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: ClusterGroupArgs | ClusterGroupState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: ClusterGroupArgs | ClusterGroupState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -91,7 +100,7 @@ export interface ClusterGroupState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the cluster group.
|
* *Optional* - Description of the cluster group.
|
||||||
*/
|
*/
|
||||||
@@ -115,7 +124,7 @@ export interface ClusterGroupArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
* [cluster group config settings](https://linuxcontainers.org/incus/docs/main/howto/cluster_groups/#configuration-options).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the cluster group.
|
* *Optional* - Description of the cluster group.
|
||||||
*/
|
*/
|
||||||
|
|||||||
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new ClusterGroupMember(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: ClusterGroupMemberArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: ClusterGroupMemberArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: ClusterGroupMemberArgs | ClusterGroupMemberState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: ClusterGroupMemberArgs | ClusterGroupMemberState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
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,
|
enumerable: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
33
sdk/nodejs/getCluster.ts
generated
33
sdk/nodejs/getCluster.ts
generated
@@ -2,7 +2,6 @@
|
|||||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||||
|
|
||||||
import * as pulumi from "@pulumi/pulumi";
|
import * as pulumi from "@pulumi/pulumi";
|
||||||
import * as inputs from "./types/input";
|
|
||||||
import * as outputs from "./types/output";
|
import * as outputs from "./types/output";
|
||||||
import * as utilities from "./utilities";
|
import * as utilities from "./utilities";
|
||||||
|
|
||||||
@@ -58,12 +57,19 @@ import * as utilities from "./utilities";
|
|||||||
*
|
*
|
||||||
* * For non-clustered setups, the `members` attribute will be `null`.
|
* * 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 || {};
|
args = args || {};
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getCluster:getCluster", {
|
return pulumi.runtime.invoke(
|
||||||
"remote": args.remote,
|
"incus:index/getCluster:getCluster",
|
||||||
}, opts);
|
{
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -93,7 +99,7 @@ export interface GetClusterResult {
|
|||||||
* A map of cluster members. The key is the member name and the value
|
* A map of cluster members. The key is the member name and the value
|
||||||
* is a member object. See reference below.
|
* is a member object. See reference below.
|
||||||
*/
|
*/
|
||||||
readonly members: {[key: string]: outputs.GetClusterMembers};
|
readonly members: { [key: string]: outputs.GetClusterMembers };
|
||||||
readonly remote?: string;
|
readonly remote?: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -148,12 +154,19 @@ export interface GetClusterResult {
|
|||||||
*
|
*
|
||||||
* * For non-clustered setups, the `members` attribute will be `null`.
|
* * 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 || {};
|
args = args || {};
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getCluster:getCluster", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"remote": args.remote,
|
"incus:index/getCluster:getCluster",
|
||||||
}, opts);
|
{
|
||||||
|
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 || {};
|
args = args || {};
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getImage:getImage", {
|
return pulumi.runtime.invoke(
|
||||||
"architecture": args.architecture,
|
"incus:index/getImage:getImage",
|
||||||
"fingerprint": args.fingerprint,
|
{
|
||||||
"name": args.name,
|
architecture: args.architecture,
|
||||||
"project": args.project,
|
fingerprint: args.fingerprint,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"type": args.type,
|
project: args.project,
|
||||||
}, opts);
|
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 || {};
|
args = args || {};
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getImage:getImage", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"architecture": args.architecture,
|
"incus:index/getImage:getImage",
|
||||||
"fingerprint": args.fingerprint,
|
{
|
||||||
"name": args.name,
|
architecture: args.architecture,
|
||||||
"project": args.project,
|
fingerprint: args.fingerprint,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"type": args.type,
|
project: args.project,
|
||||||
}, opts);
|
remote: args.remote,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
76
sdk/nodejs/getInstance.ts
generated
76
sdk/nodejs/getInstance.ts
generated
@@ -24,22 +24,29 @@ import * as utilities from "./utilities";
|
|||||||
* export const instanceName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getInstance:getInstance", {
|
return pulumi.runtime.invoke(
|
||||||
"architecture": args.architecture,
|
"incus:index/getInstance:getInstance",
|
||||||
"description": args.description,
|
{
|
||||||
"devices": args.devices,
|
architecture: args.architecture,
|
||||||
"ephemeral": args.ephemeral,
|
description: args.description,
|
||||||
"location": args.location,
|
devices: args.devices,
|
||||||
"name": args.name,
|
ephemeral: args.ephemeral,
|
||||||
"profiles": args.profiles,
|
location: args.location,
|
||||||
"project": args.project,
|
name: args.name,
|
||||||
"remote": args.remote,
|
profiles: args.profiles,
|
||||||
"stateful": args.stateful,
|
project: args.project,
|
||||||
"status": args.status,
|
remote: args.remote,
|
||||||
"type": args.type,
|
stateful: args.stateful,
|
||||||
}, opts);
|
status: args.status,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -110,7 +117,7 @@ export interface GetInstanceResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the instance.
|
* Description of the instance.
|
||||||
*/
|
*/
|
||||||
@@ -173,22 +180,29 @@ export interface GetInstanceResult {
|
|||||||
* export const instanceName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getInstance:getInstance", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"architecture": args.architecture,
|
"incus:index/getInstance:getInstance",
|
||||||
"description": args.description,
|
{
|
||||||
"devices": args.devices,
|
architecture: args.architecture,
|
||||||
"ephemeral": args.ephemeral,
|
description: args.description,
|
||||||
"location": args.location,
|
devices: args.devices,
|
||||||
"name": args.name,
|
ephemeral: args.ephemeral,
|
||||||
"profiles": args.profiles,
|
location: args.location,
|
||||||
"project": args.project,
|
name: args.name,
|
||||||
"remote": args.remote,
|
profiles: args.profiles,
|
||||||
"stateful": args.stateful,
|
project: args.project,
|
||||||
"status": args.status,
|
remote: args.remote,
|
||||||
"type": args.type,
|
stateful: args.stateful,
|
||||||
}, opts);
|
status: args.status,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
64
sdk/nodejs/getNetwork.ts
generated
64
sdk/nodejs/getNetwork.ts
generated
@@ -22,19 +22,26 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetwork:getNetwork", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getNetwork:getNetwork",
|
||||||
"locations": args.locations,
|
{
|
||||||
"managed": args.managed,
|
description: args.description,
|
||||||
"name": args.name,
|
locations: args.locations,
|
||||||
"project": args.project,
|
managed: args.managed,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"status": args.status,
|
project: args.project,
|
||||||
"target": args.target,
|
remote: args.remote,
|
||||||
"type": args.type,
|
status: args.status,
|
||||||
}, opts);
|
target: args.target,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -89,7 +96,7 @@ export interface GetNetworkResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [network config settings](https://linuxcontainers.org/incus/docs/main/howto/network_create/#network-types)
|
* [network config settings](https://linuxcontainers.org/incus/docs/main/howto/network_create/#network-types)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the network.
|
* Description of the network.
|
||||||
*/
|
*/
|
||||||
@@ -138,19 +145,26 @@ export interface GetNetworkResult {
|
|||||||
* export const networkName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetwork:getNetwork", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getNetwork:getNetwork",
|
||||||
"locations": args.locations,
|
{
|
||||||
"managed": args.managed,
|
description: args.description,
|
||||||
"name": args.name,
|
locations: args.locations,
|
||||||
"project": args.project,
|
managed: args.managed,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"status": args.status,
|
project: args.project,
|
||||||
"target": args.target,
|
remote: args.remote,
|
||||||
"type": args.type,
|
status: args.status,
|
||||||
}, opts);
|
target: args.target,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
52
sdk/nodejs/getNetworkAcl.ts
generated
52
sdk/nodejs/getNetworkAcl.ts
generated
@@ -24,16 +24,23 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkAclName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkAcl:getNetworkAcl", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getNetworkAcl:getNetworkAcl",
|
||||||
"egresses": args.egresses,
|
{
|
||||||
"ingresses": args.ingresses,
|
description: args.description,
|
||||||
"name": args.name,
|
egresses: args.egresses,
|
||||||
"project": args.project,
|
ingresses: args.ingresses,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -74,7 +81,7 @@ export interface GetNetworkAclResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the rule.
|
* Description of the rule.
|
||||||
*/
|
*/
|
||||||
@@ -113,16 +120,23 @@ export interface GetNetworkAclResult {
|
|||||||
* export const networkAclName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkAcl:getNetworkAcl", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getNetworkAcl:getNetworkAcl",
|
||||||
"egresses": args.egresses,
|
{
|
||||||
"ingresses": args.ingresses,
|
description: args.description,
|
||||||
"name": args.name,
|
egresses: args.egresses,
|
||||||
"project": args.project,
|
ingresses: args.ingresses,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
48
sdk/nodejs/getNetworkAddressSet.ts
generated
48
sdk/nodejs/getNetworkAddressSet.ts
generated
@@ -22,15 +22,22 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkAddressSetName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkAddressSet:getNetworkAddressSet", {
|
return pulumi.runtime.invoke(
|
||||||
"addresses": args.addresses,
|
"incus:index/getNetworkAddressSet:getNetworkAddressSet",
|
||||||
"description": args.description,
|
{
|
||||||
"name": args.name,
|
addresses: args.addresses,
|
||||||
"project": args.project,
|
description: args.description,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -71,7 +78,7 @@ export interface GetNetworkAddressSetResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the network address set.
|
* Description of the network address set.
|
||||||
*/
|
*/
|
||||||
@@ -102,15 +109,22 @@ export interface GetNetworkAddressSetResult {
|
|||||||
* export const networkAddressSetName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkAddressSet:getNetworkAddressSet", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"addresses": args.addresses,
|
"incus:index/getNetworkAddressSet:getNetworkAddressSet",
|
||||||
"description": args.description,
|
{
|
||||||
"name": args.name,
|
addresses: args.addresses,
|
||||||
"project": args.project,
|
description: args.description,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
60
sdk/nodejs/getNetworkForward.ts
generated
60
sdk/nodejs/getNetworkForward.ts
generated
@@ -25,18 +25,25 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkForwardListenAddress = _this.then(_this => _this.listenAddress);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkForward:getNetworkForward", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getNetworkForward:getNetworkForward",
|
||||||
"listenAddress": args.listenAddress,
|
{
|
||||||
"location": args.location,
|
description: args.description,
|
||||||
"network": args.network,
|
listenAddress: args.listenAddress,
|
||||||
"ports": args.ports,
|
location: args.location,
|
||||||
"project": args.project,
|
network: args.network,
|
||||||
"remote": args.remote,
|
ports: args.ports,
|
||||||
"target": args.target,
|
project: args.project,
|
||||||
}, opts);
|
remote: args.remote,
|
||||||
|
target: args.target,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -85,7 +92,7 @@ export interface GetNetworkForwardResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the forward port.
|
* Description of the forward port.
|
||||||
*/
|
*/
|
||||||
@@ -127,18 +134,25 @@ export interface GetNetworkForwardResult {
|
|||||||
* export const networkForwardListenAddress = _this.then(_this => _this.listenAddress);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkForward:getNetworkForward", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getNetworkForward:getNetworkForward",
|
||||||
"listenAddress": args.listenAddress,
|
{
|
||||||
"location": args.location,
|
description: args.description,
|
||||||
"network": args.network,
|
listenAddress: args.listenAddress,
|
||||||
"ports": args.ports,
|
location: args.location,
|
||||||
"project": args.project,
|
network: args.network,
|
||||||
"remote": args.remote,
|
ports: args.ports,
|
||||||
"target": args.target,
|
project: args.project,
|
||||||
}, opts);
|
remote: args.remote,
|
||||||
|
target: args.target,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
44
sdk/nodejs/getNetworkIntegration.ts
generated
44
sdk/nodejs/getNetworkIntegration.ts
generated
@@ -22,14 +22,21 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkIntegrationName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkIntegration:getNetworkIntegration", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getNetworkIntegration:getNetworkIntegration",
|
||||||
"name": args.name,
|
{
|
||||||
"remote": args.remote,
|
description: args.description,
|
||||||
"type": args.type,
|
name: args.name,
|
||||||
}, opts);
|
remote: args.remote,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -62,7 +69,7 @@ export interface GetNetworkIntegrationResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the network integration.
|
* Description of the network integration.
|
||||||
*/
|
*/
|
||||||
@@ -96,14 +103,21 @@ export interface GetNetworkIntegrationResult {
|
|||||||
* export const networkIntegrationName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkIntegration:getNetworkIntegration", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getNetworkIntegration:getNetworkIntegration",
|
||||||
"name": args.name,
|
{
|
||||||
"remote": args.remote,
|
description: args.description,
|
||||||
"type": args.type,
|
name: args.name,
|
||||||
}, opts);
|
remote: args.remote,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
60
sdk/nodejs/getNetworkLoadBalancer.ts
generated
60
sdk/nodejs/getNetworkLoadBalancer.ts
generated
@@ -25,18 +25,25 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkLoadBalancerListenAddress = _this.then(_this => _this.listenAddress);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer", {
|
return pulumi.runtime.invoke(
|
||||||
"backends": args.backends,
|
"incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer",
|
||||||
"description": args.description,
|
{
|
||||||
"listenAddress": args.listenAddress,
|
backends: args.backends,
|
||||||
"location": args.location,
|
description: args.description,
|
||||||
"network": args.network,
|
listenAddress: args.listenAddress,
|
||||||
"ports": args.ports,
|
location: args.location,
|
||||||
"project": args.project,
|
network: args.network,
|
||||||
"remote": args.remote,
|
ports: args.ports,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -89,7 +96,7 @@ export interface GetNetworkLoadBalancerResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the load balancer port.
|
* Description of the load balancer port.
|
||||||
*/
|
*/
|
||||||
@@ -130,18 +137,25 @@ export interface GetNetworkLoadBalancerResult {
|
|||||||
* export const networkLoadBalancerListenAddress = _this.then(_this => _this.listenAddress);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"backends": args.backends,
|
"incus:index/getNetworkLoadBalancer:getNetworkLoadBalancer",
|
||||||
"description": args.description,
|
{
|
||||||
"listenAddress": args.listenAddress,
|
backends: args.backends,
|
||||||
"location": args.location,
|
description: args.description,
|
||||||
"network": args.network,
|
listenAddress: args.listenAddress,
|
||||||
"ports": args.ports,
|
location: args.location,
|
||||||
"project": args.project,
|
network: args.network,
|
||||||
"remote": args.remote,
|
ports: args.ports,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
68
sdk/nodejs/getNetworkPeer.ts
generated
68
sdk/nodejs/getNetworkPeer.ts
generated
@@ -23,20 +23,27 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkPeerName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkPeer:getNetworkPeer", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getNetworkPeer:getNetworkPeer",
|
||||||
"name": args.name,
|
{
|
||||||
"network": args.network,
|
description: args.description,
|
||||||
"project": args.project,
|
name: args.name,
|
||||||
"remote": args.remote,
|
network: args.network,
|
||||||
"status": args.status,
|
project: args.project,
|
||||||
"targetIntegration": args.targetIntegration,
|
remote: args.remote,
|
||||||
"targetNetwork": args.targetNetwork,
|
status: args.status,
|
||||||
"targetProject": args.targetProject,
|
targetIntegration: args.targetIntegration,
|
||||||
"type": args.type,
|
targetNetwork: args.targetNetwork,
|
||||||
}, opts);
|
targetProject: args.targetProject,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -93,7 +100,7 @@ export interface GetNetworkPeerResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the network peer.
|
* Description of the network peer.
|
||||||
*/
|
*/
|
||||||
@@ -146,20 +153,27 @@ export interface GetNetworkPeerResult {
|
|||||||
* export const networkPeerName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkPeer:getNetworkPeer", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getNetworkPeer:getNetworkPeer",
|
||||||
"name": args.name,
|
{
|
||||||
"network": args.network,
|
description: args.description,
|
||||||
"project": args.project,
|
name: args.name,
|
||||||
"remote": args.remote,
|
network: args.network,
|
||||||
"status": args.status,
|
project: args.project,
|
||||||
"targetIntegration": args.targetIntegration,
|
remote: args.remote,
|
||||||
"targetNetwork": args.targetNetwork,
|
status: args.status,
|
||||||
"targetProject": args.targetProject,
|
targetIntegration: args.targetIntegration,
|
||||||
"type": args.type,
|
targetNetwork: args.targetNetwork,
|
||||||
}, opts);
|
targetProject: args.targetProject,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
44
sdk/nodejs/getNetworkZone.ts
generated
44
sdk/nodejs/getNetworkZone.ts
generated
@@ -22,14 +22,21 @@ import * as utilities from "./utilities";
|
|||||||
* export const networkZoneName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getNetworkZone:getNetworkZone", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getNetworkZone:getNetworkZone",
|
||||||
"name": args.name,
|
{
|
||||||
"project": args.project,
|
description: args.description,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -62,7 +69,7 @@ export interface GetNetworkZoneResult {
|
|||||||
/**
|
/**
|
||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the network zone.
|
* Description of the network zone.
|
||||||
*/
|
*/
|
||||||
@@ -93,14 +100,21 @@ export interface GetNetworkZoneResult {
|
|||||||
* export const networkZoneName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getNetworkZone:getNetworkZone", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getNetworkZone:getNetworkZone",
|
||||||
"name": args.name,
|
{
|
||||||
"project": args.project,
|
description: args.description,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
48
sdk/nodejs/getProfile.ts
generated
48
sdk/nodejs/getProfile.ts
generated
@@ -24,15 +24,22 @@ import * as utilities from "./utilities";
|
|||||||
* export const profileName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getProfile:getProfile", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getProfile:getProfile",
|
||||||
"devices": args.devices,
|
{
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"project": args.project,
|
devices: args.devices,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -70,7 +77,7 @@ export interface GetProfileResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the profile.
|
* Description of the profile.
|
||||||
*/
|
*/
|
||||||
@@ -108,15 +115,22 @@ export interface GetProfileResult {
|
|||||||
* export const profileName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getProfile:getProfile", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getProfile:getProfile",
|
||||||
"devices": args.devices,
|
{
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"project": args.project,
|
devices: args.devices,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
}, opts);
|
project: args.project,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
40
sdk/nodejs/getProject.ts
generated
40
sdk/nodejs/getProject.ts
generated
@@ -21,13 +21,20 @@ import * as utilities from "./utilities";
|
|||||||
* export const projectName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getProject:getProject", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getProject:getProject",
|
||||||
"name": args.name,
|
{
|
||||||
"remote": args.remote,
|
description: args.description,
|
||||||
}, opts);
|
name: args.name,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -57,7 +64,7 @@ export interface GetProjectResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the project.
|
* Description of the project.
|
||||||
*/
|
*/
|
||||||
@@ -86,13 +93,20 @@ export interface GetProjectResult {
|
|||||||
* export const projectName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getProject:getProject", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getProject:getProject",
|
||||||
"name": args.name,
|
{
|
||||||
"remote": args.remote,
|
description: args.description,
|
||||||
}, opts);
|
name: args.name,
|
||||||
|
remote: args.remote,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
60
sdk/nodejs/getStorageBucket.ts
generated
60
sdk/nodejs/getStorageBucket.ts
generated
@@ -23,18 +23,25 @@ import * as utilities from "./utilities";
|
|||||||
* export const storageBucketName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getStorageBucket:getStorageBucket", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getStorageBucket:getStorageBucket",
|
||||||
"location": args.location,
|
{
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"project": args.project,
|
location: args.location,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"s3Url": args.s3Url,
|
project: args.project,
|
||||||
"storagePool": args.storagePool,
|
remote: args.remote,
|
||||||
"target": args.target,
|
s3Url: args.s3Url,
|
||||||
}, opts);
|
storagePool: args.storagePool,
|
||||||
|
target: args.target,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -84,7 +91,7 @@ export interface GetStorageBucketResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
|
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the storage bucket.
|
* Description of the storage bucket.
|
||||||
*/
|
*/
|
||||||
@@ -126,18 +133,25 @@ export interface GetStorageBucketResult {
|
|||||||
* export const storageBucketName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getStorageBucket:getStorageBucket", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getStorageBucket:getStorageBucket",
|
||||||
"location": args.location,
|
{
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"project": args.project,
|
location: args.location,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"s3Url": args.s3Url,
|
project: args.project,
|
||||||
"storagePool": args.storagePool,
|
remote: args.remote,
|
||||||
"target": args.target,
|
s3Url: args.s3Url,
|
||||||
}, opts);
|
storagePool: args.storagePool,
|
||||||
|
target: args.target,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
52
sdk/nodejs/getStoragePool.ts
generated
52
sdk/nodejs/getStoragePool.ts
generated
@@ -22,16 +22,23 @@ import * as utilities from "./utilities";
|
|||||||
* export const storagePoolName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getStoragePool:getStoragePool", {
|
return pulumi.runtime.invoke(
|
||||||
"description": args.description,
|
"incus:index/getStoragePool:getStoragePool",
|
||||||
"driver": args.driver,
|
{
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"remote": args.remote,
|
driver: args.driver,
|
||||||
"status": args.status,
|
name: args.name,
|
||||||
"target": args.target,
|
remote: args.remote,
|
||||||
}, opts);
|
status: args.status,
|
||||||
|
target: args.target,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -73,7 +80,7 @@ export interface GetStoragePoolResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
|
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Description of the storage pool.
|
* Description of the storage pool.
|
||||||
*/
|
*/
|
||||||
@@ -112,16 +119,23 @@ export interface GetStoragePoolResult {
|
|||||||
* export const storagePoolName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getStoragePool:getStoragePool", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"description": args.description,
|
"incus:index/getStoragePool:getStoragePool",
|
||||||
"driver": args.driver,
|
{
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"remote": args.remote,
|
driver: args.driver,
|
||||||
"status": args.status,
|
name: args.name,
|
||||||
"target": args.target,
|
remote: args.remote,
|
||||||
}, opts);
|
status: args.status,
|
||||||
|
target: args.target,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
64
sdk/nodejs/getStorageVolume.ts
generated
64
sdk/nodejs/getStorageVolume.ts
generated
@@ -24,19 +24,26 @@ import * as utilities from "./utilities";
|
|||||||
* export const storageVolumeName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invoke("incus:index/getStorageVolume:getStorageVolume", {
|
return pulumi.runtime.invoke(
|
||||||
"contentType": args.contentType,
|
"incus:index/getStorageVolume:getStorageVolume",
|
||||||
"description": args.description,
|
{
|
||||||
"location": args.location,
|
contentType: args.contentType,
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"project": args.project,
|
location: args.location,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"storagePool": args.storagePool,
|
project: args.project,
|
||||||
"target": args.target,
|
remote: args.remote,
|
||||||
"type": args.type,
|
storagePool: args.storagePool,
|
||||||
}, opts);
|
target: args.target,
|
||||||
|
type: args.type,
|
||||||
|
},
|
||||||
|
opts,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -90,7 +97,7 @@ export interface GetStorageVolumeResult {
|
|||||||
* Map of key/value pairs of config settings.
|
* Map of key/value pairs of config settings.
|
||||||
* [storage volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
|
* [storage volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/)
|
||||||
*/
|
*/
|
||||||
readonly config: {[key: string]: string};
|
readonly config: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Storage Volume content type.
|
* Storage Volume content type.
|
||||||
*/
|
*/
|
||||||
@@ -134,19 +141,26 @@ export interface GetStorageVolumeResult {
|
|||||||
* export const storageVolumeName = _this.then(_this => _this.name);
|
* 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 || {});
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
||||||
return pulumi.runtime.invokeOutput("incus:index/getStorageVolume:getStorageVolume", {
|
return pulumi.runtime.invokeOutput(
|
||||||
"contentType": args.contentType,
|
"incus:index/getStorageVolume:getStorageVolume",
|
||||||
"description": args.description,
|
{
|
||||||
"location": args.location,
|
contentType: args.contentType,
|
||||||
"name": args.name,
|
description: args.description,
|
||||||
"project": args.project,
|
location: args.location,
|
||||||
"remote": args.remote,
|
name: args.name,
|
||||||
"storagePool": args.storagePool,
|
project: args.project,
|
||||||
"target": args.target,
|
remote: args.remote,
|
||||||
"type": args.type,
|
storagePool: args.storagePool,
|
||||||
}, opts);
|
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Image(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
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
|
* The list of aliases that were copied from the
|
||||||
* `sourceImage`.
|
* `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.
|
* 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.
|
* 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.
|
* *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.
|
* not provided, the provider's default remote will be used.
|
||||||
*/
|
*/
|
||||||
declare public readonly remote: pulumi.Output<string | undefined>;
|
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.
|
* *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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args?: ImageArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args?: ImageArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: ImageArgs | ImageState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: ImageArgs | ImageState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
|
|||||||
257
sdk/nodejs/index.ts
generated
257
sdk/nodejs/index.ts
generated
@@ -17,88 +17,159 @@ utilities.lazyLoad(exports, ["ClusterGroup"], () => require("./clusterGroup"));
|
|||||||
|
|
||||||
export { ClusterGroupMemberArgs, ClusterGroupMemberState } from "./clusterGroupMember";
|
export { ClusterGroupMemberArgs, ClusterGroupMemberState } from "./clusterGroupMember";
|
||||||
export type ClusterGroupMember = import("./clusterGroupMember").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"));
|
utilities.lazyLoad(exports, ["ClusterGroupMember"], () => require("./clusterGroupMember"));
|
||||||
|
|
||||||
export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster";
|
export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster";
|
||||||
export const getCluster: typeof import("./getCluster").getCluster = null as any;
|
export const getCluster: typeof import("./getCluster").getCluster = null as any;
|
||||||
export const getClusterOutput: typeof import("./getCluster").getClusterOutput = null as any;
|
export const getClusterOutput: typeof import("./getCluster").getClusterOutput = null as any;
|
||||||
utilities.lazyLoad(exports, ["getCluster","getClusterOutput"], () => require("./getCluster"));
|
utilities.lazyLoad(exports, ["getCluster", "getClusterOutput"], () => require("./getCluster"));
|
||||||
|
|
||||||
export { GetImageArgs, GetImageResult, GetImageOutputArgs } from "./getImage";
|
export { GetImageArgs, GetImageResult, GetImageOutputArgs } from "./getImage";
|
||||||
export const getImage: typeof import("./getImage").getImage = null as any;
|
export const getImage: typeof import("./getImage").getImage = null as any;
|
||||||
export const getImageOutput: typeof import("./getImage").getImageOutput = null as any;
|
export const getImageOutput: typeof import("./getImage").getImageOutput = null as any;
|
||||||
utilities.lazyLoad(exports, ["getImage","getImageOutput"], () => require("./getImage"));
|
utilities.lazyLoad(exports, ["getImage", "getImageOutput"], () => require("./getImage"));
|
||||||
|
|
||||||
export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
|
export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
|
||||||
export const getInstance: typeof import("./getInstance").getInstance = null as any;
|
export const getInstance: typeof import("./getInstance").getInstance = null as any;
|
||||||
export const getInstanceOutput: typeof import("./getInstance").getInstanceOutput = null as any;
|
export const getInstanceOutput: typeof import("./getInstance").getInstanceOutput = null as any;
|
||||||
utilities.lazyLoad(exports, ["getInstance","getInstanceOutput"], () => require("./getInstance"));
|
utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
|
||||||
|
|
||||||
export { GetNetworkArgs, GetNetworkResult, GetNetworkOutputArgs } from "./getNetwork";
|
export { GetNetworkArgs, GetNetworkResult, GetNetworkOutputArgs } from "./getNetwork";
|
||||||
export const getNetwork: typeof import("./getNetwork").getNetwork = null as any;
|
export const getNetwork: typeof import("./getNetwork").getNetwork = null as any;
|
||||||
export const getNetworkOutput: typeof import("./getNetwork").getNetworkOutput = null as any;
|
export const getNetworkOutput: typeof import("./getNetwork").getNetworkOutput = null as any;
|
||||||
utilities.lazyLoad(exports, ["getNetwork","getNetworkOutput"], () => require("./getNetwork"));
|
utilities.lazyLoad(exports, ["getNetwork", "getNetworkOutput"], () => require("./getNetwork"));
|
||||||
|
|
||||||
export { GetNetworkAclArgs, GetNetworkAclResult, GetNetworkAclOutputArgs } from "./getNetworkAcl";
|
export { GetNetworkAclArgs, GetNetworkAclResult, GetNetworkAclOutputArgs } from "./getNetworkAcl";
|
||||||
export const getNetworkAcl: typeof import("./getNetworkAcl").getNetworkAcl = null as any;
|
export const getNetworkAcl: typeof import("./getNetworkAcl").getNetworkAcl = null as any;
|
||||||
export const getNetworkAclOutput: typeof import("./getNetworkAcl").getNetworkAclOutput = null as any;
|
export const getNetworkAclOutput: typeof import("./getNetworkAcl").getNetworkAclOutput =
|
||||||
utilities.lazyLoad(exports, ["getNetworkAcl","getNetworkAclOutput"], () => require("./getNetworkAcl"));
|
null as any;
|
||||||
|
utilities.lazyLoad(exports, ["getNetworkAcl", "getNetworkAclOutput"], () =>
|
||||||
|
require("./getNetworkAcl"),
|
||||||
|
);
|
||||||
|
|
||||||
export { GetNetworkAddressSetArgs, GetNetworkAddressSetResult, GetNetworkAddressSetOutputArgs } from "./getNetworkAddressSet";
|
export {
|
||||||
export const getNetworkAddressSet: typeof import("./getNetworkAddressSet").getNetworkAddressSet = null as any;
|
GetNetworkAddressSetArgs,
|
||||||
export const getNetworkAddressSetOutput: typeof import("./getNetworkAddressSet").getNetworkAddressSetOutput = null as any;
|
GetNetworkAddressSetResult,
|
||||||
utilities.lazyLoad(exports, ["getNetworkAddressSet","getNetworkAddressSetOutput"], () => require("./getNetworkAddressSet"));
|
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 {
|
||||||
export const getNetworkForward: typeof import("./getNetworkForward").getNetworkForward = null as any;
|
GetNetworkForwardArgs,
|
||||||
export const getNetworkForwardOutput: typeof import("./getNetworkForward").getNetworkForwardOutput = null as any;
|
GetNetworkForwardResult,
|
||||||
utilities.lazyLoad(exports, ["getNetworkForward","getNetworkForwardOutput"], () => require("./getNetworkForward"));
|
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 {
|
||||||
export const getNetworkIntegration: typeof import("./getNetworkIntegration").getNetworkIntegration = null as any;
|
GetNetworkIntegrationArgs,
|
||||||
export const getNetworkIntegrationOutput: typeof import("./getNetworkIntegration").getNetworkIntegrationOutput = null as any;
|
GetNetworkIntegrationResult,
|
||||||
utilities.lazyLoad(exports, ["getNetworkIntegration","getNetworkIntegrationOutput"], () => require("./getNetworkIntegration"));
|
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 {
|
||||||
export const getNetworkLoadBalancer: typeof import("./getNetworkLoadBalancer").getNetworkLoadBalancer = null as any;
|
GetNetworkLoadBalancerArgs,
|
||||||
export const getNetworkLoadBalancerOutput: typeof import("./getNetworkLoadBalancer").getNetworkLoadBalancerOutput = null as any;
|
GetNetworkLoadBalancerResult,
|
||||||
utilities.lazyLoad(exports, ["getNetworkLoadBalancer","getNetworkLoadBalancerOutput"], () => require("./getNetworkLoadBalancer"));
|
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 getNetworkPeer: typeof import("./getNetworkPeer").getNetworkPeer = null as any;
|
||||||
export const getNetworkPeerOutput: typeof import("./getNetworkPeer").getNetworkPeerOutput = null as any;
|
export const getNetworkPeerOutput: typeof import("./getNetworkPeer").getNetworkPeerOutput =
|
||||||
utilities.lazyLoad(exports, ["getNetworkPeer","getNetworkPeerOutput"], () => require("./getNetworkPeer"));
|
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 getNetworkZone: typeof import("./getNetworkZone").getNetworkZone = null as any;
|
||||||
export const getNetworkZoneOutput: typeof import("./getNetworkZone").getNetworkZoneOutput = null as any;
|
export const getNetworkZoneOutput: typeof import("./getNetworkZone").getNetworkZoneOutput =
|
||||||
utilities.lazyLoad(exports, ["getNetworkZone","getNetworkZoneOutput"], () => require("./getNetworkZone"));
|
null as any;
|
||||||
|
utilities.lazyLoad(exports, ["getNetworkZone", "getNetworkZoneOutput"], () =>
|
||||||
|
require("./getNetworkZone"),
|
||||||
|
);
|
||||||
|
|
||||||
export { GetProfileArgs, GetProfileResult, GetProfileOutputArgs } from "./getProfile";
|
export { GetProfileArgs, GetProfileResult, GetProfileOutputArgs } from "./getProfile";
|
||||||
export const getProfile: typeof import("./getProfile").getProfile = null as any;
|
export const getProfile: typeof import("./getProfile").getProfile = null as any;
|
||||||
export const getProfileOutput: typeof import("./getProfile").getProfileOutput = null as any;
|
export const getProfileOutput: typeof import("./getProfile").getProfileOutput = null as any;
|
||||||
utilities.lazyLoad(exports, ["getProfile","getProfileOutput"], () => require("./getProfile"));
|
utilities.lazyLoad(exports, ["getProfile", "getProfileOutput"], () => require("./getProfile"));
|
||||||
|
|
||||||
export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
|
export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject";
|
||||||
export const getProject: typeof import("./getProject").getProject = null as any;
|
export const getProject: typeof import("./getProject").getProject = null as any;
|
||||||
export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any;
|
export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any;
|
||||||
utilities.lazyLoad(exports, ["getProject","getProjectOutput"], () => require("./getProject"));
|
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 getStorageBucket: typeof import("./getStorageBucket").getStorageBucket = null as any;
|
||||||
export const getStorageBucketOutput: typeof import("./getStorageBucket").getStorageBucketOutput = null as any;
|
export const getStorageBucketOutput: typeof import("./getStorageBucket").getStorageBucketOutput =
|
||||||
utilities.lazyLoad(exports, ["getStorageBucket","getStorageBucketOutput"], () => require("./getStorageBucket"));
|
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 getStoragePool: typeof import("./getStoragePool").getStoragePool = null as any;
|
||||||
export const getStoragePoolOutput: typeof import("./getStoragePool").getStoragePoolOutput = null as any;
|
export const getStoragePoolOutput: typeof import("./getStoragePool").getStoragePoolOutput =
|
||||||
utilities.lazyLoad(exports, ["getStoragePool","getStoragePoolOutput"], () => require("./getStoragePool"));
|
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 getStorageVolume: typeof import("./getStorageVolume").getStorageVolume = null as any;
|
||||||
export const getStorageVolumeOutput: typeof import("./getStorageVolume").getStorageVolumeOutput = null as any;
|
export const getStorageVolumeOutput: typeof import("./getStorageVolume").getStorageVolumeOutput =
|
||||||
utilities.lazyLoad(exports, ["getStorageVolume","getStorageVolumeOutput"], () => require("./getStorageVolume"));
|
null as any;
|
||||||
|
utilities.lazyLoad(exports, ["getStorageVolume", "getStorageVolumeOutput"], () =>
|
||||||
|
require("./getStorageVolume"),
|
||||||
|
);
|
||||||
|
|
||||||
export { ImageArgs, ImageState } from "./image";
|
export { ImageArgs, ImageState } from "./image";
|
||||||
export type Image = import("./image").Image;
|
export type Image = import("./image").Image;
|
||||||
@@ -127,7 +198,8 @@ utilities.lazyLoad(exports, ["NetworkAcl"], () => require("./networkAcl"));
|
|||||||
|
|
||||||
export { NetworkAddressSetArgs, NetworkAddressSetState } from "./networkAddressSet";
|
export { NetworkAddressSetArgs, NetworkAddressSetState } from "./networkAddressSet";
|
||||||
export type NetworkAddressSet = import("./networkAddressSet").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"));
|
utilities.lazyLoad(exports, ["NetworkAddressSet"], () => require("./networkAddressSet"));
|
||||||
|
|
||||||
export { NetworkForwardArgs, NetworkForwardState } from "./networkForward";
|
export { NetworkForwardArgs, NetworkForwardState } from "./networkForward";
|
||||||
@@ -137,12 +209,14 @@ utilities.lazyLoad(exports, ["NetworkForward"], () => require("./networkForward"
|
|||||||
|
|
||||||
export { NetworkIntegrationArgs, NetworkIntegrationState } from "./networkIntegration";
|
export { NetworkIntegrationArgs, NetworkIntegrationState } from "./networkIntegration";
|
||||||
export type NetworkIntegration = import("./networkIntegration").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"));
|
utilities.lazyLoad(exports, ["NetworkIntegration"], () => require("./networkIntegration"));
|
||||||
|
|
||||||
export { NetworkLoadBalancerArgs, NetworkLoadBalancerState } from "./networkLoadBalancer";
|
export { NetworkLoadBalancerArgs, NetworkLoadBalancerState } from "./networkLoadBalancer";
|
||||||
export type NetworkLoadBalancer = import("./networkLoadBalancer").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"));
|
utilities.lazyLoad(exports, ["NetworkLoadBalancer"], () => require("./networkLoadBalancer"));
|
||||||
|
|
||||||
export { NetworkPeerArgs, NetworkPeerState } from "./networkPeer";
|
export { NetworkPeerArgs, NetworkPeerState } from "./networkPeer";
|
||||||
@@ -157,7 +231,8 @@ utilities.lazyLoad(exports, ["NetworkZone"], () => require("./networkZone"));
|
|||||||
|
|
||||||
export { NetworkZoneRecordArgs, NetworkZoneRecordState } from "./networkZoneRecord";
|
export { NetworkZoneRecordArgs, NetworkZoneRecordState } from "./networkZoneRecord";
|
||||||
export type NetworkZoneRecord = import("./networkZoneRecord").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"));
|
utilities.lazyLoad(exports, ["NetworkZoneRecord"], () => require("./networkZoneRecord"));
|
||||||
|
|
||||||
export { ProfileArgs, ProfileState } from "./profile";
|
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;
|
export const StorageVolume: typeof import("./storageVolume").StorageVolume = null as any;
|
||||||
utilities.lazyLoad(exports, ["StorageVolume"], () => require("./storageVolume"));
|
utilities.lazyLoad(exports, ["StorageVolume"], () => require("./storageVolume"));
|
||||||
|
|
||||||
|
|
||||||
// Export sub-modules:
|
// Export sub-modules:
|
||||||
import * as config from "./config";
|
import * as config from "./config";
|
||||||
import * as types from "./types";
|
import * as types from "./types";
|
||||||
|
|
||||||
export {
|
export { config, types };
|
||||||
config,
|
|
||||||
types,
|
|
||||||
};
|
|
||||||
|
|
||||||
const _module = {
|
const _module = {
|
||||||
version: utilities.getVersion(),
|
version: utilities.getVersion(),
|
||||||
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "incus:index/certificate:Certificate":
|
case "incus:index/certificate:Certificate":
|
||||||
return new Certificate(name, <any>undefined, { urn })
|
return new Certificate(name, <any>undefined, { urn });
|
||||||
case "incus:index/clusterGroup:ClusterGroup":
|
case "incus:index/clusterGroup:ClusterGroup":
|
||||||
return new ClusterGroup(name, <any>undefined, { urn })
|
return new ClusterGroup(name, <any>undefined, { urn });
|
||||||
case "incus:index/clusterGroupMember:ClusterGroupMember":
|
case "incus:index/clusterGroupMember:ClusterGroupMember":
|
||||||
return new ClusterGroupMember(name, <any>undefined, { urn })
|
return new ClusterGroupMember(name, <any>undefined, { urn });
|
||||||
case "incus:index/image:Image":
|
case "incus:index/image:Image":
|
||||||
return new Image(name, <any>undefined, { urn })
|
return new Image(name, <any>undefined, { urn });
|
||||||
case "incus:index/instance:Instance":
|
case "incus:index/instance:Instance":
|
||||||
return new Instance(name, <any>undefined, { urn })
|
return new Instance(name, <any>undefined, { urn });
|
||||||
case "incus:index/instanceSnapshot:InstanceSnapshot":
|
case "incus:index/instanceSnapshot:InstanceSnapshot":
|
||||||
return new InstanceSnapshot(name, <any>undefined, { urn })
|
return new InstanceSnapshot(name, <any>undefined, { urn });
|
||||||
case "incus:index/network:Network":
|
case "incus:index/network:Network":
|
||||||
return new Network(name, <any>undefined, { urn })
|
return new Network(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkAcl:NetworkAcl":
|
case "incus:index/networkAcl:NetworkAcl":
|
||||||
return new NetworkAcl(name, <any>undefined, { urn })
|
return new NetworkAcl(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkAddressSet:NetworkAddressSet":
|
case "incus:index/networkAddressSet:NetworkAddressSet":
|
||||||
return new NetworkAddressSet(name, <any>undefined, { urn })
|
return new NetworkAddressSet(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkForward:NetworkForward":
|
case "incus:index/networkForward:NetworkForward":
|
||||||
return new NetworkForward(name, <any>undefined, { urn })
|
return new NetworkForward(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkIntegration:NetworkIntegration":
|
case "incus:index/networkIntegration:NetworkIntegration":
|
||||||
return new NetworkIntegration(name, <any>undefined, { urn })
|
return new NetworkIntegration(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkLoadBalancer:NetworkLoadBalancer":
|
case "incus:index/networkLoadBalancer:NetworkLoadBalancer":
|
||||||
return new NetworkLoadBalancer(name, <any>undefined, { urn })
|
return new NetworkLoadBalancer(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkPeer:NetworkPeer":
|
case "incus:index/networkPeer:NetworkPeer":
|
||||||
return new NetworkPeer(name, <any>undefined, { urn })
|
return new NetworkPeer(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkZone:NetworkZone":
|
case "incus:index/networkZone:NetworkZone":
|
||||||
return new NetworkZone(name, <any>undefined, { urn })
|
return new NetworkZone(name, <any>undefined, { urn });
|
||||||
case "incus:index/networkZoneRecord:NetworkZoneRecord":
|
case "incus:index/networkZoneRecord:NetworkZoneRecord":
|
||||||
return new NetworkZoneRecord(name, <any>undefined, { urn })
|
return new NetworkZoneRecord(name, <any>undefined, { urn });
|
||||||
case "incus:index/profile:Profile":
|
case "incus:index/profile:Profile":
|
||||||
return new Profile(name, <any>undefined, { urn })
|
return new Profile(name, <any>undefined, { urn });
|
||||||
case "incus:index/project:Project":
|
case "incus:index/project:Project":
|
||||||
return new Project(name, <any>undefined, { urn })
|
return new Project(name, <any>undefined, { urn });
|
||||||
case "incus:index/server:Server":
|
case "incus:index/server:Server":
|
||||||
return new Server(name, <any>undefined, { urn })
|
return new Server(name, <any>undefined, { urn });
|
||||||
case "incus:index/storageBucket:StorageBucket":
|
case "incus:index/storageBucket:StorageBucket":
|
||||||
return new StorageBucket(name, <any>undefined, { urn })
|
return new StorageBucket(name, <any>undefined, { urn });
|
||||||
case "incus:index/storageBucketKey:StorageBucketKey":
|
case "incus:index/storageBucketKey:StorageBucketKey":
|
||||||
return new StorageBucketKey(name, <any>undefined, { urn })
|
return new StorageBucketKey(name, <any>undefined, { urn });
|
||||||
case "incus:index/storagePool:StoragePool":
|
case "incus:index/storagePool:StoragePool":
|
||||||
return new StoragePool(name, <any>undefined, { urn })
|
return new StoragePool(name, <any>undefined, { urn });
|
||||||
case "incus:index/storageVolume:StorageVolume":
|
case "incus:index/storageVolume:StorageVolume":
|
||||||
return new StorageVolume(name, <any>undefined, { urn })
|
return new StorageVolume(name, <any>undefined, { urn });
|
||||||
default:
|
default:
|
||||||
throw new Error(`unknown resource type ${type}`);
|
throw new Error(`unknown resource type ${type}`);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/certificate", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/certificate", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/clusterGroup", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/clusterGroup", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/clusterGroupMember", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/clusterGroupMember", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/image", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/image", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/instance", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/instance", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/instanceSnapshot", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/instanceSnapshot", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/network", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/network", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkAcl", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkAcl", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkAddressSet", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkAddressSet", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkForward", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkForward", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkIntegration", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkIntegration", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkLoadBalancer", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkLoadBalancer", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkPeer", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkPeer", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkZone", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkZone", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/networkZoneRecord", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/networkZoneRecord", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/profile", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/profile", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/project", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/project", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/server", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/server", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/storageBucket", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/storageBucket", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/storageBucketKey", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/storageBucketKey", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/storagePool", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/storagePool", _module);
|
||||||
pulumi.runtime.registerResourceModule("incus", "index/storageVolume", _module)
|
pulumi.runtime.registerResourceModule("incus", "index/storageVolume", _module);
|
||||||
pulumi.runtime.registerResourcePackage("incus", {
|
pulumi.runtime.registerResourcePackage("incus", {
|
||||||
version: utilities.getVersion(),
|
version: utilities.getVersion(),
|
||||||
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
|
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
|
||||||
|
|||||||
39
sdk/nodejs/instance.ts
generated
39
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Instance(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === Instance.__pulumiType;
|
return obj["__pulumiType"] === Instance.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -42,7 +47,7 @@ export class Instance extends pulumi.CustomResource {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the instance.
|
* *Optional* - Description of the instance.
|
||||||
*/
|
*/
|
||||||
@@ -68,17 +73,17 @@ export class Instance extends pulumi.CustomResource {
|
|||||||
* The IPv4 Address of the instance. See Instance Network
|
* The IPv4 Address of the instance. See Instance Network
|
||||||
* Access for more details.
|
* 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
|
* The IPv6 Address of the instance. See Instance Network
|
||||||
* Access for more details.
|
* 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
|
* The MAC address of the detected NIC. See Instance Network
|
||||||
* Access for more details.
|
* 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.
|
* **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.
|
* *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.
|
* 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.
|
* *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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: InstanceArgs | InstanceState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: InstanceArgs | InstanceState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -176,7 +187,7 @@ export class Instance extends pulumi.CustomResource {
|
|||||||
resourceInputs["image"] = args?.image;
|
resourceInputs["image"] = args?.image;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["profiles"] = args?.profiles;
|
resourceInputs["profiles"] = args?.profiles;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["running"] = args?.running;
|
resourceInputs["running"] = args?.running;
|
||||||
resourceInputs["sourceFile"] = args?.sourceFile;
|
resourceInputs["sourceFile"] = args?.sourceFile;
|
||||||
@@ -206,7 +217,7 @@ export interface InstanceState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the instance.
|
* *Optional* - Description of the instance.
|
||||||
*/
|
*/
|
||||||
@@ -305,7 +316,7 @@ export interface InstanceArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the instance.
|
* *Optional* - Description of the instance.
|
||||||
*/
|
*/
|
||||||
|
|||||||
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new InstanceSnapshot(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === InstanceSnapshot.__pulumiType;
|
return obj["__pulumiType"] === InstanceSnapshot.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The time Incus reported the snapshot was successfully created,
|
* The time Incus reported the snapshot was successfully created,
|
||||||
* in UTC.
|
* 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.
|
* **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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: InstanceSnapshotArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: InstanceSnapshotArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: InstanceSnapshotArgs | InstanceSnapshotState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: InstanceSnapshotArgs | InstanceSnapshotState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -112,7 +121,7 @@ export class InstanceSnapshot extends pulumi.CustomResource {
|
|||||||
}
|
}
|
||||||
resourceInputs["instance"] = args?.instance;
|
resourceInputs["instance"] = args?.instance;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["stateful"] = args?.stateful;
|
resourceInputs["stateful"] = args?.stateful;
|
||||||
resourceInputs["createdAt"] = undefined /*out*/;
|
resourceInputs["createdAt"] = undefined /*out*/;
|
||||||
|
|||||||
29
sdk/nodejs/network.ts
generated
29
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Network(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of Network. This is designed to work even
|
||||||
@@ -29,14 +34,14 @@ export class Network extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === Network.__pulumiType;
|
return obj["__pulumiType"] === Network.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network config settings](https://linuxcontainers.org/incus/docs/main/networks/).
|
* [network config settings](https://linuxcontainers.org/incus/docs/main/networks/).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
* *Optional* - Description of the network. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
||||||
*/
|
*/
|
||||||
@@ -44,7 +49,7 @@ export class Network extends pulumi.CustomResource {
|
|||||||
/**
|
/**
|
||||||
* Whether or not the network is managed.
|
* 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
|
* **Required** - Name of the network. This is usually the device the
|
||||||
* network will appear as to instances.
|
* 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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkArgs | NetworkState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkArgs | NetworkState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -99,7 +108,7 @@ export class Network extends pulumi.CustomResource {
|
|||||||
resourceInputs["config"] = args?.config;
|
resourceInputs["config"] = args?.config;
|
||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["target"] = args?.target;
|
resourceInputs["target"] = args?.target;
|
||||||
resourceInputs["type"] = args?.type;
|
resourceInputs["type"] = args?.type;
|
||||||
@@ -118,7 +127,7 @@ export interface NetworkState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network config settings](https://linuxcontainers.org/incus/docs/main/networks/).
|
* [network config settings](https://linuxcontainers.org/incus/docs/main/networks/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
* *Optional* - Description of the network. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
||||||
*/
|
*/
|
||||||
@@ -161,7 +170,7 @@ export interface NetworkArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network config settings](https://linuxcontainers.org/incus/docs/main/networks/).
|
* [network config settings](https://linuxcontainers.org/incus/docs/main/networks/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
* *Optional* - Description of the network. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
||||||
*/
|
*/
|
||||||
|
|||||||
27
sdk/nodejs/networkAcl.ts
generated
27
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkAcl(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkAcl. This is designed to work even
|
||||||
@@ -31,14 +36,14 @@ export class NetworkAcl extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkAcl.__pulumiType;
|
return obj["__pulumiType"] === NetworkAcl.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* network ACL config settings.
|
* network ACL config settings.
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network ACL rule.
|
* *Optional* - Description of the network ACL rule.
|
||||||
*/
|
*/
|
||||||
@@ -74,8 +79,12 @@ export class NetworkAcl extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkAclArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkAclArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkAclArgs | NetworkAclState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkAclArgs | NetworkAclState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -97,7 +106,7 @@ export class NetworkAcl extends pulumi.CustomResource {
|
|||||||
resourceInputs["egresses"] = args?.egresses;
|
resourceInputs["egresses"] = args?.egresses;
|
||||||
resourceInputs["ingresses"] = args?.ingresses;
|
resourceInputs["ingresses"] = args?.ingresses;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
}
|
}
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||||
@@ -113,7 +122,7 @@ export interface NetworkAclState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* network ACL config settings.
|
* network ACL config settings.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network ACL rule.
|
* *Optional* - Description of the network ACL rule.
|
||||||
*/
|
*/
|
||||||
@@ -151,7 +160,7 @@ export interface NetworkAclArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* network ACL config settings.
|
* network ACL config settings.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network ACL rule.
|
* *Optional* - Description of the network ACL rule.
|
||||||
*/
|
*/
|
||||||
|
|||||||
25
sdk/nodejs/networkAddressSet.ts
generated
25
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkAddressSet(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkAddressSet.__pulumiType;
|
return obj["__pulumiType"] === NetworkAddressSet.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -87,7 +92,7 @@ export class NetworkAddressSet extends pulumi.CustomResource {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [network address set config settings](https://linuxcontainers.org/incus/docs/main/howto/network_address_sets/#address-set-configuration-options)
|
* *Optional* - Map of key/value pairs of [network address set config settings](https://linuxcontainers.org/incus/docs/main/howto/network_address_sets/#address-set-configuration-options)
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network address set.
|
* *Optional* - Description of the network address set.
|
||||||
*/
|
*/
|
||||||
@@ -113,8 +118,12 @@ export class NetworkAddressSet extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkAddressSetArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkAddressSetArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkAddressSetArgs | NetworkAddressSetState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkAddressSetArgs | NetworkAddressSetState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -156,7 +165,7 @@ export interface NetworkAddressSetState {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [network address set config settings](https://linuxcontainers.org/incus/docs/main/howto/network_address_sets/#address-set-configuration-options)
|
* *Optional* - Map of key/value pairs of [network address set config settings](https://linuxcontainers.org/incus/docs/main/howto/network_address_sets/#address-set-configuration-options)
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network address set.
|
* *Optional* - Description of the network address set.
|
||||||
*/
|
*/
|
||||||
@@ -187,7 +196,7 @@ export interface NetworkAddressSetArgs {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [network address set config settings](https://linuxcontainers.org/incus/docs/main/howto/network_address_sets/#address-set-configuration-options)
|
* *Optional* - Map of key/value pairs of [network address set config settings](https://linuxcontainers.org/incus/docs/main/howto/network_address_sets/#address-set-configuration-options)
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network address set.
|
* *Optional* - Description of the network address set.
|
||||||
*/
|
*/
|
||||||
|
|||||||
25
sdk/nodejs/networkForward.ts
generated
25
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkForward(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkForward. This is designed to work even
|
||||||
@@ -31,14 +36,14 @@ export class NetworkForward extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkForward.__pulumiType;
|
return obj["__pulumiType"] === NetworkForward.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* network forward config settings.
|
* network forward config settings.
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of port(s)
|
* *Optional* - Description of port(s)
|
||||||
*/
|
*/
|
||||||
@@ -74,8 +79,12 @@ export class NetworkForward extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkForwardArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkForwardArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkForwardArgs | NetworkForwardState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkForwardArgs | NetworkForwardState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -116,7 +125,7 @@ export interface NetworkForwardState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* network forward config settings.
|
* network forward config settings.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of port(s)
|
* *Optional* - Description of port(s)
|
||||||
*/
|
*/
|
||||||
@@ -154,7 +163,7 @@ export interface NetworkForwardArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* network forward config settings.
|
* network forward config settings.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of port(s)
|
* *Optional* - Description of port(s)
|
||||||
*/
|
*/
|
||||||
|
|||||||
27
sdk/nodejs/networkIntegration.ts
generated
27
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkIntegration(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkIntegration. This is designed to work even
|
||||||
@@ -80,13 +85,13 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkIntegration.__pulumiType;
|
return obj["__pulumiType"] === NetworkIntegration.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [network integration config settings](https://linuxcontainers.org/incus/docs/main/howto/network_integrations/)
|
* *Optional* - Map of key/value pairs of [network integration config settings](https://linuxcontainers.org/incus/docs/main/howto/network_integrations/)
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network integration.
|
* *Optional* - Description of the network integration.
|
||||||
*/
|
*/
|
||||||
@@ -116,8 +121,12 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkIntegrationArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkIntegrationArgs | NetworkIntegrationState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkIntegrationArgs | NetworkIntegrationState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -139,7 +148,7 @@ export class NetworkIntegration extends pulumi.CustomResource {
|
|||||||
resourceInputs["config"] = args?.config;
|
resourceInputs["config"] = args?.config;
|
||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["type"] = args?.type;
|
resourceInputs["type"] = args?.type;
|
||||||
}
|
}
|
||||||
@@ -155,7 +164,7 @@ export interface NetworkIntegrationState {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [network integration config settings](https://linuxcontainers.org/incus/docs/main/howto/network_integrations/)
|
* *Optional* - Map of key/value pairs of [network integration config settings](https://linuxcontainers.org/incus/docs/main/howto/network_integrations/)
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network integration.
|
* *Optional* - Description of the network integration.
|
||||||
*/
|
*/
|
||||||
@@ -186,7 +195,7 @@ export interface NetworkIntegrationArgs {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [network integration config settings](https://linuxcontainers.org/incus/docs/main/howto/network_integrations/)
|
* *Optional* - Map of key/value pairs of [network integration config settings](https://linuxcontainers.org/incus/docs/main/howto/network_integrations/)
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network integration.
|
* *Optional* - Description of the network integration.
|
||||||
*/
|
*/
|
||||||
|
|||||||
29
sdk/nodejs/networkLoadBalancer.ts
generated
29
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkLoadBalancer(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkLoadBalancer. This is designed to work even
|
||||||
@@ -31,14 +36,16 @@ export class NetworkLoadBalancer extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkLoadBalancer.__pulumiType;
|
return obj["__pulumiType"] === NetworkLoadBalancer.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Network load balancer backend
|
* Network load balancer backend
|
||||||
*/
|
*/
|
||||||
declare public readonly backends: pulumi.Output<outputs.NetworkLoadBalancerBackend[] | undefined>;
|
declare public readonly backends: pulumi.Output<
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
outputs.NetworkLoadBalancerBackend[] | undefined
|
||||||
|
>;
|
||||||
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
declare public readonly description: pulumi.Output<string>;
|
declare public readonly description: pulumi.Output<string>;
|
||||||
declare public readonly listenAddress: pulumi.Output<string>;
|
declare public readonly listenAddress: pulumi.Output<string>;
|
||||||
declare public readonly network: pulumi.Output<string>;
|
declare public readonly network: 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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkLoadBalancerArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkLoadBalancerArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkLoadBalancerArgs | NetworkLoadBalancerState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkLoadBalancerArgs | NetworkLoadBalancerState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -100,7 +111,7 @@ export interface NetworkLoadBalancerState {
|
|||||||
* Network load balancer backend
|
* Network load balancer backend
|
||||||
*/
|
*/
|
||||||
backends?: pulumi.Input<pulumi.Input<inputs.NetworkLoadBalancerBackend>[]>;
|
backends?: pulumi.Input<pulumi.Input<inputs.NetworkLoadBalancerBackend>[]>;
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
description?: pulumi.Input<string>;
|
description?: pulumi.Input<string>;
|
||||||
listenAddress?: pulumi.Input<string>;
|
listenAddress?: pulumi.Input<string>;
|
||||||
network?: pulumi.Input<string>;
|
network?: pulumi.Input<string>;
|
||||||
@@ -120,7 +131,7 @@ export interface NetworkLoadBalancerArgs {
|
|||||||
* Network load balancer backend
|
* Network load balancer backend
|
||||||
*/
|
*/
|
||||||
backends?: pulumi.Input<pulumi.Input<inputs.NetworkLoadBalancerBackend>[]>;
|
backends?: pulumi.Input<pulumi.Input<inputs.NetworkLoadBalancerBackend>[]>;
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
description?: pulumi.Input<string>;
|
description?: pulumi.Input<string>;
|
||||||
listenAddress: pulumi.Input<string>;
|
listenAddress: pulumi.Input<string>;
|
||||||
network: pulumi.Input<string>;
|
network: pulumi.Input<string>;
|
||||||
|
|||||||
29
sdk/nodejs/networkPeer.ts
generated
29
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkPeer(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkPeer. This is designed to work even
|
||||||
@@ -75,13 +80,13 @@ export class NetworkPeer extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkPeer.__pulumiType;
|
return obj["__pulumiType"] === NetworkPeer.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Configuration options as key/value pairs (only user.* custom keys supported)
|
* *Optional* - Configuration options as key/value pairs (only user.* custom keys supported)
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network peering
|
* *Optional* - Description of the network peering
|
||||||
*/
|
*/
|
||||||
@@ -103,7 +108,7 @@ export class NetworkPeer extends pulumi.CustomResource {
|
|||||||
* not provided, the provider's default remote will be used.
|
* not provided, the provider's default remote will be used.
|
||||||
*/
|
*/
|
||||||
declare public readonly remote: pulumi.Output<string | undefined>;
|
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>;
|
declare public readonly targetIntegration: pulumi.Output<string>;
|
||||||
/**
|
/**
|
||||||
* **required** - Which network to create a peering with (required at create time for local peers)
|
* **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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkPeerArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkPeerArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkPeerArgs | NetworkPeerState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkPeerArgs | NetworkPeerState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -151,7 +160,7 @@ export class NetworkPeer extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["network"] = args?.network;
|
resourceInputs["network"] = args?.network;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["targetIntegration"] = args?.targetIntegration;
|
resourceInputs["targetIntegration"] = args?.targetIntegration;
|
||||||
resourceInputs["targetNetwork"] = args?.targetNetwork;
|
resourceInputs["targetNetwork"] = args?.targetNetwork;
|
||||||
@@ -171,7 +180,7 @@ export interface NetworkPeerState {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Configuration options as key/value pairs (only user.* custom keys supported)
|
* *Optional* - Configuration options as key/value pairs (only user.* custom keys supported)
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network peering
|
* *Optional* - Description of the network peering
|
||||||
*/
|
*/
|
||||||
@@ -216,7 +225,7 @@ export interface NetworkPeerArgs {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Configuration options as key/value pairs (only user.* custom keys supported)
|
* *Optional* - Configuration options as key/value pairs (only user.* custom keys supported)
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network peering
|
* *Optional* - Description of the network peering
|
||||||
*/
|
*/
|
||||||
|
|||||||
27
sdk/nodejs/networkZone.ts
generated
27
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkZone(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkZone. This is designed to work even
|
||||||
@@ -29,14 +34,14 @@ export class NetworkZone extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkZone.__pulumiType;
|
return obj["__pulumiType"] === NetworkZone.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network zone.
|
* *Optional* - Description of the network zone.
|
||||||
*/
|
*/
|
||||||
@@ -62,8 +67,12 @@ export class NetworkZone extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkZoneArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkZoneArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkZoneArgs | NetworkZoneState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkZoneArgs | NetworkZoneState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -81,7 +90,7 @@ export class NetworkZone extends pulumi.CustomResource {
|
|||||||
resourceInputs["config"] = args?.config;
|
resourceInputs["config"] = args?.config;
|
||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
}
|
}
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||||
@@ -97,7 +106,7 @@ export interface NetworkZoneState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network zone.
|
* *Optional* - Description of the network zone.
|
||||||
*/
|
*/
|
||||||
@@ -125,7 +134,7 @@ export interface NetworkZoneArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network zone.
|
* *Optional* - Description of the network zone.
|
||||||
*/
|
*/
|
||||||
|
|||||||
27
sdk/nodejs/networkZoneRecord.ts
generated
27
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new NetworkZoneRecord(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of NetworkZoneRecord. This is designed to work even
|
||||||
@@ -31,14 +36,14 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === NetworkZoneRecord.__pulumiType;
|
return obj["__pulumiType"] === NetworkZoneRecord.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network zone.
|
* *Optional* - Description of the network zone.
|
||||||
*/
|
*/
|
||||||
@@ -72,8 +77,12 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: NetworkZoneRecordArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: NetworkZoneRecordArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: NetworkZoneRecordArgs | NetworkZoneRecordState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: NetworkZoneRecordArgs | NetworkZoneRecordState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -97,7 +106,7 @@ export class NetworkZoneRecord extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["entries"] = args?.entries;
|
resourceInputs["entries"] = args?.entries;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["zone"] = args?.zone;
|
resourceInputs["zone"] = args?.zone;
|
||||||
}
|
}
|
||||||
@@ -114,7 +123,7 @@ export interface NetworkZoneRecordState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network zone.
|
* *Optional* - Description of the network zone.
|
||||||
*/
|
*/
|
||||||
@@ -150,7 +159,7 @@ export interface NetworkZoneRecordArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
* [network zoneConfig settings](https://linuxcontainers.org/incus/docs/main/howto/network_zones/#configuration-options).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the network zone.
|
* *Optional* - Description of the network zone.
|
||||||
*/
|
*/
|
||||||
|
|||||||
6
sdk/nodejs/package.json
generated
6
sdk/nodejs/package.json
generated
@@ -17,7 +17,8 @@
|
|||||||
"@pulumi/pulumi": "^3.142.0"
|
"@pulumi/pulumi": "^3.142.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18",
|
"@types/node": "^24.10.1",
|
||||||
|
"oxfmt": "^0.17.0",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
},
|
},
|
||||||
"pulumi": {
|
"pulumi": {
|
||||||
@@ -25,5 +26,6 @@
|
|||||||
"name": "incus",
|
"name": "incus",
|
||||||
"version": "1.0.0-alpha.0+dev",
|
"version": "1.0.0-alpha.0+dev",
|
||||||
"server": "https://git.kalinow.ski/api/packages/kiterun/generic/pulumi-incus/${VERSION}/"
|
"server": "https://git.kalinow.ski/api/packages/kiterun/generic/pulumi-incus/${VERSION}/"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
|
||||||
}
|
}
|
||||||
|
|||||||
27
sdk/nodejs/profile.ts
generated
27
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Profile(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of Profile. This is designed to work even
|
||||||
@@ -31,14 +36,14 @@ export class Profile extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === Profile.__pulumiType;
|
return obj["__pulumiType"] === Profile.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the profile.
|
* *Optional* - Description of the profile.
|
||||||
*/
|
*/
|
||||||
@@ -68,8 +73,12 @@ export class Profile extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: ProfileArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: ProfileArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: ProfileArgs | ProfileState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: ProfileArgs | ProfileState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -89,7 +98,7 @@ export class Profile extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["devices"] = args?.devices;
|
resourceInputs["devices"] = args?.devices;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
}
|
}
|
||||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||||
@@ -105,7 +114,7 @@ export interface ProfileState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the profile.
|
* *Optional* - Description of the profile.
|
||||||
*/
|
*/
|
||||||
@@ -137,7 +146,7 @@ export interface ProfileArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
* [instance config settings](https://linuxcontainers.org/incus/docs/main/reference/instance_options/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the profile.
|
* *Optional* - Description of the profile.
|
||||||
*/
|
*/
|
||||||
|
|||||||
25
sdk/nodejs/project.ts
generated
25
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Project(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of Project. This is designed to work even
|
||||||
@@ -29,13 +34,13 @@ export class Project extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === Project.__pulumiType;
|
return obj["__pulumiType"] === Project.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [project config settings](https://linuxcontainers.org/incus/docs/main/reference/projects/).
|
* *Optional* - Map of key/value pairs of [project config settings](https://linuxcontainers.org/incus/docs/main/reference/projects/).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the project.
|
* *Optional* - Description of the project.
|
||||||
*/
|
*/
|
||||||
@@ -61,8 +66,12 @@ export class Project extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: ProjectArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: ProjectArgs | ProjectState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: ProjectArgs | ProjectState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -95,7 +104,7 @@ export interface ProjectState {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [project config settings](https://linuxcontainers.org/incus/docs/main/reference/projects/).
|
* *Optional* - Map of key/value pairs of [project config settings](https://linuxcontainers.org/incus/docs/main/reference/projects/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the project.
|
* *Optional* - Description of the project.
|
||||||
*/
|
*/
|
||||||
@@ -122,7 +131,7 @@ export interface ProjectArgs {
|
|||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of [project config settings](https://linuxcontainers.org/incus/docs/main/reference/projects/).
|
* *Optional* - Map of key/value pairs of [project config settings](https://linuxcontainers.org/incus/docs/main/reference/projects/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the project.
|
* *Optional* - Description of the project.
|
||||||
*/
|
*/
|
||||||
|
|||||||
25
sdk/nodejs/provider.ts
generated
25
sdk/nodejs/provider.ts
generated
@@ -14,7 +14,7 @@ import * as utilities from "./utilities";
|
|||||||
*/
|
*/
|
||||||
export class Provider extends pulumi.ProviderResource {
|
export class Provider extends pulumi.ProviderResource {
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
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 = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
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["configDir"] = args?.configDir;
|
||||||
resourceInputs["defaultRemote"] = args?.defaultRemote;
|
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["project"] = args?.project;
|
||||||
resourceInputs["remotes"] = pulumi.output(args?.remotes).apply(JSON.stringify);
|
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.
|
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
||||||
*/
|
*/
|
||||||
terraformConfig(): pulumi.Output<Provider.TerraformConfigResult> {
|
terraformConfig(): pulumi.Output<Provider.TerraformConfigResult> {
|
||||||
return pulumi.runtime.call("pulumi:providers:incus/terraformConfig", {
|
return pulumi.runtime.call(
|
||||||
"__self__": this,
|
"pulumi:providers:incus/terraformConfig",
|
||||||
}, this);
|
{
|
||||||
|
__self__: this,
|
||||||
|
},
|
||||||
|
this,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -107,7 +115,6 @@ export namespace Provider {
|
|||||||
* The results of the Provider.terraformConfig method.
|
* The results of the Provider.terraformConfig method.
|
||||||
*/
|
*/
|
||||||
export interface TerraformConfigResult {
|
export interface TerraformConfigResult {
|
||||||
readonly result: {[key: string]: any};
|
readonly result: { [key: string]: any };
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
25
sdk/nodejs/server.ts
generated
25
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new Server(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* Returns true if the given object is an instance of Server. This is designed to work even
|
||||||
@@ -29,14 +34,14 @@ export class Server extends pulumi.CustomResource {
|
|||||||
if (obj === undefined || obj === null) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === Server.__pulumiType;
|
return obj["__pulumiType"] === Server.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [server config settings](https://linuxcontainers.org/incus/docs/main/server_config/).
|
* [server config settings](https://linuxcontainers.org/incus/docs/main/server_config/).
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - The remote in which the resource will be created. If
|
* *Optional* - The remote in which the resource will be created. If
|
||||||
* not provided, the provider's default remote will be used.
|
* not provided, the provider's default remote will be used.
|
||||||
@@ -56,8 +61,12 @@ export class Server extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args?: ServerArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args?: ServerArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: ServerArgs | ServerState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: ServerArgs | ServerState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -84,7 +93,7 @@ export interface ServerState {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [server config settings](https://linuxcontainers.org/incus/docs/main/server_config/).
|
* [server config settings](https://linuxcontainers.org/incus/docs/main/server_config/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - The remote in which the resource will be created. If
|
* *Optional* - The remote in which the resource will be created. If
|
||||||
* not provided, the provider's default remote will be used.
|
* not provided, the provider's default remote will be used.
|
||||||
@@ -106,7 +115,7 @@ export interface ServerArgs {
|
|||||||
* *Optional* - Map of key/value pairs of
|
* *Optional* - Map of key/value pairs of
|
||||||
* [server config settings](https://linuxcontainers.org/incus/docs/main/server_config/).
|
* [server config settings](https://linuxcontainers.org/incus/docs/main/server_config/).
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - The remote in which the resource will be created. If
|
* *Optional* - The remote in which the resource will be created. If
|
||||||
* not provided, the provider's default remote will be used.
|
* not provided, the provider's default remote will be used.
|
||||||
|
|||||||
29
sdk/nodejs/storageBucket.ts
generated
29
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new StorageBucket(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === StorageBucket.__pulumiType;
|
return obj["__pulumiType"] === StorageBucket.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -37,7 +42,7 @@ export class StorageBucket extends pulumi.CustomResource {
|
|||||||
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/howto/storage_buckets/#configure-storage-bucket-settings).
|
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/howto/storage_buckets/#configure-storage-bucket-settings).
|
||||||
* Config settings vary depending on the Storage Pool used.
|
* Config settings vary depending on the Storage Pool used.
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the storage bucket.
|
* *Optional* - Description of the storage bucket.
|
||||||
*/
|
*/
|
||||||
@@ -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.
|
* 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.
|
* **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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: StorageBucketArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: StorageBucketArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: StorageBucketArgs | StorageBucketState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: StorageBucketArgs | StorageBucketState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -106,7 +115,7 @@ export class StorageBucket extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["pool"] = args?.pool;
|
resourceInputs["pool"] = args?.pool;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["sourceFile"] = args?.sourceFile;
|
resourceInputs["sourceFile"] = args?.sourceFile;
|
||||||
resourceInputs["target"] = args?.target;
|
resourceInputs["target"] = args?.target;
|
||||||
@@ -126,7 +135,7 @@ export interface StorageBucketState {
|
|||||||
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/howto/storage_buckets/#configure-storage-bucket-settings).
|
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/howto/storage_buckets/#configure-storage-bucket-settings).
|
||||||
* Config settings vary depending on the Storage Pool used.
|
* Config settings vary depending on the Storage Pool used.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the storage bucket.
|
* *Optional* - Description of the storage bucket.
|
||||||
*/
|
*/
|
||||||
@@ -171,7 +180,7 @@ export interface StorageBucketArgs {
|
|||||||
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/howto/storage_buckets/#configure-storage-bucket-settings).
|
* [storage bucket config settings](https://linuxcontainers.org/incus/docs/main/howto/storage_buckets/#configure-storage-bucket-settings).
|
||||||
* Config settings vary depending on the Storage Pool used.
|
* Config settings vary depending on the Storage Pool used.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the storage bucket.
|
* *Optional* - Description of the storage bucket.
|
||||||
*/
|
*/
|
||||||
|
|||||||
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new StorageBucketKey(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === StorageBucketKey.__pulumiType;
|
return obj["__pulumiType"] === StorageBucketKey.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Access key of the storage bucket key.
|
* 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.
|
* *Optional* - Description of the storage bucket key.
|
||||||
*/
|
*/
|
||||||
@@ -65,7 +70,7 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
|||||||
/**
|
/**
|
||||||
* Secret key of the storage bucket key.
|
* 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.
|
* **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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: StorageBucketKeyArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: StorageBucketKeyArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: StorageBucketKeyArgs | StorageBucketKeyState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: StorageBucketKeyArgs | StorageBucketKeyState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -107,7 +116,7 @@ export class StorageBucketKey extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["pool"] = args?.pool;
|
resourceInputs["pool"] = args?.pool;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["role"] = args?.role;
|
resourceInputs["role"] = args?.role;
|
||||||
resourceInputs["storageBucket"] = args?.storageBucket;
|
resourceInputs["storageBucket"] = args?.storageBucket;
|
||||||
|
|||||||
27
sdk/nodejs/storagePool.ts
generated
27
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new StoragePool(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === StoragePool.__pulumiType;
|
return obj["__pulumiType"] === StoragePool.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -37,7 +42,7 @@ export class StoragePool extends pulumi.CustomResource {
|
|||||||
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
||||||
* Config settings vary from driver to driver.
|
* Config settings vary from driver to driver.
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
* *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
||||||
*/
|
*/
|
||||||
@@ -71,8 +76,12 @@ export class StoragePool extends pulumi.CustomResource {
|
|||||||
* @param args The arguments to use to populate this resource's properties.
|
* @param args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: StoragePoolArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: StoragePoolArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: StoragePoolArgs | StoragePoolState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: StoragePoolArgs | StoragePoolState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -96,7 +105,7 @@ export class StoragePool extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["driver"] = args?.driver;
|
resourceInputs["driver"] = args?.driver;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["target"] = args?.target;
|
resourceInputs["target"] = args?.target;
|
||||||
}
|
}
|
||||||
@@ -114,7 +123,7 @@ export interface StoragePoolState {
|
|||||||
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
||||||
* Config settings vary from driver to driver.
|
* Config settings vary from driver to driver.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
* *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
||||||
*/
|
*/
|
||||||
@@ -151,7 +160,7 @@ export interface StoragePoolArgs {
|
|||||||
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
* [storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
||||||
* Config settings vary from driver to driver.
|
* Config settings vary from driver to driver.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
* *Optional* - Description of the storage pool. `description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
|
||||||
*/
|
*/
|
||||||
|
|||||||
33
sdk/nodejs/storageVolume.ts
generated
33
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 state Any extra arguments used during the lookup.
|
||||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
* @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 });
|
return new StorageVolume(name, <any>state, { ...opts, id: id });
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @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
|
* 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) {
|
if (obj === undefined || obj === null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return obj['__pulumiType'] === StorageVolume.__pulumiType;
|
return obj["__pulumiType"] === StorageVolume.__pulumiType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -39,7 +44,7 @@ export class StorageVolume extends pulumi.CustomResource {
|
|||||||
* [volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
* [volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
||||||
* Config settings vary depending on the Storage Pool used.
|
* Config settings vary depending on the Storage Pool used.
|
||||||
*/
|
*/
|
||||||
declare public readonly config: pulumi.Output<{[key: string]: string}>;
|
declare public readonly config: pulumi.Output<{ [key: string]: string }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Volume content type (`filesystem` or `block`)
|
* *Optional* - Volume content type (`filesystem` or `block`)
|
||||||
*/
|
*/
|
||||||
@@ -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.
|
* 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.
|
* **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.
|
* *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.
|
* *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 args The arguments to use to populate this resource's properties.
|
||||||
* @param opts A bag of options that control this resource's behavior.
|
* @param opts A bag of options that control this resource's behavior.
|
||||||
*/
|
*/
|
||||||
constructor(name: string, args: StorageVolumeArgs, opts?: pulumi.CustomResourceOptions)
|
constructor(name: string, args: StorageVolumeArgs, opts?: pulumi.CustomResourceOptions);
|
||||||
constructor(name: string, argsOrState?: StorageVolumeArgs | StorageVolumeState, opts?: pulumi.CustomResourceOptions) {
|
constructor(
|
||||||
|
name: string,
|
||||||
|
argsOrState?: StorageVolumeArgs | StorageVolumeState,
|
||||||
|
opts?: pulumi.CustomResourceOptions,
|
||||||
|
) {
|
||||||
let resourceInputs: pulumi.Inputs = {};
|
let resourceInputs: pulumi.Inputs = {};
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
if (opts.id) {
|
if (opts.id) {
|
||||||
@@ -125,7 +136,7 @@ export class StorageVolume extends pulumi.CustomResource {
|
|||||||
resourceInputs["description"] = args?.description;
|
resourceInputs["description"] = args?.description;
|
||||||
resourceInputs["name"] = args?.name;
|
resourceInputs["name"] = args?.name;
|
||||||
resourceInputs["pool"] = args?.pool;
|
resourceInputs["pool"] = args?.pool;
|
||||||
resourceInputs["project"] = (args?.project) ?? "default";
|
resourceInputs["project"] = args?.project ?? "default";
|
||||||
resourceInputs["remote"] = args?.remote;
|
resourceInputs["remote"] = args?.remote;
|
||||||
resourceInputs["sourceFile"] = args?.sourceFile;
|
resourceInputs["sourceFile"] = args?.sourceFile;
|
||||||
resourceInputs["sourceVolume"] = args?.sourceVolume;
|
resourceInputs["sourceVolume"] = args?.sourceVolume;
|
||||||
@@ -147,7 +158,7 @@ export interface StorageVolumeState {
|
|||||||
* [volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
* [volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
||||||
* Config settings vary depending on the Storage Pool used.
|
* Config settings vary depending on the Storage Pool used.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Volume content type (`filesystem` or `block`)
|
* *Optional* - Volume content type (`filesystem` or `block`)
|
||||||
*/
|
*/
|
||||||
@@ -205,7 +216,7 @@ export interface StorageVolumeArgs {
|
|||||||
* [volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
* [volume config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
|
||||||
* Config settings vary depending on the Storage Pool used.
|
* Config settings vary depending on the Storage Pool used.
|
||||||
*/
|
*/
|
||||||
config?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
config?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* *Optional* - Volume content type (`filesystem` or `block`)
|
* *Optional* - Volume content type (`filesystem` or `block`)
|
||||||
*/
|
*/
|
||||||
|
|||||||
6
sdk/nodejs/tsconfig.json
generated
6
sdk/nodejs/tsconfig.json
generated
@@ -10,7 +10,7 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"strict": true
|
"strict": true,
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"certificate.ts",
|
"certificate.ts",
|
||||||
@@ -58,6 +58,6 @@
|
|||||||
"types/index.ts",
|
"types/index.ts",
|
||||||
"types/input.ts",
|
"types/input.ts",
|
||||||
"types/output.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 input from "./input";
|
||||||
import * as output from "./output";
|
import * as output from "./output";
|
||||||
|
|
||||||
export {
|
export { input, output };
|
||||||
input,
|
|
||||||
output,
|
|
||||||
};
|
|
||||||
|
|||||||
17
sdk/nodejs/types/input.ts
generated
17
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! ***
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||||
|
|
||||||
import * as pulumi from "@pulumi/pulumi";
|
import * as pulumi from "@pulumi/pulumi";
|
||||||
import * as inputs from "../types/input";
|
|
||||||
import * as outputs from "../types/output";
|
|
||||||
|
|
||||||
export interface GetInstanceDevice {
|
export interface GetInstanceDevice {
|
||||||
/**
|
/**
|
||||||
@@ -14,7 +12,7 @@ export interface GetInstanceDevice {
|
|||||||
* Map of key/value pairs of
|
* Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties?: {[key: string]: string};
|
properties?: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Type of the device Must be one of none, disk, nic,
|
* Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -31,7 +29,7 @@ export interface GetInstanceDeviceArgs {
|
|||||||
* Map of key/value pairs of
|
* Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
properties?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* Type of the device Must be one of none, disk, nic,
|
* Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -350,7 +348,7 @@ export interface GetProfileDevice {
|
|||||||
* Map of key/value pairs of
|
* Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties?: {[key: string]: string};
|
properties?: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Type of the device Must be one of none, disk, nic,
|
* Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -367,7 +365,7 @@ export interface GetProfileDeviceArgs {
|
|||||||
* Map of key/value pairs of
|
* Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
properties?: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* Type of the device Must be one of none, disk, nic,
|
* Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -444,7 +442,7 @@ export interface InstanceDevice {
|
|||||||
* **Required** - Map of key/value pairs of
|
* **Required** - Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
properties: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* **Required** - Type of the device Must be one of none, disk, nic,
|
* **Required** - Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -681,7 +679,7 @@ export interface ProfileDevice {
|
|||||||
* **Required** - Map of key/value pairs of
|
* **Required** - Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties: pulumi.Input<{[key: string]: pulumi.Input<string>}>;
|
properties: pulumi.Input<{ [key: string]: pulumi.Input<string> }>;
|
||||||
/**
|
/**
|
||||||
* **Required** - Type of the device Must be one of none, disk, nic,
|
* **Required** - Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -731,5 +729,4 @@ export interface StorageVolumeSourceVolume {
|
|||||||
*/
|
*/
|
||||||
remote?: pulumi.Input<string>;
|
remote?: pulumi.Input<string>;
|
||||||
}
|
}
|
||||||
export namespace config {
|
export namespace config {}
|
||||||
}
|
|
||||||
|
|||||||
13
sdk/nodejs/types/output.ts
generated
13
sdk/nodejs/types/output.ts
generated
@@ -1,10 +1,6 @@
|
|||||||
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
||||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
// *** 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 {
|
export interface GetClusterMembers {
|
||||||
/**
|
/**
|
||||||
* Address of the cluster member, that is used for cluster communication.
|
* Address of the cluster member, that is used for cluster communication.
|
||||||
@@ -48,7 +44,7 @@ export interface GetInstanceDevice {
|
|||||||
* Map of key/value pairs of
|
* Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties: {[key: string]: string};
|
properties: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Type of the device Must be one of none, disk, nic,
|
* Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -216,7 +212,7 @@ export interface GetProfileDevice {
|
|||||||
* Map of key/value pairs of
|
* Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties: {[key: string]: string};
|
properties: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* Type of the device Must be one of none, disk, nic,
|
* Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -293,7 +289,7 @@ export interface InstanceDevice {
|
|||||||
* **Required** - Map of key/value pairs of
|
* **Required** - Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties: {[key: string]: string};
|
properties: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* **Required** - Type of the device Must be one of none, disk, nic,
|
* **Required** - Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -530,7 +526,7 @@ export interface ProfileDevice {
|
|||||||
* **Required** - Map of key/value pairs of
|
* **Required** - Map of key/value pairs of
|
||||||
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
* [device properties](https://linuxcontainers.org/incus/docs/main/reference/devices/).
|
||||||
*/
|
*/
|
||||||
properties: {[key: string]: string};
|
properties: { [key: string]: string };
|
||||||
/**
|
/**
|
||||||
* **Required** - Type of the device Must be one of none, disk, nic,
|
* **Required** - Type of the device Must be one of none, disk, nic,
|
||||||
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
* unix-char, unix-block, usb, gpu, infiniband, proxy, unix-hotplug, tpm, pci.
|
||||||
@@ -581,5 +577,4 @@ export namespace config {
|
|||||||
*/
|
*/
|
||||||
token?: string;
|
token?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
32
sdk/nodejs/utilities.ts
generated
32
sdk/nodejs/utilities.ts
generated
@@ -1,7 +1,6 @@
|
|||||||
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
||||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||||
|
|
||||||
|
|
||||||
import * as runtime from "@pulumi/pulumi/runtime";
|
import * as runtime from "@pulumi/pulumi/runtime";
|
||||||
import * as pulumi from "@pulumi/pulumi";
|
import * as pulumi from "@pulumi/pulumi";
|
||||||
|
|
||||||
@@ -20,10 +19,10 @@ export function getEnvBoolean(...vars: string[]): boolean | undefined {
|
|||||||
if (s !== undefined) {
|
if (s !== undefined) {
|
||||||
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
// 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.
|
// 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;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -42,10 +41,10 @@ export function getEnvNumber(...vars: string[]): number | undefined {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getVersion(): string {
|
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.
|
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
||||||
// If there is a v, strip it off.
|
// If there is a v, strip it off.
|
||||||
if (version.indexOf('v') === 0) {
|
if (version.indexOf("v") === 0) {
|
||||||
version = version.slice(1);
|
version = version.slice(1);
|
||||||
}
|
}
|
||||||
return version;
|
return version;
|
||||||
@@ -53,7 +52,11 @@ export function getVersion(): string {
|
|||||||
|
|
||||||
/** @internal */
|
/** @internal */
|
||||||
export function resourceOptsDefaults(): any {
|
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 */
|
/** @internal */
|
||||||
@@ -61,7 +64,7 @@ export function lazyLoad(exports: any, props: string[], loadModule: any) {
|
|||||||
for (let property of props) {
|
for (let property of props) {
|
||||||
Object.defineProperty(exports, property, {
|
Object.defineProperty(exports, property, {
|
||||||
enumerable: true,
|
enumerable: true,
|
||||||
get: function() {
|
get: function () {
|
||||||
return loadModule()[property];
|
return loadModule()[property];
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -73,20 +76,23 @@ export async function callAsync<T>(
|
|||||||
tok: string,
|
tok: string,
|
||||||
props: pulumi.Inputs,
|
props: pulumi.Inputs,
|
||||||
res?: pulumi.Resource,
|
res?: pulumi.Resource,
|
||||||
opts?: {property?: string},
|
opts?: { property?: string },
|
||||||
): Promise<T> {
|
): Promise<T> {
|
||||||
const o: any = runtime.call<T>(tok, props, res);
|
const o: any = runtime.call<T>(tok, props, res);
|
||||||
const value = await o.promise(true /*withUnknowns*/);
|
const value = await o.promise(true /*withUnknowns*/);
|
||||||
const isKnown = await o.isKnown;
|
const isKnown = await o.isKnown;
|
||||||
const isSecret = await o.isSecret;
|
const isSecret = await o.isSecret;
|
||||||
const problem: string|undefined =
|
const problem: string | undefined = !isKnown
|
||||||
!isKnown ? "an unknown value"
|
? "an unknown value"
|
||||||
: isSecret ? "a secret value"
|
: isSecret
|
||||||
|
? "a secret value"
|
||||||
: undefined;
|
: undefined;
|
||||||
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
||||||
if (problem) {
|
if (problem) {
|
||||||
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
throw new Error(
|
||||||
"This is an error in the provider, please report this to the provider developer.");
|
`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.
|
// Extract a single property if requested.
|
||||||
if (opts && opts.property) {
|
if (opts && opts.property) {
|
||||||
|
|||||||
Reference in New Issue
Block a user