@kilic.dev/pulumi-k8s-crds 1.7.3 → 1.8.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 (33) hide show
  1. package/dist/cloudflare_operator/index.d.ts +2 -0
  2. package/dist/cloudflare_operator/index.js +41 -0
  3. package/dist/cloudflare_operator/v1/account.d.ts +65 -0
  4. package/dist/cloudflare_operator/v1/account.js +110 -0
  5. package/dist/cloudflare_operator/v1/accountList.d.ts +69 -0
  6. package/dist/cloudflare_operator/v1/accountList.js +113 -0
  7. package/dist/cloudflare_operator/v1/accountPatch.d.ts +71 -0
  8. package/dist/cloudflare_operator/v1/accountPatch.js +116 -0
  9. package/dist/cloudflare_operator/v1/dnsrecord.d.ts +65 -0
  10. package/dist/cloudflare_operator/v1/dnsrecord.js +110 -0
  11. package/dist/cloudflare_operator/v1/dnsrecordList.d.ts +69 -0
  12. package/dist/cloudflare_operator/v1/dnsrecordList.js +113 -0
  13. package/dist/cloudflare_operator/v1/dnsrecordPatch.d.ts +71 -0
  14. package/dist/cloudflare_operator/v1/dnsrecordPatch.js +116 -0
  15. package/dist/cloudflare_operator/v1/index.d.ts +36 -0
  16. package/dist/cloudflare_operator/v1/index.js +98 -0
  17. package/dist/cloudflare_operator/v1/ip.d.ts +65 -0
  18. package/dist/cloudflare_operator/v1/ip.js +110 -0
  19. package/dist/cloudflare_operator/v1/iplist.d.ts +69 -0
  20. package/dist/cloudflare_operator/v1/iplist.js +113 -0
  21. package/dist/cloudflare_operator/v1/ippatch.d.ts +71 -0
  22. package/dist/cloudflare_operator/v1/ippatch.js +116 -0
  23. package/dist/cloudflare_operator/v1/zone.d.ts +65 -0
  24. package/dist/cloudflare_operator/v1/zone.js +110 -0
  25. package/dist/cloudflare_operator/v1/zoneList.d.ts +69 -0
  26. package/dist/cloudflare_operator/v1/zoneList.js +113 -0
  27. package/dist/cloudflare_operator/v1/zonePatch.d.ts +71 -0
  28. package/dist/cloudflare_operator/v1/zonePatch.js +116 -0
  29. package/dist/index.d.ts +2 -1
  30. package/dist/index.js +3 -1
  31. package/dist/types/input.d.ts +1051 -142
  32. package/dist/types/output.d.ts +1303 -189
  33. package/package.json +2 -2
