@pulumi/gcp 10.0.0-beta.1 → 10.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 (353) hide show
  1. package/README.md +2 -2
  2. package/agenticapplications/analystAgentPersona.d.ts +96 -0
  3. package/agenticapplications/analystAgentPersona.d.ts.map +1 -1
  4. package/agenticapplications/analystAgentPersona.js +64 -0
  5. package/agenticapplications/analystAgentPersona.js.map +1 -1
  6. package/appengine/standardAppVersion.d.ts +4 -4
  7. package/appengine/standardAppVersion.js +4 -4
  8. package/bigquery/connection.d.ts +49 -5
  9. package/bigquery/connection.d.ts.map +1 -1
  10. package/bigquery/connection.js +49 -5
  11. package/bigquery/connection.js.map +1 -1
  12. package/bigquery/job.d.ts +1 -1
  13. package/bigquery/job.js +1 -1
  14. package/bigquery/routine.d.ts +1 -1
  15. package/bigquery/routine.js +1 -1
  16. package/bigqueryanalyticshub/queryTemplate.d.ts +1 -0
  17. package/bigqueryanalyticshub/queryTemplate.d.ts.map +1 -1
  18. package/bigqueryanalyticshub/queryTemplate.js +1 -0
  19. package/bigqueryanalyticshub/queryTemplate.js.map +1 -1
  20. package/billing/projectInfo.d.ts +2 -2
  21. package/billing/projectInfo.js +2 -2
  22. package/ces/agent.d.ts +88 -0
  23. package/ces/agent.d.ts.map +1 -1
  24. package/ces/agent.js +72 -0
  25. package/ces/agent.js.map +1 -1
  26. package/ces/example.d.ts +1 -0
  27. package/ces/example.d.ts.map +1 -1
  28. package/ces/example.js +1 -0
  29. package/ces/example.js.map +1 -1
  30. package/chronicle/caseTagDefinition.d.ts +1 -1
  31. package/chronicle/caseTagDefinition.js +1 -1
  32. package/chronicle/dataExport.d.ts +2 -2
  33. package/chronicle/dataExport.js +2 -2
  34. package/chronicle/environment.d.ts +28 -0
  35. package/chronicle/environment.d.ts.map +1 -1
  36. package/chronicle/environment.js +3 -0
  37. package/chronicle/environment.js.map +1 -1
  38. package/chronicle/feed.d.ts +3 -3
  39. package/chronicle/feed.js +3 -3
  40. package/chronicle/findingsRefinementDeployment.d.ts +2 -2
  41. package/chronicle/findingsRefinementDeployment.js +2 -2
  42. package/chronicle/retrohunt.d.ts +2 -2
  43. package/chronicle/retrohunt.js +2 -2
  44. package/chronicle/ruleDeployment.d.ts +6 -6
  45. package/chronicle/ruleDeployment.js +6 -6
  46. package/cloudbuild/getWorkerPool.d.ts +111 -0
  47. package/cloudbuild/getWorkerPool.d.ts.map +1 -0
  48. package/cloudbuild/getWorkerPool.js +89 -0
  49. package/cloudbuild/getWorkerPool.js.map +1 -0
  50. package/cloudbuild/index.d.ts +3 -0
  51. package/cloudbuild/index.d.ts.map +1 -1
  52. package/cloudbuild/index.js +4 -1
  53. package/cloudbuild/index.js.map +1 -1
  54. package/cloudfunctionsv2/function.d.ts +11 -11
  55. package/cloudfunctionsv2/function.js +11 -11
  56. package/cloudrunv2/getService.d.ts +1 -0
  57. package/cloudrunv2/getService.d.ts.map +1 -1
  58. package/cloudrunv2/getService.js.map +1 -1
  59. package/cloudrunv2/job.d.ts +21 -0
  60. package/cloudrunv2/job.d.ts.map +1 -1
  61. package/cloudrunv2/job.js +21 -0
  62. package/cloudrunv2/job.js.map +1 -1
  63. package/cloudrunv2/service.d.ts +13 -2
  64. package/cloudrunv2/service.d.ts.map +1 -1
  65. package/cloudrunv2/service.js +3 -2
  66. package/cloudrunv2/service.js.map +1 -1
  67. package/cloudsupport/supportEventSubscription.d.ts +2 -2
  68. package/cloudsupport/supportEventSubscription.js +2 -2
  69. package/compute/disk.d.ts +41 -0
  70. package/compute/disk.d.ts.map +1 -1
  71. package/compute/disk.js +41 -0
  72. package/compute/disk.js.map +1 -1
  73. package/compute/forwardingRule.d.ts +6 -6
  74. package/compute/forwardingRule.js +6 -6
  75. package/compute/getRegions.d.ts +28 -24
  76. package/compute/getRegions.d.ts.map +1 -1
  77. package/compute/getRegions.js +28 -24
  78. package/compute/getRegions.js.map +1 -1
  79. package/compute/getServiceAttachment.d.ts +1 -0
  80. package/compute/getServiceAttachment.d.ts.map +1 -1
  81. package/compute/getServiceAttachment.js.map +1 -1
  82. package/compute/getZones.d.ts +30 -26
  83. package/compute/getZones.d.ts.map +1 -1
  84. package/compute/getZones.js +30 -26
  85. package/compute/getZones.js.map +1 -1
  86. package/compute/globalForwardingRule.d.ts +7 -7
  87. package/compute/globalForwardingRule.js +7 -7
  88. package/compute/globalVmExtensionPolicy.d.ts +4 -4
  89. package/compute/globalVmExtensionPolicy.js +4 -4
  90. package/compute/networkEndpoint.d.ts +1 -1
  91. package/compute/networkEndpoint.js +1 -1
  92. package/compute/networkEndpointList.d.ts +2 -2
  93. package/compute/networkEndpointList.js +2 -2
  94. package/compute/networkFirewallPolicyRule.d.ts +1 -1
  95. package/compute/networkFirewallPolicyRule.js +1 -1
  96. package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
  97. package/compute/organizationSecurityPolicyAssociation.js +2 -2
  98. package/compute/organizationSecurityPolicyRule.d.ts +5 -5
  99. package/compute/organizationSecurityPolicyRule.js +5 -5
  100. package/compute/regionBackendService.d.ts +1 -1
  101. package/compute/regionBackendService.js +1 -1
  102. package/compute/regionDisk.d.ts +71 -0
  103. package/compute/regionDisk.d.ts.map +1 -1
  104. package/compute/regionDisk.js +71 -0
  105. package/compute/regionDisk.js.map +1 -1
  106. package/compute/regionNetworkFirewallPolicyRule.d.ts +1 -1
  107. package/compute/regionNetworkFirewallPolicyRule.js +1 -1
  108. package/compute/regionNetworkFirewallPolicyWithRules.d.ts +8 -8
  109. package/compute/regionNetworkFirewallPolicyWithRules.js +8 -8
  110. package/compute/rolloutPlan.d.ts +1 -1
  111. package/compute/rolloutPlan.js +1 -1
  112. package/compute/router.d.ts +1 -1
  113. package/compute/router.js +1 -1
  114. package/compute/serviceAttachment.d.ts +68 -0
  115. package/compute/serviceAttachment.d.ts.map +1 -1
  116. package/compute/serviceAttachment.js +58 -0
  117. package/compute/serviceAttachment.js.map +1 -1
  118. package/compute/targetInstance.d.ts +2 -2
  119. package/compute/targetInstance.js +2 -2
  120. package/compute/targetSSLProxy.d.ts +1 -1
  121. package/compute/targetSSLProxy.js +1 -1
  122. package/compute/zoneVmExtensionPolicy.d.ts +1 -1
  123. package/compute/zoneVmExtensionPolicy.js +1 -1
  124. package/container/cluster.d.ts +9 -6
  125. package/container/cluster.d.ts.map +1 -1
  126. package/container/cluster.js.map +1 -1
  127. package/container/getCluster.d.ts +25 -1
  128. package/container/getCluster.d.ts.map +1 -1
  129. package/container/getCluster.js +2 -0
  130. package/container/getCluster.js.map +1 -1
  131. package/databasemigrationservice/connectionProfile.d.ts +3 -3
  132. package/databasemigrationservice/connectionProfile.js +3 -3
  133. package/dataform/folder.d.ts +3 -3
  134. package/dataform/folder.js +3 -3
  135. package/dataform/teamFolder.d.ts +1 -1
  136. package/dataform/teamFolder.js +1 -1
  137. package/datalineage/config.d.ts +2 -2
  138. package/datalineage/config.js +2 -2
  139. package/dataloss/preventionContentPolicy.d.ts +130 -6
  140. package/dataloss/preventionContentPolicy.d.ts.map +1 -1
  141. package/dataloss/preventionContentPolicy.js +130 -6
  142. package/dataloss/preventionContentPolicy.js.map +1 -1
  143. package/dataplex/dataAsset.d.ts +5 -5
  144. package/dataplex/dataAsset.js +5 -5
  145. package/dataplex/dataProduct.d.ts +3 -3
  146. package/dataplex/dataProduct.js +3 -3
  147. package/dataplex/dataProductDataAsset.d.ts +5 -5
  148. package/dataplex/dataProductDataAsset.js +5 -5
  149. package/dataplex/datascan.d.ts +24 -24
  150. package/dataplex/datascan.js +24 -24
  151. package/dataplex/entryLink.d.ts +11 -11
  152. package/dataplex/entryLink.js +11 -11
  153. package/dataplex/entryType.d.ts +1 -1
  154. package/dataplex/entryType.js +1 -1
  155. package/dataplex/glossaryCategory.d.ts +4 -4
  156. package/dataplex/glossaryCategory.js +4 -4
  157. package/dataplex/glossaryTerm.d.ts +4 -4
  158. package/dataplex/glossaryTerm.js +4 -4
  159. package/dataplex/task.d.ts +8 -8
  160. package/dataplex/task.js +8 -8
  161. package/dataproc/autoscalingPolicy.d.ts +18 -2
  162. package/dataproc/autoscalingPolicy.d.ts.map +1 -1
  163. package/dataproc/autoscalingPolicy.js +18 -2
  164. package/dataproc/autoscalingPolicy.js.map +1 -1
  165. package/dataproc/batch.d.ts +22 -21
  166. package/dataproc/batch.d.ts.map +1 -1
  167. package/dataproc/batch.js +22 -21
  168. package/dataproc/batch.js.map +1 -1
  169. package/dataproc/sessionTemplate.d.ts +11 -10
  170. package/dataproc/sessionTemplate.d.ts.map +1 -1
  171. package/dataproc/sessionTemplate.js +11 -10
  172. package/dataproc/sessionTemplate.js.map +1 -1
  173. package/dataproc/workflowTemplate.d.ts +3 -3
  174. package/datastream/stream.d.ts +3 -3
  175. package/datastream/stream.js +3 -3
  176. package/developerconnect/insightsConfig.d.ts +5 -5
  177. package/developerconnect/insightsConfig.js +5 -5
  178. package/discoveryengine/dataConnector.d.ts +37 -3
  179. package/discoveryengine/dataConnector.d.ts.map +1 -1
  180. package/discoveryengine/dataConnector.js +14 -3
  181. package/discoveryengine/dataConnector.js.map +1 -1
  182. package/firebase/aiLogicConfig.d.ts +27 -22
  183. package/firebase/aiLogicConfig.d.ts.map +1 -1
  184. package/firebase/aiLogicConfig.js +0 -13
  185. package/firebase/aiLogicConfig.js.map +1 -1
  186. package/firestore/field.d.ts +4 -4
  187. package/firestore/field.js +4 -4
  188. package/gemini/gibqObservabilitySetting.d.ts +239 -0
  189. package/gemini/gibqObservabilitySetting.d.ts.map +1 -0
  190. package/gemini/gibqObservabilitySetting.js +140 -0
  191. package/gemini/gibqObservabilitySetting.js.map +1 -0
  192. package/gemini/gibqObservabilitySettingBinding.d.ts +268 -0
  193. package/gemini/gibqObservabilitySettingBinding.d.ts.map +1 -0
  194. package/gemini/gibqObservabilitySettingBinding.js +160 -0
  195. package/gemini/gibqObservabilitySettingBinding.js.map +1 -0
  196. package/gemini/index.d.ts +6 -0
  197. package/gemini/index.d.ts.map +1 -1
  198. package/gemini/index.js +11 -1
  199. package/gemini/index.js.map +1 -1
  200. package/gkebackup/backupChannel.d.ts +1 -1
  201. package/gkebackup/backupChannel.js +1 -1
  202. package/gkebackup/backupPlan.d.ts +38 -17
  203. package/gkebackup/backupPlan.d.ts.map +1 -1
  204. package/gkebackup/backupPlan.js +38 -17
  205. package/gkebackup/backupPlan.js.map +1 -1
  206. package/gkebackup/restoreChannel.d.ts +1 -1
  207. package/gkebackup/restoreChannel.js +1 -1
  208. package/gkebackup/restorePlan.d.ts +54 -27
  209. package/gkebackup/restorePlan.d.ts.map +1 -1
  210. package/gkebackup/restorePlan.js +54 -27
  211. package/gkebackup/restorePlan.js.map +1 -1
  212. package/gkehub/membershipBinding.d.ts +3 -3
  213. package/gkehub/membershipBinding.js +3 -3
  214. package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
  215. package/gkehub/membershipRbacRoleBinding.js +2 -2
  216. package/gkehub/namespace.d.ts +2 -2
  217. package/gkehub/namespace.js +2 -2
  218. package/gkehub/rolloutSequence.d.ts +2 -2
  219. package/gkehub/rolloutSequence.js +2 -2
  220. package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
  221. package/gkehub/scopeRbacRoleBinding.js +4 -4
  222. package/iap/tunnelDestGroup.d.ts +1 -1
  223. package/iap/tunnelDestGroup.js +1 -1
  224. package/integrationconnectors/managedZone.d.ts +4 -4
  225. package/integrationconnectors/managedZone.js +4 -4
  226. package/memorystore/instance.d.ts +15 -15
  227. package/memorystore/instance.js +15 -15
  228. package/monitoring/uptimeCheckConfig.d.ts +1 -1
  229. package/monitoring/uptimeCheckConfig.js +1 -1
  230. package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
  231. package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
  232. package/networkconnectivity/spoke.d.ts +6 -6
  233. package/networkconnectivity/spoke.js +6 -6
  234. package/networkconnectivity/transport.d.ts +2 -2
  235. package/networkconnectivity/transport.js +2 -2
  236. package/networkservices/agentConnectivityTemplate.d.ts +374 -0
  237. package/networkservices/agentConnectivityTemplate.d.ts.map +1 -0
  238. package/networkservices/agentConnectivityTemplate.js +226 -0
  239. package/networkservices/agentConnectivityTemplate.js.map +1 -0
  240. package/networkservices/agentGateway.d.ts +37 -11
  241. package/networkservices/agentGateway.d.ts.map +1 -1
  242. package/networkservices/agentGateway.js +21 -11
  243. package/networkservices/agentGateway.js.map +1 -1
  244. package/networkservices/getGateway.d.ts +113 -0
  245. package/networkservices/getGateway.d.ts.map +1 -0
  246. package/networkservices/getGateway.js +79 -0
  247. package/networkservices/getGateway.js.map +1 -0
  248. package/networkservices/index.d.ts +6 -0
  249. package/networkservices/index.d.ts.map +1 -1
  250. package/networkservices/index.js +9 -1
  251. package/networkservices/index.js.map +1 -1
  252. package/observability/folderSettings.d.ts +2 -2
  253. package/observability/folderSettings.js +2 -2
  254. package/observability/projectSettings.d.ts +2 -2
  255. package/observability/projectSettings.js +2 -2
  256. package/observability/traceScope.d.ts +2 -2
  257. package/observability/traceScope.js +2 -2
  258. package/orgpolicy/policy.d.ts +1 -1
  259. package/orgpolicy/policy.js +1 -1
  260. package/package.json +2 -2
  261. package/parametermanager/parameterVersion.d.ts +26 -0
  262. package/parametermanager/parameterVersion.d.ts.map +1 -1
  263. package/parametermanager/parameterVersion.js +16 -0
  264. package/parametermanager/parameterVersion.js.map +1 -1
  265. package/parametermanager/regionalParameterVersion.d.ts +29 -0
  266. package/parametermanager/regionalParameterVersion.d.ts.map +1 -1
  267. package/parametermanager/regionalParameterVersion.js +19 -0
  268. package/parametermanager/regionalParameterVersion.js.map +1 -1
  269. package/pubsub/subscription.d.ts +4 -4
  270. package/pubsub/subscription.js +4 -4
  271. package/redis/cluster.d.ts +27 -27
  272. package/redis/cluster.js +27 -27
  273. package/redis/clusterUserCreatedConnections.d.ts +21 -21
  274. package/redis/clusterUserCreatedConnections.js +21 -21
  275. package/redis/instance.d.ts +17 -11
  276. package/redis/instance.d.ts.map +1 -1
  277. package/redis/instance.js +17 -11
  278. package/redis/instance.js.map +1 -1
  279. package/resourcemanager/capabilityConfig.d.ts +282 -0
  280. package/resourcemanager/capabilityConfig.d.ts.map +1 -0
  281. package/resourcemanager/capabilityConfig.js +202 -0
  282. package/resourcemanager/capabilityConfig.js.map +1 -0
  283. package/resourcemanager/index.d.ts +3 -0
  284. package/resourcemanager/index.d.ts.map +1 -1
  285. package/resourcemanager/index.js +6 -1
  286. package/resourcemanager/index.js.map +1 -1
  287. package/secretmanager/getRegionalSecret.d.ts +1 -0
  288. package/secretmanager/getRegionalSecret.d.ts.map +1 -1
  289. package/secretmanager/getRegionalSecret.js.map +1 -1
  290. package/secretmanager/getSecret.d.ts +1 -0
  291. package/secretmanager/getSecret.d.ts.map +1 -1
  292. package/secretmanager/getSecret.js.map +1 -1
  293. package/secretmanager/regionalSecret.d.ts +16 -0
  294. package/secretmanager/regionalSecret.d.ts.map +1 -1
  295. package/secretmanager/regionalSecret.js +3 -0
  296. package/secretmanager/regionalSecret.js.map +1 -1
  297. package/secretmanager/regionalSecretVersion.d.ts +83 -2
  298. package/secretmanager/regionalSecretVersion.d.ts.map +1 -1
  299. package/secretmanager/regionalSecretVersion.js +47 -4
  300. package/secretmanager/regionalSecretVersion.js.map +1 -1
  301. package/secretmanager/secret.d.ts +16 -0
  302. package/secretmanager/secret.d.ts.map +1 -1
  303. package/secretmanager/secret.js +3 -0
  304. package/secretmanager/secret.js.map +1 -1
  305. package/sql/databaseInstance.d.ts +12 -0
  306. package/sql/databaseInstance.d.ts.map +1 -1
  307. package/sql/databaseInstance.js +2 -0
  308. package/sql/databaseInstance.js.map +1 -1
  309. package/sql/getDatabaseInstance.d.ts +1 -0
  310. package/sql/getDatabaseInstance.d.ts.map +1 -1
  311. package/sql/getDatabaseInstance.js.map +1 -1
  312. package/storage/ftpServer.d.ts +16 -0
  313. package/storage/ftpServer.d.ts.map +1 -1
  314. package/storage/ftpServer.js +4 -0
  315. package/storage/ftpServer.js.map +1 -1
  316. package/storage/ftpUser.d.ts +21 -5
  317. package/storage/ftpUser.d.ts.map +1 -1
  318. package/storage/ftpUser.js +6 -2
  319. package/storage/ftpUser.js.map +1 -1
  320. package/types/input.d.ts +1481 -117
  321. package/types/input.d.ts.map +1 -1
  322. package/types/output.d.ts +1622 -125
  323. package/types/output.d.ts.map +1 -1
  324. package/vertex/aiEndpoint.d.ts +3 -3
  325. package/vertex/aiEndpoint.js +3 -3
  326. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  327. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  328. package/vertex/aiFeatureStore.d.ts +3 -3
  329. package/vertex/aiFeatureStore.js +3 -3
  330. package/vertex/aiFeatureStoreEntityType.d.ts +4 -4
  331. package/vertex/aiFeatureStoreEntityType.js +4 -4
  332. package/vertex/aiFeatureStoreEntityTypeFeature.d.ts +6 -6
  333. package/vertex/aiFeatureStoreEntityTypeFeature.js +6 -6
  334. package/vertex/aiRagCorpus.d.ts +163 -0
  335. package/vertex/aiRagCorpus.d.ts.map +1 -1
  336. package/vertex/aiRagCorpus.js +150 -0
  337. package/vertex/aiRagCorpus.js.map +1 -1
  338. package/vertex/aiReasoningEngine.d.ts +2 -2
  339. package/vertex/aiReasoningEngine.js +2 -2
  340. package/vertex/aiSemanticGovernancePolicy.d.ts +296 -0
  341. package/vertex/aiSemanticGovernancePolicy.d.ts.map +1 -0
  342. package/vertex/aiSemanticGovernancePolicy.js +173 -0
  343. package/vertex/aiSemanticGovernancePolicy.js.map +1 -0
  344. package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
  345. package/vertex/getAiReasoningEngineQuery.js +2 -2
  346. package/vertex/index.d.ts +3 -0
  347. package/vertex/index.d.ts.map +1 -1
  348. package/vertex/index.js +7 -2
  349. package/vertex/index.js.map +1 -1
  350. package/workbench/instance.d.ts +49 -24
  351. package/workbench/instance.d.ts.map +1 -1
  352. package/workbench/instance.js +49 -24
  353. package/workbench/instance.js.map +1 -1
