@pulumi/azure 6.27.0-alpha.1758868424 → 6.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/apimanagement/backend.d.ts +1 -1
  2. package/apimanagement/backend.js +1 -1
  3. package/appservice/appFlexConsumption.d.ts +18 -0
  4. package/appservice/appFlexConsumption.js +2 -0
  5. package/appservice/appFlexConsumption.js.map +1 -1
  6. package/appservice/servicePlan.d.ts +6 -6
  7. package/billing/accountCostManagementExport.d.ts +1 -1
  8. package/billing/accountCostManagementExport.js +1 -1
  9. package/cdn/frontdoorFirewallPolicy.d.ts +3 -54
  10. package/cdn/frontdoorFirewallPolicy.js +2 -33
  11. package/cdn/frontdoorFirewallPolicy.js.map +1 -1
  12. package/cdn/frontdoorProfile.d.ts +32 -1
  13. package/cdn/frontdoorProfile.js +16 -1
  14. package/cdn/frontdoorProfile.js.map +1 -1
  15. package/cdn/frontdoorSecurityPolicy.d.ts +3 -3
  16. package/cdn/getFrontdoorFirewallPolicy.d.ts +4 -0
  17. package/cdn/getFrontdoorFirewallPolicy.js.map +1 -1
  18. package/cdn/getFrontdoorProfile.d.ts +12 -10
  19. package/cdn/getFrontdoorProfile.js +4 -2
  20. package/cdn/getFrontdoorProfile.js.map +1 -1
  21. package/cognitive/account.d.ts +3 -3
  22. package/compute/getManagedDisks.d.ts +80 -0
  23. package/compute/getManagedDisks.js +66 -0
  24. package/compute/getManagedDisks.js.map +1 -0
  25. package/compute/index.d.ts +3 -0
  26. package/compute/index.js +5 -2
  27. package/compute/index.js.map +1 -1
  28. package/compute/linuxVirtualMachine.d.ts +31 -7
  29. package/compute/linuxVirtualMachine.js +2 -3
  30. package/compute/linuxVirtualMachine.js.map +1 -1
  31. package/compute/windowsVirtualMachine.d.ts +49 -10
  32. package/compute/windowsVirtualMachine.js +4 -6
  33. package/compute/windowsVirtualMachine.js.map +1 -1
  34. package/containerservice/clusterTrustedAccessRoleBinding.d.ts +1 -1
  35. package/containerservice/clusterTrustedAccessRoleBinding.js +1 -1
  36. package/containerservice/getClusterNodePool.d.ts +3 -2
  37. package/containerservice/getClusterNodePool.js +2 -2
  38. package/containerservice/getClusterNodePool.js.map +1 -1
  39. package/containerservice/getKubernetesCluster.d.ts +2 -2
  40. package/containerservice/getKubernetesCluster.js +2 -2
  41. package/containerservice/getKubernetesNodePoolSnapshot.d.ts +2 -2
  42. package/containerservice/getKubernetesNodePoolSnapshot.js +2 -2
  43. package/containerservice/kubernetesCluster.d.ts +13 -1
  44. package/containerservice/kubernetesCluster.js +3 -1
  45. package/containerservice/kubernetesCluster.js.map +1 -1
  46. package/containerservice/kubernetesClusterNodePool.d.ts +13 -1
  47. package/containerservice/kubernetesClusterNodePool.js +3 -1
  48. package/containerservice/kubernetesClusterNodePool.js.map +1 -1
  49. package/core/resourceGroupCostManagementExport.d.ts +1 -1
  50. package/core/resourceGroupCostManagementExport.js +1 -1
  51. package/core/resourceGroupPolicyAssignment.d.ts +3 -3
  52. package/core/resourcePolicyAssignment.d.ts +3 -3
  53. package/core/subscriptionCostManagementExport.d.ts +1 -1
  54. package/core/subscriptionCostManagementExport.js +1 -1
  55. package/core/subscriptionPolicyAssignment.d.ts +3 -3
  56. package/datafactory/customerManagedKey.d.ts +178 -0
  57. package/datafactory/customerManagedKey.js +165 -0
  58. package/datafactory/customerManagedKey.js.map +1 -0
  59. package/datafactory/factory.d.ts +2 -2
  60. package/datafactory/index.d.ts +3 -0
  61. package/datafactory/index.js +7 -2
  62. package/datafactory/index.js.map +1 -1
  63. package/dataprotection/backupPolicyBlobStorage.d.ts +37 -0
  64. package/dataprotection/backupPolicyBlobStorage.js +37 -0
  65. package/dataprotection/backupPolicyBlobStorage.js.map +1 -1
  66. package/devcenter/getProjectPool.d.ts +4 -0
  67. package/devcenter/getProjectPool.js.map +1 -1
  68. package/devcenter/projectPool.d.ts +12 -0
  69. package/devcenter/projectPool.js +2 -0
  70. package/devcenter/projectPool.js.map +1 -1
  71. package/eventgrid/domain.d.ts +1 -1
  72. package/eventgrid/domain.js +1 -1
  73. package/eventgrid/domainTopic.d.ts +1 -1
  74. package/eventgrid/domainTopic.js +1 -1
  75. package/eventgrid/eventSubscription.d.ts +1 -1
  76. package/eventgrid/eventSubscription.js +1 -1
  77. package/eventgrid/getDomain.d.ts +2 -2
  78. package/eventgrid/getDomain.js +2 -2
  79. package/eventgrid/getDomainTopic.d.ts +2 -2
  80. package/eventgrid/getDomainTopic.js +2 -2
  81. package/eventgrid/getPartnerNamespace.d.ts +2 -2
  82. package/eventgrid/getPartnerNamespace.js +2 -2
  83. package/eventgrid/getPartnerRegistration.d.ts +2 -2
  84. package/eventgrid/getPartnerRegistration.js +2 -2
  85. package/eventgrid/getSystemTopic.d.ts +7 -5
  86. package/eventgrid/getSystemTopic.js +2 -2
  87. package/eventgrid/getSystemTopic.js.map +1 -1
  88. package/eventgrid/getTopic.d.ts +2 -2
  89. package/eventgrid/getTopic.js +2 -2
  90. package/eventgrid/partnerConfiguration.d.ts +1 -1
  91. package/eventgrid/partnerConfiguration.js +1 -1
  92. package/eventgrid/partnerNamespace.d.ts +1 -1
  93. package/eventgrid/partnerNamespace.js +1 -1
  94. package/eventgrid/partnerRegistration.d.ts +1 -1
  95. package/eventgrid/partnerRegistration.js +1 -1
  96. package/eventgrid/systemTopic.d.ts +23 -9
  97. package/eventgrid/systemTopic.js +6 -5
  98. package/eventgrid/systemTopic.js.map +1 -1
  99. package/eventgrid/systemTopicEventSubscription.d.ts +2 -2
  100. package/eventgrid/systemTopicEventSubscription.js +2 -2
  101. package/eventgrid/topic.d.ts +1 -1
  102. package/eventgrid/topic.js +1 -1
  103. package/eventhub/domain.d.ts +1 -1
  104. package/eventhub/domain.js +1 -1
  105. package/eventhub/eventGridTopic.d.ts +1 -1
  106. package/eventhub/eventGridTopic.js +1 -1
  107. package/eventhub/eventSubscription.d.ts +1 -1
  108. package/eventhub/eventSubscription.js +1 -1
  109. package/hpc/cacheBlobTarget.d.ts +1 -1
  110. package/hpc/cacheBlobTarget.js +1 -1
  111. package/iot/endpointCosmosdbAccount.d.ts +18 -0
  112. package/iot/endpointCosmosdbAccount.js +2 -0
  113. package/iot/endpointCosmosdbAccount.js.map +1 -1
  114. package/iot/endpointEventhub.d.ts +18 -0
  115. package/iot/endpointEventhub.js +2 -0
  116. package/iot/endpointEventhub.js.map +1 -1
  117. package/iot/endpointServicebusQueue.d.ts +18 -0
  118. package/iot/endpointServicebusQueue.js +2 -0
  119. package/iot/endpointServicebusQueue.js.map +1 -1
  120. package/iot/endpointServicebusTopic.d.ts +18 -0
  121. package/iot/endpointServicebusTopic.js +2 -0
  122. package/iot/endpointServicebusTopic.js.map +1 -1
  123. package/iot/endpointStorageContainer.d.ts +18 -0
  124. package/iot/endpointStorageContainer.js +2 -0
  125. package/iot/endpointStorageContainer.js.map +1 -1
  126. package/keyvault/getKeyVault.d.ts +3 -0
  127. package/keyvault/getKeyVault.js.map +1 -1
  128. package/keyvault/keyVault.d.ts +25 -13
  129. package/keyvault/keyVault.js +2 -0
  130. package/keyvault/keyVault.js.map +1 -1
  131. package/kusto/cluster.d.ts +33 -27
  132. package/kusto/cluster.js +4 -2
  133. package/kusto/cluster.js.map +1 -1
  134. package/lb/getLBOutboundRule.d.ts +1 -0
  135. package/lb/getLBOutboundRule.js.map +1 -1
  136. package/lb/getLBRule.d.ts +6 -0
  137. package/lb/getLBRule.js.map +1 -1
  138. package/lb/loadBalancer.d.ts +24 -0
  139. package/lb/loadBalancer.js +4 -0
  140. package/lb/loadBalancer.js.map +1 -1
  141. package/lb/natRule.d.ts +31 -7
  142. package/lb/natRule.js +4 -0
  143. package/lb/natRule.js.map +1 -1
  144. package/lb/outboundRule.d.ts +16 -4
  145. package/lb/outboundRule.js +2 -0
  146. package/lb/outboundRule.js.map +1 -1
  147. package/lb/rule.d.ts +32 -8
  148. package/lb/rule.js +4 -0
  149. package/lb/rule.js.map +1 -1
  150. package/loadtest/loadTest.d.ts +0 -2
  151. package/loadtest/loadTest.js +0 -2
  152. package/loadtest/loadTest.js.map +1 -1
  153. package/logicapps/getStandard.d.ts +0 -9
  154. package/logicapps/getStandard.js +0 -2
  155. package/logicapps/getStandard.js.map +1 -1
  156. package/logicapps/standard.d.ts +3 -3
  157. package/machinelearning/computeInstance.d.ts +15 -3
  158. package/machinelearning/computeInstance.js.map +1 -1
  159. package/machinelearning/datastoreBlobstorage.d.ts +1 -1
  160. package/machinelearning/datastoreBlobstorage.js +1 -1
  161. package/machinelearning/datastoreDatalakeGen2.d.ts +1 -1
  162. package/machinelearning/datastoreDatalakeGen2.js +1 -1
  163. package/machinelearning/inferenceCluster.d.ts +1 -1
  164. package/machinelearning/inferenceCluster.js +1 -1
  165. package/machinelearning/workspace.d.ts +18 -0
  166. package/machinelearning/workspace.js +2 -0
  167. package/machinelearning/workspace.js.map +1 -1
  168. package/management/groupPolicyAssignment.d.ts +3 -3
  169. package/management/privateLinkAssociation.d.ts +0 -33
  170. package/management/privateLinkAssociation.js.map +1 -1
  171. package/mobile/networkSim.d.ts +1 -3
  172. package/mobile/networkSim.js +1 -3
  173. package/mobile/networkSim.js.map +1 -1
  174. package/mobile/networkSimPolicy.d.ts +1 -3
  175. package/mobile/networkSimPolicy.js +1 -3
  176. package/mobile/networkSimPolicy.js.map +1 -1
  177. package/mobile/networkSlice.d.ts +29 -7
  178. package/mobile/networkSlice.js +5 -6
  179. package/mobile/networkSlice.js.map +1 -1
  180. package/monitoring/activityLogAlert.d.ts +3 -3
  181. package/mssql/jobStep.d.ts +5 -5
  182. package/mssql/jobStep.js +2 -2
  183. package/netapp/account.d.ts +1 -1
  184. package/netapp/account.js +1 -1
  185. package/netapp/accountEncryption.d.ts +43 -1
  186. package/netapp/accountEncryption.js +23 -1
  187. package/netapp/accountEncryption.js.map +1 -1
  188. package/netapp/backupPolicy.d.ts +1 -1
  189. package/netapp/backupPolicy.js +1 -1
  190. package/netapp/backupVault.d.ts +1 -1
  191. package/netapp/backupVault.js +1 -1
  192. package/netapp/getAccount.d.ts +2 -2
  193. package/netapp/getAccount.js +2 -2
  194. package/netapp/getAccountEncryption.d.ts +4 -2
  195. package/netapp/getAccountEncryption.js +2 -2
  196. package/netapp/getAccountEncryption.js.map +1 -1
  197. package/netapp/getBackupPolicy.d.ts +2 -2
  198. package/netapp/getBackupPolicy.js +2 -2
  199. package/netapp/getBackupVault.d.ts +2 -2
  200. package/netapp/getBackupVault.js +2 -2
  201. package/netapp/getPool.d.ts +6 -2
  202. package/netapp/getPool.js +2 -2
  203. package/netapp/getPool.js.map +1 -1
  204. package/netapp/getSnapshot.d.ts +2 -2
  205. package/netapp/getSnapshot.js +2 -2
  206. package/netapp/getSnapshotPolicy.d.ts +2 -2
  207. package/netapp/getSnapshotPolicy.js +2 -2
  208. package/netapp/getVolume.d.ts +6 -2
  209. package/netapp/getVolume.js +2 -2
  210. package/netapp/getVolume.js.map +1 -1
  211. package/netapp/getVolumeGroupOracle.d.ts +2 -2
  212. package/netapp/getVolumeGroupOracle.js +2 -2
  213. package/netapp/getVolumeGroupSapHana.d.ts +2 -2
  214. package/netapp/getVolumeGroupSapHana.js +2 -2
  215. package/netapp/getVolumeQuotaRule.d.ts +2 -2
  216. package/netapp/getVolumeQuotaRule.js +2 -2
  217. package/netapp/pool.d.ts +43 -4
  218. package/netapp/pool.js +30 -1
  219. package/netapp/pool.js.map +1 -1
  220. package/netapp/snapshot.d.ts +1 -1
  221. package/netapp/snapshot.js +1 -1
  222. package/netapp/snapshotPolicy.d.ts +1 -1
  223. package/netapp/snapshotPolicy.js +1 -1
  224. package/netapp/volume.d.ts +27 -3
  225. package/netapp/volume.js +2 -0
  226. package/netapp/volume.js.map +1 -1
  227. package/netapp/volumeGroupOracle.d.ts +1 -1
  228. package/netapp/volumeGroupOracle.js +1 -1
  229. package/netapp/volumeGroupSapHana.d.ts +1 -1
  230. package/netapp/volumeGroupSapHana.js +1 -1
  231. package/netapp/volumeQuotaRule.d.ts +1 -1
  232. package/netapp/volumeQuotaRule.js +1 -1
  233. package/network/index.d.ts +6 -0
  234. package/network/index.js +12 -2
  235. package/network/index.js.map +1 -1
  236. package/network/networkManagerIpamPoolStaticCidr.d.ts +150 -0
  237. package/network/networkManagerIpamPoolStaticCidr.js +112 -0
  238. package/network/networkManagerIpamPoolStaticCidr.js.map +1 -0
  239. package/network/networkManagerRoutingConfiguration.d.ts +3 -3
  240. package/network/networkManagerRoutingRuleCollection.d.ts +148 -0
  241. package/network/networkManagerRoutingRuleCollection.js +115 -0
  242. package/network/networkManagerRoutingRuleCollection.js.map +1 -0
  243. package/network/subnet.d.ts +24 -0
  244. package/network/subnet.js +2 -0
  245. package/network/subnet.js.map +1 -1
  246. package/oracle/autonomousDatabaseBackup.d.ts +95 -0
  247. package/oracle/autonomousDatabaseBackup.js +72 -0
  248. package/oracle/autonomousDatabaseBackup.js.map +1 -0
  249. package/oracle/getAutonomousDatabaseBackup.d.ts +125 -0
  250. package/oracle/getAutonomousDatabaseBackup.js +66 -0
  251. package/oracle/getAutonomousDatabaseBackup.js.map +1 -0
  252. package/oracle/getAutonomousDatabaseBackups.d.ts +78 -0
  253. package/oracle/getAutonomousDatabaseBackups.js +64 -0
  254. package/oracle/getAutonomousDatabaseBackups.js.map +1 -0
  255. package/oracle/index.d.ts +9 -0
  256. package/oracle/index.js +12 -1
  257. package/oracle/index.js.map +1 -1
  258. package/package.json +2 -2
  259. package/paloalto/nextGenerationFirewallVirtualHubLocalRulestack.d.ts +1 -1
  260. package/paloalto/nextGenerationFirewallVirtualHubLocalRulestack.js +1 -1
  261. package/paloalto/nextGenerationFirewallVirtualHubPanorama.d.ts +1 -1
  262. package/paloalto/nextGenerationFirewallVirtualHubPanorama.js +1 -1
  263. package/paloalto/nextGenerationFirewallVirtualNetworkLocalRulestack.d.ts +1 -1
  264. package/paloalto/nextGenerationFirewallVirtualNetworkLocalRulestack.js +1 -1
  265. package/paloalto/nextGenerationFirewallVirtualNetworkPanorama.d.ts +1 -1
  266. package/paloalto/nextGenerationFirewallVirtualNetworkPanorama.js +1 -1
  267. package/postgresql/flexibleServer.d.ts +3 -3
  268. package/postgresql/flexibleServerFirewallRule.d.ts +6 -6
  269. package/search/service.d.ts +3 -3
  270. package/sentinel/authomationRule.d.ts +12 -0
  271. package/sentinel/authomationRule.js +2 -0
  272. package/sentinel/authomationRule.js.map +1 -1
  273. package/sentinel/automationRule.d.ts +12 -0
  274. package/sentinel/automationRule.js +2 -0
  275. package/sentinel/automationRule.js.map +1 -1
  276. package/storage/containerImmutabilityPolicy.d.ts +1 -1
  277. package/storage/containerImmutabilityPolicy.js +1 -1
  278. package/storage/getQueue.d.ts +45 -5
  279. package/storage/getQueue.js +16 -0
  280. package/storage/getQueue.js.map +1 -1
  281. package/storage/queue.d.ts +57 -6
  282. package/storage/queue.js +19 -3
  283. package/storage/queue.js.map +1 -1
  284. package/types/input.d.ts +190 -481
  285. package/types/output.d.ts +387 -84
