@kilic.dev/pulumi-k8s-crds 1.7.0 → 1.7.2

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