@kilic.dev/pulumi-k8s-crds 1.2.11 → 1.3.0

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.
Files changed (77) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/dist/index.js +3 -1
  3. package/dist/postgresql/v1/backup.js +2 -0
  4. package/dist/postgresql/v1/backupPatch.js +2 -0
  5. package/dist/types/input.d.ts +6530 -623
  6. package/dist/types/output.d.ts +6890 -462
  7. package/dist/velero/index.d.ts +2 -0
  8. package/dist/velero/index.js +41 -0
  9. package/dist/velero/v1/backup.d.ts +66 -0
  10. package/dist/velero/v1/backup.js +113 -0
  11. package/dist/velero/v1/backupList.d.ts +69 -0
  12. package/dist/velero/v1/backupList.js +113 -0
  13. package/dist/velero/v1/backupPatch.d.ts +72 -0
  14. package/dist/velero/v1/backupPatch.js +119 -0
  15. package/dist/velero/v1/backupRepository.d.ts +62 -0
  16. package/dist/velero/v1/backupRepository.js +107 -0
  17. package/dist/velero/v1/backupRepositoryList.d.ts +69 -0
  18. package/dist/velero/v1/backupRepositoryList.js +113 -0
  19. package/dist/velero/v1/backupRepositoryPatch.d.ts +70 -0
  20. package/dist/velero/v1/backupRepositoryPatch.js +115 -0
  21. package/dist/velero/v1/backupStorageLocation.d.ts +65 -0
  22. package/dist/velero/v1/backupStorageLocation.js +110 -0
  23. package/dist/velero/v1/backupStorageLocationList.d.ts +69 -0
  24. package/dist/velero/v1/backupStorageLocationList.js +113 -0
  25. package/dist/velero/v1/backupStorageLocationPatch.d.ts +71 -0
  26. package/dist/velero/v1/backupStorageLocationPatch.js +116 -0
  27. package/dist/velero/v1/deleteBackupRequest.d.ts +65 -0
  28. package/dist/velero/v1/deleteBackupRequest.js +110 -0
  29. package/dist/velero/v1/deleteBackupRequestList.d.ts +69 -0
  30. package/dist/velero/v1/deleteBackupRequestList.js +113 -0
  31. package/dist/velero/v1/deleteBackupRequestPatch.d.ts +71 -0
  32. package/dist/velero/v1/deleteBackupRequestPatch.js +116 -0
  33. package/dist/velero/v1/downloadRequest.d.ts +66 -0
  34. package/dist/velero/v1/downloadRequest.js +111 -0
  35. package/dist/velero/v1/downloadRequestList.d.ts +69 -0
  36. package/dist/velero/v1/downloadRequestList.js +113 -0
  37. package/dist/velero/v1/downloadRequestPatch.d.ts +72 -0
  38. package/dist/velero/v1/downloadRequestPatch.js +117 -0
  39. package/dist/velero/v1/index.d.ts +99 -0
  40. package/dist/velero/v1/index.js +182 -0
  41. package/dist/velero/v1/podVolumeBackup.d.ts +62 -0
  42. package/dist/velero/v1/podVolumeBackup.js +107 -0
  43. package/dist/velero/v1/podVolumeBackupList.d.ts +69 -0
  44. package/dist/velero/v1/podVolumeBackupList.js +113 -0
  45. package/dist/velero/v1/podVolumeBackupPatch.d.ts +70 -0
  46. package/dist/velero/v1/podVolumeBackupPatch.js +115 -0
  47. package/dist/velero/v1/podVolumeRestore.d.ts +62 -0
  48. package/dist/velero/v1/podVolumeRestore.js +107 -0
  49. package/dist/velero/v1/podVolumeRestoreList.d.ts +69 -0
  50. package/dist/velero/v1/podVolumeRestoreList.js +113 -0
  51. package/dist/velero/v1/podVolumeRestorePatch.d.ts +70 -0
  52. package/dist/velero/v1/podVolumeRestorePatch.js +115 -0
  53. package/dist/velero/v1/restore.d.ts +66 -0
  54. package/dist/velero/v1/restore.js +111 -0
  55. package/dist/velero/v1/restoreList.d.ts +69 -0
  56. package/dist/velero/v1/restoreList.js +113 -0
  57. package/dist/velero/v1/restorePatch.d.ts +72 -0
  58. package/dist/velero/v1/restorePatch.js +117 -0
  59. package/dist/velero/v1/schedule.d.ts +66 -0
  60. package/dist/velero/v1/schedule.js +111 -0
  61. package/dist/velero/v1/scheduleList.d.ts +69 -0
  62. package/dist/velero/v1/scheduleList.js +113 -0
  63. package/dist/velero/v1/schedulePatch.d.ts +72 -0
  64. package/dist/velero/v1/schedulePatch.js +117 -0
  65. package/dist/velero/v1/serverStatusRequest.d.ts +75 -0
  66. package/dist/velero/v1/serverStatusRequest.js +114 -0
  67. package/dist/velero/v1/serverStatusRequestList.d.ts +69 -0
  68. package/dist/velero/v1/serverStatusRequestList.js +113 -0
  69. package/dist/velero/v1/serverStatusRequestPatch.d.ts +81 -0
  70. package/dist/velero/v1/serverStatusRequestPatch.js +120 -0
  71. package/dist/velero/v1/volumeSnapshotLocation.d.ts +65 -0
  72. package/dist/velero/v1/volumeSnapshotLocation.js +110 -0
  73. package/dist/velero/v1/volumeSnapshotLocationList.d.ts +69 -0
  74. package/dist/velero/v1/volumeSnapshotLocationList.js +113 -0
  75. package/dist/velero/v1/volumeSnapshotLocationPatch.d.ts +71 -0
  76. package/dist/velero/v1/volumeSnapshotLocationPatch.js +116 -0
  77. package/package.json +1 -1
