@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,132 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves the entities associated with a specific Monitor Alert Definition.
|
|
6
|
+
* For more information, see the Linode APIv4 docs. (**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 test = linode.getMonitorAlertDefinitionEntities({
|
|
15
|
+
* serviceType: "dbaas",
|
|
16
|
+
* alertId: 123,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as linode from "@pulumi/linode";
|
|
22
|
+
*
|
|
23
|
+
* const test = linode.getMonitorAlertDefinitionEntities({
|
|
24
|
+
* serviceType: "dbaas",
|
|
25
|
+
* alertId: 123,
|
|
26
|
+
* filters: [{
|
|
27
|
+
* name: "type",
|
|
28
|
+
* values: ["dbaas"],
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Filterable Fields
|
|
34
|
+
*
|
|
35
|
+
* * `id`
|
|
36
|
+
*
|
|
37
|
+
* * `label`
|
|
38
|
+
*
|
|
39
|
+
* * `type`
|
|
40
|
+
*
|
|
41
|
+
* * `url`
|
|
42
|
+
*/
|
|
43
|
+
export declare function getMonitorAlertDefinitionEntities(args: GetMonitorAlertDefinitionEntitiesArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorAlertDefinitionEntitiesResult>;
|
|
44
|
+
/**
|
|
45
|
+
* A collection of arguments for invoking getMonitorAlertDefinitionEntities.
|
|
46
|
+
*/
|
|
47
|
+
export interface GetMonitorAlertDefinitionEntitiesArgs {
|
|
48
|
+
/**
|
|
49
|
+
* The unique identifier for the alert definition.
|
|
50
|
+
*
|
|
51
|
+
* * `filter` - (Optional, Block Set) A set of filters used to select entities that meet certain requirements.
|
|
52
|
+
*/
|
|
53
|
+
alertId: number;
|
|
54
|
+
filters?: inputs.GetMonitorAlertDefinitionEntitiesFilter[];
|
|
55
|
+
/**
|
|
56
|
+
* The service type for the alert definition (e.g., `dbaas`).
|
|
57
|
+
*/
|
|
58
|
+
serviceType: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A collection of values returned by getMonitorAlertDefinitionEntities.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetMonitorAlertDefinitionEntitiesResult {
|
|
64
|
+
readonly alertId: number;
|
|
65
|
+
/**
|
|
66
|
+
* (Nested Attribute List) The returned list of entities associated with the alert definition. Referenced by index (e.g. `entities[0].id`).
|
|
67
|
+
*/
|
|
68
|
+
readonly entities: outputs.GetMonitorAlertDefinitionEntitiesEntity[];
|
|
69
|
+
readonly filters?: outputs.GetMonitorAlertDefinitionEntitiesFilter[];
|
|
70
|
+
/**
|
|
71
|
+
* The unique identifier for this entity.
|
|
72
|
+
*/
|
|
73
|
+
readonly id: string;
|
|
74
|
+
readonly serviceType: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves the entities associated with a specific Monitor Alert Definition.
|
|
78
|
+
* For more information, see the Linode APIv4 docs. (**Note: v4beta only.**)
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as linode from "@pulumi/linode";
|
|
85
|
+
*
|
|
86
|
+
* const test = linode.getMonitorAlertDefinitionEntities({
|
|
87
|
+
* serviceType: "dbaas",
|
|
88
|
+
* alertId: 123,
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as linode from "@pulumi/linode";
|
|
94
|
+
*
|
|
95
|
+
* const test = linode.getMonitorAlertDefinitionEntities({
|
|
96
|
+
* serviceType: "dbaas",
|
|
97
|
+
* alertId: 123,
|
|
98
|
+
* filters: [{
|
|
99
|
+
* name: "type",
|
|
100
|
+
* values: ["dbaas"],
|
|
101
|
+
* }],
|
|
102
|
+
* });
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* ## Filterable Fields
|
|
106
|
+
*
|
|
107
|
+
* * `id`
|
|
108
|
+
*
|
|
109
|
+
* * `label`
|
|
110
|
+
*
|
|
111
|
+
* * `type`
|
|
112
|
+
*
|
|
113
|
+
* * `url`
|
|
114
|
+
*/
|
|
115
|
+
export declare function getMonitorAlertDefinitionEntitiesOutput(args: GetMonitorAlertDefinitionEntitiesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitorAlertDefinitionEntitiesResult>;
|
|
116
|
+
/**
|
|
117
|
+
* A collection of arguments for invoking getMonitorAlertDefinitionEntities.
|
|
118
|
+
*/
|
|
119
|
+
export interface GetMonitorAlertDefinitionEntitiesOutputArgs {
|
|
120
|
+
/**
|
|
121
|
+
* The unique identifier for the alert definition.
|
|
122
|
+
*
|
|
123
|
+
* * `filter` - (Optional, Block Set) A set of filters used to select entities that meet certain requirements.
|
|
124
|
+
*/
|
|
125
|
+
alertId: pulumi.Input<number>;
|
|
126
|
+
filters?: pulumi.Input<pulumi.Input<inputs.GetMonitorAlertDefinitionEntitiesFilterArgs>[] | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The service type for the alert definition (e.g., `dbaas`).
|
|
129
|
+
*/
|
|
130
|
+
serviceType: pulumi.Input<string>;
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=getMonitorAlertDefinitionEntities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMonitorAlertDefinitionEntities.d.ts","sourceRoot":"","sources":["../getMonitorAlertDefinitionEntities.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uCAAuC,CAAC,CAO5K;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC,uCAAuC,EAAE,CAAC;IAC3D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,uCAAuC,EAAE,CAAC;IACrE,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,uCAAuC,EAAE,CAAC;IACrE;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,2CAA2C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAOpM;AAED;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2CAA2C,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACvG;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
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.getMonitorAlertDefinitionEntitiesOutput = exports.getMonitorAlertDefinitionEntities = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves the entities associated with a specific Monitor Alert Definition.
|
|
33
|
+
* For more information, see the Linode APIv4 docs. (**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 test = linode.getMonitorAlertDefinitionEntities({
|
|
42
|
+
* serviceType: "dbaas",
|
|
43
|
+
* alertId: 123,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as linode from "@pulumi/linode";
|
|
49
|
+
*
|
|
50
|
+
* const test = linode.getMonitorAlertDefinitionEntities({
|
|
51
|
+
* serviceType: "dbaas",
|
|
52
|
+
* alertId: 123,
|
|
53
|
+
* filters: [{
|
|
54
|
+
* name: "type",
|
|
55
|
+
* values: ["dbaas"],
|
|
56
|
+
* }],
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ## Filterable Fields
|
|
61
|
+
*
|
|
62
|
+
* * `id`
|
|
63
|
+
*
|
|
64
|
+
* * `label`
|
|
65
|
+
*
|
|
66
|
+
* * `type`
|
|
67
|
+
*
|
|
68
|
+
* * `url`
|
|
69
|
+
*/
|
|
70
|
+
function getMonitorAlertDefinitionEntities(args, opts) {
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
72
|
+
return pulumi.runtime.invoke("linode:index/getMonitorAlertDefinitionEntities:getMonitorAlertDefinitionEntities", {
|
|
73
|
+
"alertId": args.alertId,
|
|
74
|
+
"filters": args.filters,
|
|
75
|
+
"serviceType": args.serviceType,
|
|
76
|
+
}, opts);
|
|
77
|
+
}
|
|
78
|
+
exports.getMonitorAlertDefinitionEntities = getMonitorAlertDefinitionEntities;
|
|
79
|
+
/**
|
|
80
|
+
* Retrieves the entities associated with a specific Monitor Alert Definition.
|
|
81
|
+
* For more information, see the Linode APIv4 docs. (**Note: v4beta only.**)
|
|
82
|
+
*
|
|
83
|
+
* ## Example Usage
|
|
84
|
+
*
|
|
85
|
+
* ```typescript
|
|
86
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
87
|
+
* import * as linode from "@pulumi/linode";
|
|
88
|
+
*
|
|
89
|
+
* const test = linode.getMonitorAlertDefinitionEntities({
|
|
90
|
+
* serviceType: "dbaas",
|
|
91
|
+
* alertId: 123,
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as linode from "@pulumi/linode";
|
|
97
|
+
*
|
|
98
|
+
* const test = linode.getMonitorAlertDefinitionEntities({
|
|
99
|
+
* serviceType: "dbaas",
|
|
100
|
+
* alertId: 123,
|
|
101
|
+
* filters: [{
|
|
102
|
+
* name: "type",
|
|
103
|
+
* values: ["dbaas"],
|
|
104
|
+
* }],
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* ## Filterable Fields
|
|
109
|
+
*
|
|
110
|
+
* * `id`
|
|
111
|
+
*
|
|
112
|
+
* * `label`
|
|
113
|
+
*
|
|
114
|
+
* * `type`
|
|
115
|
+
*
|
|
116
|
+
* * `url`
|
|
117
|
+
*/
|
|
118
|
+
function getMonitorAlertDefinitionEntitiesOutput(args, opts) {
|
|
119
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
120
|
+
return pulumi.runtime.invokeOutput("linode:index/getMonitorAlertDefinitionEntities:getMonitorAlertDefinitionEntities", {
|
|
121
|
+
"alertId": args.alertId,
|
|
122
|
+
"filters": args.filters,
|
|
123
|
+
"serviceType": args.serviceType,
|
|
124
|
+
}, opts);
|
|
125
|
+
}
|
|
126
|
+
exports.getMonitorAlertDefinitionEntitiesOutput = getMonitorAlertDefinitionEntitiesOutput;
|
|
127
|
+
//# sourceMappingURL=getMonitorAlertDefinitionEntities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMonitorAlertDefinitionEntities.js","sourceRoot":"","sources":["../getMonitorAlertDefinitionEntities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE;QAC7G,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8EAOC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE;QACnH,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0FAOC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves Monitor Alert Definitions.
|
|
6
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-alert-definitions). (**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 all = linode.getMonitorAlertDefinitions({});
|
|
15
|
+
* ```
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as linode from "@pulumi/linode";
|
|
19
|
+
*
|
|
20
|
+
* const all = linode.getMonitorAlertDefinitions({
|
|
21
|
+
* serviceType: "dbaas",
|
|
22
|
+
* filters: [{
|
|
23
|
+
* name: type,
|
|
24
|
+
* values: ["test-alert-definition"],
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getMonitorAlertDefinitions(args?: GetMonitorAlertDefinitionsArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorAlertDefinitionsResult>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of arguments for invoking getMonitorAlertDefinitions.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetMonitorAlertDefinitionsArgs {
|
|
34
|
+
filters?: inputs.GetMonitorAlertDefinitionsFilter[];
|
|
35
|
+
/**
|
|
36
|
+
* The service type (e.g., dbaas).
|
|
37
|
+
*
|
|
38
|
+
* * `filter` - (Optional, Block Set) A set of filters used to select IP addresses that meet certain requirements.
|
|
39
|
+
*/
|
|
40
|
+
serviceType?: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A collection of values returned by getMonitorAlertDefinitions.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetMonitorAlertDefinitionsResult {
|
|
46
|
+
/**
|
|
47
|
+
* (Nested Attribute List) Alert definitions matching the query.
|
|
48
|
+
*/
|
|
49
|
+
readonly alertDefinitions: outputs.GetMonitorAlertDefinitionsAlertDefinition[];
|
|
50
|
+
readonly filters?: outputs.GetMonitorAlertDefinitionsFilter[];
|
|
51
|
+
/**
|
|
52
|
+
* The unique identifier assigned to the alert channel.
|
|
53
|
+
*/
|
|
54
|
+
readonly id: string;
|
|
55
|
+
/**
|
|
56
|
+
* The service type (e.g., dbaas).
|
|
57
|
+
*/
|
|
58
|
+
readonly serviceType?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Retrieves Monitor Alert Definitions.
|
|
62
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-alert-definitions). (**Note: v4beta only.**)
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as linode from "@pulumi/linode";
|
|
69
|
+
*
|
|
70
|
+
* const all = linode.getMonitorAlertDefinitions({});
|
|
71
|
+
* ```
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as linode from "@pulumi/linode";
|
|
75
|
+
*
|
|
76
|
+
* const all = linode.getMonitorAlertDefinitions({
|
|
77
|
+
* serviceType: "dbaas",
|
|
78
|
+
* filters: [{
|
|
79
|
+
* name: type,
|
|
80
|
+
* values: ["test-alert-definition"],
|
|
81
|
+
* }],
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function getMonitorAlertDefinitionsOutput(args?: GetMonitorAlertDefinitionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitorAlertDefinitionsResult>;
|
|
86
|
+
/**
|
|
87
|
+
* A collection of arguments for invoking getMonitorAlertDefinitions.
|
|
88
|
+
*/
|
|
89
|
+
export interface GetMonitorAlertDefinitionsOutputArgs {
|
|
90
|
+
filters?: pulumi.Input<pulumi.Input<inputs.GetMonitorAlertDefinitionsFilterArgs>[] | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The service type (e.g., dbaas).
|
|
93
|
+
*
|
|
94
|
+
* * `filter` - (Optional, Block Set) A set of filters used to select IP addresses that meet certain requirements.
|
|
95
|
+
*/
|
|
96
|
+
serviceType?: pulumi.Input<string | undefined>;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=getMonitorAlertDefinitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMonitorAlertDefinitions.d.ts","sourceRoot":"","sources":["../getMonitorAlertDefinitions.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;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAOxJ;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC,gCAAgC,EAAE,CAAC;IACpD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC,yCAAyC,EAAE,CAAC;IAC/E,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,gCAAgC,EAAE,CAAC;IAC9D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CACjC;AACD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,CAAC,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAAC,CAOhL;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oCAAoC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAChG;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD"}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.getMonitorAlertDefinitionsOutput = exports.getMonitorAlertDefinitions = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves Monitor Alert Definitions.
|
|
33
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-alert-definitions). (**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 all = linode.getMonitorAlertDefinitions({});
|
|
42
|
+
* ```
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as linode from "@pulumi/linode";
|
|
46
|
+
*
|
|
47
|
+
* const all = linode.getMonitorAlertDefinitions({
|
|
48
|
+
* serviceType: "dbaas",
|
|
49
|
+
* filters: [{
|
|
50
|
+
* name: type,
|
|
51
|
+
* values: ["test-alert-definition"],
|
|
52
|
+
* }],
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
function getMonitorAlertDefinitions(args, opts) {
|
|
57
|
+
args = args || {};
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
59
|
+
return pulumi.runtime.invoke("linode:index/getMonitorAlertDefinitions:getMonitorAlertDefinitions", {
|
|
60
|
+
"filters": args.filters,
|
|
61
|
+
"serviceType": args.serviceType,
|
|
62
|
+
}, opts);
|
|
63
|
+
}
|
|
64
|
+
exports.getMonitorAlertDefinitions = getMonitorAlertDefinitions;
|
|
65
|
+
/**
|
|
66
|
+
* Retrieves Monitor Alert Definitions.
|
|
67
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-alert-definitions). (**Note: v4beta only.**)
|
|
68
|
+
*
|
|
69
|
+
* ## Example Usage
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as linode from "@pulumi/linode";
|
|
74
|
+
*
|
|
75
|
+
* const all = linode.getMonitorAlertDefinitions({});
|
|
76
|
+
* ```
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as linode from "@pulumi/linode";
|
|
80
|
+
*
|
|
81
|
+
* const all = linode.getMonitorAlertDefinitions({
|
|
82
|
+
* serviceType: "dbaas",
|
|
83
|
+
* filters: [{
|
|
84
|
+
* name: type,
|
|
85
|
+
* values: ["test-alert-definition"],
|
|
86
|
+
* }],
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
function getMonitorAlertDefinitionsOutput(args, opts) {
|
|
91
|
+
args = args || {};
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
93
|
+
return pulumi.runtime.invokeOutput("linode:index/getMonitorAlertDefinitions:getMonitorAlertDefinitions", {
|
|
94
|
+
"filters": args.filters,
|
|
95
|
+
"serviceType": args.serviceType,
|
|
96
|
+
}, opts);
|
|
97
|
+
}
|
|
98
|
+
exports.getMonitorAlertDefinitionsOutput = getMonitorAlertDefinitionsOutput;
|
|
99
|
+
//# sourceMappingURL=getMonitorAlertDefinitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMonitorAlertDefinitions.js","sourceRoot":"","sources":["../getMonitorAlertDefinitions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gEAOC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,gCAAgC,CAAC,IAA2C,EAAE,IAAiC;IAC3H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Provides details about a Linode Monitor Logs Destination.
|
|
5
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-logs-destination). (**Note: v4beta only.**)
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as linode from "@pulumi/linode";
|
|
12
|
+
*
|
|
13
|
+
* const example = linode.getMonitorLogsDestination({
|
|
14
|
+
* id: 12345,
|
|
15
|
+
* });
|
|
16
|
+
* export const destinationLabel = example.then(example => example.label);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getMonitorLogsDestination(args: GetMonitorLogsDestinationArgs, opts?: pulumi.InvokeOptions): Promise<GetMonitorLogsDestinationResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getMonitorLogsDestination.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetMonitorLogsDestinationArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The unique ID of the logs destination.
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getMonitorLogsDestination.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetMonitorLogsDestinationResult {
|
|
33
|
+
/**
|
|
34
|
+
* When this logs destination was created.
|
|
35
|
+
*/
|
|
36
|
+
readonly created: string;
|
|
37
|
+
/**
|
|
38
|
+
* The user who created this logs destination.
|
|
39
|
+
*/
|
|
40
|
+
readonly createdBy: string;
|
|
41
|
+
readonly details: outputs.GetMonitorLogsDestinationDetails;
|
|
42
|
+
readonly id: number;
|
|
43
|
+
/**
|
|
44
|
+
* The label for this logs destination.
|
|
45
|
+
*/
|
|
46
|
+
readonly label: string;
|
|
47
|
+
/**
|
|
48
|
+
* The status of this logs destination.
|
|
49
|
+
*/
|
|
50
|
+
readonly status: string;
|
|
51
|
+
/**
|
|
52
|
+
* The type of this logs destination. One of: `akamaiObjectStorage`, `customHttps`.
|
|
53
|
+
*/
|
|
54
|
+
readonly type: string;
|
|
55
|
+
/**
|
|
56
|
+
* When this logs destination was last updated.
|
|
57
|
+
*/
|
|
58
|
+
readonly updated: string;
|
|
59
|
+
/**
|
|
60
|
+
* The user who last updated this logs destination.
|
|
61
|
+
*/
|
|
62
|
+
readonly updatedBy: string;
|
|
63
|
+
/**
|
|
64
|
+
* The version of this logs destination.
|
|
65
|
+
*/
|
|
66
|
+
readonly version: number;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Provides details about a Linode Monitor Logs Destination.
|
|
70
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-logs-destination). (**Note: v4beta only.**)
|
|
71
|
+
*
|
|
72
|
+
* ## Example Usage
|
|
73
|
+
*
|
|
74
|
+
* ```typescript
|
|
75
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
+
* import * as linode from "@pulumi/linode";
|
|
77
|
+
*
|
|
78
|
+
* const example = linode.getMonitorLogsDestination({
|
|
79
|
+
* id: 12345,
|
|
80
|
+
* });
|
|
81
|
+
* export const destinationLabel = example.then(example => example.label);
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare function getMonitorLogsDestinationOutput(args: GetMonitorLogsDestinationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMonitorLogsDestinationResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getMonitorLogsDestination.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetMonitorLogsDestinationOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The unique ID of the logs destination.
|
|
91
|
+
*/
|
|
92
|
+
id: pulumi.Input<number>;
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=getMonitorLogsDestination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMonitorLogsDestination.d.ts","sourceRoot":"","sources":["../getMonitorLogsDestination.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAKpJ;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,gCAAgC,CAAC;IAC3D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC5B;AACD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAK5K;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.getMonitorLogsDestinationOutput = exports.getMonitorLogsDestination = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Provides details about a Linode Monitor Logs Destination.
|
|
33
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-logs-destination). (**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 example = linode.getMonitorLogsDestination({
|
|
42
|
+
* id: 12345,
|
|
43
|
+
* });
|
|
44
|
+
* export const destinationLabel = example.then(example => example.label);
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getMonitorLogsDestination(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invoke("linode:index/getMonitorLogsDestination:getMonitorLogsDestination", {
|
|
50
|
+
"id": args.id,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getMonitorLogsDestination = getMonitorLogsDestination;
|
|
54
|
+
/**
|
|
55
|
+
* Provides details about a Linode Monitor Logs Destination.
|
|
56
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-logs-destination). (**Note: v4beta only.**)
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as linode from "@pulumi/linode";
|
|
63
|
+
*
|
|
64
|
+
* const example = linode.getMonitorLogsDestination({
|
|
65
|
+
* id: 12345,
|
|
66
|
+
* });
|
|
67
|
+
* export const destinationLabel = example.then(example => example.label);
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
function getMonitorLogsDestinationOutput(args, opts) {
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
72
|
+
return pulumi.runtime.invokeOutput("linode:index/getMonitorLogsDestination:getMonitorLogsDestination", {
|
|
73
|
+
"id": args.id,
|
|
74
|
+
}, opts);
|
|
75
|
+
}
|
|
76
|
+
exports.getMonitorLogsDestinationOutput = getMonitorLogsDestinationOutput;
|
|
77
|
+
//# sourceMappingURL=getMonitorLogsDestination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMonitorLogsDestination.js","sourceRoot":"","sources":["../getMonitorLogsDestination.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC;AAmDD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0EAKC"}
|