@kilic.dev/pulumi-k8s-crds 1.2.11 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/postgresql/v1/backup.js +2 -0
- package/dist/postgresql/v1/backupPatch.js +2 -0
- package/dist/types/input.d.ts +6530 -623
- package/dist/types/output.d.ts +6890 -462
- package/dist/velero/index.d.ts +2 -0
- package/dist/velero/index.js +41 -0
- package/dist/velero/v1/backup.d.ts +66 -0
- package/dist/velero/v1/backup.js +113 -0
- package/dist/velero/v1/backupList.d.ts +69 -0
- package/dist/velero/v1/backupList.js +113 -0
- package/dist/velero/v1/backupPatch.d.ts +72 -0
- package/dist/velero/v1/backupPatch.js +119 -0
- package/dist/velero/v1/backupRepository.d.ts +62 -0
- package/dist/velero/v1/backupRepository.js +107 -0
- package/dist/velero/v1/backupRepositoryList.d.ts +69 -0
- package/dist/velero/v1/backupRepositoryList.js +113 -0
- package/dist/velero/v1/backupRepositoryPatch.d.ts +70 -0
- package/dist/velero/v1/backupRepositoryPatch.js +115 -0
- package/dist/velero/v1/backupStorageLocation.d.ts +65 -0
- package/dist/velero/v1/backupStorageLocation.js +110 -0
- package/dist/velero/v1/backupStorageLocationList.d.ts +69 -0
- package/dist/velero/v1/backupStorageLocationList.js +113 -0
- package/dist/velero/v1/backupStorageLocationPatch.d.ts +71 -0
- package/dist/velero/v1/backupStorageLocationPatch.js +116 -0
- package/dist/velero/v1/deleteBackupRequest.d.ts +65 -0
- package/dist/velero/v1/deleteBackupRequest.js +110 -0
- package/dist/velero/v1/deleteBackupRequestList.d.ts +69 -0
- package/dist/velero/v1/deleteBackupRequestList.js +113 -0
- package/dist/velero/v1/deleteBackupRequestPatch.d.ts +71 -0
- package/dist/velero/v1/deleteBackupRequestPatch.js +116 -0
- package/dist/velero/v1/downloadRequest.d.ts +66 -0
- package/dist/velero/v1/downloadRequest.js +111 -0
- package/dist/velero/v1/downloadRequestList.d.ts +69 -0
- package/dist/velero/v1/downloadRequestList.js +113 -0
- package/dist/velero/v1/downloadRequestPatch.d.ts +72 -0
- package/dist/velero/v1/downloadRequestPatch.js +117 -0
- package/dist/velero/v1/index.d.ts +99 -0
- package/dist/velero/v1/index.js +182 -0
- package/dist/velero/v1/podVolumeBackup.d.ts +62 -0
- package/dist/velero/v1/podVolumeBackup.js +107 -0
- package/dist/velero/v1/podVolumeBackupList.d.ts +69 -0
- package/dist/velero/v1/podVolumeBackupList.js +113 -0
- package/dist/velero/v1/podVolumeBackupPatch.d.ts +70 -0
- package/dist/velero/v1/podVolumeBackupPatch.js +115 -0
- package/dist/velero/v1/podVolumeRestore.d.ts +62 -0
- package/dist/velero/v1/podVolumeRestore.js +107 -0
- package/dist/velero/v1/podVolumeRestoreList.d.ts +69 -0
- package/dist/velero/v1/podVolumeRestoreList.js +113 -0
- package/dist/velero/v1/podVolumeRestorePatch.d.ts +70 -0
- package/dist/velero/v1/podVolumeRestorePatch.js +115 -0
- package/dist/velero/v1/restore.d.ts +66 -0
- package/dist/velero/v1/restore.js +111 -0
- package/dist/velero/v1/restoreList.d.ts +69 -0
- package/dist/velero/v1/restoreList.js +113 -0
- package/dist/velero/v1/restorePatch.d.ts +72 -0
- package/dist/velero/v1/restorePatch.js +117 -0
- package/dist/velero/v1/schedule.d.ts +66 -0
- package/dist/velero/v1/schedule.js +111 -0
- package/dist/velero/v1/scheduleList.d.ts +69 -0
- package/dist/velero/v1/scheduleList.js +113 -0
- package/dist/velero/v1/schedulePatch.d.ts +72 -0
- package/dist/velero/v1/schedulePatch.js +117 -0
- package/dist/velero/v1/serverStatusRequest.d.ts +75 -0
- package/dist/velero/v1/serverStatusRequest.js +114 -0
- package/dist/velero/v1/serverStatusRequestList.d.ts +69 -0
- package/dist/velero/v1/serverStatusRequestList.js +113 -0
- package/dist/velero/v1/serverStatusRequestPatch.d.ts +81 -0
- package/dist/velero/v1/serverStatusRequestPatch.js +120 -0
- package/dist/velero/v1/volumeSnapshotLocation.d.ts +65 -0
- package/dist/velero/v1/volumeSnapshotLocation.js +110 -0
- package/dist/velero/v1/volumeSnapshotLocationList.d.ts +69 -0
- package/dist/velero/v1/volumeSnapshotLocationList.js +113 -0
- package/dist/velero/v1/volumeSnapshotLocationPatch.d.ts +71 -0
- package/dist/velero/v1/volumeSnapshotLocationPatch.js +116 -0
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.DownloadRequestList = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* DownloadRequestList is a list of DownloadRequest
|
|
43
|
+
*/
|
|
44
|
+
class DownloadRequestList extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing DownloadRequestList resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new DownloadRequestList(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'kubernetes:velero.io/v1:DownloadRequestList';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of DownloadRequestList. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === DownloadRequestList.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
70
|
+
*/
|
|
71
|
+
apiVersion;
|
|
72
|
+
/**
|
|
73
|
+
* List of downloadrequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
74
|
+
*/
|
|
75
|
+
items;
|
|
76
|
+
/**
|
|
77
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
78
|
+
*/
|
|
79
|
+
kind;
|
|
80
|
+
/**
|
|
81
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
82
|
+
*/
|
|
83
|
+
metadata;
|
|
84
|
+
/**
|
|
85
|
+
* Create a DownloadRequestList resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name, args, opts) {
|
|
92
|
+
let resourceInputs = {};
|
|
93
|
+
opts = opts || {};
|
|
94
|
+
if (!opts.id) {
|
|
95
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'items'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["apiVersion"] = "velero.io/v1";
|
|
99
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
100
|
+
resourceInputs["kind"] = "DownloadRequestList";
|
|
101
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(DownloadRequestList.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.DownloadRequestList = DownloadRequestList;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
+
* DownloadRequest is a request to download an artifact from backup object storage, such as a backup
|
|
13
|
+
* log file.
|
|
14
|
+
*/
|
|
15
|
+
export declare class DownloadRequestPatch extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing DownloadRequestPatch resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DownloadRequestPatch;
|
|
25
|
+
/** @internal */
|
|
26
|
+
static readonly __pulumiType = "kubernetes:velero.io/v1:DownloadRequestPatch";
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if the given object is an instance of DownloadRequestPatch. This is designed to work even
|
|
29
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
|
+
*/
|
|
31
|
+
static isInstance(obj: any): obj is DownloadRequestPatch;
|
|
32
|
+
/**
|
|
33
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
34
|
+
*/
|
|
35
|
+
readonly apiVersion: pulumi.Output<"velero.io/v1">;
|
|
36
|
+
/**
|
|
37
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
|
+
*/
|
|
39
|
+
readonly kind: pulumi.Output<"DownloadRequest">;
|
|
40
|
+
/**
|
|
41
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
42
|
+
*/
|
|
43
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
44
|
+
readonly spec: pulumi.Output<outputs.velero.v1.DownloadRequestSpecPatch>;
|
|
45
|
+
readonly status: pulumi.Output<outputs.velero.v1.DownloadRequestStatusPatch>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a DownloadRequestPatch resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args?: DownloadRequestPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The set of arguments for constructing a DownloadRequestPatch resource.
|
|
57
|
+
*/
|
|
58
|
+
export interface DownloadRequestPatchArgs {
|
|
59
|
+
/**
|
|
60
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
61
|
+
*/
|
|
62
|
+
apiVersion?: pulumi.Input<"velero.io/v1">;
|
|
63
|
+
/**
|
|
64
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
65
|
+
*/
|
|
66
|
+
kind?: pulumi.Input<"DownloadRequest">;
|
|
67
|
+
/**
|
|
68
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
69
|
+
*/
|
|
70
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
71
|
+
spec?: pulumi.Input<inputs.velero.v1.DownloadRequestSpecPatch>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.DownloadRequestPatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* DownloadRequest is a request to download an artifact from backup object storage, such as a backup
|
|
49
|
+
* log file.
|
|
50
|
+
*/
|
|
51
|
+
class DownloadRequestPatch extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing DownloadRequestPatch resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, opts) {
|
|
61
|
+
return new DownloadRequestPatch(name, undefined, { ...opts, id: id });
|
|
62
|
+
}
|
|
63
|
+
/** @internal */
|
|
64
|
+
static __pulumiType = 'kubernetes:velero.io/v1:DownloadRequestPatch';
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of DownloadRequestPatch. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === DownloadRequestPatch.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
77
|
+
*/
|
|
78
|
+
apiVersion;
|
|
79
|
+
/**
|
|
80
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
81
|
+
*/
|
|
82
|
+
kind;
|
|
83
|
+
/**
|
|
84
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
85
|
+
*/
|
|
86
|
+
metadata;
|
|
87
|
+
spec;
|
|
88
|
+
status;
|
|
89
|
+
/**
|
|
90
|
+
* Create a DownloadRequestPatch resource with the given unique name, arguments, and options.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resource.
|
|
93
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
94
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
95
|
+
*/
|
|
96
|
+
constructor(name, args, opts) {
|
|
97
|
+
let resourceInputs = {};
|
|
98
|
+
opts = opts || {};
|
|
99
|
+
if (!opts.id) {
|
|
100
|
+
resourceInputs["apiVersion"] = "velero.io/v1";
|
|
101
|
+
resourceInputs["kind"] = "DownloadRequest";
|
|
102
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
103
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
104
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(DownloadRequestPatch.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.DownloadRequestPatch = DownloadRequestPatch;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export { BackupArgs } from "./backup";
|
|
2
|
+
export type Backup = import("./backup").Backup;
|
|
3
|
+
export declare const Backup: typeof import("./backup").Backup;
|
|
4
|
+
export { BackupListArgs } from "./backupList";
|
|
5
|
+
export type BackupList = import("./backupList").BackupList;
|
|
6
|
+
export declare const BackupList: typeof import("./backupList").BackupList;
|
|
7
|
+
export { BackupPatchArgs } from "./backupPatch";
|
|
8
|
+
export type BackupPatch = import("./backupPatch").BackupPatch;
|
|
9
|
+
export declare const BackupPatch: typeof import("./backupPatch").BackupPatch;
|
|
10
|
+
export { BackupRepositoryArgs } from "./backupRepository";
|
|
11
|
+
export type BackupRepository = import("./backupRepository").BackupRepository;
|
|
12
|
+
export declare const BackupRepository: typeof import("./backupRepository").BackupRepository;
|
|
13
|
+
export { BackupRepositoryListArgs } from "./backupRepositoryList";
|
|
14
|
+
export type BackupRepositoryList = import("./backupRepositoryList").BackupRepositoryList;
|
|
15
|
+
export declare const BackupRepositoryList: typeof import("./backupRepositoryList").BackupRepositoryList;
|
|
16
|
+
export { BackupRepositoryPatchArgs } from "./backupRepositoryPatch";
|
|
17
|
+
export type BackupRepositoryPatch = import("./backupRepositoryPatch").BackupRepositoryPatch;
|
|
18
|
+
export declare const BackupRepositoryPatch: typeof import("./backupRepositoryPatch").BackupRepositoryPatch;
|
|
19
|
+
export { BackupStorageLocationArgs } from "./backupStorageLocation";
|
|
20
|
+
export type BackupStorageLocation = import("./backupStorageLocation").BackupStorageLocation;
|
|
21
|
+
export declare const BackupStorageLocation: typeof import("./backupStorageLocation").BackupStorageLocation;
|
|
22
|
+
export { BackupStorageLocationListArgs } from "./backupStorageLocationList";
|
|
23
|
+
export type BackupStorageLocationList = import("./backupStorageLocationList").BackupStorageLocationList;
|
|
24
|
+
export declare const BackupStorageLocationList: typeof import("./backupStorageLocationList").BackupStorageLocationList;
|
|
25
|
+
export { BackupStorageLocationPatchArgs } from "./backupStorageLocationPatch";
|
|
26
|
+
export type BackupStorageLocationPatch = import("./backupStorageLocationPatch").BackupStorageLocationPatch;
|
|
27
|
+
export declare const BackupStorageLocationPatch: typeof import("./backupStorageLocationPatch").BackupStorageLocationPatch;
|
|
28
|
+
export { DeleteBackupRequestArgs } from "./deleteBackupRequest";
|
|
29
|
+
export type DeleteBackupRequest = import("./deleteBackupRequest").DeleteBackupRequest;
|
|
30
|
+
export declare const DeleteBackupRequest: typeof import("./deleteBackupRequest").DeleteBackupRequest;
|
|
31
|
+
export { DeleteBackupRequestListArgs } from "./deleteBackupRequestList";
|
|
32
|
+
export type DeleteBackupRequestList = import("./deleteBackupRequestList").DeleteBackupRequestList;
|
|
33
|
+
export declare const DeleteBackupRequestList: typeof import("./deleteBackupRequestList").DeleteBackupRequestList;
|
|
34
|
+
export { DeleteBackupRequestPatchArgs } from "./deleteBackupRequestPatch";
|
|
35
|
+
export type DeleteBackupRequestPatch = import("./deleteBackupRequestPatch").DeleteBackupRequestPatch;
|
|
36
|
+
export declare const DeleteBackupRequestPatch: typeof import("./deleteBackupRequestPatch").DeleteBackupRequestPatch;
|
|
37
|
+
export { DownloadRequestArgs } from "./downloadRequest";
|
|
38
|
+
export type DownloadRequest = import("./downloadRequest").DownloadRequest;
|
|
39
|
+
export declare const DownloadRequest: typeof import("./downloadRequest").DownloadRequest;
|
|
40
|
+
export { DownloadRequestListArgs } from "./downloadRequestList";
|
|
41
|
+
export type DownloadRequestList = import("./downloadRequestList").DownloadRequestList;
|
|
42
|
+
export declare const DownloadRequestList: typeof import("./downloadRequestList").DownloadRequestList;
|
|
43
|
+
export { DownloadRequestPatchArgs } from "./downloadRequestPatch";
|
|
44
|
+
export type DownloadRequestPatch = import("./downloadRequestPatch").DownloadRequestPatch;
|
|
45
|
+
export declare const DownloadRequestPatch: typeof import("./downloadRequestPatch").DownloadRequestPatch;
|
|
46
|
+
export { PodVolumeBackupArgs } from "./podVolumeBackup";
|
|
47
|
+
export type PodVolumeBackup = import("./podVolumeBackup").PodVolumeBackup;
|
|
48
|
+
export declare const PodVolumeBackup: typeof import("./podVolumeBackup").PodVolumeBackup;
|
|
49
|
+
export { PodVolumeBackupListArgs } from "./podVolumeBackupList";
|
|
50
|
+
export type PodVolumeBackupList = import("./podVolumeBackupList").PodVolumeBackupList;
|
|
51
|
+
export declare const PodVolumeBackupList: typeof import("./podVolumeBackupList").PodVolumeBackupList;
|
|
52
|
+
export { PodVolumeBackupPatchArgs } from "./podVolumeBackupPatch";
|
|
53
|
+
export type PodVolumeBackupPatch = import("./podVolumeBackupPatch").PodVolumeBackupPatch;
|
|
54
|
+
export declare const PodVolumeBackupPatch: typeof import("./podVolumeBackupPatch").PodVolumeBackupPatch;
|
|
55
|
+
export { PodVolumeRestoreArgs } from "./podVolumeRestore";
|
|
56
|
+
export type PodVolumeRestore = import("./podVolumeRestore").PodVolumeRestore;
|
|
57
|
+
export declare const PodVolumeRestore: typeof import("./podVolumeRestore").PodVolumeRestore;
|
|
58
|
+
export { PodVolumeRestoreListArgs } from "./podVolumeRestoreList";
|
|
59
|
+
export type PodVolumeRestoreList = import("./podVolumeRestoreList").PodVolumeRestoreList;
|
|
60
|
+
export declare const PodVolumeRestoreList: typeof import("./podVolumeRestoreList").PodVolumeRestoreList;
|
|
61
|
+
export { PodVolumeRestorePatchArgs } from "./podVolumeRestorePatch";
|
|
62
|
+
export type PodVolumeRestorePatch = import("./podVolumeRestorePatch").PodVolumeRestorePatch;
|
|
63
|
+
export declare const PodVolumeRestorePatch: typeof import("./podVolumeRestorePatch").PodVolumeRestorePatch;
|
|
64
|
+
export { RestoreArgs } from "./restore";
|
|
65
|
+
export type Restore = import("./restore").Restore;
|
|
66
|
+
export declare const Restore: typeof import("./restore").Restore;
|
|
67
|
+
export { RestoreListArgs } from "./restoreList";
|
|
68
|
+
export type RestoreList = import("./restoreList").RestoreList;
|
|
69
|
+
export declare const RestoreList: typeof import("./restoreList").RestoreList;
|
|
70
|
+
export { RestorePatchArgs } from "./restorePatch";
|
|
71
|
+
export type RestorePatch = import("./restorePatch").RestorePatch;
|
|
72
|
+
export declare const RestorePatch: typeof import("./restorePatch").RestorePatch;
|
|
73
|
+
export { ScheduleArgs } from "./schedule";
|
|
74
|
+
export type Schedule = import("./schedule").Schedule;
|
|
75
|
+
export declare const Schedule: typeof import("./schedule").Schedule;
|
|
76
|
+
export { ScheduleListArgs } from "./scheduleList";
|
|
77
|
+
export type ScheduleList = import("./scheduleList").ScheduleList;
|
|
78
|
+
export declare const ScheduleList: typeof import("./scheduleList").ScheduleList;
|
|
79
|
+
export { SchedulePatchArgs } from "./schedulePatch";
|
|
80
|
+
export type SchedulePatch = import("./schedulePatch").SchedulePatch;
|
|
81
|
+
export declare const SchedulePatch: typeof import("./schedulePatch").SchedulePatch;
|
|
82
|
+
export { ServerStatusRequestArgs } from "./serverStatusRequest";
|
|
83
|
+
export type ServerStatusRequest = import("./serverStatusRequest").ServerStatusRequest;
|
|
84
|
+
export declare const ServerStatusRequest: typeof import("./serverStatusRequest").ServerStatusRequest;
|
|
85
|
+
export { ServerStatusRequestListArgs } from "./serverStatusRequestList";
|
|
86
|
+
export type ServerStatusRequestList = import("./serverStatusRequestList").ServerStatusRequestList;
|
|
87
|
+
export declare const ServerStatusRequestList: typeof import("./serverStatusRequestList").ServerStatusRequestList;
|
|
88
|
+
export { ServerStatusRequestPatchArgs } from "./serverStatusRequestPatch";
|
|
89
|
+
export type ServerStatusRequestPatch = import("./serverStatusRequestPatch").ServerStatusRequestPatch;
|
|
90
|
+
export declare const ServerStatusRequestPatch: typeof import("./serverStatusRequestPatch").ServerStatusRequestPatch;
|
|
91
|
+
export { VolumeSnapshotLocationArgs } from "./volumeSnapshotLocation";
|
|
92
|
+
export type VolumeSnapshotLocation = import("./volumeSnapshotLocation").VolumeSnapshotLocation;
|
|
93
|
+
export declare const VolumeSnapshotLocation: typeof import("./volumeSnapshotLocation").VolumeSnapshotLocation;
|
|
94
|
+
export { VolumeSnapshotLocationListArgs } from "./volumeSnapshotLocationList";
|
|
95
|
+
export type VolumeSnapshotLocationList = import("./volumeSnapshotLocationList").VolumeSnapshotLocationList;
|
|
96
|
+
export declare const VolumeSnapshotLocationList: typeof import("./volumeSnapshotLocationList").VolumeSnapshotLocationList;
|
|
97
|
+
export { VolumeSnapshotLocationPatchArgs } from "./volumeSnapshotLocationPatch";
|
|
98
|
+
export type VolumeSnapshotLocationPatch = import("./volumeSnapshotLocationPatch").VolumeSnapshotLocationPatch;
|
|
99
|
+
export declare const VolumeSnapshotLocationPatch: typeof import("./volumeSnapshotLocationPatch").VolumeSnapshotLocationPatch;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.VolumeSnapshotLocationPatch = exports.VolumeSnapshotLocationList = exports.VolumeSnapshotLocation = exports.ServerStatusRequestPatch = exports.ServerStatusRequestList = exports.ServerStatusRequest = exports.SchedulePatch = exports.ScheduleList = exports.Schedule = exports.RestorePatch = exports.RestoreList = exports.Restore = exports.PodVolumeRestorePatch = exports.PodVolumeRestoreList = exports.PodVolumeRestore = exports.PodVolumeBackupPatch = exports.PodVolumeBackupList = exports.PodVolumeBackup = exports.DownloadRequestPatch = exports.DownloadRequestList = exports.DownloadRequest = exports.DeleteBackupRequestPatch = exports.DeleteBackupRequestList = exports.DeleteBackupRequest = exports.BackupStorageLocationPatch = exports.BackupStorageLocationList = exports.BackupStorageLocation = exports.BackupRepositoryPatch = exports.BackupRepositoryList = exports.BackupRepository = exports.BackupPatch = exports.BackupList = exports.Backup = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
exports.Backup = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["Backup"], () => require("./backup"));
|
|
43
|
+
exports.BackupList = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["BackupList"], () => require("./backupList"));
|
|
45
|
+
exports.BackupPatch = null;
|
|
46
|
+
utilities.lazyLoad(exports, ["BackupPatch"], () => require("./backupPatch"));
|
|
47
|
+
exports.BackupRepository = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["BackupRepository"], () => require("./backupRepository"));
|
|
49
|
+
exports.BackupRepositoryList = null;
|
|
50
|
+
utilities.lazyLoad(exports, ["BackupRepositoryList"], () => require("./backupRepositoryList"));
|
|
51
|
+
exports.BackupRepositoryPatch = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["BackupRepositoryPatch"], () => require("./backupRepositoryPatch"));
|
|
53
|
+
exports.BackupStorageLocation = null;
|
|
54
|
+
utilities.lazyLoad(exports, ["BackupStorageLocation"], () => require("./backupStorageLocation"));
|
|
55
|
+
exports.BackupStorageLocationList = null;
|
|
56
|
+
utilities.lazyLoad(exports, ["BackupStorageLocationList"], () => require("./backupStorageLocationList"));
|
|
57
|
+
exports.BackupStorageLocationPatch = null;
|
|
58
|
+
utilities.lazyLoad(exports, ["BackupStorageLocationPatch"], () => require("./backupStorageLocationPatch"));
|
|
59
|
+
exports.DeleteBackupRequest = null;
|
|
60
|
+
utilities.lazyLoad(exports, ["DeleteBackupRequest"], () => require("./deleteBackupRequest"));
|
|
61
|
+
exports.DeleteBackupRequestList = null;
|
|
62
|
+
utilities.lazyLoad(exports, ["DeleteBackupRequestList"], () => require("./deleteBackupRequestList"));
|
|
63
|
+
exports.DeleteBackupRequestPatch = null;
|
|
64
|
+
utilities.lazyLoad(exports, ["DeleteBackupRequestPatch"], () => require("./deleteBackupRequestPatch"));
|
|
65
|
+
exports.DownloadRequest = null;
|
|
66
|
+
utilities.lazyLoad(exports, ["DownloadRequest"], () => require("./downloadRequest"));
|
|
67
|
+
exports.DownloadRequestList = null;
|
|
68
|
+
utilities.lazyLoad(exports, ["DownloadRequestList"], () => require("./downloadRequestList"));
|
|
69
|
+
exports.DownloadRequestPatch = null;
|
|
70
|
+
utilities.lazyLoad(exports, ["DownloadRequestPatch"], () => require("./downloadRequestPatch"));
|
|
71
|
+
exports.PodVolumeBackup = null;
|
|
72
|
+
utilities.lazyLoad(exports, ["PodVolumeBackup"], () => require("./podVolumeBackup"));
|
|
73
|
+
exports.PodVolumeBackupList = null;
|
|
74
|
+
utilities.lazyLoad(exports, ["PodVolumeBackupList"], () => require("./podVolumeBackupList"));
|
|
75
|
+
exports.PodVolumeBackupPatch = null;
|
|
76
|
+
utilities.lazyLoad(exports, ["PodVolumeBackupPatch"], () => require("./podVolumeBackupPatch"));
|
|
77
|
+
exports.PodVolumeRestore = null;
|
|
78
|
+
utilities.lazyLoad(exports, ["PodVolumeRestore"], () => require("./podVolumeRestore"));
|
|
79
|
+
exports.PodVolumeRestoreList = null;
|
|
80
|
+
utilities.lazyLoad(exports, ["PodVolumeRestoreList"], () => require("./podVolumeRestoreList"));
|
|
81
|
+
exports.PodVolumeRestorePatch = null;
|
|
82
|
+
utilities.lazyLoad(exports, ["PodVolumeRestorePatch"], () => require("./podVolumeRestorePatch"));
|
|
83
|
+
exports.Restore = null;
|
|
84
|
+
utilities.lazyLoad(exports, ["Restore"], () => require("./restore"));
|
|
85
|
+
exports.RestoreList = null;
|
|
86
|
+
utilities.lazyLoad(exports, ["RestoreList"], () => require("./restoreList"));
|
|
87
|
+
exports.RestorePatch = null;
|
|
88
|
+
utilities.lazyLoad(exports, ["RestorePatch"], () => require("./restorePatch"));
|
|
89
|
+
exports.Schedule = null;
|
|
90
|
+
utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
|
|
91
|
+
exports.ScheduleList = null;
|
|
92
|
+
utilities.lazyLoad(exports, ["ScheduleList"], () => require("./scheduleList"));
|
|
93
|
+
exports.SchedulePatch = null;
|
|
94
|
+
utilities.lazyLoad(exports, ["SchedulePatch"], () => require("./schedulePatch"));
|
|
95
|
+
exports.ServerStatusRequest = null;
|
|
96
|
+
utilities.lazyLoad(exports, ["ServerStatusRequest"], () => require("./serverStatusRequest"));
|
|
97
|
+
exports.ServerStatusRequestList = null;
|
|
98
|
+
utilities.lazyLoad(exports, ["ServerStatusRequestList"], () => require("./serverStatusRequestList"));
|
|
99
|
+
exports.ServerStatusRequestPatch = null;
|
|
100
|
+
utilities.lazyLoad(exports, ["ServerStatusRequestPatch"], () => require("./serverStatusRequestPatch"));
|
|
101
|
+
exports.VolumeSnapshotLocation = null;
|
|
102
|
+
utilities.lazyLoad(exports, ["VolumeSnapshotLocation"], () => require("./volumeSnapshotLocation"));
|
|
103
|
+
exports.VolumeSnapshotLocationList = null;
|
|
104
|
+
utilities.lazyLoad(exports, ["VolumeSnapshotLocationList"], () => require("./volumeSnapshotLocationList"));
|
|
105
|
+
exports.VolumeSnapshotLocationPatch = null;
|
|
106
|
+
utilities.lazyLoad(exports, ["VolumeSnapshotLocationPatch"], () => require("./volumeSnapshotLocationPatch"));
|
|
107
|
+
const _module = {
|
|
108
|
+
version: utilities.getVersion(),
|
|
109
|
+
construct: (name, type, urn) => {
|
|
110
|
+
switch (type) {
|
|
111
|
+
case "kubernetes:velero.io/v1:Backup":
|
|
112
|
+
return new exports.Backup(name, undefined, { urn });
|
|
113
|
+
case "kubernetes:velero.io/v1:BackupList":
|
|
114
|
+
return new exports.BackupList(name, undefined, { urn });
|
|
115
|
+
case "kubernetes:velero.io/v1:BackupPatch":
|
|
116
|
+
return new exports.BackupPatch(name, undefined, { urn });
|
|
117
|
+
case "kubernetes:velero.io/v1:BackupRepository":
|
|
118
|
+
return new exports.BackupRepository(name, undefined, { urn });
|
|
119
|
+
case "kubernetes:velero.io/v1:BackupRepositoryList":
|
|
120
|
+
return new exports.BackupRepositoryList(name, undefined, { urn });
|
|
121
|
+
case "kubernetes:velero.io/v1:BackupRepositoryPatch":
|
|
122
|
+
return new exports.BackupRepositoryPatch(name, undefined, { urn });
|
|
123
|
+
case "kubernetes:velero.io/v1:BackupStorageLocation":
|
|
124
|
+
return new exports.BackupStorageLocation(name, undefined, { urn });
|
|
125
|
+
case "kubernetes:velero.io/v1:BackupStorageLocationList":
|
|
126
|
+
return new exports.BackupStorageLocationList(name, undefined, { urn });
|
|
127
|
+
case "kubernetes:velero.io/v1:BackupStorageLocationPatch":
|
|
128
|
+
return new exports.BackupStorageLocationPatch(name, undefined, { urn });
|
|
129
|
+
case "kubernetes:velero.io/v1:DeleteBackupRequest":
|
|
130
|
+
return new exports.DeleteBackupRequest(name, undefined, { urn });
|
|
131
|
+
case "kubernetes:velero.io/v1:DeleteBackupRequestList":
|
|
132
|
+
return new exports.DeleteBackupRequestList(name, undefined, { urn });
|
|
133
|
+
case "kubernetes:velero.io/v1:DeleteBackupRequestPatch":
|
|
134
|
+
return new exports.DeleteBackupRequestPatch(name, undefined, { urn });
|
|
135
|
+
case "kubernetes:velero.io/v1:DownloadRequest":
|
|
136
|
+
return new exports.DownloadRequest(name, undefined, { urn });
|
|
137
|
+
case "kubernetes:velero.io/v1:DownloadRequestList":
|
|
138
|
+
return new exports.DownloadRequestList(name, undefined, { urn });
|
|
139
|
+
case "kubernetes:velero.io/v1:DownloadRequestPatch":
|
|
140
|
+
return new exports.DownloadRequestPatch(name, undefined, { urn });
|
|
141
|
+
case "kubernetes:velero.io/v1:PodVolumeBackup":
|
|
142
|
+
return new exports.PodVolumeBackup(name, undefined, { urn });
|
|
143
|
+
case "kubernetes:velero.io/v1:PodVolumeBackupList":
|
|
144
|
+
return new exports.PodVolumeBackupList(name, undefined, { urn });
|
|
145
|
+
case "kubernetes:velero.io/v1:PodVolumeBackupPatch":
|
|
146
|
+
return new exports.PodVolumeBackupPatch(name, undefined, { urn });
|
|
147
|
+
case "kubernetes:velero.io/v1:PodVolumeRestore":
|
|
148
|
+
return new exports.PodVolumeRestore(name, undefined, { urn });
|
|
149
|
+
case "kubernetes:velero.io/v1:PodVolumeRestoreList":
|
|
150
|
+
return new exports.PodVolumeRestoreList(name, undefined, { urn });
|
|
151
|
+
case "kubernetes:velero.io/v1:PodVolumeRestorePatch":
|
|
152
|
+
return new exports.PodVolumeRestorePatch(name, undefined, { urn });
|
|
153
|
+
case "kubernetes:velero.io/v1:Restore":
|
|
154
|
+
return new exports.Restore(name, undefined, { urn });
|
|
155
|
+
case "kubernetes:velero.io/v1:RestoreList":
|
|
156
|
+
return new exports.RestoreList(name, undefined, { urn });
|
|
157
|
+
case "kubernetes:velero.io/v1:RestorePatch":
|
|
158
|
+
return new exports.RestorePatch(name, undefined, { urn });
|
|
159
|
+
case "kubernetes:velero.io/v1:Schedule":
|
|
160
|
+
return new exports.Schedule(name, undefined, { urn });
|
|
161
|
+
case "kubernetes:velero.io/v1:ScheduleList":
|
|
162
|
+
return new exports.ScheduleList(name, undefined, { urn });
|
|
163
|
+
case "kubernetes:velero.io/v1:SchedulePatch":
|
|
164
|
+
return new exports.SchedulePatch(name, undefined, { urn });
|
|
165
|
+
case "kubernetes:velero.io/v1:ServerStatusRequest":
|
|
166
|
+
return new exports.ServerStatusRequest(name, undefined, { urn });
|
|
167
|
+
case "kubernetes:velero.io/v1:ServerStatusRequestList":
|
|
168
|
+
return new exports.ServerStatusRequestList(name, undefined, { urn });
|
|
169
|
+
case "kubernetes:velero.io/v1:ServerStatusRequestPatch":
|
|
170
|
+
return new exports.ServerStatusRequestPatch(name, undefined, { urn });
|
|
171
|
+
case "kubernetes:velero.io/v1:VolumeSnapshotLocation":
|
|
172
|
+
return new exports.VolumeSnapshotLocation(name, undefined, { urn });
|
|
173
|
+
case "kubernetes:velero.io/v1:VolumeSnapshotLocationList":
|
|
174
|
+
return new exports.VolumeSnapshotLocationList(name, undefined, { urn });
|
|
175
|
+
case "kubernetes:velero.io/v1:VolumeSnapshotLocationPatch":
|
|
176
|
+
return new exports.VolumeSnapshotLocationPatch(name, undefined, { urn });
|
|
177
|
+
default:
|
|
178
|
+
throw new Error(`unknown resource type ${type}`);
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "velero.io/v1", _module);
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
export declare class PodVolumeBackup extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing PodVolumeBackup resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodVolumeBackup;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "kubernetes:velero.io/v1:PodVolumeBackup";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of PodVolumeBackup. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is PodVolumeBackup;
|
|
22
|
+
/**
|
|
23
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
24
|
+
*/
|
|
25
|
+
readonly apiVersion: pulumi.Output<"velero.io/v1">;
|
|
26
|
+
/**
|
|
27
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
28
|
+
*/
|
|
29
|
+
readonly kind: pulumi.Output<"PodVolumeBackup">;
|
|
30
|
+
/**
|
|
31
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
32
|
+
*/
|
|
33
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
34
|
+
readonly spec: pulumi.Output<outputs.velero.v1.PodVolumeBackupSpec>;
|
|
35
|
+
readonly status: pulumi.Output<outputs.velero.v1.PodVolumeBackupStatus>;
|
|
36
|
+
/**
|
|
37
|
+
* Create a PodVolumeBackup resource with the given unique name, arguments, and options.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resource.
|
|
40
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
41
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
42
|
+
*/
|
|
43
|
+
constructor(name: string, args?: PodVolumeBackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The set of arguments for constructing a PodVolumeBackup resource.
|
|
47
|
+
*/
|
|
48
|
+
export interface PodVolumeBackupArgs {
|
|
49
|
+
/**
|
|
50
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
51
|
+
*/
|
|
52
|
+
apiVersion?: pulumi.Input<"velero.io/v1">;
|
|
53
|
+
/**
|
|
54
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
55
|
+
*/
|
|
56
|
+
kind?: pulumi.Input<"PodVolumeBackup">;
|
|
57
|
+
/**
|
|
58
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
59
|
+
*/
|
|
60
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
61
|
+
spec?: pulumi.Input<inputs.velero.v1.PodVolumeBackupSpec>;
|
|
62
|
+
}
|