@@ -0,0 +1,107 @@
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.PodVolumeBackup = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ class PodVolumeBackup extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing PodVolumeBackup resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, opts) {
51
+ return new PodVolumeBackup(name, undefined, { ...opts, id: id });
52
+ }
53
+ /** @internal */
54
+ static __pulumiType = 'kubernetes:velero.io/v1:PodVolumeBackup';
55
+ /**
56
+ * Returns true if the given object is an instance of PodVolumeBackup. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === PodVolumeBackup.__pulumiType;
64
+ }
65
+ /**
66
+ * 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
67
+ */
68
+ apiVersion;
69
+ /**
70
+ * 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
71
+ */
72
+ kind;
73
+ /**
74
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
75
+ */
76
+ metadata;
77
+ spec;
78
+ status;
79
+ /**
80
+ * Create a PodVolumeBackup resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name, args, opts) {
87
+ let resourceInputs = {};
88
+ opts = opts || {};
89
+ if (!opts.id) {
90
+ resourceInputs["apiVersion"] = "velero.io/v1";
91
+ resourceInputs["kind"] = "PodVolumeBackup";
92
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
93
+ resourceInputs["spec"] = args ? args.spec : undefined;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ }
96
+ else {
97
+ resourceInputs["apiVersion"] = undefined /*out*/;
98
+ resourceInputs["kind"] = undefined /*out*/;
99
+ resourceInputs["metadata"] = undefined /*out*/;
100
+ resourceInputs["spec"] = undefined /*out*/;
101
+ resourceInputs["status"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ super(PodVolumeBackup.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.PodVolumeBackup = PodVolumeBackup;
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * PodVolumeBackupList is a list of PodVolumeBackup
6
+ */
7
+ export declare class PodVolumeBackupList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing PodVolumeBackupList resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodVolumeBackupList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:velero.io/v1:PodVolumeBackupList";
19
+ /**
20
+ * Returns true if the given object is an instance of PodVolumeBackupList. This is designed to work even
21
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
22
+ */
23
+ static isInstance(obj: any): obj is PodVolumeBackupList;
24
+ /**
25
+ * 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
26
+ */
27
+ readonly apiVersion: pulumi.Output<"velero.io/v1">;
28
+ /**
29
+ * List of podvolumebackups. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.velero.v1.PodVolumeBackup[]>;
32
+ /**
33
+ * 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
34
+ */
35
+ readonly kind: pulumi.Output<"PodVolumeBackupList">;
36
+ /**
37
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
40
+ /**
41
+ * Create a PodVolumeBackupList resource with the given unique name, arguments, and options.
42
+ *
43
+ * @param name The _unique_ name of the resource.
44
+ * @param args The arguments to use to populate this resource's properties.
45
+ * @param opts A bag of options that control this resource's behavior.
46
+ */
47
+ constructor(name: string, args?: PodVolumeBackupListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a PodVolumeBackupList resource.
51
+ */
52
+ export interface PodVolumeBackupListArgs {
53
+ /**
54
+ * 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
55
+ */
56
+ apiVersion?: pulumi.Input<"velero.io/v1">;
57
+ /**
58
+ * List of podvolumebackups. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.velero.v1.PodVolumeBackup>[]>;
61
+ /**
62
+ * 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
63
+ */
64
+ kind?: pulumi.Input<"PodVolumeBackupList">;
65
+ /**
66
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
67
+ */
68
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
69
+ }
@@ -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.PodVolumeBackupList = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * PodVolumeBackupList is a list of PodVolumeBackup
43
+ */
44
+ class PodVolumeBackupList extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing PodVolumeBackupList 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 PodVolumeBackupList(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:velero.io/v1:PodVolumeBackupList';
58
+ /**
59
+ * Returns true if the given object is an instance of PodVolumeBackupList. 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'] === PodVolumeBackupList.__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 podvolumebackups. 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 PodVolumeBackupList 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"] = "PodVolumeBackupList";
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(PodVolumeBackupList.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.PodVolumeBackupList = PodVolumeBackupList;
@@ -0,0 +1,70 @@
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
+ */
13
+ export declare class PodVolumeBackupPatch extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing PodVolumeBackupPatch resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param opts Optional settings to control the behavior of the CustomResource.
21
+ */
22
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PodVolumeBackupPatch;
23
+ /** @internal */
24
+ static readonly __pulumiType = "kubernetes:velero.io/v1:PodVolumeBackupPatch";
25
+ /**
26
+ * Returns true if the given object is an instance of PodVolumeBackupPatch. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is PodVolumeBackupPatch;
30
+ /**
31
+ * 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
32
+ */
33
+ readonly apiVersion: pulumi.Output<"velero.io/v1">;
34
+ /**
35
+ * 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
36
+ */
37
+ readonly kind: pulumi.Output<"PodVolumeBackup">;
38
+ /**
39
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
40
+ */
41
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
42
+ readonly spec: pulumi.Output<outputs.velero.v1.PodVolumeBackupSpecPatch>;
43
+ readonly status: pulumi.Output<outputs.velero.v1.PodVolumeBackupStatusPatch>;
44
+ /**
45
+ * Create a PodVolumeBackupPatch resource with the given unique name, arguments, and options.
46
+ *
47
+ * @param name The _unique_ name of the resource.
48
+ * @param args The arguments to use to populate this resource's properties.
49
+ * @param opts A bag of options that control this resource's behavior.
50
+ */
51
+ constructor(name: string, args?: PodVolumeBackupPatchArgs, opts?: pulumi.CustomResourceOptions);
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a PodVolumeBackupPatch resource.
55
+ */
56
+ export interface PodVolumeBackupPatchArgs {
57
+ /**
58
+ * 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
59
+ */
60
+ apiVersion?: pulumi.Input<"velero.io/v1">;
61
+ /**
62
+ * 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
63
+ */
64
+ kind?: pulumi.Input<"PodVolumeBackup">;
65
+ /**
66
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
67
+ */
68
+ metadata?: pulumi.Input<ObjectMetaPatch>;
69
+ spec?: pulumi.Input<inputs.velero.v1.PodVolumeBackupSpecPatch>;
70
+ }
@@ -0,0 +1,115 @@
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.PodVolumeBackupPatch = 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
+ */
49
+ class PodVolumeBackupPatch extends pulumi.CustomResource {
50
+ /**
51
+ * Get an existing PodVolumeBackupPatch resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name, id, opts) {
59
+ return new PodVolumeBackupPatch(name, undefined, { ...opts, id: id });
60
+ }
61
+ /** @internal */
62
+ static __pulumiType = 'kubernetes:velero.io/v1:PodVolumeBackupPatch';
63
+ /**
64
+ * Returns true if the given object is an instance of PodVolumeBackupPatch. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj) {
68
+ if (obj === undefined || obj === null) {
69
+ return false;
70
+ }
71
+ return obj['__pulumiType'] === PodVolumeBackupPatch.__pulumiType;
72
+ }
73
+ /**
74
+ * 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
75
+ */
76
+ apiVersion;
77
+ /**
78
+ * 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
79
+ */
80
+ kind;
81
+ /**
82
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
83
+ */
84
+ metadata;
85
+ spec;
86
+ status;
87
+ /**
88
+ * Create a PodVolumeBackupPatch resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name, args, opts) {
95
+ let resourceInputs = {};
96
+ opts = opts || {};
97
+ if (!opts.id) {
98
+ resourceInputs["apiVersion"] = "velero.io/v1";
99
+ resourceInputs["kind"] = "PodVolumeBackup";
100
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
101
+ resourceInputs["spec"] = args ? args.spec : undefined;
102
+ resourceInputs["status"] = undefined /*out*/;
103
+ }
104
+ else {
105
+ resourceInputs["apiVersion"] = undefined /*out*/;
106
+ resourceInputs["kind"] = undefined /*out*/;
107
+ resourceInputs["metadata"] = undefined /*out*/;
108
+ resourceInputs["spec"] = undefined /*out*/;
109
+ resourceInputs["status"] = undefined /*out*/;
110
+ }
111
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
112
+ super(PodVolumeBackupPatch.__pulumiType, name, resourceInputs, opts);
113
+ }
114
+ }
115
+ exports.PodVolumeBackupPatch = PodVolumeBackupPatch;
@@ -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 PodVolumeRestore extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing PodVolumeRestore 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): PodVolumeRestore;
15
+ /** @internal */
16
+ static readonly __pulumiType = "kubernetes:velero.io/v1:PodVolumeRestore";
17
+ /**
18
+ * Returns true if the given object is an instance of PodVolumeRestore. 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 PodVolumeRestore;
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<"PodVolumeRestore">;
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.PodVolumeRestoreSpec>;
35
+ readonly status: pulumi.Output<outputs.velero.v1.PodVolumeRestoreStatus>;
36
+ /**
37
+ * Create a PodVolumeRestore 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?: PodVolumeRestoreArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * The set of arguments for constructing a PodVolumeRestore resource.
47
+ */
48
+ export interface PodVolumeRestoreArgs {
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<"PodVolumeRestore">;
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.PodVolumeRestoreSpec>;
62
+ }
@@ -0,0 +1,107 @@
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.PodVolumeRestore = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ class PodVolumeRestore extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing PodVolumeRestore resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, opts) {
51
+ return new PodVolumeRestore(name, undefined, { ...opts, id: id });
52
+ }
53
+ /** @internal */
54
+ static __pulumiType = 'kubernetes:velero.io/v1:PodVolumeRestore';
55
+ /**
56
+ * Returns true if the given object is an instance of PodVolumeRestore. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === PodVolumeRestore.__pulumiType;
64
+ }
65
+ /**
66
+ * 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
67
+ */
68
+ apiVersion;
69
+ /**
70
+ * 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
71
+ */
72
+ kind;
73
+ /**
74
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
75
+ */
76
+ metadata;
77
+ spec;
78
+ status;
79
+ /**
80
+ * Create a PodVolumeRestore resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name, args, opts) {
87
+ let resourceInputs = {};
88
+ opts = opts || {};
89
+ if (!opts.id) {
90
+ resourceInputs["apiVersion"] = "velero.io/v1";
91
+ resourceInputs["kind"] = "PodVolumeRestore";
92
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
93
+ resourceInputs["spec"] = args ? args.spec : undefined;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ }
96
+ else {
97
+ resourceInputs["apiVersion"] = undefined /*out*/;
98
+ resourceInputs["kind"] = undefined /*out*/;
99
+ resourceInputs["metadata"] = undefined /*out*/;
100
+ resourceInputs["spec"] = undefined /*out*/;
101
+ resourceInputs["status"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ super(PodVolumeRestore.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.PodVolumeRestore = PodVolumeRestore;