@kilic.dev/pulumi-k8s-crds 1.8.15 → 2.0.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 (129) hide show
  1. package/dist/cert_manager/v1/index.d.ts +0 -9
  2. package/dist/cert_manager/v1/index.js +1 -13
  3. package/dist/{acme/v1/order.d.ts → cilium/v2/ciliumBGPAdvertisement.d.ts} +17 -18
  4. package/dist/cilium/v2/ciliumBGPAdvertisement.js +109 -0
  5. package/dist/{cert_manager/v1/certificateRequestList.d.ts → cilium/v2/ciliumBGPAdvertisementList.d.ts} +19 -19
  6. package/dist/cilium/v2/ciliumBGPAdvertisementList.js +113 -0
  7. package/dist/{kyverno/v1beta1/updateRequestPatch.d.ts → cilium/v2/ciliumBGPAdvertisementPatch.d.ts} +17 -18
  8. package/dist/cilium/v2/ciliumBGPAdvertisementPatch.js +115 -0
  9. package/dist/cilium/v2/ciliumBGPClusterConfig.d.ts +65 -0
  10. package/dist/{acme/v1/challenge.js → cilium/v2/ciliumBGPClusterConfig.js} +15 -13
  11. package/dist/cilium/v2/ciliumBGPClusterConfigList.d.ts +69 -0
  12. package/dist/cilium/v2/ciliumBGPClusterConfigList.js +113 -0
  13. package/dist/cilium/v2/ciliumBGPClusterConfigPatch.d.ts +71 -0
  14. package/dist/{acme/v1/challengePatch.js → cilium/v2/ciliumBGPClusterConfigPatch.js} +15 -13
  15. package/dist/cilium/v2/ciliumBGPNodeConfig.d.ts +66 -0
  16. package/dist/cilium/v2/ciliumBGPNodeConfig.js +113 -0
  17. package/dist/{kyverno/v2alpha1/globalContextEntryList.d.ts → cilium/v2/ciliumBGPNodeConfigList.d.ts} +19 -19
  18. package/dist/{kyverno/v2alpha1/globalContextEntryList.js → cilium/v2/ciliumBGPNodeConfigList.js} +14 -14
  19. package/dist/cilium/v2/ciliumBGPNodeConfigOverride.d.ts +67 -0
  20. package/dist/cilium/v2/ciliumBGPNodeConfigOverride.js +112 -0
  21. package/dist/cilium/v2/ciliumBGPNodeConfigOverrideList.d.ts +69 -0
  22. package/dist/cilium/v2/ciliumBGPNodeConfigOverrideList.js +113 -0
  23. package/dist/cilium/v2/ciliumBGPNodeConfigOverridePatch.d.ts +73 -0
  24. package/dist/cilium/v2/ciliumBGPNodeConfigOverridePatch.js +118 -0
  25. package/dist/cilium/v2/ciliumBGPNodeConfigPatch.d.ts +72 -0
  26. package/dist/cilium/v2/ciliumBGPNodeConfigPatch.js +119 -0
  27. package/dist/{acme/v1/challenge.d.ts → cilium/v2/ciliumBGPPeerConfig.d.ts} +17 -20
  28. package/dist/{kyverno/v2/updateRequest.js → cilium/v2/ciliumBGPPeerConfig.js} +13 -16
  29. package/dist/{acme/v1/orderList.d.ts → cilium/v2/ciliumBGPPeerConfigList.d.ts} +19 -19
  30. package/dist/{acme/v1/orderList.js → cilium/v2/ciliumBGPPeerConfigList.js} +14 -14
  31. package/dist/{acme/v1/orderPatch.d.ts → cilium/v2/ciliumBGPPeerConfigPatch.d.ts} +17 -18
  32. package/dist/{kyverno/v2/updateRequestPatch.js → cilium/v2/ciliumBGPPeerConfigPatch.js} +13 -14
  33. package/dist/{kyverno/v1beta1/updateRequest.d.ts → cilium/v2/ciliumCIDRGroup.d.ts} +19 -18
  34. package/dist/cilium/v2/ciliumCIDRGroup.js +111 -0
  35. package/dist/{kyverno/v1beta1/updateRequestList.d.ts → cilium/v2/ciliumCIDRGroupList.d.ts} +19 -19
  36. package/dist/cilium/{v2alpha1/ciliumPodIPPoolList.js → v2/ciliumCIDRGroupList.js} +14 -14
  37. package/dist/{acme/v1/challengePatch.d.ts → cilium/v2/ciliumCIDRGroupPatch.d.ts} +19 -18
  38. package/dist/cilium/v2/ciliumCIDRGroupPatch.js +117 -0
  39. package/dist/cilium/v2/ciliumLoadBalancerIPPool.d.ts +67 -0
  40. package/dist/cilium/v2/ciliumLoadBalancerIPPool.js +114 -0
  41. package/dist/cilium/v2/ciliumLoadBalancerIPPoolList.d.ts +69 -0
  42. package/dist/cilium/v2/ciliumLoadBalancerIPPoolList.js +113 -0
  43. package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.d.ts +73 -0
  44. package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.js +120 -0
  45. package/dist/cilium/v2/index.d.ts +63 -0
  46. package/dist/cilium/v2/index.js +85 -1
  47. package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.d.ts +64 -0
  48. package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.js +109 -0
  49. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.d.ts +69 -0
  50. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.js +113 -0
  51. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.d.ts +70 -0
  52. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.js +115 -0
  53. package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.d.ts +65 -0
  54. package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.js +112 -0
  55. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.d.ts +69 -0
  56. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.js +113 -0
  57. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.d.ts +71 -0
  58. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.js +118 -0
  59. package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.d.ts +66 -0
  60. package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.js +113 -0
  61. package/dist/cilium/v2alpha1/{ciliumPodIPPoolList.d.ts → ciliumBGPNodeConfigList.d.ts} +17 -17
  62. package/dist/{cert_manager/v1/certificateRequestList.js → cilium/v2alpha1/ciliumBGPNodeConfigList.js} +14 -14
  63. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.d.ts +67 -0
  64. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +112 -0
  65. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +69 -0
  66. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.js +113 -0
  67. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts +73 -0
  68. package/dist/{cert_manager/v1/certificateRequestPatch.js → cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js} +18 -24
  69. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.d.ts +72 -0
  70. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.js +119 -0
  71. package/dist/cilium/v2alpha1/{ciliumPodIPPool.d.ts → ciliumBGPPeerConfig.d.ts} +15 -18
  72. package/dist/{kyverno/v1beta1/updateRequest.js → cilium/v2alpha1/ciliumBGPPeerConfig.js} +13 -16
  73. package/dist/{kyverno/v2/updateRequestList.d.ts → cilium/v2alpha1/ciliumBGPPeerConfigList.d.ts} +19 -19
  74. package/dist/{kyverno/v1beta1/updateRequestList.js → cilium/v2alpha1/ciliumBGPPeerConfigList.js} +14 -14
  75. package/dist/cilium/v2alpha1/{ciliumPodIPPoolPatch.d.ts → ciliumBGPPeerConfigPatch.d.ts} +15 -16
  76. package/dist/{kyverno/v1beta1/updateRequestPatch.js → cilium/v2alpha1/ciliumBGPPeerConfigPatch.js} +13 -14
  77. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicy.d.ts +65 -0
  78. package/dist/cilium/v2alpha1/{ciliumPodIPPool.js → ciliumBGPPeeringPolicy.js} +13 -13
  79. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.d.ts +69 -0
  80. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +113 -0
  81. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts +71 -0
  82. package/dist/cilium/v2alpha1/{ciliumPodIPPoolPatch.js → ciliumBGPPeeringPolicyPatch.js} +13 -13
  83. package/dist/cilium/v2alpha1/ciliumCIDRGroup.js +2 -0
  84. package/dist/cilium/v2alpha1/ciliumCIDRGroupPatch.js +2 -0
  85. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +67 -0
  86. package/dist/{acme/v1/order.js → cilium/v2alpha1/ciliumL2AnnouncementPolicy.js} +15 -13
  87. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +69 -0
  88. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +113 -0
  89. package/dist/{kyverno/v2alpha1/globalContextEntryPatch.d.ts → cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts} +20 -18
  90. package/dist/{acme/v1/orderPatch.js → cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.js} +15 -13
  91. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +2 -0
  92. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +2 -0
  93. package/dist/cilium/v2alpha1/index.d.ts +63 -9
  94. package/dist/cilium/v2alpha1/index.js +85 -13
  95. package/dist/gateway/v1alpha2/tlsroute.js +2 -0
  96. package/dist/gateway/v1alpha2/tlsroutePatch.js +2 -0
  97. package/dist/gateway/v1alpha3/index.d.ts +9 -0
  98. package/dist/gateway/v1alpha3/index.js +13 -1
  99. package/dist/gateway/v1alpha3/tlsroute.d.ts +70 -0
  100. package/dist/{kyverno/v2alpha1/globalContextEntry.js → gateway/v1alpha3/tlsroute.js} +20 -13
  101. package/dist/{acme/v1/challengeList.d.ts → gateway/v1alpha3/tlsrouteList.d.ts} +19 -19
  102. package/dist/{acme/v1/challengeList.js → gateway/v1alpha3/tlsrouteList.js} +14 -14
  103. package/dist/gateway/v1alpha3/tlsroutePatch.d.ts +76 -0
  104. package/dist/gateway/v1alpha3/tlsroutePatch.js +123 -0
  105. package/dist/index.d.ts +1 -2
  106. package/dist/index.js +1 -3
  107. package/dist/kyverno/index.d.ts +1 -3
  108. package/dist/kyverno/index.js +1 -5
  109. package/dist/kyverno/v2/index.d.ts +0 -9
  110. package/dist/kyverno/v2/index.js +1 -13
  111. package/dist/types/input.d.ts +38088 -35521
  112. package/dist/types/output.d.ts +40360 -37362
  113. package/package.json +2 -2
  114. package/dist/acme/index.d.ts +0 -2
  115. package/dist/acme/index.js +0 -41
  116. package/dist/acme/v1/index.d.ts +0 -18
  117. package/dist/acme/v1/index.js +0 -74
  118. package/dist/cert_manager/v1/certificateRequest.d.ts +0 -73
  119. package/dist/cert_manager/v1/certificateRequest.js +0 -118
  120. package/dist/cert_manager/v1/certificateRequestPatch.d.ts +0 -79
  121. package/dist/kyverno/v1beta1/index.d.ts +0 -9
  122. package/dist/kyverno/v1beta1/index.js +0 -62
  123. package/dist/kyverno/v2/updateRequest.d.ts +0 -65
  124. package/dist/kyverno/v2/updateRequestList.js +0 -113
  125. package/dist/kyverno/v2/updateRequestPatch.d.ts +0 -71
  126. package/dist/kyverno/v2alpha1/globalContextEntry.d.ts +0 -65
  127. package/dist/kyverno/v2alpha1/globalContextEntryPatch.js +0 -116
  128. package/dist/kyverno/v2alpha1/index.d.ts +0 -9
  129. package/dist/kyverno/v2alpha1/index.js +0 -62
