@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
|
@@ -0,0 +1,207 @@
|
|
|
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 Linode Monitor Logs Stream.
|
|
6
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-logs-stream). (**Note: v4beta only.**)
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as linode from "@pulumi/linode";
|
|
13
|
+
*
|
|
14
|
+
* const key = new linode.ObjectStorageKey("key", {
|
|
15
|
+
* label: "my-logs-key",
|
|
16
|
+
* regions: ["us-east"],
|
|
17
|
+
* });
|
|
18
|
+
* const bucket = new linode.ObjectStorageBucket("bucket", {
|
|
19
|
+
* region: "us-east",
|
|
20
|
+
* label: "my-logs-bucket",
|
|
21
|
+
* accessKey: key.accessKey,
|
|
22
|
+
* secretKey: key.secretKey,
|
|
23
|
+
* });
|
|
24
|
+
* const destination = new linode.MonitorLogsDestination("destination", {
|
|
25
|
+
* label: "my-logs-destination",
|
|
26
|
+
* type: "akamai_object_storage",
|
|
27
|
+
* akamaiObjectStorageDetails: {
|
|
28
|
+
* accessKeyId: key.accessKey,
|
|
29
|
+
* accessKeySecret: key.secretKey,
|
|
30
|
+
* bucketName: bucket.label,
|
|
31
|
+
* host: bucket.hostname,
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* const example = new linode.MonitorLogsStream("example", {
|
|
35
|
+
* label: "my-audit-logs-stream",
|
|
36
|
+
* type: "audit_logs",
|
|
37
|
+
* destinations: [destination.id.apply(x =>Number(x))],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as linode from "@pulumi/linode";
|
|
43
|
+
*
|
|
44
|
+
* const lkeExample = new linode.MonitorLogsStream("lke_example", {
|
|
45
|
+
* label: "my-lke-stream",
|
|
46
|
+
* type: "lke_audit_logs",
|
|
47
|
+
* destinations: [destination.id],
|
|
48
|
+
* details: {
|
|
49
|
+
* clusterIds: [
|
|
50
|
+
* 12345,
|
|
51
|
+
* 67890,
|
|
52
|
+
* ],
|
|
53
|
+
* isAutoAddAllClustersEnabled: false,
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* Monitor Logs Streams can be imported using the `id`, e.g.
|
|
61
|
+
*
|
|
62
|
+
* ```sh
|
|
63
|
+
* $ pulumi import linode:index/monitorLogsStream:MonitorLogsStream example 12345
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare class MonitorLogsStream extends pulumi.CustomResource {
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing MonitorLogsStream resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MonitorLogsStreamState, opts?: pulumi.CustomResourceOptions): MonitorLogsStream;
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of MonitorLogsStream. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj: any): obj is MonitorLogsStream;
|
|
82
|
+
/**
|
|
83
|
+
* The date and time when the logs stream was created.
|
|
84
|
+
*/
|
|
85
|
+
readonly created: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The user who created the logs stream.
|
|
88
|
+
*/
|
|
89
|
+
readonly createdBy: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The list of logs destination IDs attached to this stream.
|
|
92
|
+
*/
|
|
93
|
+
readonly destinations: pulumi.Output<number[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Additional configuration details. Only applies to lkeAuditLogs streams.
|
|
96
|
+
*/
|
|
97
|
+
readonly details: pulumi.Output<outputs.MonitorLogsStreamDetails>;
|
|
98
|
+
/**
|
|
99
|
+
* The label of the logs stream.
|
|
100
|
+
*/
|
|
101
|
+
readonly label: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The status of the logs stream. One of: `active`, `inactive`, `provisioning`, `deactivating`.
|
|
104
|
+
*
|
|
105
|
+
* * `details` - (Optional, Nested Attribute) Additional configuration details. Only applies to `lkeAuditLogs` streams. Referenced directly (e.g. `details.cluster_ids`).
|
|
106
|
+
*/
|
|
107
|
+
readonly status: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The type of the logs stream. One of: `auditLogs`, `lkeAuditLogs`.
|
|
110
|
+
*/
|
|
111
|
+
readonly type: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The date and time when the logs stream was last updated.
|
|
114
|
+
*/
|
|
115
|
+
readonly updated: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The user who last updated the logs stream.
|
|
118
|
+
*/
|
|
119
|
+
readonly updatedBy: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The version of the logs stream.
|
|
122
|
+
*/
|
|
123
|
+
readonly version: pulumi.Output<number>;
|
|
124
|
+
/**
|
|
125
|
+
* Create a MonitorLogsStream resource with the given unique name, arguments, and options.
|
|
126
|
+
*
|
|
127
|
+
* @param name The _unique_ name of the resource.
|
|
128
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
129
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
130
|
+
*/
|
|
131
|
+
constructor(name: string, args: MonitorLogsStreamArgs, opts?: pulumi.CustomResourceOptions);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Input properties used for looking up and filtering MonitorLogsStream resources.
|
|
135
|
+
*/
|
|
136
|
+
export interface MonitorLogsStreamState {
|
|
137
|
+
/**
|
|
138
|
+
* The date and time when the logs stream was created.
|
|
139
|
+
*/
|
|
140
|
+
created?: pulumi.Input<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* The user who created the logs stream.
|
|
143
|
+
*/
|
|
144
|
+
createdBy?: pulumi.Input<string | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* The list of logs destination IDs attached to this stream.
|
|
147
|
+
*/
|
|
148
|
+
destinations?: pulumi.Input<pulumi.Input<number>[] | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* Additional configuration details. Only applies to lkeAuditLogs streams.
|
|
151
|
+
*/
|
|
152
|
+
details?: pulumi.Input<inputs.MonitorLogsStreamDetails | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* The label of the logs stream.
|
|
155
|
+
*/
|
|
156
|
+
label?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* The status of the logs stream. One of: `active`, `inactive`, `provisioning`, `deactivating`.
|
|
159
|
+
*
|
|
160
|
+
* * `details` - (Optional, Nested Attribute) Additional configuration details. Only applies to `lkeAuditLogs` streams. Referenced directly (e.g. `details.cluster_ids`).
|
|
161
|
+
*/
|
|
162
|
+
status?: pulumi.Input<string | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* The type of the logs stream. One of: `auditLogs`, `lkeAuditLogs`.
|
|
165
|
+
*/
|
|
166
|
+
type?: pulumi.Input<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* The date and time when the logs stream was last updated.
|
|
169
|
+
*/
|
|
170
|
+
updated?: pulumi.Input<string | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* The user who last updated the logs stream.
|
|
173
|
+
*/
|
|
174
|
+
updatedBy?: pulumi.Input<string | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* The version of the logs stream.
|
|
177
|
+
*/
|
|
178
|
+
version?: pulumi.Input<number | undefined>;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* The set of arguments for constructing a MonitorLogsStream resource.
|
|
182
|
+
*/
|
|
183
|
+
export interface MonitorLogsStreamArgs {
|
|
184
|
+
/**
|
|
185
|
+
* The list of logs destination IDs attached to this stream.
|
|
186
|
+
*/
|
|
187
|
+
destinations: pulumi.Input<pulumi.Input<number>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* Additional configuration details. Only applies to lkeAuditLogs streams.
|
|
190
|
+
*/
|
|
191
|
+
details?: pulumi.Input<inputs.MonitorLogsStreamDetails | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* The label of the logs stream.
|
|
194
|
+
*/
|
|
195
|
+
label: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The status of the logs stream. One of: `active`, `inactive`, `provisioning`, `deactivating`.
|
|
198
|
+
*
|
|
199
|
+
* * `details` - (Optional, Nested Attribute) Additional configuration details. Only applies to `lkeAuditLogs` streams. Referenced directly (e.g. `details.cluster_ids`).
|
|
200
|
+
*/
|
|
201
|
+
status?: pulumi.Input<string | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* The type of the logs stream. One of: `auditLogs`, `lkeAuditLogs`.
|
|
204
|
+
*/
|
|
205
|
+
type: pulumi.Input<string>;
|
|
206
|
+
}
|
|
207
|
+
//#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OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACnD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,161 @@
|
|
|
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.MonitorLogsStream = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a Linode Monitor Logs Stream.
|
|
33
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-logs-stream). (**Note: v4beta only.**)
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as linode from "@pulumi/linode";
|
|
40
|
+
*
|
|
41
|
+
* const key = new linode.ObjectStorageKey("key", {
|
|
42
|
+
* label: "my-logs-key",
|
|
43
|
+
* regions: ["us-east"],
|
|
44
|
+
* });
|
|
45
|
+
* const bucket = new linode.ObjectStorageBucket("bucket", {
|
|
46
|
+
* region: "us-east",
|
|
47
|
+
* label: "my-logs-bucket",
|
|
48
|
+
* accessKey: key.accessKey,
|
|
49
|
+
* secretKey: key.secretKey,
|
|
50
|
+
* });
|
|
51
|
+
* const destination = new linode.MonitorLogsDestination("destination", {
|
|
52
|
+
* label: "my-logs-destination",
|
|
53
|
+
* type: "akamai_object_storage",
|
|
54
|
+
* akamaiObjectStorageDetails: {
|
|
55
|
+
* accessKeyId: key.accessKey,
|
|
56
|
+
* accessKeySecret: key.secretKey,
|
|
57
|
+
* bucketName: bucket.label,
|
|
58
|
+
* host: bucket.hostname,
|
|
59
|
+
* },
|
|
60
|
+
* });
|
|
61
|
+
* const example = new linode.MonitorLogsStream("example", {
|
|
62
|
+
* label: "my-audit-logs-stream",
|
|
63
|
+
* type: "audit_logs",
|
|
64
|
+
* destinations: [destination.id.apply(x =>Number(x))],
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as linode from "@pulumi/linode";
|
|
70
|
+
*
|
|
71
|
+
* const lkeExample = new linode.MonitorLogsStream("lke_example", {
|
|
72
|
+
* label: "my-lke-stream",
|
|
73
|
+
* type: "lke_audit_logs",
|
|
74
|
+
* destinations: [destination.id],
|
|
75
|
+
* details: {
|
|
76
|
+
* clusterIds: [
|
|
77
|
+
* 12345,
|
|
78
|
+
* 67890,
|
|
79
|
+
* ],
|
|
80
|
+
* isAutoAddAllClustersEnabled: false,
|
|
81
|
+
* },
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ## Import
|
|
86
|
+
*
|
|
87
|
+
* Monitor Logs Streams can be imported using the `id`, e.g.
|
|
88
|
+
*
|
|
89
|
+
* ```sh
|
|
90
|
+
* $ pulumi import linode:index/monitorLogsStream:MonitorLogsStream example 12345
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
class MonitorLogsStream extends pulumi.CustomResource {
|
|
94
|
+
/**
|
|
95
|
+
* Get an existing MonitorLogsStream resource's state with the given name, ID, and optional extra
|
|
96
|
+
* properties used to qualify the lookup.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resulting resource.
|
|
99
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
100
|
+
* @param state Any extra arguments used during the lookup.
|
|
101
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
102
|
+
*/
|
|
103
|
+
static get(name, id, state, opts) {
|
|
104
|
+
return new MonitorLogsStream(name, state, { ...opts, id: id });
|
|
105
|
+
}
|
|
106
|
+
/** @internal */
|
|
107
|
+
static __pulumiType = 'linode:index/monitorLogsStream:MonitorLogsStream';
|
|
108
|
+
/**
|
|
109
|
+
* Returns true if the given object is an instance of MonitorLogsStream. This is designed to work even
|
|
110
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
111
|
+
*/
|
|
112
|
+
static isInstance(obj) {
|
|
113
|
+
if (obj === undefined || obj === null) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
return obj['__pulumiType'] === MonitorLogsStream.__pulumiType;
|
|
117
|
+
}
|
|
118
|
+
constructor(name, argsOrState, opts) {
|
|
119
|
+
let resourceInputs = {};
|
|
120
|
+
opts = opts || {};
|
|
121
|
+
if (opts.id) {
|
|
122
|
+
const state = argsOrState;
|
|
123
|
+
resourceInputs["created"] = state?.created;
|
|
124
|
+
resourceInputs["createdBy"] = state?.createdBy;
|
|
125
|
+
resourceInputs["destinations"] = state?.destinations;
|
|
126
|
+
resourceInputs["details"] = state?.details;
|
|
127
|
+
resourceInputs["label"] = state?.label;
|
|
128
|
+
resourceInputs["status"] = state?.status;
|
|
129
|
+
resourceInputs["type"] = state?.type;
|
|
130
|
+
resourceInputs["updated"] = state?.updated;
|
|
131
|
+
resourceInputs["updatedBy"] = state?.updatedBy;
|
|
132
|
+
resourceInputs["version"] = state?.version;
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
const args = argsOrState;
|
|
136
|
+
if (args?.destinations === undefined && !opts.urn) {
|
|
137
|
+
throw new Error("Missing required property 'destinations'");
|
|
138
|
+
}
|
|
139
|
+
if (args?.label === undefined && !opts.urn) {
|
|
140
|
+
throw new Error("Missing required property 'label'");
|
|
141
|
+
}
|
|
142
|
+
if (args?.type === undefined && !opts.urn) {
|
|
143
|
+
throw new Error("Missing required property 'type'");
|
|
144
|
+
}
|
|
145
|
+
resourceInputs["destinations"] = args?.destinations;
|
|
146
|
+
resourceInputs["details"] = args?.details;
|
|
147
|
+
resourceInputs["label"] = args?.label;
|
|
148
|
+
resourceInputs["status"] = args?.status;
|
|
149
|
+
resourceInputs["type"] = args?.type;
|
|
150
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
151
|
+
resourceInputs["createdBy"] = undefined /*out*/;
|
|
152
|
+
resourceInputs["updated"] = undefined /*out*/;
|
|
153
|
+
resourceInputs["updatedBy"] = undefined /*out*/;
|
|
154
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
155
|
+
}
|
|
156
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
157
|
+
super(MonitorLogsStream.__pulumiType, name, resourceInputs, opts);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.MonitorLogsStream = MonitorLogsStream;
|
|
161
|
+
//# sourceMappingURL=monitorLogsStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitorLogsStream.js","sourceRoot":"","sources":["../monitorLogsStream.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAA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D;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtHL,8CAuHC"}
|
package/networkingIp.d.ts
CHANGED
|
@@ -47,6 +47,10 @@ export declare class NetworkingIp extends pulumi.CustomResource {
|
|
|
47
47
|
* The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
|
|
48
48
|
*/
|
|
49
49
|
readonly address: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* (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`).
|
|
52
|
+
*/
|
|
53
|
+
readonly assignedEntity: pulumi.Output<outputs.NetworkingIpAssignedEntity>;
|
|
50
54
|
/**
|
|
51
55
|
* The default gateway for this address.
|
|
52
56
|
*/
|
|
@@ -79,12 +83,16 @@ export declare class NetworkingIp extends pulumi.CustomResource {
|
|
|
79
83
|
* The mask that separates host bits from network bits for this address.
|
|
80
84
|
*/
|
|
81
85
|
readonly subnetMask: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* A set of tags associated with this IP address.
|
|
88
|
+
*/
|
|
89
|
+
readonly tags: pulumi.Output<string[]>;
|
|
82
90
|
/**
|
|
83
91
|
* The type of IP address. (ipv4, ipv6, etc.)
|
|
84
92
|
*/
|
|
85
93
|
readonly type: pulumi.Output<string>;
|
|
86
94
|
/**
|
|
87
|
-
* Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
|
|
95
|
+
* (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. `vpc_nat_1_1.address`).
|
|
88
96
|
*/
|
|
89
97
|
readonly vpcNat11: pulumi.Output<outputs.NetworkingIpVpcNat11>;
|
|
90
98
|
/**
|
|
@@ -104,6 +112,10 @@ export interface NetworkingIpState {
|
|
|
104
112
|
* The IPv4 address that is configured as a 1:1 NAT for this VPC interface.
|
|
105
113
|
*/
|
|
106
114
|
address?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
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.NetworkingIpAssignedEntity | undefined>;
|
|
107
119
|
/**
|
|
108
120
|
* The default gateway for this address.
|
|
109
121
|
*/
|
|
@@ -136,12 +148,16 @@ export interface NetworkingIpState {
|
|
|
136
148
|
* The mask that separates host bits from network bits for this address.
|
|
137
149
|
*/
|
|
138
150
|
subnetMask?: pulumi.Input<string | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* A set of tags associated with this IP address.
|
|
153
|
+
*/
|
|
154
|
+
tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
139
155
|
/**
|
|
140
156
|
* The type of IP address. (ipv4, ipv6, etc.)
|
|
141
157
|
*/
|
|
142
158
|
type?: pulumi.Input<string | undefined>;
|
|
143
159
|
/**
|
|
144
|
-
* Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
|
|
160
|
+
* (Read-Only Object) Contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet. Referenced directly (e.g. `vpc_nat_1_1.address`).
|
|
145
161
|
*/
|
|
146
162
|
vpcNat11?: pulumi.Input<inputs.NetworkingIpVpcNat11 | undefined>;
|
|
147
163
|
}
|
package/networkingIp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkingIp.d.ts","sourceRoot":"","sources":["../networkingIp.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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAA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C,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,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,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;CACpE;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
package/networkingIp.js
CHANGED
|
@@ -85,6 +85,7 @@ class NetworkingIp extends pulumi.CustomResource {
|
|
|
85
85
|
if (opts.id) {
|
|
86
86
|
const state = argsOrState;
|
|
87
87
|
resourceInputs["address"] = state?.address;
|
|
88
|
+
resourceInputs["assignedEntity"] = state?.assignedEntity;
|
|
88
89
|
resourceInputs["gateway"] = state?.gateway;
|
|
89
90
|
resourceInputs["linodeId"] = state?.linodeId;
|
|
90
91
|
resourceInputs["prefix"] = state?.prefix;
|
|
@@ -93,6 +94,7 @@ class NetworkingIp extends pulumi.CustomResource {
|
|
|
93
94
|
resourceInputs["region"] = state?.region;
|
|
94
95
|
resourceInputs["reserved"] = state?.reserved;
|
|
95
96
|
resourceInputs["subnetMask"] = state?.subnetMask;
|
|
97
|
+
resourceInputs["tags"] = state?.tags;
|
|
96
98
|
resourceInputs["type"] = state?.type;
|
|
97
99
|
resourceInputs["vpcNat11"] = state?.vpcNat11;
|
|
98
100
|
}
|
|
@@ -104,10 +106,12 @@ class NetworkingIp extends pulumi.CustomResource {
|
|
|
104
106
|
resourceInputs["reserved"] = args?.reserved;
|
|
105
107
|
resourceInputs["type"] = args?.type;
|
|
106
108
|
resourceInputs["address"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["assignedEntity"] = undefined /*out*/;
|
|
107
110
|
resourceInputs["gateway"] = undefined /*out*/;
|
|
108
111
|
resourceInputs["prefix"] = undefined /*out*/;
|
|
109
112
|
resourceInputs["rdns"] = undefined /*out*/;
|
|
110
113
|
resourceInputs["subnetMask"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
111
115
|
resourceInputs["vpcNat11"] = undefined /*out*/;
|
|
112
116
|
}
|
|
113
117
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/networkingIp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkingIp.js","sourceRoot":"","sources":["../networkingIp.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAA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AAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7HL,oCA8HC"}
|
package/nodeBalancer.d.ts
CHANGED
|
@@ -38,6 +38,25 @@ import * as outputs from "./types/output";
|
|
|
38
38
|
* });
|
|
39
39
|
* ```
|
|
40
40
|
*
|
|
41
|
+
* The following example shows how to create a NodeBalancer with a pre-reserved IPv4 address.
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as linode from "@pulumi/linode";
|
|
46
|
+
*
|
|
47
|
+
* const myReservedIp = new linode.NetworkingIp("my_reserved_ip", {
|
|
48
|
+
* region: "us-east",
|
|
49
|
+
* type: "ipv4",
|
|
50
|
+
* "public": true,
|
|
51
|
+
* reserved: true,
|
|
52
|
+
* });
|
|
53
|
+
* const foobar = new linode.NodeBalancer("foobar", {
|
|
54
|
+
* label: "mynodebalancer",
|
|
55
|
+
* region: "us-east",
|
|
56
|
+
* ipv4: myReservedIp.address,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
41
60
|
* ## Import
|
|
42
61
|
*
|
|
43
62
|
* Linodes NodeBalancers can be imported using the Linode NodeBalancer `id`, e.g.
|
|
@@ -89,7 +108,7 @@ export declare class NodeBalancer extends pulumi.CustomResource {
|
|
|
89
108
|
*/
|
|
90
109
|
readonly hostname: pulumi.Output<string>;
|
|
91
110
|
/**
|
|
92
|
-
*
|
|
111
|
+
* The Public IPv4 address to assign to this NodeBalancer. When provided, the address must be a reserved IPv4 address that is unassigned and owned by the account. *Changing `ipv4` forces the creation of a new Linode NodeBalancer.*
|
|
93
112
|
*/
|
|
94
113
|
readonly ipv4: pulumi.Output<string>;
|
|
95
114
|
/**
|
|
@@ -100,6 +119,10 @@ export declare class NodeBalancer extends pulumi.CustomResource {
|
|
|
100
119
|
* The label of the Linode NodeBalancer
|
|
101
120
|
*/
|
|
102
121
|
readonly label: pulumi.Output<string | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* The related LKE cluster for this NodeBalancer, if any.
|
|
124
|
+
*/
|
|
125
|
+
readonly lkeClusters: pulumi.Output<outputs.NodeBalancerLkeCluster[]>;
|
|
103
126
|
/**
|
|
104
127
|
* The region where this NodeBalancer will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` forces the creation of a new Linode NodeBalancer.*.
|
|
105
128
|
*
|
|
@@ -162,7 +185,7 @@ export interface NodeBalancerState {
|
|
|
162
185
|
*/
|
|
163
186
|
hostname?: pulumi.Input<string | undefined>;
|
|
164
187
|
/**
|
|
165
|
-
*
|
|
188
|
+
* The Public IPv4 address to assign to this NodeBalancer. When provided, the address must be a reserved IPv4 address that is unassigned and owned by the account. *Changing `ipv4` forces the creation of a new Linode NodeBalancer.*
|
|
166
189
|
*/
|
|
167
190
|
ipv4?: pulumi.Input<string | undefined>;
|
|
168
191
|
/**
|
|
@@ -173,6 +196,10 @@ export interface NodeBalancerState {
|
|
|
173
196
|
* The label of the Linode NodeBalancer
|
|
174
197
|
*/
|
|
175
198
|
label?: pulumi.Input<string | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* The related LKE cluster for this NodeBalancer, if any.
|
|
201
|
+
*/
|
|
202
|
+
lkeClusters?: pulumi.Input<pulumi.Input<inputs.NodeBalancerLkeCluster>[] | undefined>;
|
|
176
203
|
/**
|
|
177
204
|
* The region where this NodeBalancer will be deployed. Examples are `"us-east"`, `"us-west"`, `"ap-south"`, etc. See all regions [here](https://api.linode.com/v4/regions). *Changing `region` forces the creation of a new Linode NodeBalancer.*.
|
|
178
205
|
*
|
|
@@ -214,6 +241,10 @@ export interface NodeBalancerArgs {
|
|
|
214
241
|
* ID for the firewall you'd like to use with this NodeBalancer.
|
|
215
242
|
*/
|
|
216
243
|
firewallId?: pulumi.Input<number | undefined>;
|
|
244
|
+
/**
|
|
245
|
+
* The Public IPv4 address to assign to this NodeBalancer. When provided, the address must be a reserved IPv4 address that is unassigned and owned by the account. *Changing `ipv4` forces the creation of a new Linode NodeBalancer.*
|
|
246
|
+
*/
|
|
247
|
+
ipv4?: pulumi.Input<string | undefined>;
|
|
217
248
|
/**
|
|
218
249
|
* The label of the Linode NodeBalancer
|
|
219
250
|
*/
|
package/nodeBalancer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeBalancer.d.ts","sourceRoot":"","sources":["../nodeBalancer.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
|
|
1
|
+
{"version":3,"file":"nodeBalancer.d.ts","sourceRoot":"","sources":["../nodeBalancer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MA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,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtD;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;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,CAAC,KAAK,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3E"}
|
package/nodeBalancer.js
CHANGED
|
@@ -65,6 +65,25 @@ const utilities = __importStar(require("./utilities"));
|
|
|
65
65
|
* });
|
|
66
66
|
* ```
|
|
67
67
|
*
|
|
68
|
+
* The following example shows how to create a NodeBalancer with a pre-reserved IPv4 address.
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as linode from "@pulumi/linode";
|
|
73
|
+
*
|
|
74
|
+
* const myReservedIp = new linode.NetworkingIp("my_reserved_ip", {
|
|
75
|
+
* region: "us-east",
|
|
76
|
+
* type: "ipv4",
|
|
77
|
+
* "public": true,
|
|
78
|
+
* reserved: true,
|
|
79
|
+
* });
|
|
80
|
+
* const foobar = new linode.NodeBalancer("foobar", {
|
|
81
|
+
* label: "mynodebalancer",
|
|
82
|
+
* region: "us-east",
|
|
83
|
+
* ipv4: myReservedIp.address,
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
68
87
|
* ## Import
|
|
69
88
|
*
|
|
70
89
|
* Linodes NodeBalancers can be imported using the Linode NodeBalancer `id`, e.g.
|
|
@@ -112,6 +131,7 @@ class NodeBalancer extends pulumi.CustomResource {
|
|
|
112
131
|
resourceInputs["ipv4"] = state?.ipv4;
|
|
113
132
|
resourceInputs["ipv6"] = state?.ipv6;
|
|
114
133
|
resourceInputs["label"] = state?.label;
|
|
134
|
+
resourceInputs["lkeClusters"] = state?.lkeClusters;
|
|
115
135
|
resourceInputs["region"] = state?.region;
|
|
116
136
|
resourceInputs["tags"] = state?.tags;
|
|
117
137
|
resourceInputs["transfers"] = state?.transfers;
|
|
@@ -123,6 +143,7 @@ class NodeBalancer extends pulumi.CustomResource {
|
|
|
123
143
|
resourceInputs["clientConnThrottle"] = args?.clientConnThrottle;
|
|
124
144
|
resourceInputs["clientUdpSessThrottle"] = args?.clientUdpSessThrottle;
|
|
125
145
|
resourceInputs["firewallId"] = args?.firewallId;
|
|
146
|
+
resourceInputs["ipv4"] = args?.ipv4;
|
|
126
147
|
resourceInputs["label"] = args?.label;
|
|
127
148
|
resourceInputs["region"] = args?.region;
|
|
128
149
|
resourceInputs["tags"] = args?.tags;
|
|
@@ -130,8 +151,8 @@ class NodeBalancer extends pulumi.CustomResource {
|
|
|
130
151
|
resourceInputs["created"] = undefined /*out*/;
|
|
131
152
|
resourceInputs["firewalls"] = undefined /*out*/;
|
|
132
153
|
resourceInputs["hostname"] = undefined /*out*/;
|
|
133
|
-
resourceInputs["ipv4"] = undefined /*out*/;
|
|
134
154
|
resourceInputs["ipv6"] = undefined /*out*/;
|
|
155
|
+
resourceInputs["lkeClusters"] = undefined /*out*/;
|
|
135
156
|
resourceInputs["transfers"] = undefined /*out*/;
|
|
136
157
|
resourceInputs["updated"] = undefined /*out*/;
|
|
137
158
|
}
|