@@ -0,0 +1,374 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * AgentConnectivityTemplate represents a reusable network configuration.
6
+ *
7
+ * To get more information about AgentConnectivityTemplate, see:
8
+ *
9
+ * * [API documentation](https://cloud.google.com/network-services/docs/reference/network-services/rest/v1/projects.locations.agentConnectivityTemplates)
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Network Services Agent Connectivity Template Basic
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as gcp from "@pulumi/gcp";
18
+ *
19
+ * const project = gcp.organizations.getProject({});
20
+ * const _default = new gcp.networkservices.AgentConnectivityTemplate("default", {
21
+ * agentConnectivityTemplateId: "my-connectivity-template",
22
+ * location: "us-west2",
23
+ * description: "A basic configuration for Agent Connectivity Template",
24
+ * labels: {
25
+ * env: "test",
26
+ * tier: "gold",
27
+ * },
28
+ * accessPath: "CLIENT_TO_AGENT",
29
+ * });
30
+ * ```
31
+ * ### Network Services Agent Connectivity Template Advanced
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as gcp from "@pulumi/gcp";
36
+ * import * as std from "@pulumi/std";
37
+ *
38
+ * const project = gcp.organizations.getProject({});
39
+ * const _default = new gcp.compute.Network("default", {
40
+ * name: "my-network",
41
+ * autoCreateSubnetworks: false,
42
+ * });
43
+ * const defaultSubnetwork = new gcp.compute.Subnetwork("default", {
44
+ * name: "my-subnetwork",
45
+ * region: "us-west2",
46
+ * network: _default.id,
47
+ * ipCidrRange: "10.0.0.0/16",
48
+ * });
49
+ * const defaultNetworkAttachment = new gcp.compute.NetworkAttachment("default", {
50
+ * name: "my-attachment",
51
+ * region: "us-west2",
52
+ * connectionPreference: "ACCEPT_AUTOMATIC",
53
+ * subnetworks: [defaultSubnetwork.id],
54
+ * });
55
+ * const defaultManagedZone = new gcp.dns.ManagedZone("default", {
56
+ * name: "my-zone",
57
+ * dnsName: "example.com.",
58
+ * description: "Private zone used by AgentGateway DNS peering",
59
+ * visibility: "private",
60
+ * privateVisibilityConfig: {
61
+ * networks: [{
62
+ * networkUrl: _default.id,
63
+ * }],
64
+ * },
65
+ * });
66
+ * const defaultTrustConfig = new gcp.certificatemanager.TrustConfig("default", {
67
+ * name: "my-trust-config",
68
+ * location: "us-west2",
69
+ * trustStores: [{
70
+ * trustAnchors: [{
71
+ * pemCertificate: std.file({
72
+ * input: "test-fixtures/cert.pem",
73
+ * }).then(invoke => invoke.result),
74
+ * }],
75
+ * intermediateCas: [{
76
+ * pemCertificate: std.file({
77
+ * input: "test-fixtures/cert.pem",
78
+ * }).then(invoke => invoke.result),
79
+ * }],
80
+ * }],
81
+ * });
82
+ * const defaultAgentConnectivityTemplate = new gcp.networkservices.AgentConnectivityTemplate("default", {
83
+ * agentConnectivityTemplateId: "my-connectivity-template",
84
+ * location: "us-west2",
85
+ * description: "An advanced configuration for Agent Connectivity Template",
86
+ * accessTypes: ["PRIVATE"],
87
+ * accessPath: "AGENT_TO_ANYWHERE",
88
+ * egressNetworkConfig: {
89
+ * vpcEgress: "ALL_TRAFFIC",
90
+ * networkAttachment: defaultNetworkAttachment.id,
91
+ * dnsPeeringConfig: {
92
+ * domains: [defaultManagedZone.dnsName],
93
+ * targetNetwork: _default.id,
94
+ * },
95
+ * tlsConfig: {
96
+ * trustConfig: pulumi.all([project, defaultTrustConfig.name]).apply(([project, name]) => `projects/${project.number}/locations/us-west2/trustConfigs/${name}`),
97
+ * additionalRoots: "NO_ADDITIONAL_ROOTS",
98
+ * },
99
+ * },
100
+ * });
101
+ * ```
102
+ *
103
+ * ## Import
104
+ *
105
+ * AgentConnectivityTemplate can be imported using any of these accepted formats:
106
+ *
107
+ * * `projects/{{project}}/locations/{{location}}/agentConnectivityTemplates/{{agent_connectivity_template_id}}`
108
+ * * `{{project}}/{{location}}/{{agent_connectivity_template_id}}`
109
+ * * `{{location}}/{{agent_connectivity_template_id}}`
110
+ *
111
+ * When using the `pulumi import` command, AgentConnectivityTemplate can be imported using one of the formats above. For example:
112
+ *
113
+ * ```sh
114
+ * $ pulumi import gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate default projects/{{project}}/locations/{{location}}/agentConnectivityTemplates/{{agent_connectivity_template_id}}
115
+ * $ pulumi import gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate default {{project}}/{{location}}/{{agent_connectivity_template_id}}
116
+ * $ pulumi import gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate default {{location}}/{{agent_connectivity_template_id}}
117
+ * ```
118
+ */
119
+ export declare class AgentConnectivityTemplate extends pulumi.CustomResource {
120
+ /**
121
+ * Get an existing AgentConnectivityTemplate resource's state with the given name, ID, and optional extra
122
+ * properties used to qualify the lookup.
123
+ *
124
+ * @param name The _unique_ name of the resulting resource.
125
+ * @param id The _unique_ provider ID of the resource to lookup.
126
+ * @param state Any extra arguments used during the lookup.
127
+ * @param opts Optional settings to control the behavior of the CustomResource.
128
+ */
129
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentConnectivityTemplateState, opts?: pulumi.CustomResourceOptions): AgentConnectivityTemplate;
130
+ /**
131
+ * Returns true if the given object is an instance of AgentConnectivityTemplate. This is designed to work even
132
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
133
+ */
134
+ static isInstance(obj: any): obj is AgentConnectivityTemplate;
135
+ /**
136
+ * The path of the access.
137
+ * The path is immutable once set. Exactly one path can be set.
138
+ * Possible values are: `CLIENT_TO_AGENT`, `AGENT_TO_ANYWHERE`.
139
+ */
140
+ readonly accessPath: pulumi.Output<string>;
141
+ /**
142
+ * The types of network access provided to the gateway.
143
+ * Both PUBLIC and PRIVATE can be configured.
144
+ * Each value may be one of: `PUBLIC`, `PRIVATE`.
145
+ */
146
+ readonly accessTypes: pulumi.Output<string[]>;
147
+ /**
148
+ * Short name of the AgentConnectivityTemplate resource.
149
+ */
150
+ readonly agentConnectivityTemplateId: pulumi.Output<string>;
151
+ /**
152
+ * The timestamp when the resource was created.
153
+ */
154
+ readonly createTime: pulumi.Output<string>;
155
+ /**
156
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
157
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
158
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
159
+ * When set to "ABANDON", the command will remove the resource from Terraform
160
+ * management without updating or deleting the resource in the API.
161
+ * When set to "DELETE", deleting the resource is allowed.
162
+ */
163
+ readonly deletionPolicy: pulumi.Output<string>;
164
+ /**
165
+ * A free-text description of the resource. Max length 1024 characters.
166
+ */
167
+ readonly description: pulumi.Output<string | undefined>;
168
+ /**
169
+ * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
170
+ */
171
+ readonly effectiveLabels: pulumi.Output<{
172
+ [key: string]: string;
173
+ }>;
174
+ /**
175
+ * Configuration for egress network traffic.
176
+ * Structure is documented below.
177
+ */
178
+ readonly egressNetworkConfig: pulumi.Output<outputs.networkservices.AgentConnectivityTemplateEgressNetworkConfig | undefined>;
179
+ /**
180
+ * Etag of the resource.
181
+ * If this is provided, it must match the server's etag. If the provided etag
182
+ * does not match the server's etag, the request will fail with a 409 ABORTED
183
+ * error.
184
+ */
185
+ readonly etag: pulumi.Output<string>;
186
+ /**
187
+ * Set of label tags associated with the AgentConnectivityTemplate resource.
188
+ *
189
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
190
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
191
+ */
192
+ readonly labels: pulumi.Output<{
193
+ [key: string]: string;
194
+ } | undefined>;
195
+ /**
196
+ * The location of the AgentConnectivityTemplate.
197
+ */
198
+ readonly location: pulumi.Output<string>;
199
+ /**
200
+ * Identifier. Name of the resource.
201
+ */
202
+ readonly name: pulumi.Output<string>;
203
+ /**
204
+ * The ID of the project in which the resource belongs.
205
+ * If it is not provided, the provider project is used.
206
+ */
207
+ readonly project: pulumi.Output<string>;
208
+ /**
209
+ * The combination of labels configured directly on the resource
210
+ * and default labels configured on the provider.
211
+ */
212
+ readonly pulumiLabels: pulumi.Output<{
213
+ [key: string]: string;
214
+ }>;
215
+ /**
216
+ * The timestamp when the resource was updated.
217
+ */
218
+ readonly updateTime: pulumi.Output<string>;
219
+ /**
220
+ * Create a AgentConnectivityTemplate resource with the given unique name, arguments, and options.
221
+ *
222
+ * @param name The _unique_ name of the resource.
223
+ * @param args The arguments to use to populate this resource's properties.
224
+ * @param opts A bag of options that control this resource's behavior.
225
+ */
226
+ constructor(name: string, args: AgentConnectivityTemplateArgs, opts?: pulumi.CustomResourceOptions);
227
+ }
228
+ /**
229
+ * Input properties used for looking up and filtering AgentConnectivityTemplate resources.
230
+ */
231
+ export interface AgentConnectivityTemplateState {
232
+ /**
233
+ * The path of the access.
234
+ * The path is immutable once set. Exactly one path can be set.
235
+ * Possible values are: `CLIENT_TO_AGENT`, `AGENT_TO_ANYWHERE`.
236
+ */
237
+ accessPath?: pulumi.Input<string | undefined>;
238
+ /**
239
+ * The types of network access provided to the gateway.
240
+ * Both PUBLIC and PRIVATE can be configured.
241
+ * Each value may be one of: `PUBLIC`, `PRIVATE`.
242
+ */
243
+ accessTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
244
+ /**
245
+ * Short name of the AgentConnectivityTemplate resource.
246
+ */
247
+ agentConnectivityTemplateId?: pulumi.Input<string | undefined>;
248
+ /**
249
+ * The timestamp when the resource was created.
250
+ */
251
+ createTime?: pulumi.Input<string | undefined>;
252
+ /**
253
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
254
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
255
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
256
+ * When set to "ABANDON", the command will remove the resource from Terraform
257
+ * management without updating or deleting the resource in the API.
258
+ * When set to "DELETE", deleting the resource is allowed.
259
+ */
260
+ deletionPolicy?: pulumi.Input<string | undefined>;
261
+ /**
262
+ * A free-text description of the resource. Max length 1024 characters.
263
+ */
264
+ description?: pulumi.Input<string | undefined>;
265
+ /**
266
+ * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
267
+ */
268
+ effectiveLabels?: pulumi.Input<{
269
+ [key: string]: pulumi.Input<string>;
270
+ } | undefined>;
271
+ /**
272
+ * Configuration for egress network traffic.
273
+ * Structure is documented below.
274
+ */
275
+ egressNetworkConfig?: pulumi.Input<inputs.networkservices.AgentConnectivityTemplateEgressNetworkConfig | undefined>;
276
+ /**
277
+ * Etag of the resource.
278
+ * If this is provided, it must match the server's etag. If the provided etag
279
+ * does not match the server's etag, the request will fail with a 409 ABORTED
280
+ * error.
281
+ */
282
+ etag?: pulumi.Input<string | undefined>;
283
+ /**
284
+ * Set of label tags associated with the AgentConnectivityTemplate resource.
285
+ *
286
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
287
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
288
+ */
289
+ labels?: pulumi.Input<{
290
+ [key: string]: pulumi.Input<string>;
291
+ } | undefined>;
292
+ /**
293
+ * The location of the AgentConnectivityTemplate.
294
+ */
295
+ location?: pulumi.Input<string | undefined>;
296
+ /**
297
+ * Identifier. Name of the resource.
298
+ */
299
+ name?: pulumi.Input<string | undefined>;
300
+ /**
301
+ * The ID of the project in which the resource belongs.
302
+ * If it is not provided, the provider project is used.
303
+ */
304
+ project?: pulumi.Input<string | undefined>;
305
+ /**
306
+ * The combination of labels configured directly on the resource
307
+ * and default labels configured on the provider.
308
+ */
309
+ pulumiLabels?: pulumi.Input<{
310
+ [key: string]: pulumi.Input<string>;
311
+ } | undefined>;
312
+ /**
313
+ * The timestamp when the resource was updated.
314
+ */
315
+ updateTime?: pulumi.Input<string | undefined>;
316
+ }
317
+ /**
318
+ * The set of arguments for constructing a AgentConnectivityTemplate resource.
319
+ */
320
+ export interface AgentConnectivityTemplateArgs {
321
+ /**
322
+ * The path of the access.
323
+ * The path is immutable once set. Exactly one path can be set.
324
+ * Possible values are: `CLIENT_TO_AGENT`, `AGENT_TO_ANYWHERE`.
325
+ */
326
+ accessPath: pulumi.Input<string>;
327
+ /**
328
+ * The types of network access provided to the gateway.
329
+ * Both PUBLIC and PRIVATE can be configured.
330
+ * Each value may be one of: `PUBLIC`, `PRIVATE`.
331
+ */
332
+ accessTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
333
+ /**
334
+ * Short name of the AgentConnectivityTemplate resource.
335
+ */
336
+ agentConnectivityTemplateId: pulumi.Input<string>;
337
+ /**
338
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
339
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
340
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
341
+ * When set to "ABANDON", the command will remove the resource from Terraform
342
+ * management without updating or deleting the resource in the API.
343
+ * When set to "DELETE", deleting the resource is allowed.
344
+ */
345
+ deletionPolicy?: pulumi.Input<string | undefined>;
346
+ /**
347
+ * A free-text description of the resource. Max length 1024 characters.
348
+ */
349
+ description?: pulumi.Input<string | undefined>;
350
+ /**
351
+ * Configuration for egress network traffic.
352
+ * Structure is documented below.
353
+ */
354
+ egressNetworkConfig?: pulumi.Input<inputs.networkservices.AgentConnectivityTemplateEgressNetworkConfig | undefined>;
355
+ /**
356
+ * Set of label tags associated with the AgentConnectivityTemplate resource.
357
+ *
358
+ * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
359
+ * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
360
+ */
361
+ labels?: pulumi.Input<{
362
+ [key: string]: pulumi.Input<string>;
363
+ } | undefined>;
364
+ /**
365
+ * The location of the AgentConnectivityTemplate.
366
+ */
367
+ location: pulumi.Input<string>;
368
+ /**
369
+ * The ID of the project in which the resource belongs.
370
+ * If it is not provided, the provider project is used.
371
+ */
372
+ project?: pulumi.Input<string | undefined>;
373
+ }
374
+ //# sourceMappingURL=agentConnectivityTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentConnectivityTemplate.d.ts","sourceRoot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CAC9C"}
@@ -0,0 +1,226 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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 (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AgentConnectivityTemplate = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * AgentConnectivityTemplate represents a reusable network configuration.
33
+ *
34
+ * To get more information about AgentConnectivityTemplate, see:
35
+ *
36
+ * * [API documentation](https://cloud.google.com/network-services/docs/reference/network-services/rest/v1/projects.locations.agentConnectivityTemplates)
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ### Network Services Agent Connectivity Template Basic
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as gcp from "@pulumi/gcp";
45
+ *
46
+ * const project = gcp.organizations.getProject({});
47
+ * const _default = new gcp.networkservices.AgentConnectivityTemplate("default", {
48
+ * agentConnectivityTemplateId: "my-connectivity-template",
49
+ * location: "us-west2",
50
+ * description: "A basic configuration for Agent Connectivity Template",
51
+ * labels: {
52
+ * env: "test",
53
+ * tier: "gold",
54
+ * },
55
+ * accessPath: "CLIENT_TO_AGENT",
56
+ * });
57
+ * ```
58
+ * ### Network Services Agent Connectivity Template Advanced
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as gcp from "@pulumi/gcp";
63
+ * import * as std from "@pulumi/std";
64
+ *
65
+ * const project = gcp.organizations.getProject({});
66
+ * const _default = new gcp.compute.Network("default", {
67
+ * name: "my-network",
68
+ * autoCreateSubnetworks: false,
69
+ * });
70
+ * const defaultSubnetwork = new gcp.compute.Subnetwork("default", {
71
+ * name: "my-subnetwork",
72
+ * region: "us-west2",
73
+ * network: _default.id,
74
+ * ipCidrRange: "10.0.0.0/16",
75
+ * });
76
+ * const defaultNetworkAttachment = new gcp.compute.NetworkAttachment("default", {
77
+ * name: "my-attachment",
78
+ * region: "us-west2",
79
+ * connectionPreference: "ACCEPT_AUTOMATIC",
80
+ * subnetworks: [defaultSubnetwork.id],
81
+ * });
82
+ * const defaultManagedZone = new gcp.dns.ManagedZone("default", {
83
+ * name: "my-zone",
84
+ * dnsName: "example.com.",
85
+ * description: "Private zone used by AgentGateway DNS peering",
86
+ * visibility: "private",
87
+ * privateVisibilityConfig: {
88
+ * networks: [{
89
+ * networkUrl: _default.id,
90
+ * }],
91
+ * },
92
+ * });
93
+ * const defaultTrustConfig = new gcp.certificatemanager.TrustConfig("default", {
94
+ * name: "my-trust-config",
95
+ * location: "us-west2",
96
+ * trustStores: [{
97
+ * trustAnchors: [{
98
+ * pemCertificate: std.file({
99
+ * input: "test-fixtures/cert.pem",
100
+ * }).then(invoke => invoke.result),
101
+ * }],
102
+ * intermediateCas: [{
103
+ * pemCertificate: std.file({
104
+ * input: "test-fixtures/cert.pem",
105
+ * }).then(invoke => invoke.result),
106
+ * }],
107
+ * }],
108
+ * });
109
+ * const defaultAgentConnectivityTemplate = new gcp.networkservices.AgentConnectivityTemplate("default", {
110
+ * agentConnectivityTemplateId: "my-connectivity-template",
111
+ * location: "us-west2",
112
+ * description: "An advanced configuration for Agent Connectivity Template",
113
+ * accessTypes: ["PRIVATE"],
114
+ * accessPath: "AGENT_TO_ANYWHERE",
115
+ * egressNetworkConfig: {
116
+ * vpcEgress: "ALL_TRAFFIC",
117
+ * networkAttachment: defaultNetworkAttachment.id,
118
+ * dnsPeeringConfig: {
119
+ * domains: [defaultManagedZone.dnsName],
120
+ * targetNetwork: _default.id,
121
+ * },
122
+ * tlsConfig: {
123
+ * trustConfig: pulumi.all([project, defaultTrustConfig.name]).apply(([project, name]) => `projects/${project.number}/locations/us-west2/trustConfigs/${name}`),
124
+ * additionalRoots: "NO_ADDITIONAL_ROOTS",
125
+ * },
126
+ * },
127
+ * });
128
+ * ```
129
+ *
130
+ * ## Import
131
+ *
132
+ * AgentConnectivityTemplate can be imported using any of these accepted formats:
133
+ *
134
+ * * `projects/{{project}}/locations/{{location}}/agentConnectivityTemplates/{{agent_connectivity_template_id}}`
135
+ * * `{{project}}/{{location}}/{{agent_connectivity_template_id}}`
136
+ * * `{{location}}/{{agent_connectivity_template_id}}`
137
+ *
138
+ * When using the `pulumi import` command, AgentConnectivityTemplate can be imported using one of the formats above. For example:
139
+ *
140
+ * ```sh
141
+ * $ pulumi import gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate default projects/{{project}}/locations/{{location}}/agentConnectivityTemplates/{{agent_connectivity_template_id}}
142
+ * $ pulumi import gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate default {{project}}/{{location}}/{{agent_connectivity_template_id}}
143
+ * $ pulumi import gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate default {{location}}/{{agent_connectivity_template_id}}
144
+ * ```
145
+ */
146
+ class AgentConnectivityTemplate extends pulumi.CustomResource {
147
+ /**
148
+ * Get an existing AgentConnectivityTemplate resource's state with the given name, ID, and optional extra
149
+ * properties used to qualify the lookup.
150
+ *
151
+ * @param name The _unique_ name of the resulting resource.
152
+ * @param id The _unique_ provider ID of the resource to lookup.
153
+ * @param state Any extra arguments used during the lookup.
154
+ * @param opts Optional settings to control the behavior of the CustomResource.
155
+ */
156
+ static get(name, id, state, opts) {
157
+ return new AgentConnectivityTemplate(name, state, { ...opts, id: id });
158
+ }
159
+ /** @internal */
160
+ static __pulumiType = 'gcp:networkservices/agentConnectivityTemplate:AgentConnectivityTemplate';
161
+ /**
162
+ * Returns true if the given object is an instance of AgentConnectivityTemplate. This is designed to work even
163
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
164
+ */
165
+ static isInstance(obj) {
166
+ if (obj === undefined || obj === null) {
167
+ return false;
168
+ }
169
+ return obj['__pulumiType'] === AgentConnectivityTemplate.__pulumiType;
170
+ }
171
+ constructor(name, argsOrState, opts) {
172
+ let resourceInputs = {};
173
+ opts = opts || {};
174
+ if (opts.id) {
175
+ const state = argsOrState;
176
+ resourceInputs["accessPath"] = state?.accessPath;
177
+ resourceInputs["accessTypes"] = state?.accessTypes;
178
+ resourceInputs["agentConnectivityTemplateId"] = state?.agentConnectivityTemplateId;
179
+ resourceInputs["createTime"] = state?.createTime;
180
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
181
+ resourceInputs["description"] = state?.description;
182
+ resourceInputs["effectiveLabels"] = state?.effectiveLabels;
183
+ resourceInputs["egressNetworkConfig"] = state?.egressNetworkConfig;
184
+ resourceInputs["etag"] = state?.etag;
185
+ resourceInputs["labels"] = state?.labels;
186
+ resourceInputs["location"] = state?.location;
187
+ resourceInputs["name"] = state?.name;
188
+ resourceInputs["project"] = state?.project;
189
+ resourceInputs["pulumiLabels"] = state?.pulumiLabels;
190
+ resourceInputs["updateTime"] = state?.updateTime;
191
+ }
192
+ else {
193
+ const args = argsOrState;
194
+ if (args?.accessPath === undefined && !opts.urn) {
195
+ throw new Error("Missing required property 'accessPath'");
196
+ }
197
+ if (args?.agentConnectivityTemplateId === undefined && !opts.urn) {
198
+ throw new Error("Missing required property 'agentConnectivityTemplateId'");
199
+ }
200
+ if (args?.location === undefined && !opts.urn) {
201
+ throw new Error("Missing required property 'location'");
202
+ }
203
+ resourceInputs["accessPath"] = args?.accessPath;
204
+ resourceInputs["accessTypes"] = args?.accessTypes;
205
+ resourceInputs["agentConnectivityTemplateId"] = args?.agentConnectivityTemplateId;
206
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
207
+ resourceInputs["description"] = args?.description;
208
+ resourceInputs["egressNetworkConfig"] = args?.egressNetworkConfig;
209
+ resourceInputs["labels"] = args?.labels;
210
+ resourceInputs["location"] = args?.location;
211
+ resourceInputs["project"] = args?.project;
212
+ resourceInputs["createTime"] = undefined /*out*/;
213
+ resourceInputs["effectiveLabels"] = undefined /*out*/;
214
+ resourceInputs["etag"] = undefined /*out*/;
215
+ resourceInputs["name"] = undefined /*out*/;
216
+ resourceInputs["pulumiLabels"] = undefined /*out*/;
217
+ resourceInputs["updateTime"] = undefined /*out*/;
218
+ }
219
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
220
+ const secretOpts = { additionalSecretOutputs: ["effectiveLabels", "pulumiLabels"] };
221
+ opts = pulumi.mergeOptions(opts, secretOpts);
222
+ super(AgentConnectivityTemplate.__pulumiType, name, resourceInputs, opts);
223
+ }
224
+ }
225
+ exports.AgentConnectivityTemplate = AgentConnectivityTemplate;
226
+ //# sourceMappingURL=agentConnectivityTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentConnectivityTemplate.js","sourceRoot":"","sources":["../../networkservices/agentConnectivityTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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