@@ -7,15 +7,6 @@ export declare const CertificateList: typeof import("./certificateList").Certifi
7
7
  export { CertificatePatchArgs } from "./certificatePatch";
8
8
  export type CertificatePatch = import("./certificatePatch").CertificatePatch;
9
9
  export declare const CertificatePatch: typeof import("./certificatePatch").CertificatePatch;
10
- export { CertificateRequestArgs } from "./certificateRequest";
11
- export type CertificateRequest = import("./certificateRequest").CertificateRequest;
12
- export declare const CertificateRequest: typeof import("./certificateRequest").CertificateRequest;
13
- export { CertificateRequestListArgs } from "./certificateRequestList";
14
- export type CertificateRequestList = import("./certificateRequestList").CertificateRequestList;
15
- export declare const CertificateRequestList: typeof import("./certificateRequestList").CertificateRequestList;
16
- export { CertificateRequestPatchArgs } from "./certificateRequestPatch";
17
- export type CertificateRequestPatch = import("./certificateRequestPatch").CertificateRequestPatch;
18
- export declare const CertificateRequestPatch: typeof import("./certificateRequestPatch").CertificateRequestPatch;
19
10
  export { ClusterIssuerArgs } from "./clusterIssuer";
20
11
  export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
21
12
  export declare const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer;
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  };
36
36
  })();
