@pulumi/linode 6.6.0-alpha.1789107202 → 6.6.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.
- package/accountSettings.d.ts +5 -10
- package/accountSettings.d.ts.map +1 -1
- package/accountSettings.js +4 -5
- package/accountSettings.js.map +1 -1
- package/databaseAccessControls.d.ts +2 -2
- package/databaseAccessControls.js +2 -2
- package/databaseMysqlV2.d.ts +9 -9
- package/databaseMysqlV2.js +1 -1
- package/databasePostgresqlV2.d.ts +8 -8
- package/domain.d.ts +0 -12
- package/domain.d.ts.map +1 -1
- package/domain.js +0 -2
- package/domain.js.map +1 -1
- package/firewall.d.ts +22 -6
- package/firewall.d.ts.map +1 -1
- package/firewall.js +4 -0
- package/firewall.js.map +1 -1
- package/firewallSettings.d.ts +3 -3
- package/getAccountAvailabilities.d.ts +3 -0
- package/getAccountAvailabilities.d.ts.map +1 -1
- package/getAccountAvailabilities.js.map +1 -1
- package/getAccountLogins.d.ts +3 -0
- package/getAccountLogins.d.ts.map +1 -1
- package/getAccountLogins.js.map +1 -1
- package/getChildAccounts.d.ts +3 -0
- package/getChildAccounts.d.ts.map +1 -1
- package/getChildAccounts.js.map +1 -1
- package/getConsumerImageShareGroupImageShares.d.ts +11 -2
- package/getConsumerImageShareGroupImageShares.d.ts.map +1 -1
- package/getConsumerImageShareGroupImageShares.js.map +1 -1
- package/getConsumerImageShareGroupTokens.d.ts +9 -0
- package/getConsumerImageShareGroupTokens.d.ts.map +1 -1
- package/getConsumerImageShareGroupTokens.js.map +1 -1
- package/getDatabaseEngines.d.ts +5 -2
- package/getDatabaseEngines.d.ts.map +1 -1
- package/getDatabaseEngines.js.map +1 -1
- package/getDatabaseMysqlConfig.d.ts +54 -54
- package/getDatabaseMysqlConfig.js +54 -54
- package/getDatabasePostgresqlConfig.d.ts +88 -88
- package/getDatabasePostgresqlConfig.js +88 -88
- package/getDatabases.d.ts +3 -0
- package/getDatabases.d.ts.map +1 -1
- package/getDatabases.js.map +1 -1
- package/getDomain.d.ts +0 -4
- package/getDomain.d.ts.map +1 -1
- package/getDomain.js.map +1 -1
- package/getDomains.d.ts +3 -4
- package/getDomains.d.ts.map +1 -1
- package/getDomains.js +0 -4
- package/getDomains.js.map +1 -1
- package/getFirewall.d.ts +8 -0
- package/getFirewall.d.ts.map +1 -1
- package/getFirewall.js.map +1 -1
- package/getFirewallTemplate.d.ts +2 -2
- package/getFirewallTemplates.d.ts +3 -0
- package/getFirewallTemplates.d.ts.map +1 -1
- package/getFirewallTemplates.js.map +1 -1
- package/getFirewalls.d.ts +5 -2
- package/getFirewalls.d.ts.map +1 -1
- package/getFirewalls.js +2 -2
- package/getFirewalls.js.map +1 -1
- package/getIamEntities.d.ts +80 -0
- package/getIamEntities.d.ts.map +1 -0
- package/getIamEntities.js +81 -0
- package/getIamEntities.js.map +1 -0
- package/getIamUser.d.ts +68 -0
- package/getIamUser.d.ts.map +1 -0
- package/{getObjectStorageCluster.js → getIamUser.js} +20 -20
- package/getIamUser.js.map +1 -0
- package/getImage.d.ts +2 -2
- package/getImages.d.ts +5 -2
- package/getImages.d.ts.map +1 -1
- package/getImages.js.map +1 -1
- package/getInstanceNetworking.d.ts +5 -2
- package/getInstanceNetworking.d.ts.map +1 -1
- package/getInstanceNetworking.js +2 -2
- package/getInstanceNetworking.js.map +1 -1
- package/getInstanceType.d.ts +9 -0
- package/getInstanceType.d.ts.map +1 -1
- package/getInstanceType.js.map +1 -1
- package/getInstanceTypes.d.ts +3 -0
- package/getInstanceTypes.d.ts.map +1 -1
- package/getInstanceTypes.js.map +1 -1
- package/getInstances.d.ts +3 -4
- package/getInstances.d.ts.map +1 -1
- package/getInstances.js +0 -4
- package/getInstances.js.map +1 -1
- package/getInterface.d.ts +1 -0
- package/getInterface.d.ts.map +1 -1
- package/getInterface.js.map +1 -1
- package/getIpv6Ranges.d.ts +3 -0
- package/getIpv6Ranges.d.ts.map +1 -1
- package/getIpv6Ranges.js.map +1 -1
- package/getKernel.d.ts +0 -4
- package/getKernel.d.ts.map +1 -1
- package/getKernel.js.map +1 -1
- package/getKernels.d.ts +3 -4
- package/getKernels.d.ts.map +1 -1
- package/getKernels.js +0 -4
- package/getKernels.js.map +1 -1
- package/getLinodeObjectStorageBucket.d.ts +2 -18
- package/getLinodeObjectStorageBucket.d.ts.map +1 -1
- package/getLinodeObjectStorageBucket.js +0 -2
- package/getLinodeObjectStorageBucket.js.map +1 -1
- package/getLkeCluster.d.ts +2 -6
- package/getLkeCluster.d.ts.map +1 -1
- package/getLkeCluster.js.map +1 -1
- package/getLkeClusters.d.ts +3 -0
- package/getLkeClusters.d.ts.map +1 -1
- package/getLkeClusters.js.map +1 -1
- package/getLkeNodePool.d.ts +12 -4
- package/getLkeNodePool.d.ts.map +1 -1
- package/getLkeNodePool.js.map +1 -1
- package/getLkeTypes.d.ts +59 -0
- package/getLkeTypes.d.ts.map +1 -1
- package/getLkeTypes.js +56 -0
- package/getLkeTypes.js.map +1 -1
- package/getLkeVersions.d.ts +3 -0
- package/getLkeVersions.d.ts.map +1 -1
- package/getLkeVersions.js.map +1 -1
- package/getLock.d.ts +2 -6
- package/getLock.d.ts.map +1 -1
- package/getLock.js +2 -6
- package/getLock.js.map +1 -1
- package/getLocks.d.ts +3 -7
- package/getLocks.d.ts.map +1 -1
- package/getLocks.js +2 -6
- package/getLocks.js.map +1 -1
- package/getMaintenancePolicies.d.ts +3 -0
- package/getMaintenancePolicies.d.ts.map +1 -1
- package/getMaintenancePolicies.js.map +1 -1
- package/getMonitorAlertChannels.d.ts +104 -0
- package/getMonitorAlertChannels.d.ts.map +1 -0
- package/getMonitorAlertChannels.js +119 -0
- package/getMonitorAlertChannels.js.map +1 -0
- package/getMonitorAlertDefinition.d.ts +135 -0
- package/getMonitorAlertDefinition.d.ts.map +1 -0
- package/getMonitorAlertDefinition.js +81 -0
- package/getMonitorAlertDefinition.js.map +1 -0
- package/getMonitorAlertDefinitionEntities.d.ts +132 -0
- package/getMonitorAlertDefinitionEntities.d.ts.map +1 -0
- package/getMonitorAlertDefinitionEntities.js +127 -0
- package/getMonitorAlertDefinitionEntities.js.map +1 -0
- package/getMonitorAlertDefinitions.d.ts +98 -0
- package/getMonitorAlertDefinitions.d.ts.map +1 -0
- package/getMonitorAlertDefinitions.js +99 -0
- package/getMonitorAlertDefinitions.js.map +1 -0
- package/getMonitorLogsDestination.d.ts +94 -0
- package/getMonitorLogsDestination.d.ts.map +1 -0
- package/getMonitorLogsDestination.js +77 -0
- package/getMonitorLogsDestination.js.map +1 -0
- package/getMonitorLogsDestinations.d.ts +98 -0
- package/getMonitorLogsDestinations.d.ts.map +1 -0
- package/getMonitorLogsDestinations.js +111 -0
- package/getMonitorLogsDestinations.js.map +1 -0
- package/getMonitorLogsStream.d.ts +98 -0
- package/getMonitorLogsStream.d.ts.map +1 -0
- package/getMonitorLogsStream.js +77 -0
- package/getMonitorLogsStream.js.map +1 -0
- package/getMonitorLogsStreamHistory.d.ts +69 -0
- package/getMonitorLogsStreamHistory.d.ts.map +1 -0
- package/getMonitorLogsStreamHistory.js +77 -0
- package/getMonitorLogsStreamHistory.js.map +1 -0
- package/getMonitorLogsStreams.d.ts +110 -0
- package/getMonitorLogsStreams.d.ts.map +1 -0
- package/getMonitorLogsStreams.js +123 -0
- package/getMonitorLogsStreams.js.map +1 -0
- package/getNetworkTransferPrices.d.ts +3 -0
- package/getNetworkTransferPrices.d.ts.map +1 -1
- package/getNetworkTransferPrices.js.map +1 -1
- package/getNetworkingIp.d.ts +13 -2
- package/getNetworkingIp.d.ts.map +1 -1
- package/getNetworkingIp.js.map +1 -1
- package/getNetworkingIps.d.ts +6 -0
- package/getNetworkingIps.d.ts.map +1 -1
- package/getNetworkingIps.js.map +1 -1
- package/getNodeBalancer.d.ts +3 -2
- package/getNodeBalancer.d.ts.map +1 -1
- package/getNodeBalancer.js.map +1 -1
- package/getNodebalancerConfigs.d.ts +5 -2
- package/getNodebalancerConfigs.d.ts.map +1 -1
- package/getNodebalancerConfigs.js.map +1 -1
- package/getNodebalancerVpc.d.ts +4 -0
- package/getNodebalancerVpc.d.ts.map +1 -1
- package/getNodebalancerVpc.js.map +1 -1
- package/getNodebalancerVpcs.d.ts +33 -2
- package/getNodebalancerVpcs.d.ts.map +1 -1
- package/getNodebalancerVpcs.js +28 -0
- package/getNodebalancerVpcs.js.map +1 -1
- package/getNodebalancers.d.ts +4 -1
- package/getNodebalancers.d.ts.map +1 -1
- package/getNodebalancers.js.map +1 -1
- package/getObjectStorageEndpoints.d.ts +3 -0
- package/getObjectStorageEndpoints.d.ts.map +1 -1
- package/getObjectStorageEndpoints.js.map +1 -1
- package/getObjectStorageGlobalQuota.d.ts +95 -0
- package/getObjectStorageGlobalQuota.d.ts.map +1 -0
- package/getObjectStorageGlobalQuota.js +79 -0
- package/getObjectStorageGlobalQuota.js.map +1 -0
- package/getObjectStorageGlobalQuotas.d.ts +101 -0
- package/getObjectStorageGlobalQuotas.d.ts.map +1 -0
- package/getObjectStorageGlobalQuotas.js +119 -0
- package/getObjectStorageGlobalQuotas.js.map +1 -0
- package/getObjectStorageQuota.d.ts +9 -1
- package/getObjectStorageQuota.d.ts.map +1 -1
- package/getObjectStorageQuota.js.map +1 -1
- package/getObjectStorageQuotas.d.ts +13 -2
- package/getObjectStorageQuotas.d.ts.map +1 -1
- package/getObjectStorageQuotas.js +10 -2
- package/getObjectStorageQuotas.js.map +1 -1
- package/getPlacementGroup.d.ts +2 -2
- package/getPlacementGroups.d.ts +3 -0
- package/getPlacementGroups.d.ts.map +1 -1
- package/getPlacementGroups.js.map +1 -1
- package/getProducerImageShareGroupImageShares.d.ts +11 -2
- package/getProducerImageShareGroupImageShares.d.ts.map +1 -1
- package/getProducerImageShareGroupImageShares.js.map +1 -1
- package/getProducerImageShareGroupMembers.d.ts +9 -0
- package/getProducerImageShareGroupMembers.d.ts.map +1 -1
- package/getProducerImageShareGroupMembers.js.map +1 -1
- package/getProducerImageShareGroups.d.ts +9 -0
- package/getProducerImageShareGroups.d.ts.map +1 -1
- package/getProducerImageShareGroups.js.map +1 -1
- package/getProfile.d.ts +1 -1
- package/getRegionVpcAvailability.d.ts +70 -0
- package/getRegionVpcAvailability.d.ts.map +1 -0
- package/getRegionVpcAvailability.js +79 -0
- package/getRegionVpcAvailability.js.map +1 -0
- package/getRegions.d.ts +3 -0
- package/getRegions.d.ts.map +1 -1
- package/getRegions.js.map +1 -1
- package/getRegionsVpcAvailability.d.ts +42 -0
- package/getRegionsVpcAvailability.d.ts.map +1 -0
- package/getRegionsVpcAvailability.js +65 -0
- package/getRegionsVpcAvailability.js.map +1 -0
- package/getReservedIpTypes.d.ts +110 -0
- package/getReservedIpTypes.d.ts.map +1 -0
- package/getReservedIpTypes.js +111 -0
- package/getReservedIpTypes.js.map +1 -0
- package/getSshkeys.d.ts +3 -0
- package/getSshkeys.d.ts.map +1 -1
- package/getSshkeys.js.map +1 -1
- package/getStackScript.d.ts +1 -1
- package/getStackScripts.d.ts +5 -2
- package/getStackScripts.d.ts.map +1 -1
- package/getStackScripts.js.map +1 -1
- package/getTag.d.ts +69 -0
- package/getTag.d.ts.map +1 -0
- package/getTag.js +77 -0
- package/getTag.js.map +1 -0
- package/getUsers.d.ts +3 -0
- package/getUsers.d.ts.map +1 -1
- package/getUsers.js.map +1 -1
- package/getVlans.d.ts +3 -0
- package/getVlans.d.ts.map +1 -1
- package/getVlans.js.map +1 -1
- package/getVolume.d.ts +4 -0
- package/getVolume.d.ts.map +1 -1
- package/getVolume.js.map +1 -1
- package/getVolumeTypes.d.ts +3 -0
- package/getVolumeTypes.d.ts.map +1 -1
- package/getVolumeTypes.js.map +1 -1
- package/getVolumes.d.ts +3 -0
- package/getVolumes.d.ts.map +1 -1
- package/getVolumes.js.map +1 -1
- package/getVpc.d.ts +130 -5
- package/getVpc.d.ts.map +1 -1
- package/getVpc.js +120 -4
- package/getVpc.js.map +1 -1
- package/getVpcDefaultRanges.d.ts +49 -0
- package/getVpcDefaultRanges.d.ts.map +1 -0
- package/getVpcDefaultRanges.js +73 -0
- package/getVpcDefaultRanges.js.map +1 -0
- package/getVpcIps.d.ts +5 -2
- package/getVpcIps.d.ts.map +1 -1
- package/getVpcIps.js.map +1 -1
- package/getVpcSubnet.d.ts +11 -3
- package/getVpcSubnet.d.ts.map +1 -1
- package/getVpcSubnet.js.map +1 -1
- package/getVpcSubnets.d.ts +6 -3
- package/getVpcSubnets.d.ts.map +1 -1
- package/getVpcSubnets.js.map +1 -1
- package/getVpcs.d.ts +19 -0
- package/getVpcs.d.ts.map +1 -1
- package/getVpcs.js +16 -0
- package/getVpcs.js.map +1 -1
- package/iamUser.d.ts +109 -0
- package/iamUser.d.ts.map +1 -0
- package/iamUser.js +107 -0
- package/iamUser.js.map +1 -0
- package/image.d.ts +4 -4
- package/index.d.ts +69 -3
- package/index.d.ts.map +1 -1
- package/index.js +84 -7
- package/index.js.map +1 -1
- package/instance.d.ts +129 -94
- package/instance.d.ts.map +1 -1
- package/instance.js +23 -2
- package/instance.js.map +1 -1
- package/instanceConfig.d.ts +15 -9
- package/instanceConfig.d.ts.map +1 -1
- package/instanceConfig.js.map +1 -1
- package/instanceDisk.d.ts +26 -9
- package/instanceDisk.d.ts.map +1 -1
- package/instanceDisk.js +17 -0
- package/instanceDisk.js.map +1 -1
- package/instanceIp.d.ts +5 -5
- package/instanceIp.js +1 -1
- package/interface.d.ts +24 -12
- package/interface.d.ts.map +1 -1
- package/interface.js +2 -0
- package/interface.js.map +1 -1
- package/ipv6Range.d.ts +1 -1
- package/ipv6Range.js +1 -1
- package/lkeCluster.d.ts +32 -17
- package/lkeCluster.d.ts.map +1 -1
- package/lkeCluster.js +23 -2
- package/lkeCluster.js.map +1 -1
- package/lkeNodePool.d.ts +34 -6
- package/lkeNodePool.d.ts.map +1 -1
- package/lkeNodePool.js +5 -1
- package/lkeNodePool.js.map +1 -1
- package/lock.d.ts +4 -6
- package/lock.d.ts.map +1 -1
- package/lock.js +1 -3
- package/lock.js.map +1 -1
- package/monitorAlertDefinition.d.ts +317 -0
- package/monitorAlertDefinition.d.ts.map +1 -0
- package/monitorAlertDefinition.js +178 -0
- package/monitorAlertDefinition.js.map +1 -0
- package/monitorLogsDestination.d.ts +206 -0
- package/monitorLogsDestination.d.ts.map +1 -0
- package/monitorLogsDestination.js +155 -0
- package/monitorLogsDestination.js.map +1 -0
- package/monitorLogsStream.d.ts +207 -0
- package/monitorLogsStream.d.ts.map +1 -0
- package/monitorLogsStream.js +161 -0
- package/monitorLogsStream.js.map +1 -0
- package/networkingIp.d.ts +18 -2
- package/networkingIp.d.ts.map +1 -1
- package/networkingIp.js +4 -0
- package/networkingIp.js.map +1 -1
- package/nodeBalancer.d.ts +33 -2
- package/nodeBalancer.d.ts.map +1 -1
- package/nodeBalancer.js +22 -1
- package/nodeBalancer.js.map +1 -1
- package/objectStorageBucket.d.ts +11 -32
- package/objectStorageBucket.d.ts.map +1 -1
- package/objectStorageBucket.js +4 -3
- package/objectStorageBucket.js.map +1 -1
- package/objectStorageKey.d.ts +5 -5
- package/objectStorageObject.d.ts +5 -23
- package/objectStorageObject.d.ts.map +1 -1
- package/objectStorageObject.js +3 -2
- package/objectStorageObject.js.map +1 -1
- package/package.json +2 -2
- package/producerImageShareGroup.d.ts +3 -3
- package/provider.js +2 -2
- package/provider.js.map +1 -1
- package/rdns.d.ts +1 -1
- package/rdns.js +1 -1
- package/reservedIp.d.ts +192 -0
- package/reservedIp.d.ts.map +1 -0
- package/reservedIp.js +140 -0
- package/reservedIp.js.map +1 -0
- package/reservedIpAssignment.d.ts +57 -23
- package/reservedIpAssignment.d.ts.map +1 -1
- package/reservedIpAssignment.js +22 -0
- package/reservedIpAssignment.js.map +1 -1
- package/stackScript.d.ts +2 -2
- package/types/input.d.ts +1721 -105
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +5817 -1994
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +30 -30
- package/volume.d.ts +8 -0
- package/volume.d.ts.map +1 -1
- package/volume.js +2 -0
- package/volume.js.map +1 -1
- package/vpc.d.ts +115 -6
- package/vpc.d.ts.map +1 -1
- package/vpc.js +77 -0
- package/vpc.js.map +1 -1
- package/vpcSubnet.d.ts +23 -7
- package/vpcSubnet.d.ts.map +1 -1
- package/vpcSubnet.js +4 -0
- package/vpcSubnet.js.map +1 -1
- package/getObjectStorageCluster.d.ts +0 -78
- package/getObjectStorageCluster.d.ts.map +0 -1
- package/getObjectStorageCluster.js.map +0 -1
package/reservedIp.d.ts
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a reserved IPv4 address in a Linode region. Reserved IPs persist independently of any Linode instance and can be assigned or unassigned at any time.
|
|
6
|
+
*
|
|
7
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-reserved-ip).
|
|
8
|
+
*
|
|
9
|
+
* > **NOTICE:** IP reservation is not currently accessible to all users. Contact support to request access.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Basic Reserved IP
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as linode from "@pulumi/linode";
|
|
18
|
+
*
|
|
19
|
+
* const example = new linode.ReservedIp("example", {region: "us-east"});
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ### Reserved IP with Tags
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as linode from "@pulumi/linode";
|
|
27
|
+
*
|
|
28
|
+
* const example = new linode.ReservedIp("example", {
|
|
29
|
+
* region: "us-east",
|
|
30
|
+
* tags: [
|
|
31
|
+
* "production",
|
|
32
|
+
* "web",
|
|
33
|
+
* ],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* Reserved IP addresses can be imported using the IP `address`:
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import linode:index/reservedIp:ReservedIp example 203.0.113.1
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class ReservedIp extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing ReservedIp resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ReservedIpState, opts?: pulumi.CustomResourceOptions): ReservedIp;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of ReservedIp. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is ReservedIp;
|
|
61
|
+
/**
|
|
62
|
+
* The reserved IPv4 address.
|
|
63
|
+
*/
|
|
64
|
+
readonly address: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* (Read-Only Object List) The entity this reserved IP address is currently assigned to, if any. Referenced with an index (e.g. `assigned_entity.0.id`). Contains:
|
|
67
|
+
*/
|
|
68
|
+
readonly assignedEntities: pulumi.Output<outputs.ReservedIpAssignedEntity[]>;
|
|
69
|
+
/**
|
|
70
|
+
* The default gateway for this address.
|
|
71
|
+
*/
|
|
72
|
+
readonly gateway: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The ID of the Linode this address is currently assigned to, if any.
|
|
75
|
+
*/
|
|
76
|
+
readonly linodeId: pulumi.Output<number>;
|
|
77
|
+
/**
|
|
78
|
+
* The number of bits set in the subnet mask.
|
|
79
|
+
*/
|
|
80
|
+
readonly prefix: pulumi.Output<number>;
|
|
81
|
+
/**
|
|
82
|
+
* Whether this is a public IP address.
|
|
83
|
+
*/
|
|
84
|
+
readonly public: pulumi.Output<boolean>;
|
|
85
|
+
/**
|
|
86
|
+
* The reverse DNS assigned to this address.
|
|
87
|
+
*/
|
|
88
|
+
readonly rdns: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The region in which to reserve the IP address. Changing this forces a new resource to be created.
|
|
91
|
+
*/
|
|
92
|
+
readonly region: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Whether this IP address is reserved. Always `true` for this resource.
|
|
95
|
+
*/
|
|
96
|
+
readonly reserved: pulumi.Output<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* The mask that separates host bits from network bits for this address.
|
|
99
|
+
*/
|
|
100
|
+
readonly subnetMask: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* A set of tags to assign to this reserved IP address.
|
|
103
|
+
*/
|
|
104
|
+
readonly tags: pulumi.Output<string[]>;
|
|
105
|
+
/**
|
|
106
|
+
* The type of the assigned entity (e.g. `linode`).
|
|
107
|
+
*/
|
|
108
|
+
readonly type: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* (Read-Only Object List) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced with an index (e.g. `vpc_nat_1_1.0.address`).
|
|
111
|
+
*/
|
|
112
|
+
readonly vpcNat11s: pulumi.Output<outputs.ReservedIpVpcNat11[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a ReservedIp resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: ReservedIpArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering ReservedIp resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface ReservedIpState {
|
|
126
|
+
/**
|
|
127
|
+
* The reserved IPv4 address.
|
|
128
|
+
*/
|
|
129
|
+
address?: pulumi.Input<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* (Read-Only Object List) The entity this reserved IP address is currently assigned to, if any. Referenced with an index (e.g. `assigned_entity.0.id`). Contains:
|
|
132
|
+
*/
|
|
133
|
+
assignedEntities?: pulumi.Input<pulumi.Input<inputs.ReservedIpAssignedEntity>[] | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* The default gateway for this address.
|
|
136
|
+
*/
|
|
137
|
+
gateway?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the Linode this address is currently assigned to, if any.
|
|
140
|
+
*/
|
|
141
|
+
linodeId?: pulumi.Input<number | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* The number of bits set in the subnet mask.
|
|
144
|
+
*/
|
|
145
|
+
prefix?: pulumi.Input<number | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* Whether this is a public IP address.
|
|
148
|
+
*/
|
|
149
|
+
public?: pulumi.Input<boolean | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* The reverse DNS assigned to this address.
|
|
152
|
+
*/
|
|
153
|
+
rdns?: pulumi.Input<string | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* The region in which to reserve the IP address. Changing this forces a new resource to be created.
|
|
156
|
+
*/
|
|
157
|
+
region?: pulumi.Input<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* Whether this IP address is reserved. Always `true` for this resource.
|
|
160
|
+
*/
|
|
161
|
+
reserved?: pulumi.Input<boolean | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* The mask that separates host bits from network bits for this address.
|
|
164
|
+
*/
|
|
165
|
+
subnetMask?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* A set of tags to assign to this reserved IP address.
|
|
168
|
+
*/
|
|
169
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* The type of the assigned entity (e.g. `linode`).
|
|
172
|
+
*/
|
|
173
|
+
type?: pulumi.Input<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* (Read-Only Object List) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced with an index (e.g. `vpc_nat_1_1.0.address`).
|
|
176
|
+
*/
|
|
177
|
+
vpcNat11s?: pulumi.Input<pulumi.Input<inputs.ReservedIpVpcNat11>[] | undefined>;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The set of arguments for constructing a ReservedIp resource.
|
|
181
|
+
*/
|
|
182
|
+
export interface ReservedIpArgs {
|
|
183
|
+
/**
|
|
184
|
+
* The region in which to reserve the IP address. Changing this forces a new resource to be created.
|
|
185
|
+
*/
|
|
186
|
+
region: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* A set of tags to assign to this reserved IP address.
|
|
189
|
+
*/
|
|
190
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
191
|
+
}
|
|
192
|
+
//# sourceMappingURL=reservedIp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservedIp.d.ts","sourceRoot":"","sources":["../reservedIp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OA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SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACnF;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3D"}
|
package/reservedIp.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
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.ReservedIp = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a reserved IPv4 address in a Linode region. Reserved IPs persist independently of any Linode instance and can be assigned or unassigned at any time.
|
|
33
|
+
*
|
|
34
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-reserved-ip).
|
|
35
|
+
*
|
|
36
|
+
* > **NOTICE:** IP reservation is not currently accessible to all users. Contact support to request access.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ### Basic Reserved IP
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as linode from "@pulumi/linode";
|
|
45
|
+
*
|
|
46
|
+
* const example = new linode.ReservedIp("example", {region: "us-east"});
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ### Reserved IP with Tags
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as linode from "@pulumi/linode";
|
|
54
|
+
*
|
|
55
|
+
* const example = new linode.ReservedIp("example", {
|
|
56
|
+
* region: "us-east",
|
|
57
|
+
* tags: [
|
|
58
|
+
* "production",
|
|
59
|
+
* "web",
|
|
60
|
+
* ],
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* Reserved IP addresses can be imported using the IP `address`:
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import linode:index/reservedIp:ReservedIp example 203.0.113.1
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
class ReservedIp extends pulumi.CustomResource {
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing ReservedIp resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new ReservedIp(name, state, { ...opts, id: id });
|
|
84
|
+
}
|
|
85
|
+
/** @internal */
|
|
86
|
+
static __pulumiType = 'linode:index/reservedIp:ReservedIp';
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of ReservedIp. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj) {
|
|
92
|
+
if (obj === undefined || obj === null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return obj['__pulumiType'] === ReservedIp.__pulumiType;
|
|
96
|
+
}
|
|
97
|
+
constructor(name, argsOrState, opts) {
|
|
98
|
+
let resourceInputs = {};
|
|
99
|
+
opts = opts || {};
|
|
100
|
+
if (opts.id) {
|
|
101
|
+
const state = argsOrState;
|
|
102
|
+
resourceInputs["address"] = state?.address;
|
|
103
|
+
resourceInputs["assignedEntities"] = state?.assignedEntities;
|
|
104
|
+
resourceInputs["gateway"] = state?.gateway;
|
|
105
|
+
resourceInputs["linodeId"] = state?.linodeId;
|
|
106
|
+
resourceInputs["prefix"] = state?.prefix;
|
|
107
|
+
resourceInputs["public"] = state?.public;
|
|
108
|
+
resourceInputs["rdns"] = state?.rdns;
|
|
109
|
+
resourceInputs["region"] = state?.region;
|
|
110
|
+
resourceInputs["reserved"] = state?.reserved;
|
|
111
|
+
resourceInputs["subnetMask"] = state?.subnetMask;
|
|
112
|
+
resourceInputs["tags"] = state?.tags;
|
|
113
|
+
resourceInputs["type"] = state?.type;
|
|
114
|
+
resourceInputs["vpcNat11s"] = state?.vpcNat11s;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
const args = argsOrState;
|
|
118
|
+
if (args?.region === undefined && !opts.urn) {
|
|
119
|
+
throw new Error("Missing required property 'region'");
|
|
120
|
+
}
|
|
121
|
+
resourceInputs["region"] = args?.region;
|
|
122
|
+
resourceInputs["tags"] = args?.tags;
|
|
123
|
+
resourceInputs["address"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["assignedEntities"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["gateway"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["linodeId"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["prefix"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["public"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["rdns"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["reserved"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["subnetMask"] = undefined /*out*/;
|
|
132
|
+
resourceInputs["type"] = undefined /*out*/;
|
|
133
|
+
resourceInputs["vpcNat11s"] = undefined /*out*/;
|
|
134
|
+
}
|
|
135
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
136
|
+
super(ReservedIp.__pulumiType, name, resourceInputs, opts);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.ReservedIp = ReservedIp;
|
|
140
|
+
//# sourceMappingURL=reservedIp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reservedIp.js","sourceRoot":"","sources":["../reservedIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oCAAoC,CAAC;IAE3E;;;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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+DD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE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AAC;YAC7C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAhIL,gCAiIC"}
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages the assignment of a reserved IPv4 address to a Linode instance.
|
|
6
|
+
*
|
|
7
|
+
* For more information, see the corresponding [API documentation](https://techdocs.akamai.com/linode-api/reference/post-add-linode-ip).
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as linode from "@pulumi/linode";
|
|
14
|
+
*
|
|
15
|
+
* const example = new linode.ReservedIpAssignment("example", {
|
|
16
|
+
* linodeId: Number(exampleLinodeInstance.id),
|
|
17
|
+
* address: reserved.address,
|
|
18
|
+
* "public": true,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
4
22
|
export declare class ReservedIpAssignment extends pulumi.CustomResource {
|
|
5
23
|
/**
|
|
6
24
|
* Get an existing ReservedIpAssignment resource's state with the given name, ID, and optional extra
|
|
@@ -18,19 +36,23 @@ export declare class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
18
36
|
*/
|
|
19
37
|
static isInstance(obj: any): obj is ReservedIpAssignment;
|
|
20
38
|
/**
|
|
21
|
-
* The
|
|
39
|
+
* The reserved IPv4 address to assign to the Linode.
|
|
22
40
|
*/
|
|
23
41
|
readonly address: pulumi.Output<string>;
|
|
24
42
|
/**
|
|
25
|
-
* If true, the instance will be rebooted to update network interfaces.
|
|
43
|
+
* If true, the instance will be rebooted to update network interfaces. Defaults to `false`.
|
|
26
44
|
*/
|
|
27
45
|
readonly applyImmediately: pulumi.Output<boolean>;
|
|
28
46
|
/**
|
|
29
|
-
*
|
|
47
|
+
* (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. `assigned_entity.id`).
|
|
48
|
+
*/
|
|
49
|
+
readonly assignedEntity: pulumi.Output<outputs.ReservedIpAssignmentAssignedEntity>;
|
|
50
|
+
/**
|
|
51
|
+
* The default gateway for this address.
|
|
30
52
|
*/
|
|
31
53
|
readonly gateway: pulumi.Output<string>;
|
|
32
54
|
/**
|
|
33
|
-
* The ID of the Linode to
|
|
55
|
+
* The ID of the Linode to assign the reserved IP to. Changing this forces creation of a new resource.
|
|
34
56
|
*/
|
|
35
57
|
readonly linodeId: pulumi.Output<number>;
|
|
36
58
|
/**
|
|
@@ -38,11 +60,11 @@ export declare class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
38
60
|
*/
|
|
39
61
|
readonly prefix: pulumi.Output<number>;
|
|
40
62
|
/**
|
|
41
|
-
* Whether the
|
|
63
|
+
* Whether the IP address is public. Defaults to `true`. This must match the reserved IP's existing public/private status. Changing this forces creation of a new resource.
|
|
42
64
|
*/
|
|
43
65
|
readonly public: pulumi.Output<boolean>;
|
|
44
66
|
/**
|
|
45
|
-
* The reverse DNS assigned to this address.
|
|
67
|
+
* The reverse DNS assigned to this address. Configured via a separate API call after the IP is assigned.
|
|
46
68
|
*/
|
|
47
69
|
readonly rdns: pulumi.Output<string>;
|
|
48
70
|
/**
|
|
@@ -50,7 +72,7 @@ export declare class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
50
72
|
*/
|
|
51
73
|
readonly region: pulumi.Output<string>;
|
|
52
74
|
/**
|
|
53
|
-
* The reservation status of the IP address
|
|
75
|
+
* The reservation status of the IP address.
|
|
54
76
|
*/
|
|
55
77
|
readonly reserved: pulumi.Output<boolean>;
|
|
56
78
|
/**
|
|
@@ -58,11 +80,15 @@ export declare class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
58
80
|
*/
|
|
59
81
|
readonly subnetMask: pulumi.Output<string>;
|
|
60
82
|
/**
|
|
61
|
-
*
|
|
83
|
+
* A set of tags associated with this IP address.
|
|
84
|
+
*/
|
|
85
|
+
readonly tags: pulumi.Output<string[]>;
|
|
86
|
+
/**
|
|
87
|
+
* The type of the entity.
|
|
62
88
|
*/
|
|
63
89
|
readonly type: pulumi.Output<string>;
|
|
64
90
|
/**
|
|
65
|
-
* Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
|
|
91
|
+
* (Read-Only Object List) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced with an index (e.g. `vpc_nat_1_1.0.address`).
|
|
66
92
|
*/
|
|
67
93
|
readonly vpcNat11s: pulumi.Output<outputs.ReservedIpAssignmentVpcNat11[]>;
|
|
68
94
|
/**
|
|
@@ -79,19 +105,23 @@ export declare class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
79
105
|
*/
|
|
80
106
|
export interface ReservedIpAssignmentState {
|
|
81
107
|
/**
|
|
82
|
-
* The
|
|
108
|
+
* The reserved IPv4 address to assign to the Linode.
|
|
83
109
|
*/
|
|
84
110
|
address?: pulumi.Input<string | undefined>;
|
|
85
111
|
/**
|
|
86
|
-
* If true, the instance will be rebooted to update network interfaces.
|
|
112
|
+
* If true, the instance will be rebooted to update network interfaces. Defaults to `false`.
|
|
87
113
|
*/
|
|
88
114
|
applyImmediately?: pulumi.Input<boolean | undefined>;
|
|
89
115
|
/**
|
|
90
|
-
*
|
|
116
|
+
* (Read-Only Object) The entity this IP address has been assigned to. This is null if the address is not assigned to an entity. Referenced directly (e.g. `assigned_entity.id`).
|
|
117
|
+
*/
|
|
118
|
+
assignedEntity?: pulumi.Input<inputs.ReservedIpAssignmentAssignedEntity | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* The default gateway for this address.
|
|
91
121
|
*/
|
|
92
122
|
gateway?: pulumi.Input<string | undefined>;
|
|
93
123
|
/**
|
|
94
|
-
* The ID of the Linode to
|
|
124
|
+
* The ID of the Linode to assign the reserved IP to. Changing this forces creation of a new resource.
|
|
95
125
|
*/
|
|
96
126
|
linodeId?: pulumi.Input<number | undefined>;
|
|
97
127
|
/**
|
|
@@ -99,11 +129,11 @@ export interface ReservedIpAssignmentState {
|
|
|
99
129
|
*/
|
|
100
130
|
prefix?: pulumi.Input<number | undefined>;
|
|
101
131
|
/**
|
|
102
|
-
* Whether the
|
|
132
|
+
* Whether the IP address is public. Defaults to `true`. This must match the reserved IP's existing public/private status. Changing this forces creation of a new resource.
|
|
103
133
|
*/
|
|
104
134
|
public?: pulumi.Input<boolean | undefined>;
|
|
105
135
|
/**
|
|
106
|
-
* The reverse DNS assigned to this address.
|
|
136
|
+
* The reverse DNS assigned to this address. Configured via a separate API call after the IP is assigned.
|
|
107
137
|
*/
|
|
108
138
|
rdns?: pulumi.Input<string | undefined>;
|
|
109
139
|
/**
|
|
@@ -111,7 +141,7 @@ export interface ReservedIpAssignmentState {
|
|
|
111
141
|
*/
|
|
112
142
|
region?: pulumi.Input<string | undefined>;
|
|
113
143
|
/**
|
|
114
|
-
* The reservation status of the IP address
|
|
144
|
+
* The reservation status of the IP address.
|
|
115
145
|
*/
|
|
116
146
|
reserved?: pulumi.Input<boolean | undefined>;
|
|
117
147
|
/**
|
|
@@ -119,11 +149,15 @@ export interface ReservedIpAssignmentState {
|
|
|
119
149
|
*/
|
|
120
150
|
subnetMask?: pulumi.Input<string | undefined>;
|
|
121
151
|
/**
|
|
122
|
-
*
|
|
152
|
+
* A set of tags associated with this IP address.
|
|
153
|
+
*/
|
|
154
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* The type of the entity.
|
|
123
157
|
*/
|
|
124
158
|
type?: pulumi.Input<string | undefined>;
|
|
125
159
|
/**
|
|
126
|
-
* Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
|
|
160
|
+
* (Read-Only Object List) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced with an index (e.g. `vpc_nat_1_1.0.address`).
|
|
127
161
|
*/
|
|
128
162
|
vpcNat11s?: pulumi.Input<pulumi.Input<inputs.ReservedIpAssignmentVpcNat11>[] | undefined>;
|
|
129
163
|
}
|
|
@@ -132,23 +166,23 @@ export interface ReservedIpAssignmentState {
|
|
|
132
166
|
*/
|
|
133
167
|
export interface ReservedIpAssignmentArgs {
|
|
134
168
|
/**
|
|
135
|
-
* The
|
|
169
|
+
* The reserved IPv4 address to assign to the Linode.
|
|
136
170
|
*/
|
|
137
171
|
address: pulumi.Input<string>;
|
|
138
172
|
/**
|
|
139
|
-
* If true, the instance will be rebooted to update network interfaces.
|
|
173
|
+
* If true, the instance will be rebooted to update network interfaces. Defaults to `false`.
|
|
140
174
|
*/
|
|
141
175
|
applyImmediately?: pulumi.Input<boolean | undefined>;
|
|
142
176
|
/**
|
|
143
|
-
* The ID of the Linode to
|
|
177
|
+
* The ID of the Linode to assign the reserved IP to. Changing this forces creation of a new resource.
|
|
144
178
|
*/
|
|
145
179
|
linodeId: pulumi.Input<number>;
|
|
146
180
|
/**
|
|
147
|
-
* Whether the
|
|
181
|
+
* Whether the IP address is public. Defaults to `true`. This must match the reserved IP's existing public/private status. Changing this forces creation of a new resource.
|
|
148
182
|
*/
|
|
149
183
|
public?: pulumi.Input<boolean | undefined>;
|
|
150
184
|
/**
|
|
151
|
-
* The reverse DNS assigned to this address.
|
|
185
|
+
* The reverse DNS assigned to this address. Configured via a separate API call after the IP is assigned.
|
|
152
186
|
*/
|
|
153
187
|
rdns?: pulumi.Input<string | undefined>;
|
|
154
188
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reservedIpAssignment.d.ts","sourceRoot":"","sources":["../reservedIpAssignment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oBAAoB;IAO1J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oBAAoB;IAO/D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvD;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAA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AAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC7F;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
package/reservedIpAssignment.js
CHANGED
|
@@ -28,6 +28,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
28
28
|
exports.ReservedIpAssignment = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages the assignment of a reserved IPv4 address to a Linode instance.
|
|
33
|
+
*
|
|
34
|
+
* For more information, see the corresponding [API documentation](https://techdocs.akamai.com/linode-api/reference/post-add-linode-ip).
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as linode from "@pulumi/linode";
|
|
41
|
+
*
|
|
42
|
+
* const example = new linode.ReservedIpAssignment("example", {
|
|
43
|
+
* linodeId: Number(exampleLinodeInstance.id),
|
|
44
|
+
* address: reserved.address,
|
|
45
|
+
* "public": true,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
31
49
|
class ReservedIpAssignment extends pulumi.CustomResource {
|
|
32
50
|
/**
|
|
33
51
|
* Get an existing ReservedIpAssignment resource's state with the given name, ID, and optional extra
|
|
@@ -60,6 +78,7 @@ class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
60
78
|
const state = argsOrState;
|
|
61
79
|
resourceInputs["address"] = state?.address;
|
|
62
80
|
resourceInputs["applyImmediately"] = state?.applyImmediately;
|
|
81
|
+
resourceInputs["assignedEntity"] = state?.assignedEntity;
|
|
63
82
|
resourceInputs["gateway"] = state?.gateway;
|
|
64
83
|
resourceInputs["linodeId"] = state?.linodeId;
|
|
65
84
|
resourceInputs["prefix"] = state?.prefix;
|
|
@@ -68,6 +87,7 @@ class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
68
87
|
resourceInputs["region"] = state?.region;
|
|
69
88
|
resourceInputs["reserved"] = state?.reserved;
|
|
70
89
|
resourceInputs["subnetMask"] = state?.subnetMask;
|
|
90
|
+
resourceInputs["tags"] = state?.tags;
|
|
71
91
|
resourceInputs["type"] = state?.type;
|
|
72
92
|
resourceInputs["vpcNat11s"] = state?.vpcNat11s;
|
|
73
93
|
}
|
|
@@ -84,11 +104,13 @@ class ReservedIpAssignment extends pulumi.CustomResource {
|
|
|
84
104
|
resourceInputs["linodeId"] = args?.linodeId;
|
|
85
105
|
resourceInputs["public"] = args?.public;
|
|
86
106
|
resourceInputs["rdns"] = args?.rdns;
|
|
107
|
+
resourceInputs["assignedEntity"] = undefined /*out*/;
|
|
87
108
|
resourceInputs["gateway"] = undefined /*out*/;
|
|
88
109
|
resourceInputs["prefix"] = undefined /*out*/;
|
|
89
110
|
resourceInputs["region"] = undefined /*out*/;
|
|
90
111
|
resourceInputs["reserved"] = undefined /*out*/;
|
|
91
112
|
resourceInputs["subnetMask"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
92
114
|
resourceInputs["type"] = undefined /*out*/;
|
|
93
115
|
resourceInputs["vpcNat11s"] = undefined /*out*/;
|
|
94
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reservedIpAssignment.js","sourceRoot":"","sources":["../reservedIpAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD,CAAC;IAE/F;;;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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;
|
|
1
|
+
{"version":3,"file":"reservedIpAssignment.js","sourceRoot":"","sources":["../reservedIpAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;I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AAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAzIL,oDA0IC"}
|
package/stackScript.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ export declare class StackScript extends pulumi.CustomResource {
|
|
|
108
108
|
*/
|
|
109
109
|
readonly updated: pulumi.Output<string>;
|
|
110
110
|
/**
|
|
111
|
-
* This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.
|
|
111
|
+
* (Read-Only Object List) This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. Referenced with an index (e.g. `user_defined_fields.0.default`).
|
|
112
112
|
*/
|
|
113
113
|
readonly userDefinedFields: pulumi.Output<outputs.StackScriptUserDefinedField[]>;
|
|
114
114
|
/**
|
|
@@ -175,7 +175,7 @@ export interface StackScriptState {
|
|
|
175
175
|
*/
|
|
176
176
|
updated?: pulumi.Input<string | undefined>;
|
|
177
177
|
/**
|
|
178
|
-
* This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.
|
|
178
|
+
* (Read-Only Object List) This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. Referenced with an index (e.g. `user_defined_fields.0.default`).
|
|
179
179
|
*/
|
|
180
180
|
userDefinedFields?: pulumi.Input<pulumi.Input<inputs.StackScriptUserDefinedField>[] | undefined>;
|
|
181
181
|
/**
|