@@ -0,0 +1,110 @@
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.DNSRecord = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * DNSRecord is the Schema for the dnsrecords API
43
+ */
44
+ class DNSRecord extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing DNSRecord 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 DNSRecord(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:cloudflare-operator.io/v1:DNSRecord';
58
+ /**
59
+ * Returns true if the given object is an instance of DNSRecord. 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'] === DNSRecord.__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
+ * 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
74
+ */
75
+ kind;
76
+ /**
77
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
78
+ */
79
+ metadata;
80
+ spec;
81
+ status;
82
+ /**
83
+ * Create a DNSRecord resource with the given unique name, arguments, and options.
84
+ *
85
+ * @param name The _unique_ name of the resource.
86
+ * @param args The arguments to use to populate this resource's properties.
87
+ * @param opts A bag of options that control this resource's behavior.
88
+ */
89
+ constructor(name, args, opts) {
90
+ let resourceInputs = {};
91
+ opts = opts || {};
92
+ if (!opts.id) {
93
+ resourceInputs["apiVersion"] = "cloudflare-operator.io/v1";
94
+ resourceInputs["kind"] = "DNSRecord";
95
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
96
+ resourceInputs["spec"] = args ? args.spec : undefined;
97
+ resourceInputs["status"] = undefined /*out*/;
98
+ }
99
+ else {
100
+ resourceInputs["apiVersion"] = undefined /*out*/;
101
+ resourceInputs["kind"] = undefined /*out*/;
102
+ resourceInputs["metadata"] = undefined /*out*/;
103
+ resourceInputs["spec"] = undefined /*out*/;
104
+ resourceInputs["status"] = undefined /*out*/;
105
+ }
106
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
+ super(DNSRecord.__pulumiType, name, resourceInputs, opts);
108
+ }
109
+ }
110
+ exports.DNSRecord = DNSRecord;
@@ -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
+ * DNSRecordList is a list of DNSRecord
6
+ */
7
+ export declare class DNSRecordList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing DNSRecordList 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): DNSRecordList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:cloudflare-operator.io/v1:DNSRecordList";
19
+ /**
20
+ * Returns true if the given object is an instance of DNSRecordList. 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 DNSRecordList;
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<"cloudflare-operator.io/v1">;
28
+ /**
29
+ * List of dnsrecords. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.cloudflare_operator.v1.DNSRecord[]>;
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<"DNSRecordList">;
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 DNSRecordList 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?: DNSRecordListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a DNSRecordList resource.
51
+ */
52
+ export interface DNSRecordListArgs {
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<"cloudflare-operator.io/v1">;
57
+ /**
58
+ * List of dnsrecords. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.cloudflare_operator.v1.DNSRecord>[]>;
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<"DNSRecordList">;
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.DNSRecordList = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * DNSRecordList is a list of DNSRecord
43
+ */
44
+ class DNSRecordList extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing DNSRecordList 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 DNSRecordList(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:cloudflare-operator.io/v1:DNSRecordList';
58
+ /**
59
+ * Returns true if the given object is an instance of DNSRecordList. 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'] === DNSRecordList.__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 dnsrecords. 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 DNSRecordList 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"] = "cloudflare-operator.io/v1";
99
+ resourceInputs["items"] = args ? args.items : undefined;
100
+ resourceInputs["kind"] = "DNSRecordList";
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(DNSRecordList.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.DNSRecordList = DNSRecordList;
@@ -0,0 +1,71 @@
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
+ * DNSRecord is the Schema for the dnsrecords API
13
+ */
14
+ export declare class DNSRecordPatch extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing DNSRecordPatch 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): DNSRecordPatch;
24
+ /** @internal */
25
+ static readonly __pulumiType = "kubernetes:cloudflare-operator.io/v1:DNSRecordPatch";
26
+ /**
27
+ * Returns true if the given object is an instance of DNSRecordPatch. 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 DNSRecordPatch;
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<"cloudflare-operator.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<"DNSRecord">;
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.cloudflare_operator.v1.DNSRecordSpecPatch>;
44
+ readonly status: pulumi.Output<outputs.cloudflare_operator.v1.DNSRecordStatusPatch>;
45
+ /**
46
+ * Create a DNSRecordPatch 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?: DNSRecordPatchArgs, opts?: pulumi.CustomResourceOptions);
53
+ }
54
+ /**
55
+ * The set of arguments for constructing a DNSRecordPatch resource.
56
+ */
57
+ export interface DNSRecordPatchArgs {
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<"cloudflare-operator.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<"DNSRecord">;
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.cloudflare_operator.v1.DNSRecordSpecPatch>;
71
+ }
@@ -0,0 +1,116 @@
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.DNSRecordPatch = 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
+ * DNSRecord is the Schema for the dnsrecords API
49
+ */
50
+ class DNSRecordPatch extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing DNSRecordPatch 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 DNSRecordPatch(name, undefined, { ...opts, id: id });
61
+ }
62
+ /** @internal */
63
+ static __pulumiType = 'kubernetes:cloudflare-operator.io/v1:DNSRecordPatch';
64
+ /**
65
+ * Returns true if the given object is an instance of DNSRecordPatch. 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'] === DNSRecordPatch.__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 DNSRecordPatch 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"] = "cloudflare-operator.io/v1";
100
+ resourceInputs["kind"] = "DNSRecord";
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(DNSRecordPatch.__pulumiType, name, resourceInputs, opts);
114
+ }
115
+ }
116
+ exports.DNSRecordPatch = DNSRecordPatch;
@@ -0,0 +1,36 @@
1
+ export { AccountArgs } from "./account";
2
+ export type Account = import("./account").Account;
3
+ export declare const Account: typeof import("./account").Account;
4
+ export { AccountListArgs } from "./accountList";
5
+ export type AccountList = import("./accountList").AccountList;
6
+ export declare const AccountList: typeof import("./accountList").AccountList;
7
+ export { AccountPatchArgs } from "./accountPatch";
8
+ export type AccountPatch = import("./accountPatch").AccountPatch;
9
+ export declare const AccountPatch: typeof import("./accountPatch").AccountPatch;
10
+ export { DNSRecordArgs } from "./dnsrecord";
11
+ export type DNSRecord = import("./dnsrecord").DNSRecord;
12
+ export declare const DNSRecord: typeof import("./dnsrecord").DNSRecord;
13
+ export { DNSRecordListArgs } from "./dnsrecordList";
14
+ export type DNSRecordList = import("./dnsrecordList").DNSRecordList;
15
+ export declare const DNSRecordList: typeof import("./dnsrecordList").DNSRecordList;
16
+ export { DNSRecordPatchArgs } from "./dnsrecordPatch";
17
+ export type DNSRecordPatch = import("./dnsrecordPatch").DNSRecordPatch;
18
+ export declare const DNSRecordPatch: typeof import("./dnsrecordPatch").DNSRecordPatch;
19
+ export { IPArgs } from "./ip";
20
+ export type IP = import("./ip").IP;
21
+ export declare const IP: typeof import("./ip").IP;
22
+ export { IPListArgs } from "./iplist";
23
+ export type IPList = import("./iplist").IPList;
24
+ export declare const IPList: typeof import("./iplist").IPList;
25
+ export { IPPatchArgs } from "./ippatch";
26
+ export type IPPatch = import("./ippatch").IPPatch;
27
+ export declare const IPPatch: typeof import("./ippatch").IPPatch;
28
+ export { ZoneArgs } from "./zone";
29
+ export type Zone = import("./zone").Zone;
30
+ export declare const Zone: typeof import("./zone").Zone;
31
+ export { ZoneListArgs } from "./zoneList";
32
+ export type ZoneList = import("./zoneList").ZoneList;
33
+ export declare const ZoneList: typeof import("./zoneList").ZoneList;
34
+ export { ZonePatchArgs } from "./zonePatch";
35
+ export type ZonePatch = import("./zonePatch").ZonePatch;
36
+ export declare const ZonePatch: typeof import("./zonePatch").ZonePatch;
@@ -0,0 +1,98 @@
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.ZonePatch = exports.ZoneList = exports.Zone = exports.IPPatch = exports.IPList = exports.IP = exports.DNSRecordPatch = exports.DNSRecordList = exports.DNSRecord = exports.AccountPatch = exports.AccountList = exports.Account = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ exports.Account = null;
42
+ utilities.lazyLoad(exports, ["Account"], () => require("./account"));
43
+ exports.AccountList = null;
44
+ utilities.lazyLoad(exports, ["AccountList"], () => require("./accountList"));
45
+ exports.AccountPatch = null;
46
+ utilities.lazyLoad(exports, ["AccountPatch"], () => require("./accountPatch"));
47
+ exports.DNSRecord = null;
48
+ utilities.lazyLoad(exports, ["DNSRecord"], () => require("./dnsrecord"));
49
+ exports.DNSRecordList = null;
50
+ utilities.lazyLoad(exports, ["DNSRecordList"], () => require("./dnsrecordList"));
51
+ exports.DNSRecordPatch = null;
52
+ utilities.lazyLoad(exports, ["DNSRecordPatch"], () => require("./dnsrecordPatch"));
53
+ exports.IP = null;
54
+ utilities.lazyLoad(exports, ["IP"], () => require("./ip"));
55
+ exports.IPList = null;
56
+ utilities.lazyLoad(exports, ["IPList"], () => require("./iplist"));
57
+ exports.IPPatch = null;
58
+ utilities.lazyLoad(exports, ["IPPatch"], () => require("./ippatch"));
59
+ exports.Zone = null;
60
+ utilities.lazyLoad(exports, ["Zone"], () => require("./zone"));
61
+ exports.ZoneList = null;
62
+ utilities.lazyLoad(exports, ["ZoneList"], () => require("./zoneList"));
63
+ exports.ZonePatch = null;
64
+ utilities.lazyLoad(exports, ["ZonePatch"], () => require("./zonePatch"));
65
+ const _module = {
66
+ version: utilities.getVersion(),
67
+ construct: (name, type, urn) => {
68
+ switch (type) {
69
+ case "kubernetes:cloudflare-operator.io/v1:Account":
70
+ return new exports.Account(name, undefined, { urn });
71
+ case "kubernetes:cloudflare-operator.io/v1:AccountList":
72
+ return new exports.AccountList(name, undefined, { urn });
73
+ case "kubernetes:cloudflare-operator.io/v1:AccountPatch":
74
+ return new exports.AccountPatch(name, undefined, { urn });
75
+ case "kubernetes:cloudflare-operator.io/v1:DNSRecord":
76
+ return new exports.DNSRecord(name, undefined, { urn });
77
+ case "kubernetes:cloudflare-operator.io/v1:DNSRecordList":
78
+ return new exports.DNSRecordList(name, undefined, { urn });
79
+ case "kubernetes:cloudflare-operator.io/v1:DNSRecordPatch":
80
+ return new exports.DNSRecordPatch(name, undefined, { urn });
81
+ case "kubernetes:cloudflare-operator.io/v1:IP":
82
+ return new exports.IP(name, undefined, { urn });
83
+ case "kubernetes:cloudflare-operator.io/v1:IPList":
84
+ return new exports.IPList(name, undefined, { urn });
85
+ case "kubernetes:cloudflare-operator.io/v1:IPPatch":
86
+ return new exports.IPPatch(name, undefined, { urn });
87
+ case "kubernetes:cloudflare-operator.io/v1:Zone":
88
+ return new exports.Zone(name, undefined, { urn });
89
+ case "kubernetes:cloudflare-operator.io/v1:ZoneList":
90
+ return new exports.ZoneList(name, undefined, { urn });
91
+ case "kubernetes:cloudflare-operator.io/v1:ZonePatch":
92
+ return new exports.ZonePatch(name, undefined, { urn });
93
+ default:
94
+ throw new Error(`unknown resource type ${type}`);
95
+ }
96
+ },
97
+ };
98
+ pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "cloudflare-operator.io/v1", _module);