37
37
  Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.IssuerPatch = exports.IssuerList = exports.Issuer = exports.ClusterIssuerPatch = exports.ClusterIssuerList = exports.ClusterIssuer = exports.CertificateRequestPatch = exports.CertificateRequestList = exports.CertificateRequest = exports.CertificatePatch = exports.CertificateList = exports.Certificate = void 0;
38
+ exports.IssuerPatch = exports.IssuerList = exports.Issuer = exports.ClusterIssuerPatch = exports.ClusterIssuerList = exports.ClusterIssuer = exports.CertificatePatch = exports.CertificateList = exports.Certificate = void 0;
39
39
  const pulumi = __importStar(require("@pulumi/pulumi"));
40
40
  const utilities = __importStar(require("../../utilities"));
41
41
  exports.Certificate = null;
@@ -44,12 +44,6 @@ exports.CertificateList = null;
44
44
  utilities.lazyLoad(exports, ["CertificateList"], () => require("./certificateList"));
45
45
  exports.CertificatePatch = null;
46
46
  utilities.lazyLoad(exports, ["CertificatePatch"], () => require("./certificatePatch"));
47
- exports.CertificateRequest = null;
48
- utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
49
- exports.CertificateRequestList = null;
50
- utilities.lazyLoad(exports, ["CertificateRequestList"], () => require("./certificateRequestList"));
51
- exports.CertificateRequestPatch = null;
52
- utilities.lazyLoad(exports, ["CertificateRequestPatch"], () => require("./certificateRequestPatch"));
53
47
  exports.ClusterIssuer = null;