@@ -0,0 +1,150 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a Network Manager IPAM Pool Static CIDR.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as azure from "@pulumi/azure";
10
+ *
11
+ * const example = new azure.core.ResourceGroup("example", {
12
+ * name: "example-resources",
13
+ * location: "West Europe",
14
+ * });
15
+ * const current = azure.core.getSubscription({});
16
+ * const exampleNetworkManager = new azure.network.NetworkManager("example", {
17
+ * name: "example-nm",
18
+ * resourceGroupName: example.name,
19
+ * location: example.location,
20
+ * scope: {
21
+ * subscriptionIds: [current.then(current => current.id)],
22
+ * },
23
+ * });
24
+ * const exampleNetworkManagerIpamPool = new azure.network.NetworkManagerIpamPool("example", {
25
+ * name: "example-ipampool",
26
+ * networkManagerId: exampleNetworkManager.id,
27
+ * location: example.location,
28
+ * displayName: "ipampool1",
29
+ * addressPrefixes: ["10.0.0.0/24"],
30
+ * });
31
+ * const exampleNetworkManagerIpamPoolStaticCidr = new azure.network.NetworkManagerIpamPoolStaticCidr("example", {
32
+ * name: "example-ipsc",
33
+ * ipamPoolId: exampleNetworkManagerIpamPool.id,
34
+ * addressPrefixes: [
35
+ * "10.0.0.0/26",
36
+ * "10.0.0.128/27",
37
+ * ],
38
+ * });
39
+ * ```
40
+ *
41
+ * ## API Providers
42
+ *
43
+ * <!-- This section is generated, changes will be overwritten -->
44
+ * This resource uses the following Azure API Providers:
45
+ *
46
+ * * `Microsoft.Network` - 2024-05-01
47
+ *
48
+ * ## Import
49
+ *
50
+ * Network Manager IPAM Pool Static CIDRs can be imported using the `resource id`, e.g.
51
+ *
52
+ * ```sh
53
+ * $ pulumi import azure:network/networkManagerIpamPoolStaticCidr:NetworkManagerIpamPoolStaticCidr example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/ipamPools/pool1/staticCidrs/cidr1
54
+ * ```
55
+ */
56
+ export declare class NetworkManagerIpamPoolStaticCidr extends pulumi.CustomResource {
57
+ /**
58
+ * Get an existing NetworkManagerIpamPoolStaticCidr resource's state with the given name, ID, and optional extra
59
+ * properties used to qualify the lookup.
60
+ *
61
+ * @param name The _unique_ name of the resulting resource.
62
+ * @param id The _unique_ provider ID of the resource to lookup.
63
+ * @param state Any extra arguments used during the lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkManagerIpamPoolStaticCidrState, opts?: pulumi.CustomResourceOptions): NetworkManagerIpamPoolStaticCidr;
67
+ /**
68
+ * Returns true if the given object is an instance of NetworkManagerIpamPoolStaticCidr. This is designed to work even
69
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
70
+ */
71
+ static isInstance(obj: any): obj is NetworkManagerIpamPoolStaticCidr;
72
+ /**
73
+ * Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
74
+ *
75
+ * > **Note:** Exactly one of `addressPrefixes` or `numberOfIpAddressesToAllocate` must be specified.
76
+ */
77
+ readonly addressPrefixes: pulumi.Output<string[] | undefined>;
78
+ /**
79
+ * The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
80
+ */
81
+ readonly ipamPoolId: pulumi.Output<string>;
82
+ /**
83
+ * The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
84
+ */
85
+ readonly name: pulumi.Output<string>;
86
+ /**
87
+ * The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g., `"16"`.
88
+ *
89
+ * > **Note:** Exactly one of `addressPrefixes` or `numberOfIpAddressesToAllocate` must be specified.
90
+ */
91
+ readonly numberOfIpAddressesToAllocate: pulumi.Output<string | undefined>;
92
+ /**
93
+ * Create a NetworkManagerIpamPoolStaticCidr resource with the given unique name, arguments, and options.
94
+ *
95
+ * @param name The _unique_ name of the resource.
96
+ * @param args The arguments to use to populate this resource's properties.
97
+ * @param opts A bag of options that control this resource's behavior.
98
+ */
99
+ constructor(name: string, args: NetworkManagerIpamPoolStaticCidrArgs, opts?: pulumi.CustomResourceOptions);
100
+ }
101
+ /**
102
+ * Input properties used for looking up and filtering NetworkManagerIpamPoolStaticCidr resources.
103
+ */
104
+ export interface NetworkManagerIpamPoolStaticCidrState {
105
+ /**
106
+ * Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
107
+ *
108
+ * > **Note:** Exactly one of `addressPrefixes` or `numberOfIpAddressesToAllocate` must be specified.
109
+ */
110
+ addressPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
111
+ /**
112
+ * The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
113
+ */
114
+ ipamPoolId?: pulumi.Input<string>;
115
+ /**
116
+ * The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
117
+ */
118
+ name?: pulumi.Input<string>;
119
+ /**
120
+ * The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g., `"16"`.
121
+ *
122
+ * > **Note:** Exactly one of `addressPrefixes` or `numberOfIpAddressesToAllocate` must be specified.
123
+ */
124
+ numberOfIpAddressesToAllocate?: pulumi.Input<string>;
125
+ }
126
+ /**
127
+ * The set of arguments for constructing a NetworkManagerIpamPoolStaticCidr resource.
128
+ */
129
+ export interface NetworkManagerIpamPoolStaticCidrArgs {
130
+ /**
131
+ * Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
132
+ *
133
+ * > **Note:** Exactly one of `addressPrefixes` or `numberOfIpAddressesToAllocate` must be specified.
134
+ */
135
+ addressPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
136
+ /**
137
+ * The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
138
+ */
139
+ ipamPoolId: pulumi.Input<string>;
140
+ /**
141
+ * The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
142
+ */
143
+ name?: pulumi.Input<string>;
144
+ /**
145
+ * The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g., `"16"`.
146
+ *
147
+ * > **Note:** Exactly one of `addressPrefixes` or `numberOfIpAddressesToAllocate` must be specified.
148
+ */
149
+ numberOfIpAddressesToAllocate?: pulumi.Input<string>;
150
+ }
@@ -0,0 +1,112 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.NetworkManagerIpamPoolStaticCidr = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Network Manager IPAM Pool Static CIDR.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as azure from "@pulumi/azure";
16
+ *
17
+ * const example = new azure.core.ResourceGroup("example", {
18
+ * name: "example-resources",
19
+ * location: "West Europe",
20
+ * });
21
+ * const current = azure.core.getSubscription({});
22
+ * const exampleNetworkManager = new azure.network.NetworkManager("example", {
23
+ * name: "example-nm",
24
+ * resourceGroupName: example.name,
25
+ * location: example.location,
26
+ * scope: {
27
+ * subscriptionIds: [current.then(current => current.id)],
28
+ * },
29
+ * });
30
+ * const exampleNetworkManagerIpamPool = new azure.network.NetworkManagerIpamPool("example", {
31
+ * name: "example-ipampool",
32
+ * networkManagerId: exampleNetworkManager.id,
33
+ * location: example.location,
34
+ * displayName: "ipampool1",
35
+ * addressPrefixes: ["10.0.0.0/24"],
36
+ * });
37
+ * const exampleNetworkManagerIpamPoolStaticCidr = new azure.network.NetworkManagerIpamPoolStaticCidr("example", {
38
+ * name: "example-ipsc",
39
+ * ipamPoolId: exampleNetworkManagerIpamPool.id,
40
+ * addressPrefixes: [
41
+ * "10.0.0.0/26",
42
+ * "10.0.0.128/27",
43
+ * ],
44
+ * });
45
+ * ```
46
+ *
47
+ * ## API Providers
48
+ *
49
+ * <!-- This section is generated, changes will be overwritten -->
50
+ * This resource uses the following Azure API Providers:
51
+ *
52
+ * * `Microsoft.Network` - 2024-05-01
53
+ *
54
+ * ## Import
55
+ *
56
+ * Network Manager IPAM Pool Static CIDRs can be imported using the `resource id`, e.g.
57
+ *
58
+ * ```sh
59
+ * $ pulumi import azure:network/networkManagerIpamPoolStaticCidr:NetworkManagerIpamPoolStaticCidr example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/ipamPools/pool1/staticCidrs/cidr1
60
+ * ```
61
+ */
62
+ class NetworkManagerIpamPoolStaticCidr extends pulumi.CustomResource {
63
+ /**
64
+ * Get an existing NetworkManagerIpamPoolStaticCidr resource's state with the given name, ID, and optional extra
65
+ * properties used to qualify the lookup.
66
+ *
67
+ * @param name The _unique_ name of the resulting resource.
68
+ * @param id The _unique_ provider ID of the resource to lookup.
69
+ * @param state Any extra arguments used during the lookup.
70
+ * @param opts Optional settings to control the behavior of the CustomResource.
71
+ */
72
+ static get(name, id, state, opts) {
73
+ return new NetworkManagerIpamPoolStaticCidr(name, state, { ...opts, id: id });
74
+ }
75
+ /**
76
+ * Returns true if the given object is an instance of NetworkManagerIpamPoolStaticCidr. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj) {
80
+ if (obj === undefined || obj === null) {
81
+ return false;
82
+ }
83
+ return obj['__pulumiType'] === NetworkManagerIpamPoolStaticCidr.__pulumiType;
84
+ }
85
+ constructor(name, argsOrState, opts) {
86
+ let resourceInputs = {};
87
+ opts = opts || {};
88
+ if (opts.id) {
89
+ const state = argsOrState;
90
+ resourceInputs["addressPrefixes"] = state?.addressPrefixes;
91
+ resourceInputs["ipamPoolId"] = state?.ipamPoolId;
92
+ resourceInputs["name"] = state?.name;
93
+ resourceInputs["numberOfIpAddressesToAllocate"] = state?.numberOfIpAddressesToAllocate;
94
+ }
95
+ else {
96
+ const args = argsOrState;
97
+ if (args?.ipamPoolId === undefined && !opts.urn) {
98
+ throw new Error("Missing required property 'ipamPoolId'");
99
+ }
100
+ resourceInputs["addressPrefixes"] = args?.addressPrefixes;
101
+ resourceInputs["ipamPoolId"] = args?.ipamPoolId;
102
+ resourceInputs["name"] = args?.name;
103
+ resourceInputs["numberOfIpAddressesToAllocate"] = args?.numberOfIpAddressesToAllocate;
104
+ }
105
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
106
+ super(NetworkManagerIpamPoolStaticCidr.__pulumiType, name, resourceInputs, opts);
107
+ }
108
+ }
109
+ exports.NetworkManagerIpamPoolStaticCidr = NetworkManagerIpamPoolStaticCidr;
110
+ /** @internal */
111
+ NetworkManagerIpamPoolStaticCidr.__pulumiType = 'azure:network/networkManagerIpamPoolStaticCidr:NetworkManagerIpamPoolStaticCidr';
112
+ //# sourceMappingURL=networkManagerIpamPoolStaticCidr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkManagerIpamPoolStaticCidr.js","sourceRoot":"","sources":["../../network/networkManagerIpamPoolStaticCidr.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6C,EAAE,IAAmC;QAC3I,OAAO,IAAI,gCAAgC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gCAAgC,CAAC,YAAY,CAAC;IACjF,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA0F,EAAE,IAAmC;QACrJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgE,CAAC;YAC/E,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,+BAA+B,CAAC,GAAG,KAAK,EAAE,6BAA6B,CAAC;SAC1F;aAAM;YACH,MAAM,IAAI,GAAG,WAA+D,CAAC;YAC7E,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,EAAE,6BAA6B,CAAC;SACzF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AA9EL,4EA+EC;AAjEG,gBAAgB;AACO,6CAAY,GAAG,iFAAiF,CAAC"}
@@ -61,7 +61,7 @@ export declare class NetworkManagerRoutingConfiguration extends pulumi.CustomRes
61
61
  */
62
62
  static isInstance(obj: any): obj is NetworkManagerRoutingConfiguration;
63
63
  /**
64
- * The description of the Network Manager.
64
+ * The description of the Network Manager Routing Configuration.
65
65
  */
66
66
  readonly description: pulumi.Output<string | undefined>;
67
67
  /**
@@ -86,7 +86,7 @@ export declare class NetworkManagerRoutingConfiguration extends pulumi.CustomRes
86
86
  */
87
87
  export interface NetworkManagerRoutingConfigurationState {
88
88
  /**
89
- * The description of the Network Manager.
89
+ * The description of the Network Manager Routing Configuration.
90
90
  */
91
91
  description?: pulumi.Input<string>;
92
92
  /**
@@ -103,7 +103,7 @@ export interface NetworkManagerRoutingConfigurationState {
103
103
  */
104
104
  export interface NetworkManagerRoutingConfigurationArgs {
105
105
  /**
106
- * The description of the Network Manager.
106
+ * The description of the Network Manager Routing Configuration.
107
107
  */
108
108
  description?: pulumi.Input<string>;
109
109
  /**
@@ -0,0 +1,148 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as azure from "@pulumi/azure";
8
+ *
9
+ * const example = new azure.core.ResourceGroup("example", {
10
+ * name: "example-resources",
11
+ * location: "West Europe",
12
+ * });
13
+ * const current = azure.core.getSubscription({});
14
+ * const exampleNetworkManager = new azure.network.NetworkManager("example", {
15
+ * name: "example-network-manager",
16
+ * location: example.location,
17
+ * resourceGroupName: example.name,
18
+ * scope: {
19
+ * subscriptionIds: [current.then(current => current.id)],
20
+ * },
21
+ * scopeAccesses: ["Routing"],
22
+ * });
23
+ * const exampleNetworkManagerNetworkGroup = new azure.network.NetworkManagerNetworkGroup("example", {
24
+ * name: "example-network-group",
25
+ * networkManagerId: exampleNetworkManager.id,
26
+ * });
27
+ * const exampleNetworkManagerRoutingConfiguration = new azure.network.NetworkManagerRoutingConfiguration("example", {
28
+ * name: "example-routing-configuration",
29
+ * networkManagerId: exampleNetworkManager.id,
30
+ * });
31
+ * const exampleNetworkManagerRoutingRuleCollection = new azure.network.NetworkManagerRoutingRuleCollection("example", {
32
+ * name: "example-routing-rule-collection",
33
+ * routingConfigurationId: exampleNetworkManagerRoutingConfiguration.id,
34
+ * networkGroupIds: ["azurerm_network_manager_network_group.example.id"],
35
+ * description: "example routing rule collection",
36
+ * });
37
+ * ```
38
+ *
39
+ * ## API Providers
40
+ *
41
+ * <!-- This section is generated, changes will be overwritten -->
42
+ * This resource uses the following Azure API Providers:
43
+ *
44
+ * * `Microsoft.Network` - 2024-05-01
45
+ *
46
+ * ## Import
47
+ *
48
+ * Network Manager Routing Rule Collections can be imported using the `resource id`, e.g.
49
+ *
50
+ * ```sh
51
+ * $ pulumi import azure:network/networkManagerRoutingRuleCollection:NetworkManagerRoutingRuleCollection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/routingConfigurations/conf1/ruleCollections/collection1
52
+ * ```
53
+ */
54
+ export declare class NetworkManagerRoutingRuleCollection extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing NetworkManagerRoutingRuleCollection resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkManagerRoutingRuleCollectionState, opts?: pulumi.CustomResourceOptions): NetworkManagerRoutingRuleCollection;
65
+ /**
66
+ * Returns true if the given object is an instance of NetworkManagerRoutingRuleCollection. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj: any): obj is NetworkManagerRoutingRuleCollection;
70
+ /**
71
+ * Whether to enable the BGP route propagation. Defaults to `false`.
72
+ */
73
+ readonly bgpRoutePropagationEnabled: pulumi.Output<boolean | undefined>;
74
+ /**
75
+ * The description of the Network Manager Routing Rule Collection.
76
+ */
77
+ readonly description: pulumi.Output<string | undefined>;
78
+ /**
79
+ * The name which should be used for this Network Manager Routing Rule Collection. Changing this forces a new Network Manager Routing Rule Collection to be created.
80
+ */
81
+ readonly name: pulumi.Output<string>;
82
+ /**
83
+ * A list of Network Group IDs which this Network Manager Routing Rule Collection applies to.
84
+ */
85
+ readonly networkGroupIds: pulumi.Output<string[]>;
86
+ /**
87
+ * The ID of the Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Rule Collection to be created.
88
+ */
89
+ readonly routingConfigurationId: pulumi.Output<string>;
90
+ /**
91
+ * Create a NetworkManagerRoutingRuleCollection resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: NetworkManagerRoutingRuleCollectionArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering NetworkManagerRoutingRuleCollection resources.
101
+ */
102
+ export interface NetworkManagerRoutingRuleCollectionState {
103
+ /**
104
+ * Whether to enable the BGP route propagation. Defaults to `false`.
105
+ */
106
+ bgpRoutePropagationEnabled?: pulumi.Input<boolean>;
107
+ /**
108
+ * The description of the Network Manager Routing Rule Collection.
109
+ */
110
+ description?: pulumi.Input<string>;
111
+ /**
112
+ * The name which should be used for this Network Manager Routing Rule Collection. Changing this forces a new Network Manager Routing Rule Collection to be created.
113
+ */
114
+ name?: pulumi.Input<string>;
115
+ /**
116
+ * A list of Network Group IDs which this Network Manager Routing Rule Collection applies to.
117
+ */
118
+ networkGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
119
+ /**
120
+ * The ID of the Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Rule Collection to be created.
121
+ */
122
+ routingConfigurationId?: pulumi.Input<string>;
123
+ }
124
+ /**
125
+ * The set of arguments for constructing a NetworkManagerRoutingRuleCollection resource.
126
+ */
127
+ export interface NetworkManagerRoutingRuleCollectionArgs {
128
+ /**
129
+ * Whether to enable the BGP route propagation. Defaults to `false`.
130
+ */
131
+ bgpRoutePropagationEnabled?: pulumi.Input<boolean>;
132
+ /**
133
+ * The description of the Network Manager Routing Rule Collection.
134
+ */
135
+ description?: pulumi.Input<string>;
136
+ /**
137
+ * The name which should be used for this Network Manager Routing Rule Collection. Changing this forces a new Network Manager Routing Rule Collection to be created.
138
+ */
139
+ name?: pulumi.Input<string>;
140
+ /**
141
+ * A list of Network Group IDs which this Network Manager Routing Rule Collection applies to.
142
+ */
143
+ networkGroupIds: pulumi.Input<pulumi.Input<string>[]>;
144
+ /**
145
+ * The ID of the Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Rule Collection to be created.
146
+ */
147
+ routingConfigurationId: pulumi.Input<string>;
148
+ }
@@ -0,0 +1,115 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.NetworkManagerRoutingRuleCollection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as azure from "@pulumi/azure";
14
+ *
15
+ * const example = new azure.core.ResourceGroup("example", {
16
+ * name: "example-resources",
17
+ * location: "West Europe",
18
+ * });
19
+ * const current = azure.core.getSubscription({});
20
+ * const exampleNetworkManager = new azure.network.NetworkManager("example", {
21
+ * name: "example-network-manager",
22
+ * location: example.location,
23
+ * resourceGroupName: example.name,
24
+ * scope: {
25
+ * subscriptionIds: [current.then(current => current.id)],
26
+ * },
27
+ * scopeAccesses: ["Routing"],
28
+ * });
29
+ * const exampleNetworkManagerNetworkGroup = new azure.network.NetworkManagerNetworkGroup("example", {
30
+ * name: "example-network-group",
31
+ * networkManagerId: exampleNetworkManager.id,
32
+ * });
33
+ * const exampleNetworkManagerRoutingConfiguration = new azure.network.NetworkManagerRoutingConfiguration("example", {
34
+ * name: "example-routing-configuration",
35
+ * networkManagerId: exampleNetworkManager.id,
36
+ * });
37
+ * const exampleNetworkManagerRoutingRuleCollection = new azure.network.NetworkManagerRoutingRuleCollection("example", {
38
+ * name: "example-routing-rule-collection",
39
+ * routingConfigurationId: exampleNetworkManagerRoutingConfiguration.id,
40
+ * networkGroupIds: ["azurerm_network_manager_network_group.example.id"],
41
+ * description: "example routing rule collection",
42
+ * });
43
+ * ```
44
+ *
45
+ * ## API Providers
46
+ *
47
+ * <!-- This section is generated, changes will be overwritten -->
48
+ * This resource uses the following Azure API Providers:
49
+ *
50
+ * * `Microsoft.Network` - 2024-05-01
51
+ *
52
+ * ## Import
53
+ *
54
+ * Network Manager Routing Rule Collections can be imported using the `resource id`, e.g.
55
+ *
56
+ * ```sh
57
+ * $ pulumi import azure:network/networkManagerRoutingRuleCollection:NetworkManagerRoutingRuleCollection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/routingConfigurations/conf1/ruleCollections/collection1
58
+ * ```
59
+ */
60
+ class NetworkManagerRoutingRuleCollection extends pulumi.CustomResource {
61
+ /**
62
+ * Get an existing NetworkManagerRoutingRuleCollection resource's state with the given name, ID, and optional extra
63
+ * properties used to qualify the lookup.
64
+ *
65
+ * @param name The _unique_ name of the resulting resource.
66
+ * @param id The _unique_ provider ID of the resource to lookup.
67
+ * @param state Any extra arguments used during the lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name, id, state, opts) {
71
+ return new NetworkManagerRoutingRuleCollection(name, state, { ...opts, id: id });
72
+ }
73
+ /**
74
+ * Returns true if the given object is an instance of NetworkManagerRoutingRuleCollection. This is designed to work even
75
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
76
+ */
77
+ static isInstance(obj) {
78
+ if (obj === undefined || obj === null) {
79
+ return false;
80
+ }
81
+ return obj['__pulumiType'] === NetworkManagerRoutingRuleCollection.__pulumiType;
82
+ }
83
+ constructor(name, argsOrState, opts) {
84
+ let resourceInputs = {};
85
+ opts = opts || {};
86
+ if (opts.id) {
87
+ const state = argsOrState;
88
+ resourceInputs["bgpRoutePropagationEnabled"] = state?.bgpRoutePropagationEnabled;
89
+ resourceInputs["description"] = state?.description;
90
+ resourceInputs["name"] = state?.name;
91
+ resourceInputs["networkGroupIds"] = state?.networkGroupIds;
92
+ resourceInputs["routingConfigurationId"] = state?.routingConfigurationId;
93
+ }
94
+ else {
95
+ const args = argsOrState;
96
+ if (args?.networkGroupIds === undefined && !opts.urn) {
97
+ throw new Error("Missing required property 'networkGroupIds'");
98
+ }
99
+ if (args?.routingConfigurationId === undefined && !opts.urn) {
100
+ throw new Error("Missing required property 'routingConfigurationId'");
101
+ }
102
+ resourceInputs["bgpRoutePropagationEnabled"] = args?.bgpRoutePropagationEnabled;
103
+ resourceInputs["description"] = args?.description;
104
+ resourceInputs["name"] = args?.name;
105
+ resourceInputs["networkGroupIds"] = args?.networkGroupIds;
106
+ resourceInputs["routingConfigurationId"] = args?.routingConfigurationId;
107
+ }
108
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
109
+ super(NetworkManagerRoutingRuleCollection.__pulumiType, name, resourceInputs, opts);
110
+ }
111
+ }
112
+ exports.NetworkManagerRoutingRuleCollection = NetworkManagerRoutingRuleCollection;
113
+ /** @internal */
114
+ NetworkManagerRoutingRuleCollection.__pulumiType = 'azure:network/networkManagerRoutingRuleCollection:NetworkManagerRoutingRuleCollection';
115
+ //# sourceMappingURL=networkManagerRoutingRuleCollection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkManagerRoutingRuleCollection.js","sourceRoot":"","sources":["../../network/networkManagerRoutingRuleCollection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CA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,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAnFL,kFAoFC;AAtEG,gBAAgB;AACO,gDAAY,GAAG,uFAAuF,CAAC"}
@@ -129,6 +129,14 @@ export declare class Subnet extends pulumi.CustomResource {
129
129
  * > **NOTE:** In order to use `Microsoft.Storage.Global` service endpoint (which allows access to virtual networks in other regions), you must enable the `AllowGlobalTagsForStorage` feature in your subscription. This is currently a preview feature, please see the [official documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-cli#enabling-access-to-virtual-networks-in-other-regions-preview) for more information.
130
130
  */
131
131
  readonly serviceEndpoints: pulumi.Output<string[] | undefined>;
132
+ /**
133
+ * The sharing scope of the subnet. Possible value is `Tenant`.
134
+ *
135
+ * > **Note:** This property cannot be set if `defaultOutboundAccessEnabled` is set to `true`.
136
+ *
137
+ * !> **Note:** The `sharingScope` property is only available to users who have been explicitly registered and granted access by the Azure Networking Product Group.
138
+ */
139
+ readonly sharingScope: pulumi.Output<string | undefined>;
132
140
  /**
133
141
  * The name of the virtual network to which to attach the subnet. Changing this forces a new resource to be created.
134
142
  */
@@ -202,6 +210,14 @@ export interface SubnetState {
202
210
  * > **NOTE:** In order to use `Microsoft.Storage.Global` service endpoint (which allows access to virtual networks in other regions), you must enable the `AllowGlobalTagsForStorage` feature in your subscription. This is currently a preview feature, please see the [official documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-cli#enabling-access-to-virtual-networks-in-other-regions-preview) for more information.
203
211
  */
204
212
  serviceEndpoints?: pulumi.Input<pulumi.Input<string>[]>;
213
+ /**
214
+ * The sharing scope of the subnet. Possible value is `Tenant`.
215
+ *
216
+ * > **Note:** This property cannot be set if `defaultOutboundAccessEnabled` is set to `true`.
217
+ *
218
+ * !> **Note:** The `sharingScope` property is only available to users who have been explicitly registered and granted access by the Azure Networking Product Group.
219
+ */
220
+ sharingScope?: pulumi.Input<string>;
205
221
  /**
206
222
  * The name of the virtual network to which to attach the subnet. Changing this forces a new resource to be created.
207
223
  */
@@ -267,6 +283,14 @@ export interface SubnetArgs {
267
283
  * > **NOTE:** In order to use `Microsoft.Storage.Global` service endpoint (which allows access to virtual networks in other regions), you must enable the `AllowGlobalTagsForStorage` feature in your subscription. This is currently a preview feature, please see the [official documentation](https://learn.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-cli#enabling-access-to-virtual-networks-in-other-regions-preview) for more information.
268
284
  */
269
285
  serviceEndpoints?: pulumi.Input<pulumi.Input<string>[]>;
286
+ /**
287
+ * The sharing scope of the subnet. Possible value is `Tenant`.
288
+ *
289
+ * > **Note:** This property cannot be set if `defaultOutboundAccessEnabled` is set to `true`.
290
+ *
291
+ * !> **Note:** The `sharingScope` property is only available to users who have been explicitly registered and granted access by the Azure Networking Product Group.
292
+ */
293
+ sharingScope?: pulumi.Input<string>;
270
294
  /**
271
295
  * The name of the virtual network to which to attach the subnet. Changing this forces a new resource to be created.
272
296
  */
package/network/subnet.js CHANGED
@@ -99,6 +99,7 @@ class Subnet extends pulumi.CustomResource {
99
99
  resourceInputs["resourceGroupName"] = state?.resourceGroupName;
100
100
  resourceInputs["serviceEndpointPolicyIds"] = state?.serviceEndpointPolicyIds;
101
101
  resourceInputs["serviceEndpoints"] = state?.serviceEndpoints;
102
+ resourceInputs["sharingScope"] = state?.sharingScope;
102
103
  resourceInputs["virtualNetworkName"] = state?.virtualNetworkName;
103
104
  }
104
105
  else {
@@ -119,6 +120,7 @@ class Subnet extends pulumi.CustomResource {
119
120
  resourceInputs["resourceGroupName"] = args?.resourceGroupName;
120
121
  resourceInputs["serviceEndpointPolicyIds"] = args?.serviceEndpointPolicyIds;
121
122
  resourceInputs["serviceEndpoints"] = args?.serviceEndpoints;
123
+ resourceInputs["sharingScope"] = args?.sharingScope;
122
124
  resourceInputs["virtualNetworkName"] = args?.virtualNetworkName;
123
125
  }
124
126
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"subnet.js","sourceRoot":"","sources":["../../network/subnet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAuED,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,8BAA8B,CAAC,G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