@equinix-labs/pulumi-equinix
Version:
A Pulumi package for creating and managing equinix cloud resources.
200 lines • 13.3 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IpAttachment = exports.Interconnection = exports.getVrfOutput = exports.getVrf = exports.getVlanOutput = exports.getVlan = exports.getVirtualCircuitOutput = exports.getVirtualCircuit = exports.getSpotMarketRequestOutput = exports.getSpotMarketRequest = exports.getSpotMarketPriceOutput = exports.getSpotMarketPrice = exports.getReservedIpBlockOutput = exports.getReservedIpBlock = exports.getProjectSshKeyOutput = exports.getProjectSshKey = exports.getProjectOutput = exports.getProject = exports.getPrecreatedIpBlockOutput = exports.getPrecreatedIpBlock = exports.getPortOutput = exports.getPort = exports.getPlansOutput = exports.getPlans = exports.getOrganizationOutput = exports.getOrganization = exports.getOperatingSystemOutput = exports.getOperatingSystem = exports.getMetroOutput = exports.getMetro = exports.getIpBlockRangesOutput = exports.getIpBlockRanges = exports.getInterconnectionOutput = exports.getInterconnection = exports.getHardwareReservationOutput = exports.getHardwareReservation = exports.getGatewayOutput = exports.getGateway = exports.getFacilityOutput = exports.getFacility = exports.getDevicesOutput = exports.getDevices = exports.getDeviceBgpNeighborsOutput = exports.getDeviceBgpNeighbors = exports.getDeviceOutput = exports.getDevice = exports.Gateway = exports.DeviceNetworkType = exports.Device = exports.BgpSession = void 0;
exports.Vrf = exports.Vlan = exports.VirtualCircuit = exports.UserApiKey = exports.SshKey = exports.SpotMarketRequest = exports.ReservedIpBlock = exports.ProjectSshKey = exports.ProjectApiKey = exports.Project = exports.PortVlanAttachment = exports.Port = exports.OrganizationMember = exports.Organization = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.BgpSession = null;
utilities.lazyLoad(exports, ["BgpSession"], () => require("./bgpSession"));
exports.Device = null;
utilities.lazyLoad(exports, ["Device"], () => require("./device"));
exports.DeviceNetworkType = null;
utilities.lazyLoad(exports, ["DeviceNetworkType"], () => require("./deviceNetworkType"));
exports.Gateway = null;
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
exports.getDevice = null;
exports.getDeviceOutput = null;
utilities.lazyLoad(exports, ["getDevice", "getDeviceOutput"], () => require("./getDevice"));
exports.getDeviceBgpNeighbors = null;
exports.getDeviceBgpNeighborsOutput = null;
utilities.lazyLoad(exports, ["getDeviceBgpNeighbors", "getDeviceBgpNeighborsOutput"], () => require("./getDeviceBgpNeighbors"));
exports.getDevices = null;
exports.getDevicesOutput = null;
utilities.lazyLoad(exports, ["getDevices", "getDevicesOutput"], () => require("./getDevices"));
exports.getFacility = null;
exports.getFacilityOutput = null;
utilities.lazyLoad(exports, ["getFacility", "getFacilityOutput"], () => require("./getFacility"));
exports.getGateway = null;
exports.getGatewayOutput = null;
utilities.lazyLoad(exports, ["getGateway", "getGatewayOutput"], () => require("./getGateway"));
exports.getHardwareReservation = null;
exports.getHardwareReservationOutput = null;
utilities.lazyLoad(exports, ["getHardwareReservation", "getHardwareReservationOutput"], () => require("./getHardwareReservation"));
exports.getInterconnection = null;
exports.getInterconnectionOutput = null;
utilities.lazyLoad(exports, ["getInterconnection", "getInterconnectionOutput"], () => require("./getInterconnection"));
exports.getIpBlockRanges = null;
exports.getIpBlockRangesOutput = null;
utilities.lazyLoad(exports, ["getIpBlockRanges", "getIpBlockRangesOutput"], () => require("./getIpBlockRanges"));
exports.getMetro = null;
exports.getMetroOutput = null;
utilities.lazyLoad(exports, ["getMetro", "getMetroOutput"], () => require("./getMetro"));
exports.getOperatingSystem = null;
exports.getOperatingSystemOutput = null;
utilities.lazyLoad(exports, ["getOperatingSystem", "getOperatingSystemOutput"], () => require("./getOperatingSystem"));
exports.getOrganization = null;
exports.getOrganizationOutput = null;
utilities.lazyLoad(exports, ["getOrganization", "getOrganizationOutput"], () => require("./getOrganization"));
exports.getPlans = null;
exports.getPlansOutput = null;
utilities.lazyLoad(exports, ["getPlans", "getPlansOutput"], () => require("./getPlans"));
exports.getPort = null;
exports.getPortOutput = null;
utilities.lazyLoad(exports, ["getPort", "getPortOutput"], () => require("./getPort"));
exports.getPrecreatedIpBlock = null;
exports.getPrecreatedIpBlockOutput = null;
utilities.lazyLoad(exports, ["getPrecreatedIpBlock", "getPrecreatedIpBlockOutput"], () => require("./getPrecreatedIpBlock"));
exports.getProject = null;
exports.getProjectOutput = null;
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
exports.getProjectSshKey = null;
exports.getProjectSshKeyOutput = null;
utilities.lazyLoad(exports, ["getProjectSshKey", "getProjectSshKeyOutput"], () => require("./getProjectSshKey"));
exports.getReservedIpBlock = null;
exports.getReservedIpBlockOutput = null;
utilities.lazyLoad(exports, ["getReservedIpBlock", "getReservedIpBlockOutput"], () => require("./getReservedIpBlock"));
exports.getSpotMarketPrice = null;
exports.getSpotMarketPriceOutput = null;
utilities.lazyLoad(exports, ["getSpotMarketPrice", "getSpotMarketPriceOutput"], () => require("./getSpotMarketPrice"));
exports.getSpotMarketRequest = null;
exports.getSpotMarketRequestOutput = null;
utilities.lazyLoad(exports, ["getSpotMarketRequest", "getSpotMarketRequestOutput"], () => require("./getSpotMarketRequest"));
exports.getVirtualCircuit = null;
exports.getVirtualCircuitOutput = null;
utilities.lazyLoad(exports, ["getVirtualCircuit", "getVirtualCircuitOutput"], () => require("./getVirtualCircuit"));
exports.getVlan = null;
exports.getVlanOutput = null;
utilities.lazyLoad(exports, ["getVlan", "getVlanOutput"], () => require("./getVlan"));
exports.getVrf = null;
exports.getVrfOutput = null;
utilities.lazyLoad(exports, ["getVrf", "getVrfOutput"], () => require("./getVrf"));
exports.Interconnection = null;
utilities.lazyLoad(exports, ["Interconnection"], () => require("./interconnection"));
exports.IpAttachment = null;
utilities.lazyLoad(exports, ["IpAttachment"], () => require("./ipAttachment"));
exports.Organization = null;
utilities.lazyLoad(exports, ["Organization"], () => require("./organization"));
exports.OrganizationMember = null;
utilities.lazyLoad(exports, ["OrganizationMember"], () => require("./organizationMember"));
exports.Port = null;
utilities.lazyLoad(exports, ["Port"], () => require("./port"));
exports.PortVlanAttachment = null;
utilities.lazyLoad(exports, ["PortVlanAttachment"], () => require("./portVlanAttachment"));
exports.Project = null;
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
exports.ProjectApiKey = null;
utilities.lazyLoad(exports, ["ProjectApiKey"], () => require("./projectApiKey"));
exports.ProjectSshKey = null;
utilities.lazyLoad(exports, ["ProjectSshKey"], () => require("./projectSshKey"));
exports.ReservedIpBlock = null;
utilities.lazyLoad(exports, ["ReservedIpBlock"], () => require("./reservedIpBlock"));
exports.SpotMarketRequest = null;
utilities.lazyLoad(exports, ["SpotMarketRequest"], () => require("./spotMarketRequest"));
exports.SshKey = null;
utilities.lazyLoad(exports, ["SshKey"], () => require("./sshKey"));
exports.UserApiKey = null;
utilities.lazyLoad(exports, ["UserApiKey"], () => require("./userApiKey"));
exports.VirtualCircuit = null;
utilities.lazyLoad(exports, ["VirtualCircuit"], () => require("./virtualCircuit"));
exports.Vlan = null;
utilities.lazyLoad(exports, ["Vlan"], () => require("./vlan"));
exports.Vrf = null;
utilities.lazyLoad(exports, ["Vrf"], () => require("./vrf"));
// Export enums:
__exportStar(require("../types/enums/metal"), exports);
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "equinix:metal/bgpSession:BgpSession":
return new exports.BgpSession(name, undefined, { urn });
case "equinix:metal/device:Device":
return new exports.Device(name, undefined, { urn });
case "equinix:metal/deviceNetworkType:DeviceNetworkType":
return new exports.DeviceNetworkType(name, undefined, { urn });
case "equinix:metal/gateway:Gateway":
return new exports.Gateway(name, undefined, { urn });
case "equinix:metal/interconnection:Interconnection":
return new exports.Interconnection(name, undefined, { urn });
case "equinix:metal/ipAttachment:IpAttachment":
return new exports.IpAttachment(name, undefined, { urn });
case "equinix:metal/organization:Organization":
return new exports.Organization(name, undefined, { urn });
case "equinix:metal/organizationMember:OrganizationMember":
return new exports.OrganizationMember(name, undefined, { urn });
case "equinix:metal/port:Port":
return new exports.Port(name, undefined, { urn });
case "equinix:metal/portVlanAttachment:PortVlanAttachment":
return new exports.PortVlanAttachment(name, undefined, { urn });
case "equinix:metal/project:Project":
return new exports.Project(name, undefined, { urn });
case "equinix:metal/projectApiKey:ProjectApiKey":
return new exports.ProjectApiKey(name, undefined, { urn });
case "equinix:metal/projectSshKey:ProjectSshKey":
return new exports.ProjectSshKey(name, undefined, { urn });
case "equinix:metal/reservedIpBlock:ReservedIpBlock":
return new exports.ReservedIpBlock(name, undefined, { urn });
case "equinix:metal/spotMarketRequest:SpotMarketRequest":
return new exports.SpotMarketRequest(name, undefined, { urn });
case "equinix:metal/sshKey:SshKey":
return new exports.SshKey(name, undefined, { urn });
case "equinix:metal/userApiKey:UserApiKey":
return new exports.UserApiKey(name, undefined, { urn });
case "equinix:metal/virtualCircuit:VirtualCircuit":
return new exports.VirtualCircuit(name, undefined, { urn });
case "equinix:metal/vlan:Vlan":
return new exports.Vlan(name, undefined, { urn });
case "equinix:metal/vrf:Vrf":
return new exports.Vrf(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("equinix", "metal/bgpSession", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/device", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/deviceNetworkType", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/gateway", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/interconnection", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/ipAttachment", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/organization", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/organizationMember", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/port", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/portVlanAttachment", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/project", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/projectApiKey", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/projectSshKey", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/reservedIpBlock", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/spotMarketRequest", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/sshKey", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/userApiKey", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/virtualCircuit", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/vlan", _module);
pulumi.runtime.registerResourceModule("equinix", "metal/vrf", _module);
//# sourceMappingURL=index.js.map