54
48
  utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
55
49
  exports.ClusterIssuerList = null;
@@ -72,12 +66,6 @@ const _module = {
72
66
  return new exports.CertificateList(name, undefined, { urn });
73
67
  case "kubernetes:cert-manager.io/v1:CertificatePatch":
74
68
  return new exports.CertificatePatch(name, undefined, { urn });
75
- case "kubernetes:cert-manager.io/v1:CertificateRequest":
76
- return new exports.CertificateRequest(name, undefined, { urn });
77
- case "kubernetes:cert-manager.io/v1:CertificateRequestList":
78
- return new exports.CertificateRequestList(name, undefined, { urn });
79
- case "kubernetes:cert-manager.io/v1:CertificateRequestPatch":
80
- return new exports.CertificateRequestPatch(name, undefined, { urn });
81
69
  case "kubernetes:cert-manager.io/v1:ClusterIssuer":
82
70
  return new exports.ClusterIssuer(name, undefined, { urn });
83
71
  case "kubernetes:cert-manager.io/v1:ClusterIssuerList":
@@ -3,63 +3,62 @@ import * as inputs from "../../types/input";
3
3
  import * as outputs from "../../types/output";
4
4
  import { ObjectMeta } from "../../meta/v1";
5
5
  /**
6
- * Order is a type to represent an Order with an ACME server
6
+ * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
7
7
  */
8
- export declare class Order extends pulumi.CustomResource {
8
+ export declare class CiliumBGPAdvertisement extends pulumi.CustomResource {
9
9
  /**
10
- * Get an existing Order resource's state with the given name, ID, and optional extra
10
+ * Get an existing CiliumBGPAdvertisement resource's state with the given name, ID, and optional extra
11
11
  * properties used to qualify the lookup.
12
12
  *
13
13
  * @param name The _unique_ name of the resulting resource.
14
14
  * @param id The _unique_ provider ID of the resource to lookup.
15
15
  * @param opts Optional settings to control the behavior of the CustomResource.
16
16
  */
17
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Order;
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPAdvertisement;
18
18
  /** @internal */
19
- static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:Order";
19
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumBGPAdvertisement";
20
20
  /**
21
- * Returns true if the given object is an instance of Order. This is designed to work even
21
+ * Returns true if the given object is an instance of CiliumBGPAdvertisement. This is designed to work even
22
22
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
23
  */
24
- static isInstance(obj: any): obj is Order;
24
+ static isInstance(obj: any): obj is CiliumBGPAdvertisement;
25
25
  /**
26
26
  * 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
27
27
  */
28
- readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
28
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
29
29
  /**
30
30
  * 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
31
31
  */
32
- readonly kind: pulumi.Output<"Order">;
32
+ readonly kind: pulumi.Output<"CiliumBGPAdvertisement">;
33
33
  /**
34
34
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
35
  */
36
36
  readonly metadata: pulumi.Output<ObjectMeta>;
37
- readonly spec: pulumi.Output<outputs.acme.v1.OrderSpec>;
38
- readonly status: pulumi.Output<outputs.acme.v1.OrderStatus>;
37
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumBGPAdvertisementSpec>;
39
38
  /**
40
- * Create a Order resource with the given unique name, arguments, and options.
39
+ * Create a CiliumBGPAdvertisement resource with the given unique name, arguments, and options.
41
40
  *
42
41
  * @param name The _unique_ name of the resource.
43
42
  * @param args The arguments to use to populate this resource's properties.
44
43
  * @param opts A bag of options that control this resource's behavior.
45
44
  */
46
- constructor(name: string, args?: OrderArgs, opts?: pulumi.CustomResourceOptions);
45
+ constructor(name: string, args?: CiliumBGPAdvertisementArgs, opts?: pulumi.CustomResourceOptions);
47
46
  }
48
47
  /**
49
- * The set of arguments for constructing a Order resource.
48
+ * The set of arguments for constructing a CiliumBGPAdvertisement resource.
50
49
  */
51
- export interface OrderArgs {
50
+ export interface CiliumBGPAdvertisementArgs {
52
51
  /**
53
52
  * 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
54
53
  */
55
- apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
54
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
56
55
  /**
57
56
  * 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
58
57
  */
59
- kind?: pulumi.Input<"Order">;
58
+ kind?: pulumi.Input<"CiliumBGPAdvertisement">;
60
59
  /**
61
60
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
62
61
  */
63
62
  metadata?: pulumi.Input<ObjectMeta>;
64
- spec?: pulumi.Input<inputs.acme.v1.OrderSpec>;
63
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumBGPAdvertisementSpec>;
65
64
  }
@@ -0,0 +1,109 @@
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.CiliumBGPAdvertisement = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
43
+ */
44
+ class CiliumBGPAdvertisement extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing CiliumBGPAdvertisement 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 CiliumBGPAdvertisement(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumBGPAdvertisement';
58
+ /**
59
+ * Returns true if the given object is an instance of CiliumBGPAdvertisement. 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'] === CiliumBGPAdvertisement.__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
+ /**
82
+ * Create a CiliumBGPAdvertisement resource with the given unique name, arguments, and options.
83
+ *
84
+ * @param name The _unique_ name of the resource.
85
+ * @param args The arguments to use to populate this resource's properties.
86
+ * @param opts A bag of options that control this resource's behavior.
87
+ */
88
+ constructor(name, args, opts) {
89
+ let resourceInputs = {};
90
+ opts = opts || {};
91
+ if (!opts.id) {
92
+ resourceInputs["apiVersion"] = "cilium.io/v2";
93
+ resourceInputs["kind"] = "CiliumBGPAdvertisement";
94
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
95
+ resourceInputs["spec"] = args ? args.spec : undefined;
96
+ }
97
+ else {
98
+ resourceInputs["apiVersion"] = undefined /*out*/;
99
+ resourceInputs["kind"] = undefined /*out*/;
100
+ resourceInputs["metadata"] = undefined /*out*/;
101
+ resourceInputs["spec"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisement" }] };
105
+ opts = pulumi.mergeOptions(opts, aliasOpts);
106
+ super(CiliumBGPAdvertisement.__pulumiType, name, resourceInputs, opts);
107
+ }
108
+ }
109
+ exports.CiliumBGPAdvertisement = CiliumBGPAdvertisement;
@@ -2,66 +2,66 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../../types/input";
3
3
  import * as outputs from "../../types/output";
4
4
  /**
5
- * CertificateRequestList is a list of CertificateRequest
5
+ * CiliumBGPAdvertisementList is a list of CiliumBGPAdvertisement
6
6
  */
7
- export declare class CertificateRequestList extends pulumi.CustomResource {
7
+ export declare class CiliumBGPAdvertisementList extends pulumi.CustomResource {
8
8
  /**
9
- * Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
9
+ * Get an existing CiliumBGPAdvertisementList resource's state with the given name, ID, and optional extra
10
10
  * properties used to qualify the lookup.
11
11
  *
12
12
  * @param name The _unique_ name of the resulting resource.
13
13
  * @param id The _unique_ provider ID of the resource to lookup.
14
14
  * @param opts Optional settings to control the behavior of the CustomResource.
15
15
  */
16
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestList;
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPAdvertisementList;
17
17
  /** @internal */
18
- static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequestList";
18
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumBGPAdvertisementList";
19
19
  /**
20
- * Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
20
+ * Returns true if the given object is an instance of CiliumBGPAdvertisementList. This is designed to work even
21
21
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
22
22
  */
23
- static isInstance(obj: any): obj is CertificateRequestList;
23
+ static isInstance(obj: any): obj is CiliumBGPAdvertisementList;
24
24
  /**
25
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
26
  */
27
- readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
27
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
28
28
  /**
29
- * List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
29
+ * List of ciliumbgpadvertisements. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
30
  */
31
- readonly items: pulumi.Output<outputs.cert_manager.v1.CertificateRequest[]>;
31
+ readonly items: pulumi.Output<outputs.cilium.v2.CiliumBGPAdvertisement[]>;
32
32
  /**
33
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
34
  */
35
- readonly kind: pulumi.Output<"CertificateRequestList">;
35
+ readonly kind: pulumi.Output<"CiliumBGPAdvertisementList">;
36
36
  /**
37
37
  * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
38
  */
39
39
  readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
40
40
  /**
41
- * Create a CertificateRequestList resource with the given unique name, arguments, and options.
41
+ * Create a CiliumBGPAdvertisementList resource with the given unique name, arguments, and options.
42
42
  *
43
43
  * @param name The _unique_ name of the resource.
44
44
  * @param args The arguments to use to populate this resource's properties.
45
45
  * @param opts A bag of options that control this resource's behavior.
46
46
  */
47
- constructor(name: string, args?: CertificateRequestListArgs, opts?: pulumi.CustomResourceOptions);
47
+ constructor(name: string, args?: CiliumBGPAdvertisementListArgs, opts?: pulumi.CustomResourceOptions);
48
48
  }
49
49
  /**
50
- * The set of arguments for constructing a CertificateRequestList resource.
50
+ * The set of arguments for constructing a CiliumBGPAdvertisementList resource.
51
51
  */
52
- export interface CertificateRequestListArgs {
52
+ export interface CiliumBGPAdvertisementListArgs {
53
53
  /**
54
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
55
  */
56
- apiVersion?: pulumi.Input<"cert-manager.io/v1">;
56
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
57
57
  /**
58
- * List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
58
+ * List of ciliumbgpadvertisements. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
59
  */
60
- items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.CertificateRequest>[]>;
60
+ items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumBGPAdvertisement>[]>;
61
61
  /**
62
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
63
  */
64
- kind?: pulumi.Input<"CertificateRequestList">;
64
+ kind?: pulumi.Input<"CiliumBGPAdvertisementList">;
65
65
  /**
66
66
  * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
67
67
  */
@@ -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.CiliumBGPAdvertisementList = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * CiliumBGPAdvertisementList is a list of CiliumBGPAdvertisement
43
+ */
44
+ class CiliumBGPAdvertisementList extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing CiliumBGPAdvertisementList 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 CiliumBGPAdvertisementList(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumBGPAdvertisementList';
58
+ /**
59
+ * Returns true if the given object is an instance of CiliumBGPAdvertisementList. 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'] === CiliumBGPAdvertisementList.__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 ciliumbgpadvertisements. 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 CiliumBGPAdvertisementList 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"] = "cilium.io/v2";
99
+ resourceInputs["items"] = args ? args.items : undefined;
100
+ resourceInputs["kind"] = "CiliumBGPAdvertisementList";
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(CiliumBGPAdvertisementList.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.CiliumBGPAdvertisementList = CiliumBGPAdvertisementList;
@@ -9,63 +9,62 @@ import { ObjectMetaPatch } from "../../meta/v1";
9
9
  * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
10
10
  * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
11
11
  * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
12
- * UpdateRequest is a request to process mutate and generate rules in background.
12
+ * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
13
13
  */
14
- export declare class UpdateRequestPatch extends pulumi.CustomResource {
14
+ export declare class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
15
15
  /**
16
- * Get an existing UpdateRequestPatch resource's state with the given name, ID, and optional extra
16
+ * Get an existing CiliumBGPAdvertisementPatch resource's state with the given name, ID, and optional extra
17
17
  * properties used to qualify the lookup.
18
18
  *
19
19
  * @param name The _unique_ name of the resulting resource.
20
20
  * @param id The _unique_ provider ID of the resource to lookup.
21
21
  * @param opts Optional settings to control the behavior of the CustomResource.
22
22
  */
23
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UpdateRequestPatch;
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumBGPAdvertisementPatch;
24
24
  /** @internal */
25
- static readonly __pulumiType = "kubernetes:kyverno.io/v1beta1:UpdateRequestPatch";
25
+ static readonly __pulumiType = "kubernetes:cilium.io/v2:CiliumBGPAdvertisementPatch";
26
26
  /**
27
- * Returns true if the given object is an instance of UpdateRequestPatch. This is designed to work even
27
+ * Returns true if the given object is an instance of CiliumBGPAdvertisementPatch. This is designed to work even
28
28
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
29
  */
30
- static isInstance(obj: any): obj is UpdateRequestPatch;
30
+ static isInstance(obj: any): obj is CiliumBGPAdvertisementPatch;
31
31
  /**
32
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
33
  */
34
- readonly apiVersion: pulumi.Output<"kyverno.io/v1beta1">;
34
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
35
35
  /**
36
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
37
  */
38
- readonly kind: pulumi.Output<"UpdateRequest">;
38
+ readonly kind: pulumi.Output<"CiliumBGPAdvertisement">;
39
39
  /**
40
40
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
41
41
  */
42
42
  readonly metadata: pulumi.Output<ObjectMetaPatch>;
43
- readonly spec: pulumi.Output<outputs.kyverno.v1beta1.UpdateRequestSpecPatch>;
44
- readonly status: pulumi.Output<outputs.kyverno.v1beta1.UpdateRequestStatusPatch>;
43
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumBGPAdvertisementSpecPatch>;
45
44
  /**
46
- * Create a UpdateRequestPatch resource with the given unique name, arguments, and options.
45
+ * Create a CiliumBGPAdvertisementPatch resource with the given unique name, arguments, and options.
47
46
  *
48
47
  * @param name The _unique_ name of the resource.
49
48
  * @param args The arguments to use to populate this resource's properties.
50
49
  * @param opts A bag of options that control this resource's behavior.
51
50
  */
52
- constructor(name: string, args?: UpdateRequestPatchArgs, opts?: pulumi.CustomResourceOptions);
51
+ constructor(name: string, args?: CiliumBGPAdvertisementPatchArgs, opts?: pulumi.CustomResourceOptions);
53
52
  }
54
53
  /**
55
- * The set of arguments for constructing a UpdateRequestPatch resource.
54
+ * The set of arguments for constructing a CiliumBGPAdvertisementPatch resource.
56
55
  */
57
- export interface UpdateRequestPatchArgs {
56
+ export interface CiliumBGPAdvertisementPatchArgs {
58
57
  /**
59
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
60
59
  */
61
- apiVersion?: pulumi.Input<"kyverno.io/v1beta1">;
60
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
62
61
  /**
63
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
64
63
  */
65
- kind?: pulumi.Input<"UpdateRequest">;
64
+ kind?: pulumi.Input<"CiliumBGPAdvertisement">;
66
65
  /**
67
66
  * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
68
67
  */
69
68
  metadata?: pulumi.Input<ObjectMetaPatch>;
70
- spec?: pulumi.Input<inputs.kyverno.v1beta1.UpdateRequestSpecPatch>;
69
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumBGPAdvertisementSpecPatch>;
71
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.CiliumBGPAdvertisementPatch = 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
+ * CiliumBGPAdvertisement is the Schema for the ciliumbgpadvertisements API
49
+ */
50
+ class CiliumBGPAdvertisementPatch extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing CiliumBGPAdvertisementPatch 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 CiliumBGPAdvertisementPatch(name, undefined, { ...opts, id: id });
61
+ }
62
+ /** @internal */
63
+ static __pulumiType = 'kubernetes:cilium.io/v2:CiliumBGPAdvertisementPatch';
64
+ /**
65
+ * Returns true if the given object is an instance of CiliumBGPAdvertisementPatch. 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'] === CiliumBGPAdvertisementPatch.__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
+ /**
88
+ * Create a CiliumBGPAdvertisementPatch 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"] = "cilium.io/v2";
99
+ resourceInputs["kind"] = "CiliumBGPAdvertisement";
100
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
101
+ resourceInputs["spec"] = args ? args.spec : undefined;
102
+ }
103
+ else {
104
+ resourceInputs["apiVersion"] = undefined /*out*/;
105
+ resourceInputs["kind"] = undefined /*out*/;
106
+ resourceInputs["metadata"] = undefined /*out*/;
107
+ resourceInputs["spec"] = undefined /*out*/;
108
+ }
109
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
110
+ const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2alpha1:CiliumBGPAdvertisementPatch" }] };
111
+ opts = pulumi.mergeOptions(opts, aliasOpts);
112
+ super(CiliumBGPAdvertisementPatch.__pulumiType, name, resourceInputs, opts);
113
+ }
114
+ }
115
+ exports.CiliumBGPAdvertisementPatch = CiliumBGPAdvertisementPatch;