From 5ee7dccfd3a9b1359ec252000e43d17343c40fbd Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 18 Oct 2024 19:11:03 +0000 Subject: [PATCH] make build_sdks --- sdk/go/equinix/metal/interconnection.go | 19 +- sdk/go/equinix/metal/ipAttachment.go | 30 +- sdk/go/equinix/metal/sshKey.go | 14 +- sdk/go/equinix/metal/virtualCircuit.go | 19 +- sdk/go/equinix/networkedge/device.go | 312 +-- sdk/go/equinix/networkedge/networkFile.go | 16 +- sdk/python/pulumi_equinix/_utilities.py | 2 +- sdk/python/pulumi_equinix/config/__init__.pyi | 5 + sdk/python/pulumi_equinix/config/vars.py | 5 + sdk/python/pulumi_equinix/fabric/_inputs.py | 2138 ++++++++++++++++- .../pulumi_equinix/fabric/cloud_router.py | 5 + .../pulumi_equinix/fabric/connection.py | 5 + .../pulumi_equinix/fabric/get_cloud_router.py | 35 +- .../fabric/get_cloud_routers.py | 21 +- .../pulumi_equinix/fabric/get_connection.py | 34 +- .../pulumi_equinix/fabric/get_connections.py | 23 +- .../fabric/get_marketplace_subscription.py | 23 +- .../pulumi_equinix/fabric/get_network.py | 28 +- .../pulumi_equinix/fabric/get_networks.py | 23 +- sdk/python/pulumi_equinix/fabric/get_port.py | 33 +- sdk/python/pulumi_equinix/fabric/get_ports.py | 17 +- .../fabric/get_routing_protocol.py | 34 +- .../fabric/get_service_profile.py | 36 +- .../fabric/get_service_profiles.py | 25 +- sdk/python/pulumi_equinix/fabric/network.py | 5 + sdk/python/pulumi_equinix/fabric/outputs.py | 5 + .../pulumi_equinix/fabric/routing_protocol.py | 5 + .../pulumi_equinix/fabric/service_profile.py | 5 + sdk/python/pulumi_equinix/metal/_inputs.py | 333 +++ .../pulumi_equinix/metal/bgp_session.py | 5 + sdk/python/pulumi_equinix/metal/device.py | 5 + .../metal/device_network_type.py | 5 + sdk/python/pulumi_equinix/metal/gateway.py | 5 + sdk/python/pulumi_equinix/metal/get_device.py | 41 +- .../metal/get_device_bgp_neighbors.py | 17 +- .../pulumi_equinix/metal/get_devices.py | 25 +- .../pulumi_equinix/metal/get_facility.py | 23 +- .../pulumi_equinix/metal/get_gateway.py | 22 +- .../metal/get_hardware_reservation.py | 24 +- .../metal/get_interconnection.py | 36 +- .../metal/get_ip_block_ranges.py | 24 +- sdk/python/pulumi_equinix/metal/get_metro.py | 20 +- .../metal/get_operating_system.py | 23 +- .../pulumi_equinix/metal/get_organization.py | 25 +- sdk/python/pulumi_equinix/metal/get_plans.py | 19 +- sdk/python/pulumi_equinix/metal/get_port.py | 31 +- .../metal/get_precreated_ip_block.py | 37 +- .../pulumi_equinix/metal/get_project.py | 25 +- .../metal/get_project_ssh_key.py | 25 +- .../metal/get_reserved_ip_block.py | 35 +- .../metal/get_spot_market_price.py | 21 +- .../metal/get_spot_market_request.py | 25 +- .../metal/get_virtual_circuit.py | 40 +- sdk/python/pulumi_equinix/metal/get_vlan.py | 26 +- sdk/python/pulumi_equinix/metal/get_vrf.py | 22 +- .../pulumi_equinix/metal/interconnection.py | 5 + .../pulumi_equinix/metal/ip_attachment.py | 5 + .../pulumi_equinix/metal/organization.py | 5 + .../metal/organization_member.py | 5 + sdk/python/pulumi_equinix/metal/outputs.py | 5 + sdk/python/pulumi_equinix/metal/port.py | 5 + .../metal/port_vlan_attachment.py | 5 + sdk/python/pulumi_equinix/metal/project.py | 5 + .../pulumi_equinix/metal/project_api_key.py | 5 + .../pulumi_equinix/metal/project_ssh_key.py | 5 + .../pulumi_equinix/metal/reserved_ip_block.py | 5 + .../metal/spot_market_request.py | 5 + sdk/python/pulumi_equinix/metal/ssh_key.py | 5 + .../pulumi_equinix/metal/user_api_key.py | 5 + .../pulumi_equinix/metal/virtual_circuit.py | 5 + sdk/python/pulumi_equinix/metal/vlan.py | 5 + sdk/python/pulumi_equinix/metal/vrf.py | 5 + .../pulumi_equinix/networkedge/_inputs.py | 562 +++++ .../networkedge/acl_template.py | 5 + sdk/python/pulumi_equinix/networkedge/bgp.py | 5 + .../pulumi_equinix/networkedge/device.py | 5 + .../pulumi_equinix/networkedge/device_link.py | 5 + .../pulumi_equinix/networkedge/get_account.py | 24 +- .../pulumi_equinix/networkedge/get_device.py | 62 +- .../networkedge/get_device_platform.py | 28 +- .../networkedge/get_device_software.py | 29 +- .../networkedge/get_device_type.py | 24 +- .../networkedge/network_file.py | 5 + .../pulumi_equinix/networkedge/outputs.py | 5 + .../pulumi_equinix/networkedge/ssh_key.py | 5 + .../pulumi_equinix/networkedge/ssh_user.py | 5 + sdk/python/pulumi_equinix/provider.py | 5 + sdk/python/setup.py | 3 +- 88 files changed, 4356 insertions(+), 367 deletions(-) diff --git a/sdk/go/equinix/metal/interconnection.go b/sdk/go/equinix/metal/interconnection.go index 9ae66e3a..d445055a 100644 --- a/sdk/go/equinix/metal/interconnection.go +++ b/sdk/go/equinix/metal/interconnection.go @@ -107,18 +107,15 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// zside, err := fabric.GetServiceProfiles(ctx, &fabric.GetServiceProfilesArgs{ -// Filter: fabric.GetServiceProfilesFilter{ -// Property: "/name", -// Operator: "=", -// Values: []string{ -// "AWS Direct Connect", +// zside := fabric.GetServiceProfilesOutput(ctx, fabric.GetServiceProfilesOutputArgs{ +// Filter: &fabric.GetServiceProfilesFilterArgs{ +// Property: pulumi.String("/name"), +// Operator: pulumi.String("="), +// Values: pulumi.StringArray{ +// pulumi.String("AWS Direct Connect"), // }, // }, // }, nil) -// if err != nil { -// return err -// } // example1, err := metal.NewVlan(ctx, "example1", &metal.VlanArgs{ // ProjectId: pulumi.Any(myProjectId), // Metro: pulumi.String("SV"), @@ -169,7 +166,9 @@ import ( // SellerRegion: pulumi.String("us-west-1"), // Profile: &fabric.ConnectionZSideAccessPointProfileArgs{ // Type: pulumi.String(fabric.ProfileTypeL2Profile), -// Uuid: pulumi.String(zside.Id), +// Uuid: zside.ApplyT(func(zside fabric.GetServiceProfilesResult) (*string, error) { +// return &zside.Id, nil +// }).(pulumi.StringPtrOutput), // }, // Location: &fabric.ConnectionZSideAccessPointLocationArgs{ // MetroCode: pulumi.String(equinix.MetroSiliconValley), diff --git a/sdk/go/equinix/metal/ipAttachment.go b/sdk/go/equinix/metal/ipAttachment.go index d6900d11..93553a9b 100644 --- a/sdk/go/equinix/metal/ipAttachment.go +++ b/sdk/go/equinix/metal/ipAttachment.go @@ -43,22 +43,22 @@ import ( // if err != nil { // return err // } -// invokeJoin, err := std.Join(ctx, &std.JoinArgs{ -// Separator: "/", -// Input: []*string{ -// std.Cidrhost(ctx, &std.CidrhostArgs{ -// Input: myblockMetalReservedIpBlock.CidrNotation, -// Host: 0, -// }, nil).Result, -// "32", -// }, -// }, nil) -// if err != nil { -// return err -// } // _, err = metal.NewIpAttachment(ctx, "firstAddressAssignment", &metal.IpAttachmentArgs{ -// DeviceId: pulumi.Any(mydevice.Id), -// CidrNotation: pulumi.String(invokeJoin.Result), +// DeviceId: pulumi.Any(mydevice.Id), +// CidrNotation: pulumi.String(std.JoinOutput(ctx, std.JoinOutputArgs{ +// Separator: pulumi.String("/"), +// Input: pulumi.StringArray{ +// std.CidrhostOutput(ctx, std.CidrhostOutputArgs{ +// Input: pulumi.Any(myblockMetalReservedIpBlock.CidrNotation), +// Host: pulumi.Int(0), +// }, nil).ApplyT(func(invoke std.CidrhostResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput), +// pulumi.String("32"), +// }, +// }, nil).ApplyT(func(invoke std.JoinResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput)), // }) // if err != nil { // return err diff --git a/sdk/go/equinix/metal/sshKey.go b/sdk/go/equinix/metal/sshKey.go index f4d11931..14c05f7c 100644 --- a/sdk/go/equinix/metal/sshKey.go +++ b/sdk/go/equinix/metal/sshKey.go @@ -31,15 +31,13 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// invokeFile, err := std.File(ctx, &std.FileArgs{ -// Input: "/home/terraform/.ssh/id_rsa.pub", -// }, nil) -// if err != nil { -// return err -// } // key1, err := metal.NewSshKey(ctx, "key1", &metal.SshKeyArgs{ -// Name: pulumi.String("terraform-1"), -// PublicKey: pulumi.String(invokeFile.Result), +// Name: pulumi.String("terraform-1"), +// PublicKey: pulumi.String(std.FileOutput(ctx, std.FileOutputArgs{ +// Input: pulumi.String("/home/terraform/.ssh/id_rsa.pub"), +// }, nil).ApplyT(func(invoke std.FileResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput)), // }) // if err != nil { // return err diff --git a/sdk/go/equinix/metal/virtualCircuit.go b/sdk/go/equinix/metal/virtualCircuit.go index 3bfb4fa2..8cfe32ac 100644 --- a/sdk/go/equinix/metal/virtualCircuit.go +++ b/sdk/go/equinix/metal/virtualCircuit.go @@ -32,15 +32,14 @@ import ( // pulumi.Run(func(ctx *pulumi.Context) error { // projectId := "52000fb2-ee46-4673-93a8-de2c2bdba33c" // connId := "73f12f29-3e19-43a0-8e90-ae81580db1e0" -// test, err := metal.LookupInterconnection(ctx, &metal.LookupInterconnectionArgs{ -// ConnectionId: connId, +// test := metal.LookupInterconnectionOutput(ctx, metal.GetInterconnectionOutputArgs{ +// ConnectionId: pulumi.String(connId), // }, nil) -// if err != nil { -// return err -// } // testVlan, err := metal.NewVlan(ctx, "testVlan", &metal.VlanArgs{ // ProjectId: pulumi.String(projectId), -// Metro: pulumi.String(test.Metro), +// Metro: pulumi.String(test.ApplyT(func(test metal.GetInterconnectionResult) (*string, error) { +// return &test.Metro, nil +// }).(pulumi.StringPtrOutput)), // }) // if err != nil { // return err @@ -48,9 +47,11 @@ import ( // _, err = metal.NewVirtualCircuit(ctx, "testVirtualCircuit", &metal.VirtualCircuitArgs{ // ConnectionId: pulumi.String(connId), // ProjectId: pulumi.String(projectId), -// PortId: pulumi.String(test.Ports[0].Id), -// VlanId: testVlan.ID(), -// NniVlan: pulumi.Int(1056), +// PortId: pulumi.String(test.ApplyT(func(test metal.GetInterconnectionResult) (*string, error) { +// return &test.Ports[0].Id, nil +// }).(pulumi.StringPtrOutput)), +// VlanId: testVlan.ID(), +// NniVlan: pulumi.Int(1056), // }) // if err != nil { // return err diff --git a/sdk/go/equinix/networkedge/device.go b/sdk/go/equinix/networkedge/device.go index 620e5680..de4764a3 100644 --- a/sdk/go/equinix/networkedge/device.go +++ b/sdk/go/equinix/networkedge/device.go @@ -39,47 +39,49 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// dc, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// MetroCode: "DC", +// dc := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// MetroCode: pulumi.String("DC"), // }, nil) -// if err != nil { -// return err -// } -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } -// _, err = networkedge.NewDevice(ctx, "csr1000vHa", &networkedge.DeviceArgs{ +// _, err := networkedge.NewDevice(ctx, "csr1000vHa", &networkedge.DeviceArgs{ // Name: pulumi.String("tf-csr1000v-p"), // Throughput: pulumi.Int(500), // ThroughputUnit: pulumi.String(networkedge.ThroughputUnitMbps), -// MetroCode: pulumi.String(dc.MetroCode), -// TypeCode: pulumi.String("CSR1000V"), -// SelfManaged: pulumi.Bool(false), -// Connectivity: pulumi.String("INTERNET-ACCESS"), -// Byol: pulumi.Bool(false), -// PackageCode: pulumi.String("SEC"), +// MetroCode: pulumi.String(dc.ApplyT(func(dc networkedge.GetAccountResult) (*string, error) { +// return &dc.MetroCode, nil +// }).(pulumi.StringPtrOutput)), +// TypeCode: pulumi.String("CSR1000V"), +// SelfManaged: pulumi.Bool(false), +// Connectivity: pulumi.String("INTERNET-ACCESS"), +// Byol: pulumi.Bool(false), +// PackageCode: pulumi.String("SEC"), // Notifications: pulumi.StringArray{ // pulumi.String("john@equinix.com"), // pulumi.String("marry@equinix.com"), // pulumi.String("fred@equinix.com"), // }, -// Hostname: pulumi.String("csr1000v-p"), -// TermLength: pulumi.Int(12), -// AccountNumber: pulumi.String(dc.Number), -// Version: pulumi.String("16.09.05"), -// CoreCount: pulumi.Int(2), +// Hostname: pulumi.String("csr1000v-p"), +// TermLength: pulumi.Int(12), +// AccountNumber: pulumi.String(dc.ApplyT(func(dc networkedge.GetAccountResult) (*string, error) { +// return &dc.Number, nil +// }).(pulumi.StringPtrOutput)), +// Version: pulumi.String("16.09.05"), +// CoreCount: pulumi.Int(2), // SecondaryDevice: &networkedge.DeviceSecondaryDeviceArgs{ -// Name: pulumi.String("tf-csr1000v-s"), -// MetroCode: pulumi.String(sv.MetroCode), -// Hostname: pulumi.String("csr1000v-s"), +// Name: pulumi.String("tf-csr1000v-s"), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput), +// Hostname: pulumi.String("csr1000v-s"), // Notifications: pulumi.StringArray{ // pulumi.String("john@equinix.com"), // pulumi.String("marry@equinix.com"), // }, -// AccountNumber: pulumi.String(sv.Number), +// AccountNumber: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput), // }, // }) // if err != nil { @@ -103,15 +105,14 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } -// _, err = networkedge.NewDevice(ctx, "panwCluster", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-panw"), -// MetroCode: pulumi.String(sv.MetroCode), +// _, err := networkedge.NewDevice(ctx, "panwCluster", &networkedge.DeviceArgs{ +// Name: pulumi.String("tf-panw"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("PA-VM"), // SelfManaged: pulumi.Bool(true), // Byol: pulumi.Bool(true), @@ -121,8 +122,10 @@ import ( // pulumi.String("marry@equinix.com"), // pulumi.String("fred@equinix.com"), // }, -// TermLength: pulumi.Int(12), -// AccountNumber: pulumi.String(sv.Number), +// TermLength: pulumi.Int(12), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // Version: pulumi.String("10.1.3"), // InterfaceCount: pulumi.Int(10), // CoreCount: pulumi.Int(2), @@ -176,22 +179,19 @@ import ( // if param := cfg.Get("filepath"); param != "" { // filepath = param // } -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// MetroCode: "SV", -// }, nil) -// if err != nil { -// return err -// } -// invokeFile, err := std.File(ctx, &std.FileArgs{ -// Input: filepath, +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } // aviatrixCloudinitFile, err := networkedge.NewNetworkFile(ctx, "aviatrixCloudinitFile", &networkedge.NetworkFileArgs{ -// FileName: pulumi.String("TF-AVX-cloud-init-file.txt"), -// Content: pulumi.String(invokeFile.Result), -// MetroCode: sv.MetroCode.ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), +// FileName: pulumi.String("TF-AVX-cloud-init-file.txt"), +// Content: pulumi.String(std.FileOutput(ctx, std.FileOutputArgs{ +// Input: pulumi.String(filepath), +// }, nil).ApplyT(func(invoke std.FileResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput)), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput).ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), // DeviceTypeCode: pulumi.String("AVIATRIX_EDGE"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), // SelfManaged: pulumi.Bool(true), @@ -201,8 +201,10 @@ import ( // return err // } // _, err = networkedge.NewDevice(ctx, "aviatrixSingle", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-aviatrix"), -// MetroCode: pulumi.String(sv.MetroCode), +// Name: pulumi.String("tf-aviatrix"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("AVIATRIX_EDGE"), // SelfManaged: pulumi.Bool(true), // Byol: pulumi.Bool(true), @@ -210,8 +212,10 @@ import ( // Notifications: pulumi.StringArray{ // pulumi.String("john@equinix.com"), // }, -// TermLength: pulumi.Int(12), -// AccountNumber: pulumi.String(sv.Number), +// TermLength: pulumi.Int(12), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // Version: pulumi.String("6.9"), // CoreCount: pulumi.Int(2), // CloudInitFileId: aviatrixCloudinitFile.Uuid, @@ -238,16 +242,15 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// Name: pulumi.StringRef("account-name"), -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// Name: pulumi.String("account-name"), +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } -// _, err = networkedge.NewDevice(ctx, "c8kvSingle", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-c8kv"), -// MetroCode: pulumi.String(sv.MetroCode), +// _, err := networkedge.NewDevice(ctx, "c8kvSingle", &networkedge.DeviceArgs{ +// Name: pulumi.String("tf-c8kv"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("C8000V"), // SelfManaged: pulumi.Bool(true), // Byol: pulumi.Bool(true), @@ -255,8 +258,10 @@ import ( // Notifications: pulumi.StringArray{ // pulumi.String("test@equinix.com"), // }, -// Hostname: pulumi.String("C8KV"), -// AccountNumber: pulumi.String(sv.Number), +// Hostname: pulumi.String("C8KV"), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // Version: pulumi.String("17.06.01a"), // CoreCount: pulumi.Int(2), // TermLength: pulumi.Int(12), @@ -289,16 +294,15 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// Name: pulumi.StringRef("account-name"), -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// Name: pulumi.String("account-name"), +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } -// _, err = networkedge.NewDevice(ctx, "vsrxSingle", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-c8kv-sdwan"), -// MetroCode: pulumi.String(sv.MetroCode), +// _, err := networkedge.NewDevice(ctx, "vsrxSingle", &networkedge.DeviceArgs{ +// Name: pulumi.String("tf-c8kv-sdwan"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("VSRX"), // SelfManaged: pulumi.Bool(true), // Byol: pulumi.Bool(true), @@ -306,8 +310,10 @@ import ( // Notifications: pulumi.StringArray{ // pulumi.String("test@equinix.com"), // }, -// Hostname: pulumi.String("VSRX"), -// AccountNumber: pulumi.String(sv.Number), +// Hostname: pulumi.String("VSRX"), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // Version: pulumi.String("23.2R1.13"), // CoreCount: pulumi.Int(2), // TermLength: pulumi.Int(12), @@ -341,13 +347,10 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// Name: pulumi.StringRef("account-name"), -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// Name: pulumi.String("account-name"), +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } // testPublicKey, err := networkedge.NewSshKey(ctx, "testPublicKey", &networkedge.SshKeyArgs{ // Name: pulumi.String("key-name"), // PublicKey: pulumi.String("ssh-dss key-value"), @@ -357,8 +360,10 @@ import ( // return err // } // _, err = networkedge.NewDevice(ctx, "aristaHa", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-arista-p"), -// MetroCode: pulumi.String(sv.MetroCode), +// Name: pulumi.String("tf-arista-p"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("ARISTA-ROUTER"), // SelfManaged: pulumi.Bool(true), // Connectivity: pulumi.String("PRIVATE"), @@ -367,8 +372,10 @@ import ( // Notifications: pulumi.StringArray{ // pulumi.String("test@equinix.com"), // }, -// Hostname: pulumi.String("arista-p"), -// AccountNumber: pulumi.String(sv.Number), +// Hostname: pulumi.String("arista-p"), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // Version: pulumi.String("4.29.0"), // CoreCount: pulumi.Int(4), // TermLength: pulumi.Int(12), @@ -379,13 +386,17 @@ import ( // }, // AclTemplateId: pulumi.String("c637a17b-7a6a-4486-924b-30e6c36904b0"), // SecondaryDevice: &networkedge.DeviceSecondaryDeviceArgs{ -// Name: pulumi.String("tf-arista-s"), -// MetroCode: pulumi.String(sv.MetroCode), -// Hostname: pulumi.String("arista-s"), +// Name: pulumi.String("tf-arista-s"), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput), +// Hostname: pulumi.String("arista-s"), // Notifications: pulumi.StringArray{ // pulumi.String("test@eq.com"), // }, -// AccountNumber: pulumi.String(sv.Number), +// AccountNumber: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput), // AclTemplateId: pulumi.String("fee5e2c0-6198-4ce6-9cbd-bbe6c1dbe138"), // }, // }) @@ -410,13 +421,10 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// Name: pulumi.StringRef("account-name"), -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// Name: pulumi.String("account-name"), +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } // testPublicKey, err := networkedge.NewSshKey(ctx, "testPublicKey", &networkedge.SshKeyArgs{ // Name: pulumi.String("key-name"), // PublicKey: pulumi.String("ssh-dss key-value"), @@ -426,8 +434,10 @@ import ( // return err // } // _, err = networkedge.NewDevice(ctx, "bluecatBddsHa", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-bluecat-bdds-p"), -// MetroCode: pulumi.String(sv.MetroCode), +// Name: pulumi.String("tf-bluecat-bdds-p"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("BLUECAT"), // SelfManaged: pulumi.Bool(true), // Connectivity: pulumi.String("PRIVATE"), @@ -436,10 +446,12 @@ import ( // Notifications: pulumi.StringArray{ // pulumi.String("test@equinix.com"), // }, -// AccountNumber: pulumi.String(sv.Number), -// Version: pulumi.String("9.6.0"), -// CoreCount: pulumi.Int(2), -// TermLength: pulumi.Int(12), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), +// Version: pulumi.String("9.6.0"), +// CoreCount: pulumi.Int(2), +// TermLength: pulumi.Int(12), // VendorConfiguration: pulumi.StringMap{ // "hostname": pulumi.String("test"), // "privateAddress": pulumi.String("x.x.x.x"), @@ -453,12 +465,16 @@ import ( // KeyName: testPublicKey.Name, // }, // SecondaryDevice: &networkedge.DeviceSecondaryDeviceArgs{ -// Name: pulumi.String("tf-bluecat-bdds-s"), -// MetroCode: pulumi.String(sv.MetroCode), +// Name: pulumi.String("tf-bluecat-bdds-s"), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput), // Notifications: pulumi.StringArray{ // pulumi.String("test@eq.com"), // }, -// AccountNumber: pulumi.String(sv.Number), +// AccountNumber: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput), // VendorConfiguration: pulumi.StringMap{ // "hostname": pulumi.String("test"), // "privateAddress": pulumi.String("x.x.x.x"), @@ -492,23 +508,20 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// Name: pulumi.StringRef("account-name"), -// MetroCode: "SV", -// }, nil) -// if err != nil { -// return err -// } -// invokeFile, err := std.File(ctx, &std.FileArgs{ -// Input: filepath, +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// Name: pulumi.String("account-name"), +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } // bluecatEdgeServicePointCloudinitPrimaryFile, err := networkedge.NewNetworkFile(ctx, "bluecatEdgeServicePointCloudinitPrimaryFile", &networkedge.NetworkFileArgs{ -// FileName: pulumi.String("TF-BLUECAT-ESP-cloud-init-file.txt"), -// Content: pulumi.String(invokeFile.Result), -// MetroCode: sv.MetroCode.ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), +// FileName: pulumi.String("TF-BLUECAT-ESP-cloud-init-file.txt"), +// Content: pulumi.String(std.FileOutput(ctx, std.FileOutputArgs{ +// Input: pulumi.Any(filepath), +// }, nil).ApplyT(func(invoke std.FileResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput)), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput).ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), // DeviceTypeCode: pulumi.String("BLUECAT-EDGE-SERVICE-POINT"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), // SelfManaged: pulumi.Bool(true), @@ -517,16 +530,16 @@ import ( // if err != nil { // return err // } -// invokeFile1, err := std.File(ctx, &std.FileArgs{ -// Input: filepath, -// }, nil) -// if err != nil { -// return err -// } // bluecatEdgeServicePointCloudinitSecondaryFile, err := networkedge.NewNetworkFile(ctx, "bluecatEdgeServicePointCloudinitSecondaryFile", &networkedge.NetworkFileArgs{ -// FileName: pulumi.String("TF-BLUECAT-ESP-cloud-init-file.txt"), -// Content: pulumi.String(invokeFile1.Result), -// MetroCode: sv.MetroCode.ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), +// FileName: pulumi.String("TF-BLUECAT-ESP-cloud-init-file.txt"), +// Content: pulumi.String(std.FileOutput(ctx, std.FileOutputArgs{ +// Input: pulumi.Any(filepath), +// }, nil).ApplyT(func(invoke std.FileResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput)), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput).ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), // DeviceTypeCode: pulumi.String("BLUECAT-EDGE-SERVICE-POINT"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), // SelfManaged: pulumi.Bool(true), @@ -536,8 +549,10 @@ import ( // return err // } // _, err = networkedge.NewDevice(ctx, "bluecatEdgeServicePointHa", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-bluecat-edge-service-point-p"), -// MetroCode: pulumi.String(sv.MetroCode), +// Name: pulumi.String("tf-bluecat-edge-service-point-p"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("BLUECAT-EDGE-SERVICE-POINT"), // SelfManaged: pulumi.Bool(true), // Connectivity: pulumi.String("PRIVATE"), @@ -546,18 +561,24 @@ import ( // Notifications: pulumi.StringArray{ // pulumi.String("test@equinix.com"), // }, -// AccountNumber: pulumi.String(sv.Number), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // CloudInitFileId: bluecatEdgeServicePointCloudinitPrimaryFile.Uuid, // Version: pulumi.String("4.6.3"), // CoreCount: pulumi.Int(4), // TermLength: pulumi.Int(12), // SecondaryDevice: &networkedge.DeviceSecondaryDeviceArgs{ -// Name: pulumi.String("tf-bluecat-edge-service-point-s"), -// MetroCode: pulumi.String(sv.MetroCode), +// Name: pulumi.String("tf-bluecat-edge-service-point-s"), +// MetroCode: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput), // Notifications: pulumi.StringArray{ // pulumi.String("test@eq.com"), // }, -// AccountNumber: pulumi.String(sv.Number), +// AccountNumber: sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput), // CloudInitFileId: bluecatEdgeServicePointCloudinitSecondaryFile.Uuid, // }, // }) @@ -582,15 +603,14 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// sv, err := networkedge.GetAccount(ctx, &networkedge.GetAccountArgs{ -// MetroCode: "SV", +// sv := networkedge.GetAccountOutput(ctx, networkedge.GetAccountOutputArgs{ +// MetroCode: pulumi.String("SV"), // }, nil) -// if err != nil { -// return err -// } -// _, err = networkedge.NewDevice(ctx, "panwCluster", &networkedge.DeviceArgs{ -// Name: pulumi.String("tf-panw"), -// MetroCode: pulumi.String(sv.MetroCode), +// _, err := networkedge.NewDevice(ctx, "panwCluster", &networkedge.DeviceArgs{ +// Name: pulumi.String("tf-panw"), +// MetroCode: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.MetroCode, nil +// }).(pulumi.StringPtrOutput)), // TypeCode: pulumi.String("PA-VM"), // SelfManaged: pulumi.Bool(true), // Byol: pulumi.Bool(true), @@ -600,8 +620,10 @@ import ( // pulumi.String("marry@equinix.com"), // pulumi.String("fred@equinix.com"), // }, -// TermLength: pulumi.Int(12), -// AccountNumber: pulumi.String(sv.Number), +// TermLength: pulumi.Int(12), +// AccountNumber: pulumi.String(sv.ApplyT(func(sv networkedge.GetAccountResult) (*string, error) { +// return &sv.Number, nil +// }).(pulumi.StringPtrOutput)), // Version: pulumi.String("11.1.3"), // InterfaceCount: pulumi.Int(10), // CoreCount: pulumi.Int(2), diff --git a/sdk/go/equinix/networkedge/networkFile.go b/sdk/go/equinix/networkedge/networkFile.go index b348247f..49d7413c 100644 --- a/sdk/go/equinix/networkedge/networkFile.go +++ b/sdk/go/equinix/networkedge/networkFile.go @@ -36,15 +36,13 @@ import ( // if param := cfg.Get("filepath"); param != "" { // filepath = param // } -// invokeFile, err := std.File(ctx, &std.FileArgs{ -// Input: filepath, -// }, nil) -// if err != nil { -// return err -// } -// _, err = networkedge.NewNetworkFile(ctx, "test-file", &networkedge.NetworkFileArgs{ -// FileName: pulumi.String("fileName.txt"), -// Content: pulumi.String(invokeFile.Result), +// _, err := networkedge.NewNetworkFile(ctx, "test-file", &networkedge.NetworkFileArgs{ +// FileName: pulumi.String("fileName.txt"), +// Content: pulumi.String(std.FileOutput(ctx, std.FileOutputArgs{ +// Input: pulumi.String(filepath), +// }, nil).ApplyT(func(invoke std.FileResult) (*string, error) { +// return invoke.Result, nil +// }).(pulumi.StringPtrOutput)), // MetroCode: pulumi.String(equinix.MetroSiliconValley), // DeviceTypeCode: pulumi.String("AVIATRIX_EDGE"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), diff --git a/sdk/python/pulumi_equinix/_utilities.py b/sdk/python/pulumi_equinix/_utilities.py index 56458a93..df7b16c8 100644 --- a/sdk/python/pulumi_equinix/_utilities.py +++ b/sdk/python/pulumi_equinix/_utilities.py @@ -264,7 +264,7 @@ def call_plain( output = pulumi.runtime.call(tok, props, res, typ) # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. - result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) + result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output))) problem = None if not known: diff --git a/sdk/python/pulumi_equinix/config/__init__.pyi b/sdk/python/pulumi_equinix/config/__init__.pyi index 2d7fcd6d..50ffd186 100644 --- a/sdk/python/pulumi_equinix/config/__init__.pyi +++ b/sdk/python/pulumi_equinix/config/__init__.pyi @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities authToken: Optional[str] diff --git a/sdk/python/pulumi_equinix/config/vars.py b/sdk/python/pulumi_equinix/config/vars.py index 6cfbe6da..60dd2caf 100644 --- a/sdk/python/pulumi_equinix/config/vars.py +++ b/sdk/python/pulumi_equinix/config/vars.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities import types diff --git a/sdk/python/pulumi_equinix/fabric/_inputs.py b/sdk/python/pulumi_equinix/fabric/_inputs.py index cf21cd64..7574a942 100644 --- a/sdk/python/pulumi_equinix/fabric/_inputs.py +++ b/sdk/python/pulumi_equinix/fabric/_inputs.py @@ -4,110 +4,220 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _enums as _root_enums from ._enums import * __all__ = [ 'CloudRouterAccountArgs', + 'CloudRouterAccountArgsDict', 'CloudRouterChangeLogArgs', + 'CloudRouterChangeLogArgsDict', 'CloudRouterLocationArgs', + 'CloudRouterLocationArgsDict', 'CloudRouterMarketplaceSubscriptionArgs', + 'CloudRouterMarketplaceSubscriptionArgsDict', 'CloudRouterNotificationArgs', + 'CloudRouterNotificationArgsDict', 'CloudRouterOrderArgs', + 'CloudRouterOrderArgsDict', 'CloudRouterPackageArgs', + 'CloudRouterPackageArgsDict', 'CloudRouterProjectArgs', + 'CloudRouterProjectArgsDict', 'ConnectionASideArgs', + 'ConnectionASideArgsDict', 'ConnectionASideAccessPointArgs', + 'ConnectionASideAccessPointArgsDict', 'ConnectionASideAccessPointAccountArgs', + 'ConnectionASideAccessPointAccountArgsDict', 'ConnectionASideAccessPointGatewayArgs', + 'ConnectionASideAccessPointGatewayArgsDict', 'ConnectionASideAccessPointInterfaceArgs', + 'ConnectionASideAccessPointInterfaceArgsDict', 'ConnectionASideAccessPointLinkProtocolArgs', + 'ConnectionASideAccessPointLinkProtocolArgsDict', 'ConnectionASideAccessPointLocationArgs', + 'ConnectionASideAccessPointLocationArgsDict', 'ConnectionASideAccessPointNetworkArgs', + 'ConnectionASideAccessPointNetworkArgsDict', 'ConnectionASideAccessPointPortArgs', + 'ConnectionASideAccessPointPortArgsDict', 'ConnectionASideAccessPointPortRedundancyArgs', + 'ConnectionASideAccessPointPortRedundancyArgsDict', 'ConnectionASideAccessPointProfileArgs', + 'ConnectionASideAccessPointProfileArgsDict', 'ConnectionASideAccessPointProfileAccessPointTypeConfigArgs', + 'ConnectionASideAccessPointProfileAccessPointTypeConfigArgsDict', 'ConnectionASideAccessPointRouterArgs', + 'ConnectionASideAccessPointRouterArgsDict', 'ConnectionASideAccessPointVirtualDeviceArgs', + 'ConnectionASideAccessPointVirtualDeviceArgsDict', 'ConnectionASideAdditionalInfoArgs', + 'ConnectionASideAdditionalInfoArgsDict', 'ConnectionASideServiceTokenArgs', + 'ConnectionASideServiceTokenArgsDict', 'ConnectionAccountArgs', + 'ConnectionAccountArgsDict', 'ConnectionChangeLogArgs', + 'ConnectionChangeLogArgsDict', 'ConnectionNotificationArgs', + 'ConnectionNotificationArgsDict', 'ConnectionOperationArgs', + 'ConnectionOperationArgsDict', 'ConnectionOperationErrorArgs', + 'ConnectionOperationErrorArgsDict', 'ConnectionOperationErrorAdditionalInfoArgs', + 'ConnectionOperationErrorAdditionalInfoArgsDict', 'ConnectionOrderArgs', + 'ConnectionOrderArgsDict', 'ConnectionProjectArgs', + 'ConnectionProjectArgsDict', 'ConnectionRedundancyArgs', + 'ConnectionRedundancyArgsDict', 'ConnectionZSideArgs', + 'ConnectionZSideArgsDict', 'ConnectionZSideAccessPointArgs', + 'ConnectionZSideAccessPointArgsDict', 'ConnectionZSideAccessPointAccountArgs', + 'ConnectionZSideAccessPointAccountArgsDict', 'ConnectionZSideAccessPointGatewayArgs', + 'ConnectionZSideAccessPointGatewayArgsDict', 'ConnectionZSideAccessPointInterfaceArgs', + 'ConnectionZSideAccessPointInterfaceArgsDict', 'ConnectionZSideAccessPointLinkProtocolArgs', + 'ConnectionZSideAccessPointLinkProtocolArgsDict', 'ConnectionZSideAccessPointLocationArgs', + 'ConnectionZSideAccessPointLocationArgsDict', 'ConnectionZSideAccessPointNetworkArgs', + 'ConnectionZSideAccessPointNetworkArgsDict', 'ConnectionZSideAccessPointPortArgs', + 'ConnectionZSideAccessPointPortArgsDict', 'ConnectionZSideAccessPointPortRedundancyArgs', + 'ConnectionZSideAccessPointPortRedundancyArgsDict', 'ConnectionZSideAccessPointProfileArgs', + 'ConnectionZSideAccessPointProfileArgsDict', 'ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs', + 'ConnectionZSideAccessPointProfileAccessPointTypeConfigArgsDict', 'ConnectionZSideAccessPointRouterArgs', + 'ConnectionZSideAccessPointRouterArgsDict', 'ConnectionZSideAccessPointVirtualDeviceArgs', + 'ConnectionZSideAccessPointVirtualDeviceArgsDict', 'ConnectionZSideAdditionalInfoArgs', + 'ConnectionZSideAdditionalInfoArgsDict', 'ConnectionZSideServiceTokenArgs', + 'ConnectionZSideServiceTokenArgsDict', 'NetworkChangeArgs', + 'NetworkChangeArgsDict', 'NetworkChangeLogArgs', + 'NetworkChangeLogArgsDict', 'NetworkLocationArgs', + 'NetworkLocationArgsDict', 'NetworkNotificationArgs', + 'NetworkNotificationArgsDict', 'NetworkOperationArgs', + 'NetworkOperationArgsDict', 'NetworkProjectArgs', + 'NetworkProjectArgsDict', 'RoutingProtocolBfdArgs', + 'RoutingProtocolBfdArgsDict', 'RoutingProtocolBgpIpv4Args', + 'RoutingProtocolBgpIpv4ArgsDict', 'RoutingProtocolBgpIpv6Args', + 'RoutingProtocolBgpIpv6ArgsDict', 'RoutingProtocolChangeArgs', + 'RoutingProtocolChangeArgsDict', 'RoutingProtocolChangeLogArgs', + 'RoutingProtocolChangeLogArgsDict', 'RoutingProtocolDirectIpv4Args', + 'RoutingProtocolDirectIpv4ArgsDict', 'RoutingProtocolDirectIpv6Args', + 'RoutingProtocolDirectIpv6ArgsDict', 'RoutingProtocolOperationArgs', + 'RoutingProtocolOperationArgsDict', 'RoutingProtocolOperationErrorArgs', + 'RoutingProtocolOperationErrorArgsDict', 'RoutingProtocolOperationErrorAdditionalInfoArgs', + 'RoutingProtocolOperationErrorAdditionalInfoArgsDict', 'ServiceProfileAccessPointTypeConfigArgs', + 'ServiceProfileAccessPointTypeConfigArgsDict', 'ServiceProfileAccessPointTypeConfigApiConfigArgs', + 'ServiceProfileAccessPointTypeConfigApiConfigArgsDict', 'ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs', + 'ServiceProfileAccessPointTypeConfigAuthenticationKeyArgsDict', 'ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs', + 'ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgsDict', 'ServiceProfileAccountArgs', + 'ServiceProfileAccountArgsDict', 'ServiceProfileChangeLogArgs', + 'ServiceProfileChangeLogArgsDict', 'ServiceProfileCustomFieldArgs', + 'ServiceProfileCustomFieldArgsDict', 'ServiceProfileMarketingInfoArgs', + 'ServiceProfileMarketingInfoArgsDict', 'ServiceProfileMarketingInfoProcessStepArgs', + 'ServiceProfileMarketingInfoProcessStepArgsDict', 'ServiceProfileMetroArgs', + 'ServiceProfileMetroArgsDict', 'ServiceProfileNotificationArgs', + 'ServiceProfileNotificationArgsDict', 'ServiceProfilePortArgs', + 'ServiceProfilePortArgsDict', 'ServiceProfilePortLocationArgs', + 'ServiceProfilePortLocationArgsDict', 'ServiceProfileProjectArgs', + 'ServiceProfileProjectArgsDict', 'ServiceProfileVirtualDeviceArgs', + 'ServiceProfileVirtualDeviceArgsDict', 'ServiceProfileVirtualDeviceLocationArgs', + 'ServiceProfileVirtualDeviceLocationArgsDict', 'GetCloudRoutersFilterArgs', + 'GetCloudRoutersFilterArgsDict', 'GetCloudRoutersPaginationArgs', + 'GetCloudRoutersPaginationArgsDict', 'GetCloudRoutersSortArgs', + 'GetCloudRoutersSortArgsDict', 'GetConnectionsFilterArgs', + 'GetConnectionsFilterArgsDict', 'GetConnectionsPaginationArgs', + 'GetConnectionsPaginationArgsDict', 'GetConnectionsSortArgs', + 'GetConnectionsSortArgsDict', 'GetNetworksFilterArgs', + 'GetNetworksFilterArgsDict', 'GetNetworksPaginationArgs', + 'GetNetworksPaginationArgsDict', 'GetNetworksSortArgs', + 'GetNetworksSortArgsDict', 'GetPortsFilterArgs', + 'GetPortsFilterArgsDict', 'GetServiceProfilesFilterArgs', + 'GetServiceProfilesFilterArgsDict', 'GetServiceProfilesPaginationArgs', + 'GetServiceProfilesPaginationArgsDict', 'GetServiceProfilesSortArgs', + 'GetServiceProfilesSortArgsDict', ] +MYPY = False + +if not MYPY: + class CloudRouterAccountArgsDict(TypedDict): + account_number: pulumi.Input[int] + """ + Account Number + """ +elif False: + CloudRouterAccountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterAccountArgs: def __init__(__self__, *, @@ -130,6 +240,59 @@ def account_number(self, value: pulumi.Input[int]): pulumi.set(self, "account_number", value) +if not MYPY: + class CloudRouterChangeLogArgsDict(TypedDict): + created_by: NotRequired[pulumi.Input[str]] + """ + Created by User Key + """ + created_by_email: NotRequired[pulumi.Input[str]] + """ + Created by User Email Address + """ + created_by_full_name: NotRequired[pulumi.Input[str]] + """ + Created by User Full Name + """ + created_date_time: NotRequired[pulumi.Input[str]] + """ + Created by Date and Time + """ + deleted_by: NotRequired[pulumi.Input[str]] + """ + Deleted by User Key + """ + deleted_by_email: NotRequired[pulumi.Input[str]] + """ + Deleted by User Email Address + """ + deleted_by_full_name: NotRequired[pulumi.Input[str]] + """ + Deleted by User Full Name + """ + deleted_date_time: NotRequired[pulumi.Input[str]] + """ + Deleted by Date and Time + """ + updated_by: NotRequired[pulumi.Input[str]] + """ + Updated by User Key + """ + updated_by_email: NotRequired[pulumi.Input[str]] + """ + Updated by User Email Address + """ + updated_by_full_name: NotRequired[pulumi.Input[str]] + """ + Updated by User Full Name + """ + updated_date_time: NotRequired[pulumi.Input[str]] + """ + Updated by Date and Time + """ +elif False: + CloudRouterChangeLogArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterChangeLogArgs: def __init__(__self__, *, @@ -329,6 +492,27 @@ def updated_date_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "updated_date_time", value) +if not MYPY: + class CloudRouterLocationArgsDict(TypedDict): + ibx: NotRequired[pulumi.Input[str]] + """ + IBX Code + """ + metro_code: NotRequired[pulumi.Input[str]] + """ + Access point metro code + """ + metro_name: NotRequired[pulumi.Input[str]] + """ + Access point metro name + """ + region: NotRequired[pulumi.Input[str]] + """ + Access point region + """ +elif False: + CloudRouterLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterLocationArgs: def __init__(__self__, *, @@ -400,6 +584,19 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class CloudRouterMarketplaceSubscriptionArgsDict(TypedDict): + uuid: pulumi.Input[str] + """ + Equinix-assigned Marketplace Subscription identifier + """ + type: NotRequired[pulumi.Input[str]] + """ + Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + """ +elif False: + CloudRouterMarketplaceSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterMarketplaceSubscriptionArgs: def __init__(__self__, *, @@ -438,6 +635,23 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class CloudRouterNotificationArgsDict(TypedDict): + emails: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Array of contact emails + """ + type: pulumi.Input[str] + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + send_interval: NotRequired[pulumi.Input[str]] + """ + Send interval + """ +elif False: + CloudRouterNotificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterNotificationArgs: def __init__(__self__, *, @@ -491,6 +705,27 @@ def send_interval(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "send_interval", value) +if not MYPY: + class CloudRouterOrderArgsDict(TypedDict): + billing_tier: NotRequired[pulumi.Input[str]] + """ + Billing tier for connection bandwidth + """ + order_id: NotRequired[pulumi.Input[str]] + """ + Order Identification + """ + order_number: NotRequired[pulumi.Input[str]] + """ + Order Reference Number + """ + purchase_order_number: NotRequired[pulumi.Input[str]] + """ + Purchase order number + """ +elif False: + CloudRouterOrderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterOrderArgs: def __init__(__self__, *, @@ -562,6 +797,15 @@ def purchase_order_number(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "purchase_order_number", value) +if not MYPY: + class CloudRouterPackageArgsDict(TypedDict): + code: pulumi.Input[str] + """ + Fabric Cloud Router package code + """ +elif False: + CloudRouterPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterPackageArgs: def __init__(__self__, *, @@ -584,6 +828,19 @@ def code(self, value: pulumi.Input[str]): pulumi.set(self, "code", value) +if not MYPY: + class CloudRouterProjectArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource URL + """ + project_id: NotRequired[pulumi.Input[str]] + """ + Project Id + """ +elif False: + CloudRouterProjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudRouterProjectArgs: def __init__(__self__, *, @@ -623,6 +880,23 @@ def project_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "project_id", value) +if not MYPY: + class ConnectionASideArgsDict(TypedDict): + access_point: NotRequired[pulumi.Input['ConnectionASideAccessPointArgsDict']] + """ + Point of access details + """ + additional_info: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAdditionalInfoArgsDict']]]] + """ + Connection side additional information + """ + service_token: NotRequired[pulumi.Input['ConnectionASideServiceTokenArgsDict']] + """ + For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + """ +elif False: + ConnectionASideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideArgs: def __init__(__self__, *, @@ -678,6 +952,71 @@ def service_token(self, value: Optional[pulumi.Input['ConnectionASideServiceToke pulumi.set(self, "service_token", value) +if not MYPY: + class ConnectionASideAccessPointArgsDict(TypedDict): + account: NotRequired[pulumi.Input['ConnectionASideAccessPointAccountArgsDict']] + """ + Account + """ + authentication_key: NotRequired[pulumi.Input[str]] + """ + Authentication key for provider based connections or Metal-Fabric Integration connections + """ + gateway: NotRequired[pulumi.Input['ConnectionASideAccessPointGatewayArgsDict']] + """ + **Deprecated** `gateway` Use `router` attribute instead + """ + interface: NotRequired[pulumi.Input['ConnectionASideAccessPointInterfaceArgsDict']] + """ + Virtual device interface + """ + link_protocol: NotRequired[pulumi.Input['ConnectionASideAccessPointLinkProtocolArgsDict']] + """ + Connection link protocol + """ + location: NotRequired[pulumi.Input['ConnectionASideAccessPointLocationArgsDict']] + """ + Access point location + """ + network: NotRequired[pulumi.Input['ConnectionASideAccessPointNetworkArgsDict']] + """ + network access point information + """ + peering_type: NotRequired[pulumi.Input[Union[str, 'AccessPointPeeringType']]] + """ + Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + """ + port: NotRequired[pulumi.Input['ConnectionASideAccessPointPortArgsDict']] + """ + Port access point information + """ + profile: NotRequired[pulumi.Input['ConnectionASideAccessPointProfileArgsDict']] + """ + Service Profile + """ + provider_connection_id: NotRequired[pulumi.Input[str]] + """ + Provider assigned Connection Id + """ + router: NotRequired[pulumi.Input['ConnectionASideAccessPointRouterArgsDict']] + """ + Cloud Router access point information that replaces `gateway` + """ + seller_region: NotRequired[pulumi.Input[str]] + """ + Access point seller region + """ + type: NotRequired[pulumi.Input[Union[str, 'AccessPointType']]] + """ + Access point type - COLO, VD, VG, SP, IGW, SUBNET, CLOUD*ROUTER, NETWORK, METAL*NETWORK + """ + virtual_device: NotRequired[pulumi.Input['ConnectionASideAccessPointVirtualDeviceArgsDict']] + """ + Virtual device + """ +elif False: + ConnectionASideAccessPointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointArgs: def __init__(__self__, *, @@ -929,6 +1268,43 @@ def virtual_device(self, value: Optional[pulumi.Input['ConnectionASideAccessPoin pulumi.set(self, "virtual_device", value) +if not MYPY: + class ConnectionASideAccessPointAccountArgsDict(TypedDict): + account_name: NotRequired[pulumi.Input[str]] + """ + Legal name of the accountholder. + """ + account_number: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned account number. + """ + global_cust_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_org_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's parent organization. + """ + org_id: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned ID of the subscriber's organization. + """ + organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's organization. + """ + ucm_id: NotRequired[pulumi.Input[str]] + """ + Enterprise datastore id + """ +elif False: + ConnectionASideAccessPointAccountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointAccountArgs: def __init__(__self__, *, @@ -1064,6 +1440,19 @@ def ucm_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ucm_id", value) +if not MYPY: + class ConnectionASideAccessPointGatewayArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned virtual gateway identifier + """ +elif False: + ConnectionASideAccessPointGatewayArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointGatewayArgs: def __init__(__self__, *, @@ -1103,6 +1492,23 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAccessPointInterfaceArgsDict(TypedDict): + id: NotRequired[pulumi.Input[int]] + """ + id + """ + type: NotRequired[pulumi.Input[str]] + """ + Interface type + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned interface identifier + """ +elif False: + ConnectionASideAccessPointInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointInterfaceArgs: def __init__(__self__, *, @@ -1158,6 +1564,27 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAccessPointLinkProtocolArgsDict(TypedDict): + type: NotRequired[pulumi.Input[Union[str, 'AccessPointLinkProtocolType']]] + """ + Type of the link protocol - UNTAGGED, DOT1Q, QINQ, EVPN_VXLAN + """ + vlan_c_tag: NotRequired[pulumi.Input[int]] + """ + Vlan Customer Tag information, vlanCTag value specified for QINQ connections + """ + vlan_s_tag: NotRequired[pulumi.Input[int]] + """ + Vlan Provider Tag information, vlanSTag value specified for QINQ connections + """ + vlan_tag: NotRequired[pulumi.Input[int]] + """ + Vlan Tag information, vlanTag value specified for DOT1Q connections + """ +elif False: + ConnectionASideAccessPointLinkProtocolArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointLinkProtocolArgs: def __init__(__self__, *, @@ -1229,6 +1656,27 @@ def vlan_tag(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "vlan_tag", value) +if not MYPY: + class ConnectionASideAccessPointLocationArgsDict(TypedDict): + ibx: NotRequired[pulumi.Input[str]] + """ + IBX Code + """ + metro_code: NotRequired[pulumi.Input[Union[str, '_root_enums.Metro']]] + """ + Access point metro code + """ + metro_name: NotRequired[pulumi.Input[str]] + """ + Access point metro name + """ + region: NotRequired[pulumi.Input[str]] + """ + Access point region + """ +elif False: + ConnectionASideAccessPointLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointLocationArgs: def __init__(__self__, *, @@ -1300,6 +1748,19 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class ConnectionASideAccessPointNetworkArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned Network identifier + """ +elif False: + ConnectionASideAccessPointNetworkArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointNetworkArgs: def __init__(__self__, *, @@ -1339,6 +1800,27 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAccessPointPortArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + name: NotRequired[pulumi.Input[str]] + """ + Port name + """ + redundancy: NotRequired[pulumi.Input['ConnectionASideAccessPointPortRedundancyArgsDict']] + """ + Redundancy Information + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned Port identifier + """ +elif False: + ConnectionASideAccessPointPortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointPortArgs: def __init__(__self__, *, @@ -1410,6 +1892,23 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAccessPointPortRedundancyArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Access point redundancy + """ + group: NotRequired[pulumi.Input[str]] + """ + Port redundancy group + """ + priority: NotRequired[pulumi.Input[str]] + """ + Priority type-Primary or Secondary + """ +elif False: + ConnectionASideAccessPointPortRedundancyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointPortRedundancyArgs: def __init__(__self__, *, @@ -1465,12 +1964,41 @@ def priority(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "priority", value) -@pulumi.input_type -class ConnectionASideAccessPointProfileArgs: - def __init__(__self__, *, - type: pulumi.Input[Union[str, 'ProfileType']], - uuid: pulumi.Input[str], - access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs']]]] = None, +if not MYPY: + class ConnectionASideAccessPointProfileArgsDict(TypedDict): + type: pulumi.Input[Union[str, 'ProfileType']] + """ + Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE + """ + uuid: pulumi.Input[str] + """ + Equinix assigned service profile identifier + """ + access_point_type_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgsDict']]]] + """ + Access point config information + """ + description: NotRequired[pulumi.Input[str]] + """ + User-provided service description + """ + href: NotRequired[pulumi.Input[str]] + """ + Service Profile URI response attribute + """ + name: NotRequired[pulumi.Input[str]] + """ + Customer-assigned service profile name + """ +elif False: + ConnectionASideAccessPointProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ConnectionASideAccessPointProfileArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ProfileType']], + uuid: pulumi.Input[str], + access_point_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionASideAccessPointProfileAccessPointTypeConfigArgs']]]] = None, description: Optional[pulumi.Input[str]] = None, href: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None): @@ -1566,6 +2094,19 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class ConnectionASideAccessPointProfileAccessPointTypeConfigArgsDict(TypedDict): + type: NotRequired[pulumi.Input[str]] + """ + Type of access point type config - VD, COLO + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned access point type config identifier + """ +elif False: + ConnectionASideAccessPointProfileAccessPointTypeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointProfileAccessPointTypeConfigArgs: def __init__(__self__, *, @@ -1605,6 +2146,19 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAccessPointRouterArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned virtual gateway identifier + """ +elif False: + ConnectionASideAccessPointRouterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointRouterArgs: def __init__(__self__, *, @@ -1644,6 +2198,27 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAccessPointVirtualDeviceArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + name: NotRequired[pulumi.Input[str]] + """ + Customer-assigned Virtual Device Name + """ + type: NotRequired[pulumi.Input[str]] + """ + Virtual Device type + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned Virtual Device identifier + """ +elif False: + ConnectionASideAccessPointVirtualDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAccessPointVirtualDeviceArgs: def __init__(__self__, *, @@ -1715,6 +2290,19 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionASideAdditionalInfoArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + Additional information key + """ + value: NotRequired[pulumi.Input[str]] + """ + Additional information value + """ +elif False: + ConnectionASideAdditionalInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideAdditionalInfoArgs: def __init__(__self__, *, @@ -1754,6 +2342,27 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ConnectionASideServiceTokenArgsDict(TypedDict): + description: NotRequired[pulumi.Input[str]] + """ + Service token description + """ + href: NotRequired[pulumi.Input[str]] + """ + An absolute URL that is the subject of the link's context + """ + type: NotRequired[pulumi.Input[Union[str, 'ServiceTokenType']]] + """ + Token type - VC_TOKEN + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned service token identifier + """ +elif False: + ConnectionASideServiceTokenArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionASideServiceTokenArgs: def __init__(__self__, *, @@ -1825,6 +2434,43 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionAccountArgsDict(TypedDict): + account_name: NotRequired[pulumi.Input[str]] + """ + Legal name of the accountholder. + """ + account_number: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned account number. + """ + global_cust_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_org_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's parent organization. + """ + org_id: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned ID of the subscriber's organization. + """ + organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's organization. + """ + ucm_id: NotRequired[pulumi.Input[str]] + """ + Enterprise datastore id + """ +elif False: + ConnectionAccountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionAccountArgs: def __init__(__self__, *, @@ -1960,6 +2606,59 @@ def ucm_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ucm_id", value) +if not MYPY: + class ConnectionChangeLogArgsDict(TypedDict): + created_by: NotRequired[pulumi.Input[str]] + """ + Created by User Key + """ + created_by_email: NotRequired[pulumi.Input[str]] + """ + Created by User Email Address + """ + created_by_full_name: NotRequired[pulumi.Input[str]] + """ + Created by User Full Name + """ + created_date_time: NotRequired[pulumi.Input[str]] + """ + Created by Date and Time + """ + deleted_by: NotRequired[pulumi.Input[str]] + """ + Deleted by User Key + """ + deleted_by_email: NotRequired[pulumi.Input[str]] + """ + Deleted by User Email Address + """ + deleted_by_full_name: NotRequired[pulumi.Input[str]] + """ + Deleted by User Full Name + """ + deleted_date_time: NotRequired[pulumi.Input[str]] + """ + Deleted by Date and Time + """ + updated_by: NotRequired[pulumi.Input[str]] + """ + Updated by User Key + """ + updated_by_email: NotRequired[pulumi.Input[str]] + """ + Updated by User Email Address + """ + updated_by_full_name: NotRequired[pulumi.Input[str]] + """ + Updated by User Full Name + """ + updated_date_time: NotRequired[pulumi.Input[str]] + """ + Updated by Date and Time + """ +elif False: + ConnectionChangeLogArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionChangeLogArgs: def __init__(__self__, *, @@ -2159,6 +2858,23 @@ def updated_date_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "updated_date_time", value) +if not MYPY: + class ConnectionNotificationArgsDict(TypedDict): + emails: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Array of contact emails + """ + type: pulumi.Input[Union[str, 'NotificationsType']] + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + send_interval: NotRequired[pulumi.Input[str]] + """ + Send interval + """ +elif False: + ConnectionNotificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionNotificationArgs: def __init__(__self__, *, @@ -2212,6 +2928,23 @@ def send_interval(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "send_interval", value) +if not MYPY: + class ConnectionOperationArgsDict(TypedDict): + equinix_status: NotRequired[pulumi.Input[str]] + """ + Connection status + """ + errors: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorArgsDict']]]] + """ + Errors occurred + """ + provider_status: NotRequired[pulumi.Input[str]] + """ + Connection provider readiness status + """ +elif False: + ConnectionOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionOperationArgs: def __init__(__self__, *, @@ -2267,6 +3000,35 @@ def provider_status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "provider_status", value) +if not MYPY: + class ConnectionOperationErrorArgsDict(TypedDict): + additional_info: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionOperationErrorAdditionalInfoArgsDict']]]] + """ + Pricing error additional Info + """ + correlation_id: NotRequired[pulumi.Input[str]] + """ + CorrelationId + """ + details: NotRequired[pulumi.Input[str]] + """ + Details + """ + error_code: NotRequired[pulumi.Input[str]] + """ + Error code + """ + error_message: NotRequired[pulumi.Input[str]] + """ + Error Message + """ + help: NotRequired[pulumi.Input[str]] + """ + Help + """ +elif False: + ConnectionOperationErrorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionOperationErrorArgs: def __init__(__self__, *, @@ -2370,6 +3132,19 @@ def help(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "help", value) +if not MYPY: + class ConnectionOperationErrorAdditionalInfoArgsDict(TypedDict): + property: NotRequired[pulumi.Input[str]] + """ + Property at which the error potentially occurred + """ + reason: NotRequired[pulumi.Input[str]] + """ + Reason for the error + """ +elif False: + ConnectionOperationErrorAdditionalInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionOperationErrorAdditionalInfoArgs: def __init__(__self__, *, @@ -2409,6 +3184,27 @@ def property(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property", value) +if not MYPY: + class ConnectionOrderArgsDict(TypedDict): + billing_tier: NotRequired[pulumi.Input[str]] + """ + Billing tier for connection bandwidth + """ + order_id: NotRequired[pulumi.Input[str]] + """ + Order Identification + """ + order_number: NotRequired[pulumi.Input[str]] + """ + Order Reference Number + """ + purchase_order_number: NotRequired[pulumi.Input[str]] + """ + Purchase order number + """ +elif False: + ConnectionOrderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionOrderArgs: def __init__(__self__, *, @@ -2480,6 +3276,19 @@ def purchase_order_number(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "purchase_order_number", value) +if not MYPY: + class ConnectionProjectArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource URL + """ + project_id: NotRequired[pulumi.Input[str]] + """ + Project Id + """ +elif False: + ConnectionProjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionProjectArgs: def __init__(__self__, *, @@ -2519,6 +3328,19 @@ def project_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "project_id", value) +if not MYPY: + class ConnectionRedundancyArgsDict(TypedDict): + group: NotRequired[pulumi.Input[str]] + """ + Redundancy group identifier (Use the redundancy.0.group UUID of primary connection; e.g. one(equinix*fabric*connection.primary*port*connection.redundancy).group or equinix*fabric*connection.primary*port*connection.redundancy.0.group) + """ + priority: NotRequired[pulumi.Input[str]] + """ + Connection priority in redundancy group - PRIMARY, SECONDARY + """ +elif False: + ConnectionRedundancyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionRedundancyArgs: def __init__(__self__, *, @@ -2558,6 +3380,23 @@ def priority(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "priority", value) +if not MYPY: + class ConnectionZSideArgsDict(TypedDict): + access_point: NotRequired[pulumi.Input['ConnectionZSideAccessPointArgsDict']] + """ + Point of access details + """ + additional_info: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAdditionalInfoArgsDict']]]] + """ + Connection side additional information + """ + service_token: NotRequired[pulumi.Input['ConnectionZSideServiceTokenArgsDict']] + """ + For service token based connections, Service tokens authorize users to access protected resources and services. Resource owners can distribute the tokens to trusted partners and vendors, allowing selected third parties to work directly with Equinix network assets + """ +elif False: + ConnectionZSideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideArgs: def __init__(__self__, *, @@ -2613,6 +3452,71 @@ def service_token(self, value: Optional[pulumi.Input['ConnectionZSideServiceToke pulumi.set(self, "service_token", value) +if not MYPY: + class ConnectionZSideAccessPointArgsDict(TypedDict): + account: NotRequired[pulumi.Input['ConnectionZSideAccessPointAccountArgsDict']] + """ + Account + """ + authentication_key: NotRequired[pulumi.Input[str]] + """ + Authentication key for provider based connections or Metal-Fabric Integration connections + """ + gateway: NotRequired[pulumi.Input['ConnectionZSideAccessPointGatewayArgsDict']] + """ + **Deprecated** `gateway` Use `router` attribute instead + """ + interface: NotRequired[pulumi.Input['ConnectionZSideAccessPointInterfaceArgsDict']] + """ + Virtual device interface + """ + link_protocol: NotRequired[pulumi.Input['ConnectionZSideAccessPointLinkProtocolArgsDict']] + """ + Connection link protocol + """ + location: NotRequired[pulumi.Input['ConnectionZSideAccessPointLocationArgsDict']] + """ + Access point location + """ + network: NotRequired[pulumi.Input['ConnectionZSideAccessPointNetworkArgsDict']] + """ + network access point information + """ + peering_type: NotRequired[pulumi.Input[Union[str, 'AccessPointPeeringType']]] + """ + Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL + """ + port: NotRequired[pulumi.Input['ConnectionZSideAccessPointPortArgsDict']] + """ + Port access point information + """ + profile: NotRequired[pulumi.Input['ConnectionZSideAccessPointProfileArgsDict']] + """ + Service Profile + """ + provider_connection_id: NotRequired[pulumi.Input[str]] + """ + Provider assigned Connection Id + """ + router: NotRequired[pulumi.Input['ConnectionZSideAccessPointRouterArgsDict']] + """ + Cloud Router access point information that replaces `gateway` + """ + seller_region: NotRequired[pulumi.Input[str]] + """ + Access point seller region + """ + type: NotRequired[pulumi.Input[Union[str, 'AccessPointType']]] + """ + Access point type - COLO, VD, VG, SP, IGW, SUBNET, CLOUD*ROUTER, NETWORK, METAL*NETWORK + """ + virtual_device: NotRequired[pulumi.Input['ConnectionZSideAccessPointVirtualDeviceArgsDict']] + """ + Virtual device + """ +elif False: + ConnectionZSideAccessPointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointArgs: def __init__(__self__, *, @@ -2864,6 +3768,43 @@ def virtual_device(self, value: Optional[pulumi.Input['ConnectionZSideAccessPoin pulumi.set(self, "virtual_device", value) +if not MYPY: + class ConnectionZSideAccessPointAccountArgsDict(TypedDict): + account_name: NotRequired[pulumi.Input[str]] + """ + Legal name of the accountholder. + """ + account_number: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned account number. + """ + global_cust_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_org_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's parent organization. + """ + org_id: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned ID of the subscriber's organization. + """ + organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's organization. + """ + ucm_id: NotRequired[pulumi.Input[str]] + """ + Enterprise datastore id + """ +elif False: + ConnectionZSideAccessPointAccountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointAccountArgs: def __init__(__self__, *, @@ -2999,6 +3940,19 @@ def ucm_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ucm_id", value) +if not MYPY: + class ConnectionZSideAccessPointGatewayArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned virtual gateway identifier + """ +elif False: + ConnectionZSideAccessPointGatewayArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointGatewayArgs: def __init__(__self__, *, @@ -3038,6 +3992,23 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAccessPointInterfaceArgsDict(TypedDict): + id: NotRequired[pulumi.Input[int]] + """ + id + """ + type: NotRequired[pulumi.Input[str]] + """ + Interface type + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned interface identifier + """ +elif False: + ConnectionZSideAccessPointInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointInterfaceArgs: def __init__(__self__, *, @@ -3093,6 +4064,27 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAccessPointLinkProtocolArgsDict(TypedDict): + type: NotRequired[pulumi.Input[Union[str, 'AccessPointLinkProtocolType']]] + """ + Type of the link protocol - UNTAGGED, DOT1Q, QINQ, EVPN_VXLAN + """ + vlan_c_tag: NotRequired[pulumi.Input[int]] + """ + Vlan Customer Tag information, vlanCTag value specified for QINQ connections + """ + vlan_s_tag: NotRequired[pulumi.Input[int]] + """ + Vlan Provider Tag information, vlanSTag value specified for QINQ connections + """ + vlan_tag: NotRequired[pulumi.Input[int]] + """ + Vlan Tag information, vlanTag value specified for DOT1Q connections + """ +elif False: + ConnectionZSideAccessPointLinkProtocolArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointLinkProtocolArgs: def __init__(__self__, *, @@ -3164,6 +4156,27 @@ def vlan_tag(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "vlan_tag", value) +if not MYPY: + class ConnectionZSideAccessPointLocationArgsDict(TypedDict): + ibx: NotRequired[pulumi.Input[str]] + """ + IBX Code + """ + metro_code: NotRequired[pulumi.Input[Union[str, '_root_enums.Metro']]] + """ + Access point metro code + """ + metro_name: NotRequired[pulumi.Input[str]] + """ + Access point metro name + """ + region: NotRequired[pulumi.Input[str]] + """ + Access point region + """ +elif False: + ConnectionZSideAccessPointLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointLocationArgs: def __init__(__self__, *, @@ -3235,6 +4248,19 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class ConnectionZSideAccessPointNetworkArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned Network identifier + """ +elif False: + ConnectionZSideAccessPointNetworkArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointNetworkArgs: def __init__(__self__, *, @@ -3274,6 +4300,27 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAccessPointPortArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + name: NotRequired[pulumi.Input[str]] + """ + Port name + """ + redundancy: NotRequired[pulumi.Input['ConnectionZSideAccessPointPortRedundancyArgsDict']] + """ + Redundancy Information + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned Port identifier + """ +elif False: + ConnectionZSideAccessPointPortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointPortArgs: def __init__(__self__, *, @@ -3345,6 +4392,23 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAccessPointPortRedundancyArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Access point redundancy + """ + group: NotRequired[pulumi.Input[str]] + """ + Port redundancy group + """ + priority: NotRequired[pulumi.Input[str]] + """ + Priority type-Primary or Secondary + """ +elif False: + ConnectionZSideAccessPointPortRedundancyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointPortRedundancyArgs: def __init__(__self__, *, @@ -3400,6 +4464,35 @@ def priority(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "priority", value) +if not MYPY: + class ConnectionZSideAccessPointProfileArgsDict(TypedDict): + type: pulumi.Input[Union[str, 'ProfileType']] + """ + Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE + """ + uuid: pulumi.Input[str] + """ + Equinix assigned service profile identifier + """ + access_point_type_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionZSideAccessPointProfileAccessPointTypeConfigArgsDict']]]] + """ + Access point config information + """ + description: NotRequired[pulumi.Input[str]] + """ + User-provided service description + """ + href: NotRequired[pulumi.Input[str]] + """ + Service Profile URI response attribute + """ + name: NotRequired[pulumi.Input[str]] + """ + Customer-assigned service profile name + """ +elif False: + ConnectionZSideAccessPointProfileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointProfileArgs: def __init__(__self__, *, @@ -3501,6 +4594,19 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class ConnectionZSideAccessPointProfileAccessPointTypeConfigArgsDict(TypedDict): + type: NotRequired[pulumi.Input[str]] + """ + Type of access point type config - VD, COLO + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned access point type config identifier + """ +elif False: + ConnectionZSideAccessPointProfileAccessPointTypeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointProfileAccessPointTypeConfigArgs: def __init__(__self__, *, @@ -3540,6 +4646,19 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAccessPointRouterArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned virtual gateway identifier + """ +elif False: + ConnectionZSideAccessPointRouterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointRouterArgs: def __init__(__self__, *, @@ -3579,6 +4698,27 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAccessPointVirtualDeviceArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource Identifier + """ + name: NotRequired[pulumi.Input[str]] + """ + Customer-assigned Virtual Device Name + """ + type: NotRequired[pulumi.Input[str]] + """ + Virtual Device type + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned Virtual Device identifier + """ +elif False: + ConnectionZSideAccessPointVirtualDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAccessPointVirtualDeviceArgs: def __init__(__self__, *, @@ -3650,6 +4790,19 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ConnectionZSideAdditionalInfoArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + Additional information key + """ + value: NotRequired[pulumi.Input[str]] + """ + Additional information value + """ +elif False: + ConnectionZSideAdditionalInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideAdditionalInfoArgs: def __init__(__self__, *, @@ -3689,6 +4842,27 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ConnectionZSideServiceTokenArgsDict(TypedDict): + description: NotRequired[pulumi.Input[str]] + """ + Service token description + """ + href: NotRequired[pulumi.Input[str]] + """ + An absolute URL that is the subject of the link's context + """ + type: NotRequired[pulumi.Input[Union[str, 'ServiceTokenType']]] + """ + Token type - VC_TOKEN + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned service token identifier + """ +elif False: + ConnectionZSideServiceTokenArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionZSideServiceTokenArgs: def __init__(__self__, *, @@ -3760,6 +4934,24 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class NetworkChangeArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Absolute URL that returns the details of the given change. + Example: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 + """ + type: NotRequired[pulumi.Input[str]] + """ + Asset instance change request type.: NETWORK_CREATION, NETWORK_UPDATE, NETWORK_DELETION + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Asset change request identifier. + """ +elif False: + NetworkChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkChangeArgs: def __init__(__self__, *, @@ -3817,6 +5009,59 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class NetworkChangeLogArgsDict(TypedDict): + created_by: NotRequired[pulumi.Input[str]] + """ + Created by User Key + """ + created_by_email: NotRequired[pulumi.Input[str]] + """ + Created by User Email Address + """ + created_by_full_name: NotRequired[pulumi.Input[str]] + """ + Created by User Full Name + """ + created_date_time: NotRequired[pulumi.Input[str]] + """ + Created by Date and Time + """ + deleted_by: NotRequired[pulumi.Input[str]] + """ + Deleted by User Key + """ + deleted_by_email: NotRequired[pulumi.Input[str]] + """ + Deleted by User Email Address + """ + deleted_by_full_name: NotRequired[pulumi.Input[str]] + """ + Deleted by User Full Name + """ + deleted_date_time: NotRequired[pulumi.Input[str]] + """ + Deleted by Date and Time + """ + updated_by: NotRequired[pulumi.Input[str]] + """ + Updated by User Key + """ + updated_by_email: NotRequired[pulumi.Input[str]] + """ + Updated by User Email Address + """ + updated_by_full_name: NotRequired[pulumi.Input[str]] + """ + Updated by User Full Name + """ + updated_date_time: NotRequired[pulumi.Input[str]] + """ + Updated by Date and Time + """ +elif False: + NetworkChangeLogArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkChangeLogArgs: def __init__(__self__, *, @@ -4016,6 +5261,27 @@ def updated_date_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "updated_date_time", value) +if not MYPY: + class NetworkLocationArgsDict(TypedDict): + ibx: NotRequired[pulumi.Input[str]] + """ + IBX Code + """ + metro_code: NotRequired[pulumi.Input[str]] + """ + Access point metro code + """ + metro_name: NotRequired[pulumi.Input[str]] + """ + Access point metro name + """ + region: NotRequired[pulumi.Input[str]] + """ + Access point region + """ +elif False: + NetworkLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkLocationArgs: def __init__(__self__, *, @@ -4087,6 +5353,23 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class NetworkNotificationArgsDict(TypedDict): + emails: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Array of contact emails + """ + type: pulumi.Input[str] + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + send_interval: NotRequired[pulumi.Input[str]] + """ + Send interval + """ +elif False: + NetworkNotificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkNotificationArgs: def __init__(__self__, *, @@ -4140,6 +5423,15 @@ def send_interval(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "send_interval", value) +if not MYPY: + class NetworkOperationArgsDict(TypedDict): + equinix_status: NotRequired[pulumi.Input[str]] + """ + Progress towards provisioning a given asset. + """ +elif False: + NetworkOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkOperationArgs: def __init__(__self__, *, @@ -4163,6 +5455,15 @@ def equinix_status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "equinix_status", value) +if not MYPY: + class NetworkProjectArgsDict(TypedDict): + project_id: pulumi.Input[str] + """ + Customer project identifier + """ +elif False: + NetworkProjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkProjectArgs: def __init__(__self__, *, @@ -4185,6 +5486,19 @@ def project_id(self, value: pulumi.Input[str]): pulumi.set(self, "project_id", value) +if not MYPY: + class RoutingProtocolBfdArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + Bidirectional Forwarding Detection enablement + """ + interval: NotRequired[pulumi.Input[str]] + """ + Interval range between the received BFD control packets + """ +elif False: + RoutingProtocolBfdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolBfdArgs: def __init__(__self__, *, @@ -4223,6 +5537,23 @@ def interval(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "interval", value) +if not MYPY: + class RoutingProtocolBgpIpv4ArgsDict(TypedDict): + customer_peer_ip: pulumi.Input[str] + """ + Customer side peering ip + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Admin status for the BGP session + """ + equinix_peer_ip: NotRequired[pulumi.Input[str]] + """ + Equinix side peering ip + """ +elif False: + RoutingProtocolBgpIpv4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolBgpIpv4Args: def __init__(__self__, *, @@ -4277,6 +5608,23 @@ def equinix_peer_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "equinix_peer_ip", value) +if not MYPY: + class RoutingProtocolBgpIpv6ArgsDict(TypedDict): + customer_peer_ip: pulumi.Input[str] + """ + Customer side peering ip + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Admin status for the BGP session + """ + equinix_peer_ip: NotRequired[pulumi.Input[str]] + """ + Equinix side peering ip + """ +elif False: + RoutingProtocolBgpIpv6ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolBgpIpv6Args: def __init__(__self__, *, @@ -4331,6 +5679,23 @@ def equinix_peer_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "equinix_peer_ip", value) +if not MYPY: + class RoutingProtocolChangeArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Routing Protocol Change URI + """ + type: NotRequired[pulumi.Input[str]] + """ + Type of change + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Uniquely identifies a change + """ +elif False: + RoutingProtocolChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolChangeArgs: def __init__(__self__, *, @@ -4386,6 +5751,59 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class RoutingProtocolChangeLogArgsDict(TypedDict): + created_by: NotRequired[pulumi.Input[str]] + """ + Created by User Key + """ + created_by_email: NotRequired[pulumi.Input[str]] + """ + Created by User Email Address + """ + created_by_full_name: NotRequired[pulumi.Input[str]] + """ + Created by User Full Name + """ + created_date_time: NotRequired[pulumi.Input[str]] + """ + Created by Date and Time + """ + deleted_by: NotRequired[pulumi.Input[str]] + """ + Deleted by User Key + """ + deleted_by_email: NotRequired[pulumi.Input[str]] + """ + Deleted by User Email Address + """ + deleted_by_full_name: NotRequired[pulumi.Input[str]] + """ + Deleted by User Full Name + """ + deleted_date_time: NotRequired[pulumi.Input[str]] + """ + Deleted by Date and Time + """ + updated_by: NotRequired[pulumi.Input[str]] + """ + Updated by User Key + """ + updated_by_email: NotRequired[pulumi.Input[str]] + """ + Updated by User Email Address + """ + updated_by_full_name: NotRequired[pulumi.Input[str]] + """ + Updated by User Full Name + """ + updated_date_time: NotRequired[pulumi.Input[str]] + """ + Updated by Date and Time + """ +elif False: + RoutingProtocolChangeLogArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolChangeLogArgs: def __init__(__self__, *, @@ -4585,6 +6003,15 @@ def updated_date_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "updated_date_time", value) +if not MYPY: + class RoutingProtocolDirectIpv4ArgsDict(TypedDict): + equinix_iface_ip: pulumi.Input[str] + """ + Equinix side Interface IP address + """ +elif False: + RoutingProtocolDirectIpv4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolDirectIpv4Args: def __init__(__self__, *, @@ -4607,6 +6034,15 @@ def equinix_iface_ip(self, value: pulumi.Input[str]): pulumi.set(self, "equinix_iface_ip", value) +if not MYPY: + class RoutingProtocolDirectIpv6ArgsDict(TypedDict): + equinix_iface_ip: NotRequired[pulumi.Input[str]] + """ + Equinix side Interface IP address + """ +elif False: + RoutingProtocolDirectIpv6ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolDirectIpv6Args: def __init__(__self__, *, @@ -4630,6 +6066,15 @@ def equinix_iface_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "equinix_iface_ip", value) +if not MYPY: + class RoutingProtocolOperationArgsDict(TypedDict): + errors: NotRequired[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorArgsDict']]]] + """ + Errors occurred + """ +elif False: + RoutingProtocolOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolOperationArgs: def __init__(__self__, *, @@ -4653,6 +6098,35 @@ def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RoutingProt pulumi.set(self, "errors", value) +if not MYPY: + class RoutingProtocolOperationErrorArgsDict(TypedDict): + additional_infos: NotRequired[pulumi.Input[Sequence[pulumi.Input['RoutingProtocolOperationErrorAdditionalInfoArgsDict']]]] + """ + Pricing error additional Info + """ + correlation_id: NotRequired[pulumi.Input[str]] + """ + CorrelationId + """ + details: NotRequired[pulumi.Input[str]] + """ + Details + """ + error_code: NotRequired[pulumi.Input[str]] + """ + Error code + """ + error_message: NotRequired[pulumi.Input[str]] + """ + Error Message + """ + help: NotRequired[pulumi.Input[str]] + """ + Help + """ +elif False: + RoutingProtocolOperationErrorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolOperationErrorArgs: def __init__(__self__, *, @@ -4756,6 +6230,19 @@ def help(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "help", value) +if not MYPY: + class RoutingProtocolOperationErrorAdditionalInfoArgsDict(TypedDict): + property: NotRequired[pulumi.Input[str]] + """ + Property at which the error potentially occurred + """ + reason: NotRequired[pulumi.Input[str]] + """ + Reason for the error + """ +elif False: + RoutingProtocolOperationErrorAdditionalInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProtocolOperationErrorAdditionalInfoArgs: def __init__(__self__, *, @@ -4795,6 +6282,67 @@ def property(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property", value) +if not MYPY: + class ServiceProfileAccessPointTypeConfigArgsDict(TypedDict): + type: pulumi.Input[Union[str, 'ProfileAccessPointType']] + """ + Type of access point type config - VD, COLO + """ + allow_bandwidth_auto_approval: NotRequired[pulumi.Input[bool]] + """ + Setting to enable or disable the ability of the buyer to change connection bandwidth without approval of the seller + """ + allow_bandwidth_upgrade: NotRequired[pulumi.Input[bool]] + """ + Availability of a bandwidth upgrade. The default is false + """ + allow_custom_bandwidth: NotRequired[pulumi.Input[bool]] + """ + Setting to enable or disable the ability of the buyer to customize the bandwidth + """ + allow_remote_connections: NotRequired[pulumi.Input[bool]] + """ + Setting to allow or prohibit remote connections to the service profile + """ + api_config: NotRequired[pulumi.Input['ServiceProfileAccessPointTypeConfigApiConfigArgsDict']] + """ + Api configuration details + """ + authentication_key: NotRequired[pulumi.Input['ServiceProfileAccessPointTypeConfigAuthenticationKeyArgsDict']] + """ + Authentication key details + """ + bandwidth_alert_threshold: NotRequired[pulumi.Input[float]] + """ + Percentage of port bandwidth at which an allocation alert is generated + """ + connection_label: NotRequired[pulumi.Input[str]] + """ + Custom name for Connection + """ + connection_redundancy_required: NotRequired[pulumi.Input[bool]] + """ + Mandate redundant connections + """ + enable_auto_generate_service_key: NotRequired[pulumi.Input[bool]] + """ + Enable auto generate service key + """ + link_protocol_config: NotRequired[pulumi.Input['ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgsDict']] + """ + Link protocol configuration details + """ + supported_bandwidths: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + Supported bandwidths + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Colo/Port Uuid + """ +elif False: + ServiceProfileAccessPointTypeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileAccessPointTypeConfigArgs: def __init__(__self__, *, @@ -5025,6 +6573,39 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class ServiceProfileAccessPointTypeConfigApiConfigArgsDict(TypedDict): + allow_over_subscription: NotRequired[pulumi.Input[bool]] + """ + Setting showing that oversubscription support is available (true) or not (false). The default is false + """ + api_available: NotRequired[pulumi.Input[bool]] + """ + Indicates if it's possible to establish connections based on the given service profile using the Equinix Fabric API. + """ + bandwidth_from_api: NotRequired[pulumi.Input[bool]] + """ + Indicates if the connection bandwidth can be obtained directly from the cloud service provider. + """ + equinix_managed_port: NotRequired[pulumi.Input[bool]] + """ + Setting indicating that the port is managed by Equinix (true) or not (false) + """ + equinix_managed_vlan: NotRequired[pulumi.Input[bool]] + """ + Setting indicating that the VLAN is managed by Equinix (true) or not (false) + """ + integration_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier issued during onboarding and used to integrate the customer's service profile with the Equinix Fabric API. + """ + over_subscription_limit: NotRequired[pulumi.Input[int]] + """ + Port bandwidth multiplier that determines the total bandwidth that can be allocated to users creating connections to your services. For example, a 10 Gbps port combined with an overSubscriptionLimit parameter value of 10 allows your subscribers to create connections with a total bandwidth of 100 Gbps. + """ +elif False: + ServiceProfileAccessPointTypeConfigApiConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileAccessPointTypeConfigApiConfigArgs: def __init__(__self__, *, @@ -5144,6 +6725,23 @@ def over_subscription_limit(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "over_subscription_limit", value) +if not MYPY: + class ServiceProfileAccessPointTypeConfigAuthenticationKeyArgsDict(TypedDict): + description: NotRequired[pulumi.Input[str]] + """ + Description of authorization key + """ + label: NotRequired[pulumi.Input[str]] + """ + Name of the parameter that must be provided to authorize the connection. + """ + required: NotRequired[pulumi.Input[bool]] + """ + Requirement to configure an authentication key. + """ +elif False: + ServiceProfileAccessPointTypeConfigAuthenticationKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileAccessPointTypeConfigAuthenticationKeyArgs: def __init__(__self__, *, @@ -5199,6 +6797,23 @@ def required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "required", value) +if not MYPY: + class ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgsDict(TypedDict): + encapsulation: NotRequired[pulumi.Input[str]] + """ + Data frames encapsulation standard.UNTAGGED - Untagged encapsulation for EPL connections. DOT1Q - DOT1Q encapsulation standard. QINQ - QINQ encapsulation standard. + """ + encapsulation_strategy: NotRequired[pulumi.Input[str]] + """ + Additional tagging information required by the seller profile. + """ + reuse_vlan_s_tag: NotRequired[pulumi.Input[bool]] + """ + Automatically accept subsequent DOT1Q to QINQ connections that use the same authentication key. These connections will have the same VLAN S-tag assigned as the initial connection. + """ +elif False: + ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileAccessPointTypeConfigLinkProtocolConfigArgs: def __init__(__self__, *, @@ -5254,6 +6869,43 @@ def reuse_vlan_s_tag(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "reuse_vlan_s_tag", value) +if not MYPY: + class ServiceProfileAccountArgsDict(TypedDict): + account_name: NotRequired[pulumi.Input[str]] + """ + Legal name of the accountholder. + """ + account_number: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned account number. + """ + global_cust_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_org_id: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned ID of the subscriber's parent organization. + """ + global_organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's parent organization. + """ + org_id: NotRequired[pulumi.Input[int]] + """ + Equinix-assigned ID of the subscriber's organization. + """ + organization_name: NotRequired[pulumi.Input[str]] + """ + Equinix-assigned name of the subscriber's organization. + """ + ucm_id: NotRequired[pulumi.Input[str]] + """ + Enterprise datastore id + """ +elif False: + ServiceProfileAccountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileAccountArgs: def __init__(__self__, *, @@ -5380,14 +7032,67 @@ def organization_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ucmId") def ucm_id(self) -> Optional[pulumi.Input[str]]: """ - Enterprise datastore id + Enterprise datastore id + """ + return pulumi.get(self, "ucm_id") + + @ucm_id.setter + def ucm_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ucm_id", value) + + +if not MYPY: + class ServiceProfileChangeLogArgsDict(TypedDict): + created_by: NotRequired[pulumi.Input[str]] + """ + Created by User Key + """ + created_by_email: NotRequired[pulumi.Input[str]] + """ + Created by User Email Address + """ + created_by_full_name: NotRequired[pulumi.Input[str]] + """ + Created by User Full Name + """ + created_date_time: NotRequired[pulumi.Input[str]] + """ + Created by Date and Time + """ + deleted_by: NotRequired[pulumi.Input[str]] + """ + Deleted by User Key + """ + deleted_by_email: NotRequired[pulumi.Input[str]] + """ + Deleted by User Email Address + """ + deleted_by_full_name: NotRequired[pulumi.Input[str]] + """ + Deleted by User Full Name + """ + deleted_date_time: NotRequired[pulumi.Input[str]] + """ + Deleted by Date and Time + """ + updated_by: NotRequired[pulumi.Input[str]] + """ + Updated by User Key + """ + updated_by_email: NotRequired[pulumi.Input[str]] + """ + Updated by User Email Address """ - return pulumi.get(self, "ucm_id") - - @ucm_id.setter - def ucm_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ucm_id", value) - + updated_by_full_name: NotRequired[pulumi.Input[str]] + """ + Updated by User Full Name + """ + updated_date_time: NotRequired[pulumi.Input[str]] + """ + Updated by Date and Time + """ +elif False: + ServiceProfileChangeLogArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class ServiceProfileChangeLogArgs: @@ -5588,6 +7293,35 @@ def updated_date_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "updated_date_time", value) +if not MYPY: + class ServiceProfileCustomFieldArgsDict(TypedDict): + data_type: pulumi.Input[str] + """ + Data type + """ + label: pulumi.Input[str] + """ + Label + """ + required: pulumi.Input[bool] + """ + Required field + """ + capture_in_email: NotRequired[pulumi.Input[bool]] + """ + Required field + """ + description: NotRequired[pulumi.Input[str]] + """ + Description + """ + options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Options + """ +elif False: + ServiceProfileCustomFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileCustomFieldArgs: def __init__(__self__, *, @@ -5688,6 +7422,23 @@ def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "options", value) +if not MYPY: + class ServiceProfileMarketingInfoArgsDict(TypedDict): + logo: NotRequired[pulumi.Input[str]] + """ + Logo + """ + process_steps: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceProfileMarketingInfoProcessStepArgsDict']]]] + """ + Process Step + """ + promotion: NotRequired[pulumi.Input[bool]] + """ + Promotion + """ +elif False: + ServiceProfileMarketingInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileMarketingInfoArgs: def __init__(__self__, *, @@ -5743,6 +7494,23 @@ def promotion(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "promotion", value) +if not MYPY: + class ServiceProfileMarketingInfoProcessStepArgsDict(TypedDict): + description: NotRequired[pulumi.Input[str]] + """ + Description + """ + sub_title: NotRequired[pulumi.Input[str]] + """ + Sub Title + """ + title: NotRequired[pulumi.Input[str]] + """ + Title + """ +elif False: + ServiceProfileMarketingInfoProcessStepArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileMarketingInfoProcessStepArgs: def __init__(__self__, *, @@ -5798,6 +7566,35 @@ def title(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "title", value) +if not MYPY: + class ServiceProfileMetroArgsDict(TypedDict): + code: NotRequired[pulumi.Input[str]] + """ + Metro Code - Example SV + """ + display_name: NotRequired[pulumi.Input[str]] + """ + Display Name + """ + ibxs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + IBX- Equinix International Business Exchange list + """ + in_trail: NotRequired[pulumi.Input[bool]] + """ + In Trail + """ + name: NotRequired[pulumi.Input[str]] + """ + Metro Name + """ + seller_regions: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Seller Regions + """ +elif False: + ServiceProfileMetroArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileMetroArgs: def __init__(__self__, *, @@ -5901,6 +7698,23 @@ def seller_regions(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[ pulumi.set(self, "seller_regions", value) +if not MYPY: + class ServiceProfileNotificationArgsDict(TypedDict): + emails: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Array of contact emails + """ + type: pulumi.Input[Union[str, 'NotificationsType']] + """ + Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS + """ + send_interval: NotRequired[pulumi.Input[str]] + """ + Send interval + """ +elif False: + ServiceProfileNotificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileNotificationArgs: def __init__(__self__, *, @@ -5954,6 +7768,35 @@ def send_interval(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "send_interval", value) +if not MYPY: + class ServiceProfilePortArgsDict(TypedDict): + type: pulumi.Input[str] + """ + Colo/Port Type + """ + uuid: pulumi.Input[str] + """ + Colo/Port Uuid + """ + cross_connect_id: NotRequired[pulumi.Input[str]] + """ + Cross Connect Id + """ + location: NotRequired[pulumi.Input['ServiceProfilePortLocationArgsDict']] + """ + Colo/Port Location + """ + seller_region: NotRequired[pulumi.Input[str]] + """ + Seller Region + """ + seller_region_description: NotRequired[pulumi.Input[str]] + """ + Seller Region details + """ +elif False: + ServiceProfilePortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfilePortArgs: def __init__(__self__, *, @@ -6055,6 +7898,27 @@ def seller_region_description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "seller_region_description", value) +if not MYPY: + class ServiceProfilePortLocationArgsDict(TypedDict): + ibx: NotRequired[pulumi.Input[str]] + """ + IBX Code + """ + metro_code: NotRequired[pulumi.Input[str]] + """ + Access point metro code + """ + metro_name: NotRequired[pulumi.Input[str]] + """ + Access point metro name + """ + region: NotRequired[pulumi.Input[str]] + """ + Access point region + """ +elif False: + ServiceProfilePortLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfilePortLocationArgs: def __init__(__self__, *, @@ -6126,6 +7990,19 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class ServiceProfileProjectArgsDict(TypedDict): + href: NotRequired[pulumi.Input[str]] + """ + Unique Resource URL + """ + project_id: NotRequired[pulumi.Input[str]] + """ + Project Id + """ +elif False: + ServiceProfileProjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileProjectArgs: def __init__(__self__, *, @@ -6165,6 +8042,27 @@ def project_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "project_id", value) +if not MYPY: + class ServiceProfileVirtualDeviceArgsDict(TypedDict): + type: pulumi.Input[str] + """ + Virtual Device Type + """ + uuid: pulumi.Input[str] + """ + Virtual Device Uuid + """ + interface_uuid: NotRequired[pulumi.Input[str]] + """ + Device Interface Uuid + """ + location: NotRequired[pulumi.Input['ServiceProfileVirtualDeviceLocationArgsDict']] + """ + Device Location + """ +elif False: + ServiceProfileVirtualDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileVirtualDeviceArgs: def __init__(__self__, *, @@ -6234,6 +8132,27 @@ def location(self, value: Optional[pulumi.Input['ServiceProfileVirtualDeviceLoca pulumi.set(self, "location", value) +if not MYPY: + class ServiceProfileVirtualDeviceLocationArgsDict(TypedDict): + ibx: NotRequired[pulumi.Input[str]] + """ + IBX Code + """ + metro_code: NotRequired[pulumi.Input[str]] + """ + Access point metro code + """ + metro_name: NotRequired[pulumi.Input[str]] + """ + Access point metro name + """ + region: NotRequired[pulumi.Input[str]] + """ + Access point region + """ +elif False: + ServiceProfileVirtualDeviceLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileVirtualDeviceLocationArgs: def __init__(__self__, *, @@ -6305,6 +8224,27 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class GetCloudRoutersFilterArgsDict(TypedDict): + operator: str + """ + Possible operators to use on the filter property. Can be one of the following: [= - equal, != - not equal, > - greater than, >= - greater than or equal to, < - less than, <= - less than or equal to, [NOT] BETWEEN - (not) between, [NOT] LIKE - (not) like, [NOT] IN - (not) in + """ + property: str + """ + The API response property which you want to filter your request on. Can be one of the following: "/project/projectId", "/name", "/uuid", "/state", "/location/metroCode", "/location/metroName", "/package/code", "/*" + """ + values: Sequence[str] + """ + The values that you want to apply the property+operator combination to in order to filter your data search + """ + or_: NotRequired[bool] + """ + Boolean flag indicating whether this filter is included in the OR group. There can only be one OR group and it can have a maximum of 3 filters. The OR group only counts as 1 of the 8 possible filters + """ +elif False: + GetCloudRoutersFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetCloudRoutersFilterArgs: def __init__(__self__, *, @@ -6373,6 +8313,19 @@ def property(self, value: str): pulumi.set(self, "property", value) +if not MYPY: + class GetCloudRoutersPaginationArgsDict(TypedDict): + limit: NotRequired[int] + """ + Number of elements to be requested per page. Number must be between 1 and 100. Default is 20 + """ + offset: NotRequired[int] + """ + The page offset for the pagination request. Index of the first element. Default is 0. + """ +elif False: + GetCloudRoutersPaginationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetCloudRoutersPaginationArgs: def __init__(__self__, *, @@ -6412,6 +8365,19 @@ def offset(self, value: Optional[int]): pulumi.set(self, "offset", value) +if not MYPY: + class GetCloudRoutersSortArgsDict(TypedDict): + direction: NotRequired[str] + """ + The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC + """ + property: NotRequired[str] + """ + The property name to use in sorting. Can be one of the following: [/name, /uuid, /state, /location/metroCode, /location/metroName, /package/code, /changeLog/createdDateTime, /changeLog/updatedDateTime], Defaults to /changeLog/updatedDateTime + """ +elif False: + GetCloudRoutersSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetCloudRoutersSortArgs: def __init__(__self__, *, @@ -6451,6 +8417,27 @@ def property(self, value: Optional[str]): pulumi.set(self, "property", value) +if not MYPY: + class GetConnectionsFilterArgsDict(TypedDict): + operator: str + """ + Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL] + """ + property: str + """ + Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] + """ + values: Sequence[str] + """ + The values that you want to apply the property+operator combination to in order to filter your data search + """ + group: NotRequired[str] + """ + Optional custom id parameter to assign this filter to an inner AND or OR group. Group id must be prefixed with AND_ or OR_. Ensure intended grouped elements have the same given id. Ungrouped filters will be placed in the filter list group by themselves. + """ +elif False: + GetConnectionsFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetConnectionsFilterArgs: def __init__(__self__, *, @@ -6519,6 +8506,19 @@ def property(self, value: str): pulumi.set(self, "property", value) +if not MYPY: + class GetConnectionsPaginationArgsDict(TypedDict): + limit: NotRequired[int] + """ + Number of elements to be requested per page. Number must be between 1 and 100. Default is 20 + """ + offset: NotRequired[int] + """ + The page offset for the pagination request. Index of the first element. Default is 0. + """ +elif False: + GetConnectionsPaginationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetConnectionsPaginationArgs: def __init__(__self__, *, @@ -6558,6 +8558,19 @@ def offset(self, value: Optional[int]): pulumi.set(self, "offset", value) +if not MYPY: + class GetConnectionsSortArgsDict(TypedDict): + direction: NotRequired[str] + """ + The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC + """ + property: NotRequired[str] + """ + The property name to use in sorting. One of [/name /direction /aSide/accessPoint/name /aSide/accessPoint/type /aSide/accessPoint/account/accountName /aSide/accessPoint/location/metroName /aSide/accessPoint/location/metroCode /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/name /zSide/accessPoint/type /zSide/accessPoint/account/accountName /zSide/accessPoint/location/metroName /zSide/accessPoint/location/metroCode /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/authenticationKey /bandwidth /geoScope /uuid /changeLog/createdDateTime /changeLog/updatedDateTime /operation/equinixStatus /operation/providerStatus /redundancy/priority]. Defaults to /changeLog/updatedDateTime + """ +elif False: + GetConnectionsSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetConnectionsSortArgs: def __init__(__self__, *, @@ -6597,6 +8610,27 @@ def property(self, value: Optional[str]): pulumi.set(self, "property", value) +if not MYPY: + class GetNetworksFilterArgsDict(TypedDict): + operator: str + """ + Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, ILIKE, NOT ILIKE, IN, NOT IN] + """ + property: str + """ + Possible field names to use on filters. One of [/name /uuid /scope /type /operation/equinixStatus /location/region /project/projectId /account/globalCustId /account/orgId /deletedDate /_*] + """ + values: Sequence[str] + """ + The values that you want to apply the property+operator combination to in order to filter your data search + """ + group: NotRequired[str] + """ + Optional custom id parameter to assign this filter to an inner AND or OR group. Group id must be prefixed with AND_ or OR_. Ensure intended grouped elements have the same given id. Ungrouped filters will be placed in the filter list group by themselves. + """ +elif False: + GetNetworksFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetNetworksFilterArgs: def __init__(__self__, *, @@ -6665,6 +8699,19 @@ def property(self, value: str): pulumi.set(self, "property", value) +if not MYPY: + class GetNetworksPaginationArgsDict(TypedDict): + limit: NotRequired[int] + """ + Number of elements to be requested per page. Number must be between 1 and 100. Default is 20 + """ + offset: NotRequired[int] + """ + The page offset for the pagination request. Index of the first element. Default is 0. + """ +elif False: + GetNetworksPaginationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetNetworksPaginationArgs: def __init__(__self__, *, @@ -6704,6 +8751,19 @@ def offset(self, value: Optional[int]): pulumi.set(self, "offset", value) +if not MYPY: + class GetNetworksSortArgsDict(TypedDict): + direction: NotRequired[str] + """ + The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC + """ + property: NotRequired[str] + """ + The property name to use in sorting. One of [/name /uuid /scope /operation/equinixStatus /location/region /changeLog/createdDateTime /changeLog/updatedDateTime]. Defaults to /changeLog/updatedDateTime + """ +elif False: + GetNetworksSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetNetworksSortArgs: def __init__(__self__, *, @@ -6743,6 +8803,15 @@ def property(self, value: Optional[str]): pulumi.set(self, "property", value) +if not MYPY: + class GetPortsFilterArgsDict(TypedDict): + name: str + """ + Query Parameter to Get Ports By Name + """ +elif False: + GetPortsFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetPortsFilterArgs: def __init__(__self__, *, @@ -6765,6 +8834,23 @@ def name(self, value: str): pulumi.set(self, "name", value) +if not MYPY: + class GetServiceProfilesFilterArgsDict(TypedDict): + operator: str + """ + Operators to use on your filtered field with the values given. One of [=] + """ + property: str + """ + Property to apply operator and values to. One of [/name /uuid /state /metros/code /visibility /type /project/projectId] + """ + values: Sequence[str] + """ + The values that you want to apply the property+operator combination to in order to filter your data search + """ +elif False: + GetServiceProfilesFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetServiceProfilesFilterArgs: def __init__(__self__, *, @@ -6817,6 +8903,19 @@ def property(self, value: str): pulumi.set(self, "property", value) +if not MYPY: + class GetServiceProfilesPaginationArgsDict(TypedDict): + limit: NotRequired[int] + """ + Number of elements to be requested per page. Number must be between 1 and 100. Default is 20 + """ + offset: NotRequired[int] + """ + The page offset for the pagination request. Index of the first element. Default is 0. + """ +elif False: + GetServiceProfilesPaginationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetServiceProfilesPaginationArgs: def __init__(__self__, *, @@ -6856,6 +8955,19 @@ def offset(self, value: Optional[int]): pulumi.set(self, "offset", value) +if not MYPY: + class GetServiceProfilesSortArgsDict(TypedDict): + direction: NotRequired[str] + """ + The sorting direction. Can be one of: [DESC, ASC], Defaults to DESC + """ + property: NotRequired[str] + """ + The property name to use in sorting. One of [/name /uuid /state /location/metroCode /location/metroName /package/code /changeLog/createdDateTime /changeLog/updatedDateTime]. Defaults to /changeLog/updatedDateTime + """ +elif False: + GetServiceProfilesSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetServiceProfilesSortArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_equinix/fabric/cloud_router.py b/sdk/python/pulumi_equinix/fabric/cloud_router.py index cc7535c3..2aa7d0a3 100644 --- a/sdk/python/pulumi_equinix/fabric/cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/cloud_router.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/connection.py b/sdk/python/pulumi_equinix/fabric/connection.py index 8d96e6b0..7ba30c38 100644 --- a/sdk/python/pulumi_equinix/fabric/connection.py +++ b/sdk/python/pulumi_equinix/fabric/connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _enums as _root_enums diff --git a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py index 5db9542f..b9ac6500 100644 --- a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -343,9 +348,6 @@ def get_cloud_router(uuid: Optional[str] = None, state=pulumi.get(__ret__, 'state'), type=pulumi.get(__ret__, 'type'), uuid=pulumi.get(__ret__, 'uuid')) - - -@_utilities.lift_output_func(get_cloud_router) def get_cloud_router_output(uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudRouterResult]: """ @@ -377,4 +379,29 @@ def get_cloud_router_output(uuid: Optional[pulumi.Input[str]] = None, :param str uuid: Equinix-assigned Fabric Cloud Router identifier """ - ... + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getCloudRouter:getCloudRouter', __args__, opts=opts, typ=GetCloudRouterResult) + return __ret__.apply(lambda __response__: GetCloudRouterResult( + accounts=pulumi.get(__response__, 'accounts'), + bgp_ipv4_routes_count=pulumi.get(__response__, 'bgp_ipv4_routes_count'), + bgp_ipv6_routes_count=pulumi.get(__response__, 'bgp_ipv6_routes_count'), + change_logs=pulumi.get(__response__, 'change_logs'), + connections_count=pulumi.get(__response__, 'connections_count'), + description=pulumi.get(__response__, 'description'), + distinct_ipv4_prefixes_count=pulumi.get(__response__, 'distinct_ipv4_prefixes_count'), + distinct_ipv6_prefixes_count=pulumi.get(__response__, 'distinct_ipv6_prefixes_count'), + equinix_asn=pulumi.get(__response__, 'equinix_asn'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + locations=pulumi.get(__response__, 'locations'), + marketplace_subscriptions=pulumi.get(__response__, 'marketplace_subscriptions'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + orders=pulumi.get(__response__, 'orders'), + packages=pulumi.get(__response__, 'packages'), + projects=pulumi.get(__response__, 'projects'), + state=pulumi.get(__response__, 'state'), + type=pulumi.get(__response__, 'type'), + uuid=pulumi.get(__response__, 'uuid'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_cloud_routers.py b/sdk/python/pulumi_equinix/fabric/get_cloud_routers.py index 95229f8a..7f1cab2a 100644 --- a/sdk/python/pulumi_equinix/fabric/get_cloud_routers.py +++ b/sdk/python/pulumi_equinix/fabric/get_cloud_routers.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -123,9 +128,6 @@ def get_cloud_routers(filters: Optional[Sequence[Union['GetCloudRoutersFilterArg id=pulumi.get(__ret__, 'id'), pagination=pulumi.get(__ret__, 'pagination'), sort=pulumi.get(__ret__, 'sort')) - - -@_utilities.lift_output_func(get_cloud_routers) def get_cloud_routers_output(filters: Optional[pulumi.Input[Sequence[Union['GetCloudRoutersFilterArgs', 'GetCloudRoutersFilterArgsDict']]]] = None, pagination: Optional[pulumi.Input[Optional[Union['GetCloudRoutersPaginationArgs', 'GetCloudRoutersPaginationArgsDict']]]] = None, sort: Optional[pulumi.Input[Optional[Union['GetCloudRoutersSortArgs', 'GetCloudRoutersSortArgsDict']]]] = None, @@ -142,4 +144,15 @@ def get_cloud_routers_output(filters: Optional[pulumi.Input[Sequence[Union['GetC :param Union['GetCloudRoutersPaginationArgs', 'GetCloudRoutersPaginationArgsDict'] pagination: Pagination details for the Data Source Search Request :param Union['GetCloudRoutersSortArgs', 'GetCloudRoutersSortArgsDict'] sort: Filters for the Data Source Search Request """ - ... + __args__ = dict() + __args__['filters'] = filters + __args__['pagination'] = pagination + __args__['sort'] = sort + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getCloudRouters:getCloudRouters', __args__, opts=opts, typ=GetCloudRoutersResult) + return __ret__.apply(lambda __response__: GetCloudRoutersResult( + datas=pulumi.get(__response__, 'datas'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + pagination=pulumi.get(__response__, 'pagination'), + sort=pulumi.get(__response__, 'sort'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_connection.py b/sdk/python/pulumi_equinix/fabric/get_connection.py index 35de56cb..386494e7 100644 --- a/sdk/python/pulumi_equinix/fabric/get_connection.py +++ b/sdk/python/pulumi_equinix/fabric/get_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -335,9 +340,6 @@ def get_connection(uuid: Optional[str] = None, type=pulumi.get(__ret__, 'type'), uuid=pulumi.get(__ret__, 'uuid'), z_side=pulumi.get(__ret__, 'z_side')) - - -@_utilities.lift_output_func(get_connection) def get_connection_output(uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionResult]: """ @@ -374,4 +376,28 @@ def get_connection_output(uuid: Optional[pulumi.Input[str]] = None, :param str uuid: Equinix-assigned connection identifier """ - ... + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getConnection:getConnection', __args__, opts=opts, typ=GetConnectionResult) + return __ret__.apply(lambda __response__: GetConnectionResult( + a_side=pulumi.get(__response__, 'a_side'), + account=pulumi.get(__response__, 'account'), + additional_info=pulumi.get(__response__, 'additional_info'), + bandwidth=pulumi.get(__response__, 'bandwidth'), + change_log=pulumi.get(__response__, 'change_log'), + description=pulumi.get(__response__, 'description'), + direction=pulumi.get(__response__, 'direction'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + is_remote=pulumi.get(__response__, 'is_remote'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + operation=pulumi.get(__response__, 'operation'), + order=pulumi.get(__response__, 'order'), + project=pulumi.get(__response__, 'project'), + redundancy=pulumi.get(__response__, 'redundancy'), + state=pulumi.get(__response__, 'state'), + type=pulumi.get(__response__, 'type'), + uuid=pulumi.get(__response__, 'uuid'), + z_side=pulumi.get(__response__, 'z_side'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_connections.py b/sdk/python/pulumi_equinix/fabric/get_connections.py index db1680bf..7973d37c 100644 --- a/sdk/python/pulumi_equinix/fabric/get_connections.py +++ b/sdk/python/pulumi_equinix/fabric/get_connections.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -139,9 +144,6 @@ def get_connections(filters: Optional[Sequence[Union['GetConnectionsFilterArgs', outer_operator=pulumi.get(__ret__, 'outer_operator'), pagination=pulumi.get(__ret__, 'pagination'), sorts=pulumi.get(__ret__, 'sorts')) - - -@_utilities.lift_output_func(get_connections) def get_connections_output(filters: Optional[pulumi.Input[Sequence[Union['GetConnectionsFilterArgs', 'GetConnectionsFilterArgsDict']]]] = None, outer_operator: Optional[pulumi.Input[str]] = None, pagination: Optional[pulumi.Input[Optional[Union['GetConnectionsPaginationArgs', 'GetConnectionsPaginationArgsDict']]]] = None, @@ -160,4 +162,17 @@ def get_connections_output(filters: Optional[pulumi.Input[Sequence[Union['GetCon :param Union['GetConnectionsPaginationArgs', 'GetConnectionsPaginationArgsDict'] pagination: Pagination details for the Data Source Search Request :param Sequence[Union['GetConnectionsSortArgs', 'GetConnectionsSortArgsDict']] sorts: Filters for the Data Source Search Request """ - ... + __args__ = dict() + __args__['filters'] = filters + __args__['outerOperator'] = outer_operator + __args__['pagination'] = pagination + __args__['sorts'] = sorts + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getConnections:getConnections', __args__, opts=opts, typ=GetConnectionsResult) + return __ret__.apply(lambda __response__: GetConnectionsResult( + datas=pulumi.get(__response__, 'datas'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + outer_operator=pulumi.get(__response__, 'outer_operator'), + pagination=pulumi.get(__response__, 'pagination'), + sorts=pulumi.get(__response__, 'sorts'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py b/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py index 32d5e14a..6c594304 100644 --- a/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py +++ b/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -178,9 +183,6 @@ def get_marketplace_subscription(uuid: Optional[str] = None, status=pulumi.get(__ret__, 'status'), trial=pulumi.get(__ret__, 'trial'), uuid=pulumi.get(__ret__, 'uuid')) - - -@_utilities.lift_output_func(get_marketplace_subscription) def get_marketplace_subscription_output(uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMarketplaceSubscriptionResult]: """ @@ -203,4 +205,17 @@ def get_marketplace_subscription_output(uuid: Optional[pulumi.Input[str]] = None :param str uuid: Equinix-assigned marketplace identifier """ - ... + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription', __args__, opts=opts, typ=GetMarketplaceSubscriptionResult) + return __ret__.apply(lambda __response__: GetMarketplaceSubscriptionResult( + entitlements=pulumi.get(__response__, 'entitlements'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + is_auto_renew=pulumi.get(__response__, 'is_auto_renew'), + marketplace=pulumi.get(__response__, 'marketplace'), + offer_type=pulumi.get(__response__, 'offer_type'), + status=pulumi.get(__response__, 'status'), + trial=pulumi.get(__response__, 'trial'), + uuid=pulumi.get(__response__, 'uuid'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_network.py b/sdk/python/pulumi_equinix/fabric/get_network.py index c1f7d8b5..0d8de745 100644 --- a/sdk/python/pulumi_equinix/fabric/get_network.py +++ b/sdk/python/pulumi_equinix/fabric/get_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -247,9 +252,6 @@ def get_network(uuid: Optional[str] = None, state=pulumi.get(__ret__, 'state'), type=pulumi.get(__ret__, 'type'), uuid=pulumi.get(__ret__, 'uuid')) - - -@_utilities.lift_output_func(get_network) def get_network_output(uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkResult]: """ @@ -276,4 +278,22 @@ def get_network_output(uuid: Optional[pulumi.Input[str]] = None, :param str uuid: Equinix-assigned network identifier """ - ... + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getNetwork:getNetwork', __args__, opts=opts, typ=GetNetworkResult) + return __ret__.apply(lambda __response__: GetNetworkResult( + change=pulumi.get(__response__, 'change'), + change_log=pulumi.get(__response__, 'change_log'), + connections_count=pulumi.get(__response__, 'connections_count'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + locations=pulumi.get(__response__, 'locations'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + operation=pulumi.get(__response__, 'operation'), + project=pulumi.get(__response__, 'project'), + scope=pulumi.get(__response__, 'scope'), + state=pulumi.get(__response__, 'state'), + type=pulumi.get(__response__, 'type'), + uuid=pulumi.get(__response__, 'uuid'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_networks.py b/sdk/python/pulumi_equinix/fabric/get_networks.py index 2cb047e3..4cc01e93 100644 --- a/sdk/python/pulumi_equinix/fabric/get_networks.py +++ b/sdk/python/pulumi_equinix/fabric/get_networks.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -139,9 +144,6 @@ def get_networks(filters: Optional[Sequence[Union['GetNetworksFilterArgs', 'GetN outer_operator=pulumi.get(__ret__, 'outer_operator'), pagination=pulumi.get(__ret__, 'pagination'), sorts=pulumi.get(__ret__, 'sorts')) - - -@_utilities.lift_output_func(get_networks) def get_networks_output(filters: Optional[pulumi.Input[Sequence[Union['GetNetworksFilterArgs', 'GetNetworksFilterArgsDict']]]] = None, outer_operator: Optional[pulumi.Input[str]] = None, pagination: Optional[pulumi.Input[Optional[Union['GetNetworksPaginationArgs', 'GetNetworksPaginationArgsDict']]]] = None, @@ -160,4 +162,17 @@ def get_networks_output(filters: Optional[pulumi.Input[Sequence[Union['GetNetwor :param Union['GetNetworksPaginationArgs', 'GetNetworksPaginationArgsDict'] pagination: Pagination details for the Data Source Search Request :param Sequence[Union['GetNetworksSortArgs', 'GetNetworksSortArgsDict']] sorts: Filters for the Data Source Search Request """ - ... + __args__ = dict() + __args__['filters'] = filters + __args__['outerOperator'] = outer_operator + __args__['pagination'] = pagination + __args__['sorts'] = sorts + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getNetworks:getNetworks', __args__, opts=opts, typ=GetNetworksResult) + return __ret__.apply(lambda __response__: GetNetworksResult( + datas=pulumi.get(__response__, 'datas'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + outer_operator=pulumi.get(__response__, 'outer_operator'), + pagination=pulumi.get(__response__, 'pagination'), + sorts=pulumi.get(__response__, 'sorts'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_port.py b/sdk/python/pulumi_equinix/fabric/get_port.py index 41ae005b..f9f9d05d 100644 --- a/sdk/python/pulumi_equinix/fabric/get_port.py +++ b/sdk/python/pulumi_equinix/fabric/get_port.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -321,9 +326,6 @@ def get_port(uuid: Optional[str] = None, type=pulumi.get(__ret__, 'type'), used_bandwidth=pulumi.get(__ret__, 'used_bandwidth'), uuid=pulumi.get(__ret__, 'uuid')) - - -@_utilities.lift_output_func(get_port) def get_port_output(uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPortResult]: """ @@ -359,4 +361,27 @@ def get_port_output(uuid: Optional[pulumi.Input[str]] = None, :param str uuid: Equinix-assigned port identifier """ - ... + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getPort:getPort', __args__, opts=opts, typ=GetPortResult) + return __ret__.apply(lambda __response__: GetPortResult( + account=pulumi.get(__response__, 'account'), + available_bandwidth=pulumi.get(__response__, 'available_bandwidth'), + bandwidth=pulumi.get(__response__, 'bandwidth'), + change_log=pulumi.get(__response__, 'change_log'), + description=pulumi.get(__response__, 'description'), + device=pulumi.get(__response__, 'device'), + encapsulation=pulumi.get(__response__, 'encapsulation'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + lag_enabled=pulumi.get(__response__, 'lag_enabled'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + operation=pulumi.get(__response__, 'operation'), + redundancy=pulumi.get(__response__, 'redundancy'), + service_type=pulumi.get(__response__, 'service_type'), + state=pulumi.get(__response__, 'state'), + type=pulumi.get(__response__, 'type'), + used_bandwidth=pulumi.get(__response__, 'used_bandwidth'), + uuid=pulumi.get(__response__, 'uuid'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_ports.py b/sdk/python/pulumi_equinix/fabric/get_ports.py index 77b28e2c..4dca35ca 100644 --- a/sdk/python/pulumi_equinix/fabric/get_ports.py +++ b/sdk/python/pulumi_equinix/fabric/get_ports.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -116,9 +121,6 @@ def get_ports(filter: Optional[Union['GetPortsFilterArgs', 'GetPortsFilterArgsDi data=pulumi.get(__ret__, 'data'), filter=pulumi.get(__ret__, 'filter'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_ports) def get_ports_output(filter: Optional[pulumi.Input[Union['GetPortsFilterArgs', 'GetPortsFilterArgsDict']]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPortsResult]: """ @@ -156,4 +158,11 @@ def get_ports_output(filter: Optional[pulumi.Input[Union['GetPortsFilterArgs', ' :param Union['GetPortsFilterArgs', 'GetPortsFilterArgsDict'] filter: name """ - ... + __args__ = dict() + __args__['filter'] = filter + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getPorts:getPorts', __args__, opts=opts, typ=GetPortsResult) + return __ret__.apply(lambda __response__: GetPortsResult( + data=pulumi.get(__response__, 'data'), + filter=pulumi.get(__response__, 'filter'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py b/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py index 90e24aef..c89adca9 100644 --- a/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py +++ b/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -325,9 +330,6 @@ def get_routing_protocol(connection_uuid: Optional[str] = None, state=pulumi.get(__ret__, 'state'), type=pulumi.get(__ret__, 'type'), uuid=pulumi.get(__ret__, 'uuid')) - - -@_utilities.lift_output_func(get_routing_protocol) def get_routing_protocol_output(connection_uuid: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoutingProtocolResult]: @@ -366,4 +368,28 @@ def get_routing_protocol_output(connection_uuid: Optional[pulumi.Input[str]] = N :param str connection_uuid: Connection URI associated with Routing Protocol :param str uuid: Equinix-assigned routing protocol identifier """ - ... + __args__ = dict() + __args__['connectionUuid'] = connection_uuid + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getRoutingProtocol:getRoutingProtocol', __args__, opts=opts, typ=GetRoutingProtocolResult) + return __ret__.apply(lambda __response__: GetRoutingProtocolResult( + bfd=pulumi.get(__response__, 'bfd'), + bgp_auth_key=pulumi.get(__response__, 'bgp_auth_key'), + bgp_ipv4=pulumi.get(__response__, 'bgp_ipv4'), + bgp_ipv6=pulumi.get(__response__, 'bgp_ipv6'), + change_logs=pulumi.get(__response__, 'change_logs'), + changes=pulumi.get(__response__, 'changes'), + connection_uuid=pulumi.get(__response__, 'connection_uuid'), + customer_asn=pulumi.get(__response__, 'customer_asn'), + description=pulumi.get(__response__, 'description'), + direct_ipv4=pulumi.get(__response__, 'direct_ipv4'), + direct_ipv6=pulumi.get(__response__, 'direct_ipv6'), + equinix_asn=pulumi.get(__response__, 'equinix_asn'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + operations=pulumi.get(__response__, 'operations'), + state=pulumi.get(__response__, 'state'), + type=pulumi.get(__response__, 'type'), + uuid=pulumi.get(__response__, 'uuid'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profile.py b/sdk/python/pulumi_equinix/fabric/get_service_profile.py index eeae4fe9..402a90f6 100644 --- a/sdk/python/pulumi_equinix/fabric/get_service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/get_service_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -357,9 +362,6 @@ def get_service_profile(uuid: Optional[str] = None, view_point=pulumi.get(__ret__, 'view_point'), virtual_devices=pulumi.get(__ret__, 'virtual_devices'), visibility=pulumi.get(__ret__, 'visibility')) - - -@_utilities.lift_output_func(get_service_profile) def get_service_profile_output(uuid: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProfileResult]: """ @@ -392,4 +394,30 @@ def get_service_profile_output(uuid: Optional[pulumi.Input[str]] = None, :param str uuid: Equinix assigned service profile identifier """ - ... + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getServiceProfile:getServiceProfile', __args__, opts=opts, typ=GetServiceProfileResult) + return __ret__.apply(lambda __response__: GetServiceProfileResult( + access_point_type_configs=pulumi.get(__response__, 'access_point_type_configs'), + account=pulumi.get(__response__, 'account'), + allowed_emails=pulumi.get(__response__, 'allowed_emails'), + change_log=pulumi.get(__response__, 'change_log'), + custom_fields=pulumi.get(__response__, 'custom_fields'), + description=pulumi.get(__response__, 'description'), + href=pulumi.get(__response__, 'href'), + id=pulumi.get(__response__, 'id'), + marketing_info=pulumi.get(__response__, 'marketing_info'), + metros=pulumi.get(__response__, 'metros'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + ports=pulumi.get(__response__, 'ports'), + project=pulumi.get(__response__, 'project'), + self_profile=pulumi.get(__response__, 'self_profile'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + uuid=pulumi.get(__response__, 'uuid'), + view_point=pulumi.get(__response__, 'view_point'), + virtual_devices=pulumi.get(__response__, 'virtual_devices'), + visibility=pulumi.get(__response__, 'visibility'))) diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profiles.py b/sdk/python/pulumi_equinix/fabric/get_service_profiles.py index 9b3e4293..7b35ad19 100644 --- a/sdk/python/pulumi_equinix/fabric/get_service_profiles.py +++ b/sdk/python/pulumi_equinix/fabric/get_service_profiles.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -155,9 +160,6 @@ def get_service_profiles(and_filters: Optional[bool] = None, pagination=pulumi.get(__ret__, 'pagination'), sort=pulumi.get(__ret__, 'sort'), view_point=pulumi.get(__ret__, 'view_point')) - - -@_utilities.lift_output_func(get_service_profiles) def get_service_profiles_output(and_filters: Optional[pulumi.Input[Optional[bool]]] = None, filter: Optional[pulumi.Input[Union['GetServiceProfilesFilterArgs', 'GetServiceProfilesFilterArgsDict']]] = None, pagination: Optional[pulumi.Input[Optional[Union['GetServiceProfilesPaginationArgs', 'GetServiceProfilesPaginationArgsDict']]]] = None, @@ -178,4 +180,19 @@ def get_service_profiles_output(and_filters: Optional[pulumi.Input[Optional[bool :param Sequence[Union['GetServiceProfilesSortArgs', 'GetServiceProfilesSortArgsDict']] sort: Filters for the Data Source Search Request :param str view_point: flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide """ - ... + __args__ = dict() + __args__['andFilters'] = and_filters + __args__['filter'] = filter + __args__['pagination'] = pagination + __args__['sort'] = sort + __args__['viewPoint'] = view_point + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:fabric/getServiceProfiles:getServiceProfiles', __args__, opts=opts, typ=GetServiceProfilesResult) + return __ret__.apply(lambda __response__: GetServiceProfilesResult( + and_filters=pulumi.get(__response__, 'and_filters'), + data=pulumi.get(__response__, 'data'), + filter=pulumi.get(__response__, 'filter'), + id=pulumi.get(__response__, 'id'), + pagination=pulumi.get(__response__, 'pagination'), + sort=pulumi.get(__response__, 'sort'), + view_point=pulumi.get(__response__, 'view_point'))) diff --git a/sdk/python/pulumi_equinix/fabric/network.py b/sdk/python/pulumi_equinix/fabric/network.py index 0588311e..0d152d9a 100644 --- a/sdk/python/pulumi_equinix/fabric/network.py +++ b/sdk/python/pulumi_equinix/fabric/network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/outputs.py b/sdk/python/pulumi_equinix/fabric/outputs.py index c456613f..9f498b77 100644 --- a/sdk/python/pulumi_equinix/fabric/outputs.py +++ b/sdk/python/pulumi_equinix/fabric/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _enums as _root_enums diff --git a/sdk/python/pulumi_equinix/fabric/routing_protocol.py b/sdk/python/pulumi_equinix/fabric/routing_protocol.py index f6b68ddc..2caa9a8e 100644 --- a/sdk/python/pulumi_equinix/fabric/routing_protocol.py +++ b/sdk/python/pulumi_equinix/fabric/routing_protocol.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/service_profile.py b/sdk/python/pulumi_equinix/fabric/service_profile.py index 4ac353e0..345629ab 100644 --- a/sdk/python/pulumi_equinix/fabric/service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/service_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_equinix/metal/_inputs.py b/sdk/python/pulumi_equinix/metal/_inputs.py index 1668ea6c..4220a8e1 100644 --- a/sdk/python/pulumi_equinix/metal/_inputs.py +++ b/sdk/python/pulumi_equinix/metal/_inputs.py @@ -4,32 +4,65 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DeviceBehaviorArgs', + 'DeviceBehaviorArgsDict', 'DeviceIpAddressArgs', + 'DeviceIpAddressArgsDict', 'DeviceNetworkArgs', + 'DeviceNetworkArgsDict', 'DevicePortArgs', + 'DevicePortArgsDict', 'DeviceReinstallArgs', + 'DeviceReinstallArgsDict', 'GatewayTimeoutsArgs', + 'GatewayTimeoutsArgsDict', 'InterconnectionPortArgs', + 'InterconnectionPortArgsDict', 'InterconnectionServiceTokenArgs', + 'InterconnectionServiceTokenArgsDict', 'OrganizationAddressArgs', + 'OrganizationAddressArgsDict', 'ProjectBgpConfigArgs', + 'ProjectBgpConfigArgsDict', 'SpotMarketRequestInstanceParametersArgs', + 'SpotMarketRequestInstanceParametersArgsDict', 'GetDevicesFilterArgs', + 'GetDevicesFilterArgsDict', 'GetDevicesSortArgs', + 'GetDevicesSortArgsDict', 'GetFacilityCapacityArgs', + 'GetFacilityCapacityArgsDict', 'GetMetroCapacityArgs', + 'GetMetroCapacityArgsDict', 'GetPlansFilterArgs', + 'GetPlansFilterArgsDict', 'GetPlansSortArgs', + 'GetPlansSortArgsDict', ] +MYPY = False + +if not MYPY: + class DeviceBehaviorArgsDict(TypedDict): + allow_changes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of attributes that are allowed to change without recreating the instance. Supported attributes: `custom_data`, `user_data` + """ +elif False: + DeviceBehaviorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceBehaviorArgs: def __init__(__self__, *, @@ -53,6 +86,23 @@ def allow_changes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "allow_changes", value) +if not MYPY: + class DeviceIpAddressArgsDict(TypedDict): + type: pulumi.Input[str] + """ + one of public*ipv4,private*ipv4,public_ipv6 + """ + cidr: NotRequired[pulumi.Input[int]] + """ + CIDR suffix for IP block assigned to this device + """ + reservation_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + IDs of reservations to pick the blocks from + """ +elif False: + DeviceIpAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceIpAddressArgs: def __init__(__self__, *, @@ -107,6 +157,31 @@ def reservation_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "reservation_ids", value) +if not MYPY: + class DeviceNetworkArgsDict(TypedDict): + address: NotRequired[pulumi.Input[str]] + """ + IPv4 or IPv6 address string + """ + cidr: NotRequired[pulumi.Input[int]] + """ + CIDR suffix for IP address block to be assigned, i.e. amount of addresses + """ + family: NotRequired[pulumi.Input[int]] + """ + IP version - "4" or "6" + """ + gateway: NotRequired[pulumi.Input[str]] + """ + Address of router + """ + public: NotRequired[pulumi.Input[bool]] + """ + Whether the address is routable from the Internet + """ +elif False: + DeviceNetworkArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceNetworkArgs: def __init__(__self__, *, @@ -194,6 +269,31 @@ def public(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "public", value) +if not MYPY: + class DevicePortArgsDict(TypedDict): + bonded: NotRequired[pulumi.Input[bool]] + """ + Whether this port is part of a bond in bonded network setup + """ + id: NotRequired[pulumi.Input[str]] + """ + The ID of the device + """ + mac: NotRequired[pulumi.Input[str]] + """ + MAC address assigned to the port + """ + name: NotRequired[pulumi.Input[str]] + """ + Name of the port (e.g. eth0, or bond0) + """ + type: NotRequired[pulumi.Input[str]] + """ + One of [private_ipv4, public_ipv4, public_ipv6] + """ +elif False: + DevicePortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DevicePortArgs: def __init__(__self__, *, @@ -281,6 +381,23 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class DeviceReinstallArgsDict(TypedDict): + deprovision_fast: NotRequired[pulumi.Input[bool]] + """ + Whether the OS disk should be filled with `00h` bytes before reinstall + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Whether the device should be reinstalled instead of destroyed + """ + preserve_data: NotRequired[pulumi.Input[bool]] + """ + Whether the non-OS disks should be kept or wiped during reinstall + """ +elif False: + DeviceReinstallArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceReinstallArgs: def __init__(__self__, *, @@ -336,6 +453,15 @@ def preserve_data(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "preserve_data", value) +if not MYPY: + class GatewayTimeoutsArgsDict(TypedDict): + delete: NotRequired[pulumi.Input[str]] + """ + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. + """ +elif False: + GatewayTimeoutsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewayTimeoutsArgs: def __init__(__self__, *, @@ -359,6 +485,27 @@ def delete(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "delete", value) +if not MYPY: + class InterconnectionPortArgsDict(TypedDict): + id: pulumi.Input[str] + link_status: pulumi.Input[str] + name: pulumi.Input[str] + """ + Name of the connection resource + """ + role: pulumi.Input[str] + speed: pulumi.Input[int] + """ + Connection speed - Values must be in the format 'Mbps' or 'Gpbs', for example '100Mbps' or '50Gbps'. Actual supported values will depend on the connection type and whether the connection uses VLANs or VRF. + """ + status: pulumi.Input[str] + """ + Status of the connection resource. + """ + virtual_circuit_ids: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + InterconnectionPortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InterconnectionPortArgs: def __init__(__self__, *, @@ -455,6 +602,20 @@ def virtual_circuit_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "virtual_circuit_ids", value) +if not MYPY: + class InterconnectionServiceTokenArgsDict(TypedDict): + expires_at: pulumi.Input[str] + id: pulumi.Input[str] + max_allowed_speed: pulumi.Input[str] + role: pulumi.Input[str] + state: pulumi.Input[str] + type: pulumi.Input[str] + """ + Connection type - dedicated or shared. + """ +elif False: + InterconnectionServiceTokenArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InterconnectionServiceTokenArgs: def __init__(__self__, *, @@ -532,6 +693,31 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class OrganizationAddressArgsDict(TypedDict): + address: pulumi.Input[str] + """ + Postal address. + """ + city: pulumi.Input[str] + """ + City name. + """ + country: pulumi.Input[str] + """ + Two letter country code (ISO 3166-1 alpha-2), e.g. US. + """ + zip_code: pulumi.Input[str] + """ + Zip Code. + """ + state: NotRequired[pulumi.Input[str]] + """ + State name. + """ +elif False: + OrganizationAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OrganizationAddressArgs: def __init__(__self__, *, @@ -615,6 +801,31 @@ def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) +if not MYPY: + class ProjectBgpConfigArgsDict(TypedDict): + asn: pulumi.Input[int] + """ + Autonomous System Number for local BGP deployment. + """ + deployment_type: pulumi.Input[str] + """ + `local` or `global`, the `local` is likely to be usable immediately, the `global` will need to be reviewed by Equinix Metal engineers. + """ + max_prefix: NotRequired[pulumi.Input[int]] + """ + The maximum number of route filters allowed per server. + """ + md5: NotRequired[pulumi.Input[str]] + """ + Password for BGP session in plaintext (not a checksum). + """ + status: NotRequired[pulumi.Input[str]] + """ + status of BGP configuration in the project. + """ +elif False: + ProjectBgpConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectBgpConfigArgs: def __init__(__self__, *, @@ -700,6 +911,30 @@ def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) +if not MYPY: + class SpotMarketRequestInstanceParametersArgsDict(TypedDict): + billing_cycle: pulumi.Input[str] + hostname: pulumi.Input[str] + operating_system: pulumi.Input[str] + plan: pulumi.Input[str] + always_pxe: NotRequired[pulumi.Input[bool]] + customdata: NotRequired[pulumi.Input[str]] + description: NotRequired[pulumi.Input[str]] + features: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + ipxe_script_url: NotRequired[pulumi.Input[str]] + locked: NotRequired[pulumi.Input[bool]] + """ + Blocks deletion of the SpotMarketRequest device until the lock is disabled. + """ + project_ssh_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + termination_time: NotRequired[pulumi.Input[str]] + termintation_time: NotRequired[pulumi.Input[str]] + user_ssh_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + userdata: NotRequired[pulumi.Input[str]] +elif False: + SpotMarketRequestInstanceParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotMarketRequestInstanceParametersArgs: def __init__(__self__, *, @@ -903,6 +1138,29 @@ def userdata(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "userdata", value) +if not MYPY: + class GetDevicesFilterArgsDict(TypedDict): + attribute: str + """ + The attribute used to filter. Filter attributes are case-sensitive + """ + values: Sequence[str] + """ + The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + """ + all: NotRequired[bool] + """ + If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `devices` block defined below can be used as attribute for both `sort` and `filter` blocks. + """ + match_by: NotRequired[str] + """ + The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + """ +elif False: + GetDevicesFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetDevicesFilterArgs: def __init__(__self__, *, @@ -976,6 +1234,19 @@ def match_by(self, value: Optional[str]): pulumi.set(self, "match_by", value) +if not MYPY: + class GetDevicesSortArgsDict(TypedDict): + attribute: str + """ + The attribute used to sort the results. Sort attributes are case-sensitive + """ + direction: NotRequired[str] + """ + Sort results in ascending or descending order. Strings are sorted in alphabetical order. One of: asc, desc + """ +elif False: + GetDevicesSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetDevicesSortArgs: def __init__(__self__, *, @@ -1014,6 +1285,19 @@ def direction(self, value: Optional[str]): pulumi.set(self, "direction", value) +if not MYPY: + class GetFacilityCapacityArgsDict(TypedDict): + plan: str + """ + Device plan that must be available in selected location. + """ + quantity: NotRequired[int] + """ + Minimun number of devices that must be available in selected location. Default is `1`. + """ +elif False: + GetFacilityCapacityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetFacilityCapacityArgs: def __init__(__self__, *, @@ -1052,6 +1336,19 @@ def quantity(self, value: Optional[int]): pulumi.set(self, "quantity", value) +if not MYPY: + class GetMetroCapacityArgsDict(TypedDict): + plan: str + """ + Device plan that must be available in selected location. + """ + quantity: NotRequired[int] + """ + Minimum number of devices that must be available in selected location. Default is `1`. + """ +elif False: + GetMetroCapacityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetMetroCapacityArgs: def __init__(__self__, *, @@ -1090,6 +1387,29 @@ def quantity(self, value: Optional[int]): pulumi.set(self, "quantity", value) +if not MYPY: + class GetPlansFilterArgsDict(TypedDict): + attribute: str + """ + The attribute used to filter. Filter attributes are case-sensitive + """ + values: Sequence[str] + """ + The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR by default, and the request returns all results that match any of the specified values + """ + all: NotRequired[bool] + """ + If is set to true, the values are joined with an AND, and the requests returns only the results that match all specified values. Default is `false`. + + All fields in the `plans` block defined below can be used as attribute for both `sort` and `filter` blocks. + """ + match_by: NotRequired[str] + """ + The type of comparison to apply. One of: `in` , `re`, `substring`, `less_than`, `less_than_or_equal`, `greater_than`, `greater_than_or_equal`. Default is `in`. + """ +elif False: + GetPlansFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetPlansFilterArgs: def __init__(__self__, *, @@ -1163,6 +1483,19 @@ def match_by(self, value: Optional[str]): pulumi.set(self, "match_by", value) +if not MYPY: + class GetPlansSortArgsDict(TypedDict): + attribute: str + """ + The attribute used to sort the results. Sort attributes are case-sensitive + """ + direction: NotRequired[str] + """ + Sort results in ascending or descending order. Strings are sorted in alphabetical order. One of: asc, desc + """ +elif False: + GetPlansSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GetPlansSortArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_equinix/metal/bgp_session.py b/sdk/python/pulumi_equinix/metal/bgp_session.py index 0d7f71da..50872135 100644 --- a/sdk/python/pulumi_equinix/metal/bgp_session.py +++ b/sdk/python/pulumi_equinix/metal/bgp_session.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BgpSessionArgs', 'BgpSession'] diff --git a/sdk/python/pulumi_equinix/metal/device.py b/sdk/python/pulumi_equinix/metal/device.py index b9f6e749..b5bc6bf8 100644 --- a/sdk/python/pulumi_equinix/metal/device.py +++ b/sdk/python/pulumi_equinix/metal/device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_equinix/metal/device_network_type.py b/sdk/python/pulumi_equinix/metal/device_network_type.py index a5111b44..f53a3edf 100644 --- a/sdk/python/pulumi_equinix/metal/device_network_type.py +++ b/sdk/python/pulumi_equinix/metal/device_network_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DeviceNetworkTypeArgs', 'DeviceNetworkType'] diff --git a/sdk/python/pulumi_equinix/metal/gateway.py b/sdk/python/pulumi_equinix/metal/gateway.py index 80618344..f684e0c3 100644 --- a/sdk/python/pulumi_equinix/metal/gateway.py +++ b/sdk/python/pulumi_equinix/metal/gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/get_device.py b/sdk/python/pulumi_equinix/metal/get_device.py index c3cdc951..f7e77f50 100644 --- a/sdk/python/pulumi_equinix/metal/get_device.py +++ b/sdk/python/pulumi_equinix/metal/get_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -393,9 +398,6 @@ def get_device(device_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), storage=pulumi.get(__ret__, 'storage'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_device) def get_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, hostname: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -431,4 +433,35 @@ def get_device_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, :param str hostname: The device name :param str project_id: The id of the project in which the devices exists """ - ... + __args__ = dict() + __args__['deviceId'] = device_id + __args__['hostname'] = hostname + __args__['projectId'] = project_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getDevice:getDevice', __args__, opts=opts, typ=GetDeviceResult) + return __ret__.apply(lambda __response__: GetDeviceResult( + access_private_ipv4=pulumi.get(__response__, 'access_private_ipv4'), + access_public_ipv4=pulumi.get(__response__, 'access_public_ipv4'), + access_public_ipv6=pulumi.get(__response__, 'access_public_ipv6'), + always_pxe=pulumi.get(__response__, 'always_pxe'), + billing_cycle=pulumi.get(__response__, 'billing_cycle'), + description=pulumi.get(__response__, 'description'), + device_id=pulumi.get(__response__, 'device_id'), + facility=pulumi.get(__response__, 'facility'), + hardware_reservation_id=pulumi.get(__response__, 'hardware_reservation_id'), + hostname=pulumi.get(__response__, 'hostname'), + id=pulumi.get(__response__, 'id'), + ipxe_script_url=pulumi.get(__response__, 'ipxe_script_url'), + metro=pulumi.get(__response__, 'metro'), + network_type=pulumi.get(__response__, 'network_type'), + networks=pulumi.get(__response__, 'networks'), + operating_system=pulumi.get(__response__, 'operating_system'), + plan=pulumi.get(__response__, 'plan'), + ports=pulumi.get(__response__, 'ports'), + project_id=pulumi.get(__response__, 'project_id'), + root_password=pulumi.get(__response__, 'root_password'), + sos_hostname=pulumi.get(__response__, 'sos_hostname'), + ssh_key_ids=pulumi.get(__response__, 'ssh_key_ids'), + state=pulumi.get(__response__, 'state'), + storage=pulumi.get(__response__, 'storage'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py b/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py index 2f93c20c..34160561 100644 --- a/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py +++ b/sdk/python/pulumi_equinix/metal/get_device_bgp_neighbors.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -97,9 +102,6 @@ def get_device_bgp_neighbors(device_id: Optional[str] = None, bgp_neighbors=pulumi.get(__ret__, 'bgp_neighbors'), device_id=pulumi.get(__ret__, 'device_id'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_device_bgp_neighbors) def get_device_bgp_neighbors_output(device_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceBgpNeighborsResult]: """ @@ -122,4 +124,11 @@ def get_device_bgp_neighbors_output(device_id: Optional[pulumi.Input[str]] = Non :param str device_id: UUID of BGP-enabled device whose neighbors to list. """ - ... + __args__ = dict() + __args__['deviceId'] = device_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getDeviceBgpNeighbors:getDeviceBgpNeighbors', __args__, opts=opts, typ=GetDeviceBgpNeighborsResult) + return __ret__.apply(lambda __response__: GetDeviceBgpNeighborsResult( + bgp_neighbors=pulumi.get(__response__, 'bgp_neighbors'), + device_id=pulumi.get(__response__, 'device_id'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_equinix/metal/get_devices.py b/sdk/python/pulumi_equinix/metal/get_devices.py index dcaf61a4..250a805d 100644 --- a/sdk/python/pulumi_equinix/metal/get_devices.py +++ b/sdk/python/pulumi_equinix/metal/get_devices.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -172,9 +177,6 @@ def get_devices(filters: Optional[Sequence[Union['GetDevicesFilterArgs', 'GetDev project_id=pulumi.get(__ret__, 'project_id'), search=pulumi.get(__ret__, 'search'), sorts=pulumi.get(__ret__, 'sorts')) - - -@_utilities.lift_output_func(get_devices) def get_devices_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDevicesFilterArgs', 'GetDevicesFilterArgsDict']]]]] = None, organization_id: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -227,4 +229,19 @@ def get_devices_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['G :param str project_id: ID of project containing the devices. Exactly one of `project_id` and `organization_id` must be set. :param str search: Search string to filter devices by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. """ - ... + __args__ = dict() + __args__['filters'] = filters + __args__['organizationId'] = organization_id + __args__['projectId'] = project_id + __args__['search'] = search + __args__['sorts'] = sorts + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getDevices:getDevices', __args__, opts=opts, typ=GetDevicesResult) + return __ret__.apply(lambda __response__: GetDevicesResult( + devices=pulumi.get(__response__, 'devices'), + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + organization_id=pulumi.get(__response__, 'organization_id'), + project_id=pulumi.get(__response__, 'project_id'), + search=pulumi.get(__response__, 'search'), + sorts=pulumi.get(__response__, 'sorts'))) diff --git a/sdk/python/pulumi_equinix/metal/get_facility.py b/sdk/python/pulumi_equinix/metal/get_facility.py index ac9e54c2..780760a3 100644 --- a/sdk/python/pulumi_equinix/metal/get_facility.py +++ b/sdk/python/pulumi_equinix/metal/get_facility.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -148,9 +153,6 @@ def get_facility(capacities: Optional[Sequence[Union['GetFacilityCapacityArgs', id=pulumi.get(__ret__, 'id'), metro=pulumi.get(__ret__, 'metro'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_facility) def get_facility_output(capacities: Optional[pulumi.Input[Optional[Sequence[Union['GetFacilityCapacityArgs', 'GetFacilityCapacityArgsDict']]]]] = None, code: Optional[pulumi.Input[str]] = None, features_requireds: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, @@ -175,4 +177,17 @@ def get_facility_output(capacities: Optional[pulumi.Input[Optional[Sequence[Unio :param str code: The facility code to search for facilities. :param Sequence[str] features_requireds: Set of feature strings that the facility must have. Some possible values are `baremetal`, `ibx`, `storage`, `global_ipv4`, `backend_transfer`, `layer_2`. """ - ... + __args__ = dict() + __args__['capacities'] = capacities + __args__['code'] = code + __args__['featuresRequireds'] = features_requireds + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getFacility:getFacility', __args__, opts=opts, typ=GetFacilityResult) + return __ret__.apply(lambda __response__: GetFacilityResult( + capacities=pulumi.get(__response__, 'capacities'), + code=pulumi.get(__response__, 'code'), + features=pulumi.get(__response__, 'features'), + features_requireds=pulumi.get(__response__, 'features_requireds'), + id=pulumi.get(__response__, 'id'), + metro=pulumi.get(__response__, 'metro'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_equinix/metal/get_gateway.py b/sdk/python/pulumi_equinix/metal/get_gateway.py index dc671656..edfd8982 100644 --- a/sdk/python/pulumi_equinix/metal/get_gateway.py +++ b/sdk/python/pulumi_equinix/metal/get_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -160,9 +165,6 @@ def get_gateway(gateway_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), vlan_id=pulumi.get(__ret__, 'vlan_id'), vrf_id=pulumi.get(__ret__, 'vrf_id')) - - -@_utilities.lift_output_func(get_gateway) def get_gateway_output(gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayResult]: """ @@ -187,4 +189,16 @@ def get_gateway_output(gateway_id: Optional[pulumi.Input[str]] = None, :param str gateway_id: UUID of the metal gateway resource to retrieve. """ - ... + __args__ = dict() + __args__['gatewayId'] = gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getGateway:getGateway', __args__, opts=opts, typ=GetGatewayResult) + return __ret__.apply(lambda __response__: GetGatewayResult( + gateway_id=pulumi.get(__response__, 'gateway_id'), + id=pulumi.get(__response__, 'id'), + ip_reservation_id=pulumi.get(__response__, 'ip_reservation_id'), + private_ipv4_subnet_size=pulumi.get(__response__, 'private_ipv4_subnet_size'), + project_id=pulumi.get(__response__, 'project_id'), + state=pulumi.get(__response__, 'state'), + vlan_id=pulumi.get(__response__, 'vlan_id'), + vrf_id=pulumi.get(__response__, 'vrf_id'))) diff --git a/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py b/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py index 388ecae3..ee252933 100644 --- a/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py +++ b/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -179,9 +184,6 @@ def get_hardware_reservation(device_id: Optional[str] = None, short_id=pulumi.get(__ret__, 'short_id'), spare=pulumi.get(__ret__, 'spare'), switch_uuid=pulumi.get(__ret__, 'switch_uuid')) - - -@_utilities.lift_output_func(get_hardware_reservation) def get_hardware_reservation_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHardwareReservationResult]: @@ -204,4 +206,18 @@ def get_hardware_reservation_output(device_id: Optional[pulumi.Input[Optional[st :param str device_id: UUID of device occupying the reservation. :param str id: ID of the hardware reservation. """ - ... + __args__ = dict() + __args__['deviceId'] = device_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getHardwareReservation:getHardwareReservation', __args__, opts=opts, typ=GetHardwareReservationResult) + return __ret__.apply(lambda __response__: GetHardwareReservationResult( + device_id=pulumi.get(__response__, 'device_id'), + facility=pulumi.get(__response__, 'facility'), + id=pulumi.get(__response__, 'id'), + plan=pulumi.get(__response__, 'plan'), + project_id=pulumi.get(__response__, 'project_id'), + provisionable=pulumi.get(__response__, 'provisionable'), + short_id=pulumi.get(__response__, 'short_id'), + spare=pulumi.get(__response__, 'spare'), + switch_uuid=pulumi.get(__response__, 'switch_uuid'))) diff --git a/sdk/python/pulumi_equinix/metal/get_interconnection.py b/sdk/python/pulumi_equinix/metal/get_interconnection.py index a4345aa5..60ba3f88 100644 --- a/sdk/python/pulumi_equinix/metal/get_interconnection.py +++ b/sdk/python/pulumi_equinix/metal/get_interconnection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -340,9 +345,6 @@ def get_interconnection(connection_id: Optional[str] = None, type=pulumi.get(__ret__, 'type'), vlans=pulumi.get(__ret__, 'vlans'), vrfs=pulumi.get(__ret__, 'vrfs')) - - -@_utilities.lift_output_func(get_interconnection) def get_interconnection_output(connection_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInterconnectionResult]: """ @@ -362,4 +364,30 @@ def get_interconnection_output(connection_id: Optional[pulumi.Input[str]] = None :param str connection_id: ID of the connection resource. """ - ... + __args__ = dict() + __args__['connectionId'] = connection_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getInterconnection:getInterconnection', __args__, opts=opts, typ=GetInterconnectionResult) + return __ret__.apply(lambda __response__: GetInterconnectionResult( + authorization_code=pulumi.get(__response__, 'authorization_code'), + connection_id=pulumi.get(__response__, 'connection_id'), + contact_email=pulumi.get(__response__, 'contact_email'), + description=pulumi.get(__response__, 'description'), + facility=pulumi.get(__response__, 'facility'), + id=pulumi.get(__response__, 'id'), + metro=pulumi.get(__response__, 'metro'), + mode=pulumi.get(__response__, 'mode'), + name=pulumi.get(__response__, 'name'), + organization_id=pulumi.get(__response__, 'organization_id'), + ports=pulumi.get(__response__, 'ports'), + project_id=pulumi.get(__response__, 'project_id'), + redundancy=pulumi.get(__response__, 'redundancy'), + service_token_type=pulumi.get(__response__, 'service_token_type'), + service_tokens=pulumi.get(__response__, 'service_tokens'), + speed=pulumi.get(__response__, 'speed'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + token=pulumi.get(__response__, 'token'), + type=pulumi.get(__response__, 'type'), + vlans=pulumi.get(__response__, 'vlans'), + vrfs=pulumi.get(__response__, 'vrfs'))) diff --git a/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py b/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py index 17b63bc4..0265f70b 100644 --- a/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py +++ b/sdk/python/pulumi_equinix/metal/get_ip_block_ranges.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -163,9 +168,6 @@ def get_ip_block_ranges(facility: Optional[str] = None, private_ipv4s=pulumi.get(__ret__, 'private_ipv4s'), project_id=pulumi.get(__ret__, 'project_id'), public_ipv4s=pulumi.get(__ret__, 'public_ipv4s')) - - -@_utilities.lift_output_func(get_ip_block_ranges) def get_ip_block_ranges_output(facility: Optional[pulumi.Input[Optional[str]]] = None, metro: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[str]] = None, @@ -193,4 +195,18 @@ def get_ip_block_ranges_output(facility: Optional[pulumi.Input[Optional[str]]] = :param str metro: Metro code filtering the IP blocks. Global IPv4 blocks will be listed anyway. If you omit this and facility, all the block from the project will be listed. :param str project_id: ID of the project from which to list the blocks. """ - ... + __args__ = dict() + __args__['facility'] = facility + __args__['metro'] = metro + __args__['projectId'] = project_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getIpBlockRanges:getIpBlockRanges', __args__, opts=opts, typ=GetIpBlockRangesResult) + return __ret__.apply(lambda __response__: GetIpBlockRangesResult( + facility=pulumi.get(__response__, 'facility'), + global_ipv4s=pulumi.get(__response__, 'global_ipv4s'), + id=pulumi.get(__response__, 'id'), + ipv6s=pulumi.get(__response__, 'ipv6s'), + metro=pulumi.get(__response__, 'metro'), + private_ipv4s=pulumi.get(__response__, 'private_ipv4s'), + project_id=pulumi.get(__response__, 'project_id'), + public_ipv4s=pulumi.get(__response__, 'public_ipv4s'))) diff --git a/sdk/python/pulumi_equinix/metal/get_metro.py b/sdk/python/pulumi_equinix/metal/get_metro.py index 4b4d1e49..9ad037f1 100644 --- a/sdk/python/pulumi_equinix/metal/get_metro.py +++ b/sdk/python/pulumi_equinix/metal/get_metro.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -120,9 +125,6 @@ def get_metro(capacities: Optional[Sequence[Union['GetMetroCapacityArgs', 'GetMe country=pulumi.get(__ret__, 'country'), id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_metro) def get_metro_output(capacities: Optional[pulumi.Input[Optional[Sequence[Union['GetMetroCapacityArgs', 'GetMetroCapacityArgsDict']]]]] = None, code: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetroResult]: @@ -143,4 +145,14 @@ def get_metro_output(capacities: Optional[pulumi.Input[Optional[Sequence[Union[' :param Sequence[Union['GetMetroCapacityArgs', 'GetMetroCapacityArgsDict']] capacities: One or more device plans for which the metro must have capacity. :param str code: The metro code to search for. """ - ... + __args__ = dict() + __args__['capacities'] = capacities + __args__['code'] = code + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getMetro:getMetro', __args__, opts=opts, typ=GetMetroResult) + return __ret__.apply(lambda __response__: GetMetroResult( + capacities=pulumi.get(__response__, 'capacities'), + code=pulumi.get(__response__, 'code'), + country=pulumi.get(__response__, 'country'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_equinix/metal/get_operating_system.py b/sdk/python/pulumi_equinix/metal/get_operating_system.py index 096bde3b..94525a12 100644 --- a/sdk/python/pulumi_equinix/metal/get_operating_system.py +++ b/sdk/python/pulumi_equinix/metal/get_operating_system.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -139,9 +144,6 @@ def get_operating_system(distro: Optional[str] = None, provisionable_on=pulumi.get(__ret__, 'provisionable_on'), slug=pulumi.get(__ret__, 'slug'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_operating_system) def get_operating_system_output(distro: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, provisionable_on: Optional[pulumi.Input[Optional[str]]] = None, @@ -174,4 +176,17 @@ def get_operating_system_output(distro: Optional[pulumi.Input[Optional[str]]] = :param str provisionable_on: Plan name. :param str version: Version of the distribution. """ - ... + __args__ = dict() + __args__['distro'] = distro + __args__['name'] = name + __args__['provisionableOn'] = provisionable_on + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getOperatingSystem:getOperatingSystem', __args__, opts=opts, typ=GetOperatingSystemResult) + return __ret__.apply(lambda __response__: GetOperatingSystemResult( + distro=pulumi.get(__response__, 'distro'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + provisionable_on=pulumi.get(__response__, 'provisionable_on'), + slug=pulumi.get(__response__, 'slug'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_equinix/metal/get_organization.py b/sdk/python/pulumi_equinix/metal/get_organization.py index f57d40a9..96f7f45f 100644 --- a/sdk/python/pulumi_equinix/metal/get_organization.py +++ b/sdk/python/pulumi_equinix/metal/get_organization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -174,9 +179,6 @@ def get_organization(description: Optional[str] = None, project_ids=pulumi.get(__ret__, 'project_ids'), twitter=pulumi.get(__ret__, 'twitter'), website=pulumi.get(__ret__, 'website')) - - -@_utilities.lift_output_func(get_organization) def get_organization_output(description: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, organization_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -201,4 +203,19 @@ def get_organization_output(description: Optional[pulumi.Input[Optional[str]]] = Exactly one of `name` or `organization_id` must be given. """ - ... + __args__ = dict() + __args__['description'] = description + __args__['name'] = name + __args__['organizationId'] = organization_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult) + return __ret__.apply(lambda __response__: GetOrganizationResult( + address=pulumi.get(__response__, 'address'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + logo=pulumi.get(__response__, 'logo'), + name=pulumi.get(__response__, 'name'), + organization_id=pulumi.get(__response__, 'organization_id'), + project_ids=pulumi.get(__response__, 'project_ids'), + twitter=pulumi.get(__response__, 'twitter'), + website=pulumi.get(__response__, 'website'))) diff --git a/sdk/python/pulumi_equinix/metal/get_plans.py b/sdk/python/pulumi_equinix/metal/get_plans.py index 325cf6dc..c3c9ca44 100644 --- a/sdk/python/pulumi_equinix/metal/get_plans.py +++ b/sdk/python/pulumi_equinix/metal/get_plans.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * @@ -93,9 +98,6 @@ def get_plans(filters: Optional[Sequence[Union['GetPlansFilterArgs', 'GetPlansFi id=pulumi.get(__ret__, 'id'), plans=pulumi.get(__ret__, 'plans'), sorts=pulumi.get(__ret__, 'sorts')) - - -@_utilities.lift_output_func(get_plans) def get_plans_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPlansFilterArgs', 'GetPlansFilterArgsDict']]]]] = None, sorts: Optional[pulumi.Input[Optional[Sequence[Union['GetPlansSortArgs', 'GetPlansSortArgsDict']]]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlansResult]: @@ -105,4 +107,13 @@ def get_plans_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['Get :param Sequence[Union['GetPlansFilterArgs', 'GetPlansFilterArgsDict']] filters: One or more attribute/values pairs to filter off of :param Sequence[Union['GetPlansSortArgs', 'GetPlansSortArgsDict']] sorts: One or more attribute/direction pairs on which to sort results. If multiple sorts are provided, they will be applied in order """ - ... + __args__ = dict() + __args__['filters'] = filters + __args__['sorts'] = sorts + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getPlans:getPlans', __args__, opts=opts, typ=GetPlansResult) + return __ret__.apply(lambda __response__: GetPlansResult( + filters=pulumi.get(__response__, 'filters'), + id=pulumi.get(__response__, 'id'), + plans=pulumi.get(__response__, 'plans'), + sorts=pulumi.get(__response__, 'sorts'))) diff --git a/sdk/python/pulumi_equinix/metal/get_port.py b/sdk/python/pulumi_equinix/metal/get_port.py index 043add5c..8a458ba2 100644 --- a/sdk/python/pulumi_equinix/metal/get_port.py +++ b/sdk/python/pulumi_equinix/metal/get_port.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -255,9 +260,6 @@ def get_port(device_id: Optional[str] = None, type=pulumi.get(__ret__, 'type'), vlan_ids=pulumi.get(__ret__, 'vlan_ids'), vxlan_ids=pulumi.get(__ret__, 'vxlan_ids')) - - -@_utilities.lift_output_func(get_port) def get_port_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, port_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -290,4 +292,25 @@ def get_port_output(device_id: Optional[pulumi.Input[Optional[str]]] = None, :param str name: Name of the port to look up, i.e. `bond0`, `eth1`. :param str port_id: ID of the port to read, conflicts with `device_id`. """ - ... + __args__ = dict() + __args__['deviceId'] = device_id + __args__['name'] = name + __args__['portId'] = port_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getPort:getPort', __args__, opts=opts, typ=GetPortResult) + return __ret__.apply(lambda __response__: GetPortResult( + bond_id=pulumi.get(__response__, 'bond_id'), + bond_name=pulumi.get(__response__, 'bond_name'), + bonded=pulumi.get(__response__, 'bonded'), + device_id=pulumi.get(__response__, 'device_id'), + disbond_supported=pulumi.get(__response__, 'disbond_supported'), + id=pulumi.get(__response__, 'id'), + layer2=pulumi.get(__response__, 'layer2'), + mac=pulumi.get(__response__, 'mac'), + name=pulumi.get(__response__, 'name'), + native_vlan_id=pulumi.get(__response__, 'native_vlan_id'), + network_type=pulumi.get(__response__, 'network_type'), + port_id=pulumi.get(__response__, 'port_id'), + type=pulumi.get(__response__, 'type'), + vlan_ids=pulumi.get(__response__, 'vlan_ids'), + vxlan_ids=pulumi.get(__response__, 'vxlan_ids'))) diff --git a/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py b/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py index 5da6c131..808ec33a 100644 --- a/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/get_precreated_ip_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -253,9 +258,6 @@ def get_precreated_ip_block(address_family: Optional[int] = None, quantity=pulumi.get(__ret__, 'quantity'), type=pulumi.get(__ret__, 'type'), vrf_id=pulumi.get(__ret__, 'vrf_id')) - - -@_utilities.lift_output_func(get_precreated_ip_block) def get_precreated_ip_block_output(address_family: Optional[pulumi.Input[int]] = None, facility: Optional[pulumi.Input[Optional[str]]] = None, global_: Optional[pulumi.Input[Optional[bool]]] = None, @@ -280,4 +282,31 @@ def get_precreated_ip_block_output(address_family: Optional[pulumi.Input[int]] = :param str project_id: ID of the project where the searched block should be. :param bool public: Whether to look for public or private block. """ - ... + __args__ = dict() + __args__['addressFamily'] = address_family + __args__['facility'] = facility + __args__['global'] = global_ + __args__['metro'] = metro + __args__['projectId'] = project_id + __args__['public'] = public + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getPrecreatedIpBlock:getPrecreatedIpBlock', __args__, opts=opts, typ=GetPrecreatedIpBlockResult) + return __ret__.apply(lambda __response__: GetPrecreatedIpBlockResult( + address=pulumi.get(__response__, 'address'), + address_family=pulumi.get(__response__, 'address_family'), + cidr=pulumi.get(__response__, 'cidr'), + cidr_notation=pulumi.get(__response__, 'cidr_notation'), + facility=pulumi.get(__response__, 'facility'), + gateway=pulumi.get(__response__, 'gateway'), + global_=pulumi.get(__response__, 'global_'), + id=pulumi.get(__response__, 'id'), + manageable=pulumi.get(__response__, 'manageable'), + management=pulumi.get(__response__, 'management'), + metro=pulumi.get(__response__, 'metro'), + netmask=pulumi.get(__response__, 'netmask'), + network=pulumi.get(__response__, 'network'), + project_id=pulumi.get(__response__, 'project_id'), + public=pulumi.get(__response__, 'public'), + quantity=pulumi.get(__response__, 'quantity'), + type=pulumi.get(__response__, 'type'), + vrf_id=pulumi.get(__response__, 'vrf_id'))) diff --git a/sdk/python/pulumi_equinix/metal/get_project.py b/sdk/python/pulumi_equinix/metal/get_project.py index fc025bb3..cc3e15f7 100644 --- a/sdk/python/pulumi_equinix/metal/get_project.py +++ b/sdk/python/pulumi_equinix/metal/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -181,9 +186,6 @@ def get_project(name: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id'), updated=pulumi.get(__ret__, 'updated'), user_ids=pulumi.get(__ret__, 'user_ids')) - - -@_utilities.lift_output_func(get_project) def get_project_output(name: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: @@ -204,4 +206,19 @@ def get_project_output(name: Optional[pulumi.Input[Optional[str]]] = None, :param str name: The name which is used to look up the project. :param str project_id: The UUID by which to look up the project. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['projectId'] = project_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getProject:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + backend_transfer=pulumi.get(__response__, 'backend_transfer'), + bgp_config=pulumi.get(__response__, 'bgp_config'), + created=pulumi.get(__response__, 'created'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + organization_id=pulumi.get(__response__, 'organization_id'), + payment_method_id=pulumi.get(__response__, 'payment_method_id'), + project_id=pulumi.get(__response__, 'project_id'), + updated=pulumi.get(__response__, 'updated'), + user_ids=pulumi.get(__response__, 'user_ids'))) diff --git a/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py b/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py index 1479332a..4b972afe 100644 --- a/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/get_project_ssh_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -178,9 +183,6 @@ def get_project_ssh_key(id: Optional[str] = None, public_key=pulumi.get(__ret__, 'public_key'), search=pulumi.get(__ret__, 'search'), updated=pulumi.get(__ret__, 'updated')) - - -@_utilities.lift_output_func(get_project_ssh_key) def get_project_ssh_key_output(id: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[str]] = None, search: Optional[pulumi.Input[Optional[str]]] = None, @@ -205,4 +207,19 @@ def get_project_ssh_key_output(id: Optional[pulumi.Input[Optional[str]]] = None, > **NOTE:** One of either `search` or `id` must be provided along with `project_id`. :param str search: The name, fingerprint, or public_key of the SSH Key to search for in the Equinix Metal project. """ - ... + __args__ = dict() + __args__['id'] = id + __args__['projectId'] = project_id + __args__['search'] = search + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getProjectSshKey:getProjectSshKey', __args__, opts=opts, typ=GetProjectSshKeyResult) + return __ret__.apply(lambda __response__: GetProjectSshKeyResult( + created=pulumi.get(__response__, 'created'), + fingerprint=pulumi.get(__response__, 'fingerprint'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + owner_id=pulumi.get(__response__, 'owner_id'), + project_id=pulumi.get(__response__, 'project_id'), + public_key=pulumi.get(__response__, 'public_key'), + search=pulumi.get(__response__, 'search'), + updated=pulumi.get(__response__, 'updated'))) diff --git a/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py b/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py index ba9a1188..8c20ea53 100644 --- a/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/get_reserved_ip_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -252,9 +257,6 @@ def get_reserved_ip_block(id: Optional[str] = None, quantity=pulumi.get(__ret__, 'quantity'), type=pulumi.get(__ret__, 'type'), vrf_id=pulumi.get(__ret__, 'vrf_id')) - - -@_utilities.lift_output_func(get_reserved_ip_block) def get_reserved_ip_block_output(id: Optional[pulumi.Input[Optional[str]]] = None, ip_address: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -273,4 +275,29 @@ def get_reserved_ip_block_output(id: Optional[pulumi.Input[Optional[str]]] = Non > **NOTE:** You should pass either `id`, or both `project_id` and `ip_address`. :param str project_id: UUID of the project where the searched block should be. """ - ... + __args__ = dict() + __args__['id'] = id + __args__['ipAddress'] = ip_address + __args__['projectId'] = project_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getReservedIpBlock:getReservedIpBlock', __args__, opts=opts, typ=GetReservedIpBlockResult) + return __ret__.apply(lambda __response__: GetReservedIpBlockResult( + address=pulumi.get(__response__, 'address'), + address_family=pulumi.get(__response__, 'address_family'), + cidr=pulumi.get(__response__, 'cidr'), + cidr_notation=pulumi.get(__response__, 'cidr_notation'), + facility=pulumi.get(__response__, 'facility'), + gateway=pulumi.get(__response__, 'gateway'), + global_=pulumi.get(__response__, 'global_'), + id=pulumi.get(__response__, 'id'), + ip_address=pulumi.get(__response__, 'ip_address'), + manageable=pulumi.get(__response__, 'manageable'), + management=pulumi.get(__response__, 'management'), + metro=pulumi.get(__response__, 'metro'), + netmask=pulumi.get(__response__, 'netmask'), + network=pulumi.get(__response__, 'network'), + project_id=pulumi.get(__response__, 'project_id'), + public=pulumi.get(__response__, 'public'), + quantity=pulumi.get(__response__, 'quantity'), + type=pulumi.get(__response__, 'type'), + vrf_id=pulumi.get(__response__, 'vrf_id'))) diff --git a/sdk/python/pulumi_equinix/metal/get_spot_market_price.py b/sdk/python/pulumi_equinix/metal/get_spot_market_price.py index f0f7e1cf..948cc280 100644 --- a/sdk/python/pulumi_equinix/metal/get_spot_market_price.py +++ b/sdk/python/pulumi_equinix/metal/get_spot_market_price.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -121,9 +126,6 @@ def get_spot_market_price(facility: Optional[str] = None, metro=pulumi.get(__ret__, 'metro'), plan=pulumi.get(__ret__, 'plan'), price=pulumi.get(__ret__, 'price')) - - -@_utilities.lift_output_func(get_spot_market_price) def get_spot_market_price_output(facility: Optional[pulumi.Input[Optional[str]]] = None, metro: Optional[pulumi.Input[Optional[str]]] = None, plan: Optional[pulumi.Input[str]] = None, @@ -148,4 +150,15 @@ def get_spot_market_price_output(facility: Optional[pulumi.Input[Optional[str]]] :param str metro: Name of the metro. :param str plan: Name of the plan. """ - ... + __args__ = dict() + __args__['facility'] = facility + __args__['metro'] = metro + __args__['plan'] = plan + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getSpotMarketPrice:getSpotMarketPrice', __args__, opts=opts, typ=GetSpotMarketPriceResult) + return __ret__.apply(lambda __response__: GetSpotMarketPriceResult( + facility=pulumi.get(__response__, 'facility'), + id=pulumi.get(__response__, 'id'), + metro=pulumi.get(__response__, 'metro'), + plan=pulumi.get(__response__, 'plan'), + price=pulumi.get(__response__, 'price'))) diff --git a/sdk/python/pulumi_equinix/metal/get_spot_market_request.py b/sdk/python/pulumi_equinix/metal/get_spot_market_request.py index dd70c7ed..872b8f19 100644 --- a/sdk/python/pulumi_equinix/metal/get_spot_market_request.py +++ b/sdk/python/pulumi_equinix/metal/get_spot_market_request.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -186,9 +191,6 @@ def get_spot_market_request(request_id: Optional[str] = None, plan=pulumi.get(__ret__, 'plan'), project_id=pulumi.get(__ret__, 'project_id'), request_id=pulumi.get(__ret__, 'request_id')) - - -@_utilities.lift_output_func(get_spot_market_request) def get_spot_market_request_output(request_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpotMarketRequestResult]: """ @@ -196,4 +198,19 @@ def get_spot_market_request_output(request_id: Optional[pulumi.Input[str]] = Non :param str request_id: The id of the Spot Market Request. """ - ... + __args__ = dict() + __args__['requestId'] = request_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getSpotMarketRequest:getSpotMarketRequest', __args__, opts=opts, typ=GetSpotMarketRequestResult) + return __ret__.apply(lambda __response__: GetSpotMarketRequestResult( + device_ids=pulumi.get(__response__, 'device_ids'), + devices_max=pulumi.get(__response__, 'devices_max'), + devices_min=pulumi.get(__response__, 'devices_min'), + end_at=pulumi.get(__response__, 'end_at'), + facilities=pulumi.get(__response__, 'facilities'), + id=pulumi.get(__response__, 'id'), + max_bid_price=pulumi.get(__response__, 'max_bid_price'), + metro=pulumi.get(__response__, 'metro'), + plan=pulumi.get(__response__, 'plan'), + project_id=pulumi.get(__response__, 'project_id'), + request_id=pulumi.get(__response__, 'request_id'))) diff --git a/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py b/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py index 60d9ac38..7fdb8677 100644 --- a/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py +++ b/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -362,9 +367,6 @@ def get_virtual_circuit(customer_ipv6: Optional[str] = None, vlan_id=pulumi.get(__ret__, 'vlan_id'), vnid=pulumi.get(__ret__, 'vnid'), vrf_id=pulumi.get(__ret__, 'vrf_id')) - - -@_utilities.lift_output_func(get_virtual_circuit) def get_virtual_circuit_output(customer_ipv6: Optional[pulumi.Input[Optional[str]]] = None, metal_ipv6: Optional[pulumi.Input[Optional[str]]] = None, subnet_ipv6: Optional[pulumi.Input[Optional[str]]] = None, @@ -383,4 +385,34 @@ def get_virtual_circuit_output(customer_ipv6: Optional[pulumi.Input[Optional[str * For a /126 block, it will have four IP addresses, but the first and last IP addresses are not usable. We will default to the first usable IP address for the metal_ip. :param str virtual_circuit_id: ID of the virtual circuit to lookup """ - ... + __args__ = dict() + __args__['customerIpv6'] = customer_ipv6 + __args__['metalIpv6'] = metal_ipv6 + __args__['subnetIpv6'] = subnet_ipv6 + __args__['virtualCircuitId'] = virtual_circuit_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getVirtualCircuit:getVirtualCircuit', __args__, opts=opts, typ=GetVirtualCircuitResult) + return __ret__.apply(lambda __response__: GetVirtualCircuitResult( + connection_id=pulumi.get(__response__, 'connection_id'), + customer_ip=pulumi.get(__response__, 'customer_ip'), + customer_ipv6=pulumi.get(__response__, 'customer_ipv6'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + md5=pulumi.get(__response__, 'md5'), + metal_ip=pulumi.get(__response__, 'metal_ip'), + metal_ipv6=pulumi.get(__response__, 'metal_ipv6'), + name=pulumi.get(__response__, 'name'), + nni_vlan=pulumi.get(__response__, 'nni_vlan'), + nni_vnid=pulumi.get(__response__, 'nni_vnid'), + peer_asn=pulumi.get(__response__, 'peer_asn'), + port_id=pulumi.get(__response__, 'port_id'), + project_id=pulumi.get(__response__, 'project_id'), + speed=pulumi.get(__response__, 'speed'), + status=pulumi.get(__response__, 'status'), + subnet=pulumi.get(__response__, 'subnet'), + subnet_ipv6=pulumi.get(__response__, 'subnet_ipv6'), + tags=pulumi.get(__response__, 'tags'), + virtual_circuit_id=pulumi.get(__response__, 'virtual_circuit_id'), + vlan_id=pulumi.get(__response__, 'vlan_id'), + vnid=pulumi.get(__response__, 'vnid'), + vrf_id=pulumi.get(__response__, 'vrf_id'))) diff --git a/sdk/python/pulumi_equinix/metal/get_vlan.py b/sdk/python/pulumi_equinix/metal/get_vlan.py index cc87570e..4b57489c 100644 --- a/sdk/python/pulumi_equinix/metal/get_vlan.py +++ b/sdk/python/pulumi_equinix/metal/get_vlan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -173,9 +178,6 @@ def get_vlan(facility: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id'), vlan_id=pulumi.get(__ret__, 'vlan_id'), vxlan=pulumi.get(__ret__, 'vxlan')) - - -@_utilities.lift_output_func(get_vlan) def get_vlan_output(facility: Optional[pulumi.Input[Optional[str]]] = None, metro: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -220,4 +222,20 @@ def get_vlan_output(facility: Optional[pulumi.Input[Optional[str]]] = None, :param str vlan_id: Metal UUID of the VLAN resource to look up. :param int vxlan: vxlan number of the VLAN to look up. Use together with the project_id and metro or facility. """ - ... + __args__ = dict() + __args__['facility'] = facility + __args__['metro'] = metro + __args__['projectId'] = project_id + __args__['vlanId'] = vlan_id + __args__['vxlan'] = vxlan + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getVlan:getVlan', __args__, opts=opts, typ=GetVlanResult) + return __ret__.apply(lambda __response__: GetVlanResult( + assigned_devices_ids=pulumi.get(__response__, 'assigned_devices_ids'), + description=pulumi.get(__response__, 'description'), + facility=pulumi.get(__response__, 'facility'), + id=pulumi.get(__response__, 'id'), + metro=pulumi.get(__response__, 'metro'), + project_id=pulumi.get(__response__, 'project_id'), + vlan_id=pulumi.get(__response__, 'vlan_id'), + vxlan=pulumi.get(__response__, 'vxlan'))) diff --git a/sdk/python/pulumi_equinix/metal/get_vrf.py b/sdk/python/pulumi_equinix/metal/get_vrf.py index 01225639..defa3c53 100644 --- a/sdk/python/pulumi_equinix/metal/get_vrf.py +++ b/sdk/python/pulumi_equinix/metal/get_vrf.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -158,9 +163,6 @@ def get_vrf(vrf_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), project_id=pulumi.get(__ret__, 'project_id'), vrf_id=pulumi.get(__ret__, 'vrf_id')) - - -@_utilities.lift_output_func(get_vrf) def get_vrf_output(vrf_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVrfResult]: """ @@ -180,4 +182,16 @@ def get_vrf_output(vrf_id: Optional[pulumi.Input[str]] = None, :param str vrf_id: ID of the VRF resource """ - ... + __args__ = dict() + __args__['vrfId'] = vrf_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:metal/getVrf:getVrf', __args__, opts=opts, typ=GetVrfResult) + return __ret__.apply(lambda __response__: GetVrfResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + ip_ranges=pulumi.get(__response__, 'ip_ranges'), + local_asn=pulumi.get(__response__, 'local_asn'), + metro=pulumi.get(__response__, 'metro'), + name=pulumi.get(__response__, 'name'), + project_id=pulumi.get(__response__, 'project_id'), + vrf_id=pulumi.get(__response__, 'vrf_id'))) diff --git a/sdk/python/pulumi_equinix/metal/interconnection.py b/sdk/python/pulumi_equinix/metal/interconnection.py index 1d1cbe10..828758d8 100644 --- a/sdk/python/pulumi_equinix/metal/interconnection.py +++ b/sdk/python/pulumi_equinix/metal/interconnection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/ip_attachment.py b/sdk/python/pulumi_equinix/metal/ip_attachment.py index ffc1b669..146264af 100644 --- a/sdk/python/pulumi_equinix/metal/ip_attachment.py +++ b/sdk/python/pulumi_equinix/metal/ip_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['IpAttachmentArgs', 'IpAttachment'] diff --git a/sdk/python/pulumi_equinix/metal/organization.py b/sdk/python/pulumi_equinix/metal/organization.py index 39cda760..3ae59b1b 100644 --- a/sdk/python/pulumi_equinix/metal/organization.py +++ b/sdk/python/pulumi_equinix/metal/organization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/organization_member.py b/sdk/python/pulumi_equinix/metal/organization_member.py index 90fbe769..8b74483d 100644 --- a/sdk/python/pulumi_equinix/metal/organization_member.py +++ b/sdk/python/pulumi_equinix/metal/organization_member.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['OrganizationMemberArgs', 'OrganizationMember'] diff --git a/sdk/python/pulumi_equinix/metal/outputs.py b/sdk/python/pulumi_equinix/metal/outputs.py index d3cd29c8..7057f899 100644 --- a/sdk/python/pulumi_equinix/metal/outputs.py +++ b/sdk/python/pulumi_equinix/metal/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_equinix/metal/port.py b/sdk/python/pulumi_equinix/metal/port.py index 53788bb4..9697bae4 100644 --- a/sdk/python/pulumi_equinix/metal/port.py +++ b/sdk/python/pulumi_equinix/metal/port.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PortArgs', 'Port'] diff --git a/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py b/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py index e6184ff6..f54876dd 100644 --- a/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py +++ b/sdk/python/pulumi_equinix/metal/port_vlan_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PortVlanAttachmentArgs', 'PortVlanAttachment'] diff --git a/sdk/python/pulumi_equinix/metal/project.py b/sdk/python/pulumi_equinix/metal/project.py index f109eabd..a7e24cb0 100644 --- a/sdk/python/pulumi_equinix/metal/project.py +++ b/sdk/python/pulumi_equinix/metal/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/project_api_key.py b/sdk/python/pulumi_equinix/metal/project_api_key.py index d0590999..0dc0bde5 100644 --- a/sdk/python/pulumi_equinix/metal/project_api_key.py +++ b/sdk/python/pulumi_equinix/metal/project_api_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProjectApiKeyArgs', 'ProjectApiKey'] diff --git a/sdk/python/pulumi_equinix/metal/project_ssh_key.py b/sdk/python/pulumi_equinix/metal/project_ssh_key.py index 259aa009..916eb136 100644 --- a/sdk/python/pulumi_equinix/metal/project_ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/project_ssh_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProjectSshKeyArgs', 'ProjectSshKey'] diff --git a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py index 15d9de90..31321d07 100644 --- a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_equinix/metal/spot_market_request.py b/sdk/python/pulumi_equinix/metal/spot_market_request.py index 7360f054..f48d0902 100644 --- a/sdk/python/pulumi_equinix/metal/spot_market_request.py +++ b/sdk/python/pulumi_equinix/metal/spot_market_request.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/ssh_key.py b/sdk/python/pulumi_equinix/metal/ssh_key.py index 6a029fe7..be8bf704 100644 --- a/sdk/python/pulumi_equinix/metal/ssh_key.py +++ b/sdk/python/pulumi_equinix/metal/ssh_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SshKeyArgs', 'SshKey'] diff --git a/sdk/python/pulumi_equinix/metal/user_api_key.py b/sdk/python/pulumi_equinix/metal/user_api_key.py index 45e93955..6f22f4ed 100644 --- a/sdk/python/pulumi_equinix/metal/user_api_key.py +++ b/sdk/python/pulumi_equinix/metal/user_api_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['UserApiKeyArgs', 'UserApiKey'] diff --git a/sdk/python/pulumi_equinix/metal/virtual_circuit.py b/sdk/python/pulumi_equinix/metal/virtual_circuit.py index 92edae14..23ee65ad 100644 --- a/sdk/python/pulumi_equinix/metal/virtual_circuit.py +++ b/sdk/python/pulumi_equinix/metal/virtual_circuit.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VirtualCircuitArgs', 'VirtualCircuit'] diff --git a/sdk/python/pulumi_equinix/metal/vlan.py b/sdk/python/pulumi_equinix/metal/vlan.py index 80105773..5af345a2 100644 --- a/sdk/python/pulumi_equinix/metal/vlan.py +++ b/sdk/python/pulumi_equinix/metal/vlan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_equinix/metal/vrf.py b/sdk/python/pulumi_equinix/metal/vrf.py index ae659e97..372df3e1 100644 --- a/sdk/python/pulumi_equinix/metal/vrf.py +++ b/sdk/python/pulumi_equinix/metal/vrf.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VrfArgs', 'Vrf'] diff --git a/sdk/python/pulumi_equinix/networkedge/_inputs.py b/sdk/python/pulumi_equinix/networkedge/_inputs.py index d4dd2873..9ceaf19f 100644 --- a/sdk/python/pulumi_equinix/networkedge/_inputs.py +++ b/sdk/python/pulumi_equinix/networkedge/_inputs.py @@ -4,30 +4,69 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AclTemplateDeviceDetailArgs', + 'AclTemplateDeviceDetailArgsDict', 'AclTemplateInboundRuleArgs', + 'AclTemplateInboundRuleArgsDict', 'DeviceClusterDetailsArgs', + 'DeviceClusterDetailsArgsDict', 'DeviceClusterDetailsNode0Args', + 'DeviceClusterDetailsNode0ArgsDict', 'DeviceClusterDetailsNode0VendorConfigurationArgs', + 'DeviceClusterDetailsNode0VendorConfigurationArgsDict', 'DeviceClusterDetailsNode1Args', + 'DeviceClusterDetailsNode1ArgsDict', 'DeviceClusterDetailsNode1VendorConfigurationArgs', + 'DeviceClusterDetailsNode1VendorConfigurationArgsDict', 'DeviceInterfaceArgs', + 'DeviceInterfaceArgsDict', 'DeviceLinkDeviceArgs', + 'DeviceLinkDeviceArgsDict', 'DeviceLinkLinkArgs', + 'DeviceLinkLinkArgsDict', 'DeviceLinkMetroLinkArgs', + 'DeviceLinkMetroLinkArgsDict', 'DeviceSecondaryDeviceArgs', + 'DeviceSecondaryDeviceArgsDict', 'DeviceSecondaryDeviceInterfaceArgs', + 'DeviceSecondaryDeviceInterfaceArgsDict', 'DeviceSecondaryDeviceSshKeyArgs', + 'DeviceSecondaryDeviceSshKeyArgsDict', 'DeviceSshKeyArgs', + 'DeviceSshKeyArgsDict', ] +MYPY = False + +if not MYPY: + class AclTemplateDeviceDetailArgsDict(TypedDict): + acl_status: NotRequired[pulumi.Input[str]] + """ + Device ACL provisioning status where template was applied. One of `PROVISIONING`, `PROVISIONED`. + """ + name: NotRequired[pulumi.Input[str]] + """ + ACL template name. + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Device uuid. + """ +elif False: + AclTemplateDeviceDetailArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AclTemplateDeviceDetailArgs: def __init__(__self__, *, @@ -83,6 +122,43 @@ def uuid(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uuid", value) +if not MYPY: + class AclTemplateInboundRuleArgsDict(TypedDict): + dst_port: pulumi.Input[str] + """ + Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`. + """ + protocol: pulumi.Input[Union[str, 'AclRuleProtocolType']] + """ + Inbound traffic protocol. One of `IP`, `TCP`, `UDP`. + """ + src_port: pulumi.Input[str] + """ + Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g., `20,22,23`, port range, e.g., `1023-1040` or word `any`. + """ + description: NotRequired[pulumi.Input[str]] + """ + Inbound rule description, up to 200 characters. + """ + sequence_number: NotRequired[pulumi.Input[int]] + """ + Inbound rule sequence number + """ + source_type: NotRequired[pulumi.Input[str]] + """ + Type of traffic source used in a given inbound rule + """ + subnet: NotRequired[pulumi.Input[str]] + """ + Inbound traffic source IP subnet in CIDR format. + """ + subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inbound traffic source IP subnets in CIDR format. + """ +elif False: + AclTemplateInboundRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AclTemplateInboundRuleArgs: def __init__(__self__, *, @@ -223,6 +299,31 @@ def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class DeviceClusterDetailsArgsDict(TypedDict): + cluster_name: pulumi.Input[str] + """ + The name of the cluster device + """ + node0: pulumi.Input['DeviceClusterDetailsNode0ArgsDict'] + """ + An object that has `node0` configuration. See Cluster Details - Nodes below for more details. + """ + node1: pulumi.Input['DeviceClusterDetailsNode1ArgsDict'] + """ + An object that has `node1` configuration. See Cluster Details - Nodes below for more details. + """ + cluster_id: NotRequired[pulumi.Input[str]] + """ + The ID of the cluster. + """ + num_of_nodes: NotRequired[pulumi.Input[int]] + """ + The number of nodes in the cluster. + """ +elif False: + DeviceClusterDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceClusterDetailsArgs: def __init__(__self__, *, @@ -307,6 +408,31 @@ def num_of_nodes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "num_of_nodes", value) +if not MYPY: + class DeviceClusterDetailsNode0ArgsDict(TypedDict): + license_file_id: NotRequired[pulumi.Input[str]] + """ + License file id. This is necessary for Fortinet and Juniper clusters. + """ + license_token: NotRequired[pulumi.Input[str]] + """ + License token. This is necessary for Palo Alto clusters. + """ + name: NotRequired[pulumi.Input[str]] + """ + Device name. + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Device unique identifier. + """ + vendor_configuration: NotRequired[pulumi.Input['DeviceClusterDetailsNode0VendorConfigurationArgsDict']] + """ + An object that has fields relevant to the vendor of the cluster device. See Cluster Details - Nodes - Vendor Configuration below for more details. + """ +elif False: + DeviceClusterDetailsNode0ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceClusterDetailsNode0Args: def __init__(__self__, *, @@ -394,6 +520,63 @@ def vendor_configuration(self, value: Optional[pulumi.Input['DeviceClusterDetail pulumi.set(self, "vendor_configuration", value) +if not MYPY: + class DeviceClusterDetailsNode0VendorConfigurationArgsDict(TypedDict): + activation_key: NotRequired[pulumi.Input[str]] + """ + Activation key. This is required for Velocloud clusters. + """ + admin_password: NotRequired[pulumi.Input[str]] + """ + The administrative password of the device. You can use it to log in to the console. This field is not available for all device types. + """ + controller1: NotRequired[pulumi.Input[str]] + """ + System IP Address. Mandatory for the Fortinet SDWAN cluster device. + """ + controller_fqdn: NotRequired[pulumi.Input[str]] + """ + Controller fqdn. This is required for Velocloud clusters. + """ + hostname: NotRequired[pulumi.Input[str]] + """ + Hostname. This is necessary for Palo Alto, Juniper, and Fortinet clusters. + """ + license_id: NotRequired[pulumi.Input[str]] + """ + License id. This field is relevant only for the BlueCat DNS and DHCP Server + """ + license_key: NotRequired[pulumi.Input[str]] + """ + License key. This field is relevant only for the BlueCat DNS and DHCP Server + """ + panorama_auth_key: NotRequired[pulumi.Input[str]] + """ + Panorama Server Auth Key. This field is relevant only for the PA-VM firewall devices to have integration with Panorama Server. + """ + panorama_ip_address: NotRequired[pulumi.Input[str]] + """ + Panorama Server IP Address. This field is relevant only for the PA-VM firewall devices to have integration with Panorama Server. + """ + private_address: NotRequired[pulumi.Input[str]] + """ + Private address. This field is relevant only for the BlueCat DNS and DHCP Server + """ + private_cidr_mask: NotRequired[pulumi.Input[str]] + """ + Private CIDR Mask. This field is relevant only for the BlueCat DNS and DHCP Server + """ + private_gateway: NotRequired[pulumi.Input[str]] + """ + Private gateway. This field is relevant only for the BlueCat DNS and DHCP Server + """ + root_password: NotRequired[pulumi.Input[str]] + """ + The CLI password of the device. This field is relevant only for the Velocloud SDWAN cluster. + """ +elif False: + DeviceClusterDetailsNode0VendorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceClusterDetailsNode0VendorConfigurationArgs: def __init__(__self__, *, @@ -609,6 +792,31 @@ def root_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "root_password", value) +if not MYPY: + class DeviceClusterDetailsNode1ArgsDict(TypedDict): + license_file_id: NotRequired[pulumi.Input[str]] + """ + License file id. This is necessary for Fortinet and Juniper clusters. + """ + license_token: NotRequired[pulumi.Input[str]] + """ + License token. This is necessary for Palo Alto clusters. + """ + name: NotRequired[pulumi.Input[str]] + """ + Device name. + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Device unique identifier. + """ + vendor_configuration: NotRequired[pulumi.Input['DeviceClusterDetailsNode1VendorConfigurationArgsDict']] + """ + An object that has fields relevant to the vendor of the cluster device. See Cluster Details - Nodes - Vendor Configuration below for more details. + """ +elif False: + DeviceClusterDetailsNode1ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceClusterDetailsNode1Args: def __init__(__self__, *, @@ -696,6 +904,63 @@ def vendor_configuration(self, value: Optional[pulumi.Input['DeviceClusterDetail pulumi.set(self, "vendor_configuration", value) +if not MYPY: + class DeviceClusterDetailsNode1VendorConfigurationArgsDict(TypedDict): + activation_key: NotRequired[pulumi.Input[str]] + """ + Activation key. This is required for Velocloud clusters. + """ + admin_password: NotRequired[pulumi.Input[str]] + """ + The administrative password of the device. You can use it to log in to the console. This field is not available for all device types. + """ + controller1: NotRequired[pulumi.Input[str]] + """ + System IP Address. Mandatory for the Fortinet SDWAN cluster device. + """ + controller_fqdn: NotRequired[pulumi.Input[str]] + """ + Controller fqdn. This is required for Velocloud clusters. + """ + hostname: NotRequired[pulumi.Input[str]] + """ + Hostname. This is necessary for Palo Alto, Juniper, and Fortinet clusters. + """ + license_id: NotRequired[pulumi.Input[str]] + """ + License id. This field is relevant only for the BlueCat DNS and DHCP Server + """ + license_key: NotRequired[pulumi.Input[str]] + """ + License key. This field is relevant only for the BlueCat DNS and DHCP Server + """ + panorama_auth_key: NotRequired[pulumi.Input[str]] + """ + Panorama Server Auth Key. This field is relevant only for the PA-VM firewall devices to have integration with Panorama Server. + """ + panorama_ip_address: NotRequired[pulumi.Input[str]] + """ + Panorama Server IP Address. This field is relevant only for the PA-VM firewall devices to have integration with Panorama Server. + """ + private_address: NotRequired[pulumi.Input[str]] + """ + Private address. This field is relevant only for the BlueCat DNS and DHCP Server + """ + private_cidr_mask: NotRequired[pulumi.Input[str]] + """ + Private CIDR Mask. This field is relevant only for the BlueCat DNS and DHCP Server + """ + private_gateway: NotRequired[pulumi.Input[str]] + """ + Private gateway. This field is relevant only for the BlueCat DNS and DHCP Server + """ + root_password: NotRequired[pulumi.Input[str]] + """ + The CLI password of the device. This field is relevant only for the Velocloud SDWAN cluster. + """ +elif False: + DeviceClusterDetailsNode1VendorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceClusterDetailsNode1VendorConfigurationArgs: def __init__(__self__, *, @@ -911,6 +1176,43 @@ def root_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "root_password", value) +if not MYPY: + class DeviceInterfaceArgsDict(TypedDict): + assigned_type: NotRequired[pulumi.Input[str]] + """ + interface management type (Equinix Managed or empty). + """ + id: NotRequired[pulumi.Input[int]] + """ + interface identifier. + """ + ip_address: NotRequired[pulumi.Input[str]] + """ + interface IP address. + """ + mac_address: NotRequired[pulumi.Input[str]] + """ + interface MAC address. + """ + name: NotRequired[pulumi.Input[str]] + """ + Device name. + """ + operational_status: NotRequired[pulumi.Input[str]] + """ + interface operational status. One of `up`, `down`. + """ + status: NotRequired[pulumi.Input[str]] + """ + interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. + """ + type: NotRequired[pulumi.Input[str]] + """ + interface type. + """ +elif False: + DeviceInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceInterfaceArgs: def __init__(__self__, *, @@ -1046,6 +1348,31 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class DeviceLinkDeviceArgsDict(TypedDict): + id: pulumi.Input[str] + """ + Device identifier. + """ + asn: NotRequired[pulumi.Input[int]] + """ + Device ASN number. Not required for self configured devices. + """ + interface_id: NotRequired[pulumi.Input[int]] + """ + Device network interface identifier to use for device link connection. + """ + ip_address: NotRequired[pulumi.Input[str]] + """ + IP address from device link subnet that was assigned to the device + """ + status: NotRequired[pulumi.Input[str]] + """ + device link provisioning status on a given device. One of `PROVISIONING`, `PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`. + """ +elif False: + DeviceLinkDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceLinkDeviceArgs: def __init__(__self__, *, @@ -1132,6 +1459,39 @@ def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) +if not MYPY: + class DeviceLinkLinkArgsDict(TypedDict): + account_number: pulumi.Input[str] + """ + billing account number to be used for connection charges + """ + dst_metro_code: pulumi.Input[str] + """ + connection destination metro code. + """ + src_metro_code: pulumi.Input[str] + """ + connection source metro code. + """ + throughput: pulumi.Input[str] + """ + connection throughput. + """ + throughput_unit: pulumi.Input[str] + """ + connection throughput unit (Mbps or Gbps). + """ + dst_zone_code: NotRequired[pulumi.Input[str]] + """ + connection destination zone code is not required. + """ + src_zone_code: NotRequired[pulumi.Input[str]] + """ + connection source zone code is not required. + """ +elif False: + DeviceLinkLinkArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceLinkLinkArgs: def __init__(__self__, *, @@ -1254,6 +1614,27 @@ def src_zone_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "src_zone_code", value) +if not MYPY: + class DeviceLinkMetroLinkArgsDict(TypedDict): + account_number: pulumi.Input[str] + """ + billing account number to be used for connection charges + """ + metro_code: pulumi.Input[str] + """ + connection metro code. + """ + throughput: pulumi.Input[str] + """ + connection throughput. + """ + throughput_unit: pulumi.Input[str] + """ + connection throughput unit (Mbps or Gbps). + """ +elif False: + DeviceLinkMetroLinkArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceLinkMetroLinkArgs: def __init__(__self__, *, @@ -1321,6 +1702,124 @@ def throughput_unit(self, value: pulumi.Input[str]): pulumi.set(self, "throughput_unit", value) +if not MYPY: + class DeviceSecondaryDeviceArgsDict(TypedDict): + account_number: pulumi.Input[str] + """ + Billing account number for secondary device. + """ + metro_code: pulumi.Input[str] + """ + Metro location of a secondary device. + """ + name: pulumi.Input[str] + """ + Secondary device name. + """ + notifications: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + List of email addresses that will receive notifications about secondary device. + """ + acl_template_id: NotRequired[pulumi.Input[str]] + """ + Identifier of a WAN interface ACL template that will be applied on a secondary device. + """ + additional_bandwidth: NotRequired[pulumi.Input[int]] + """ + Additional Internet bandwidth, in Mbps, for a secondary device. + """ + asn: NotRequired[pulumi.Input[int]] + """ + (Autonomous System Number) Unique identifier for a network on the internet. + """ + cloud_init_file_id: NotRequired[pulumi.Input[str]] + """ + Identifier of a cloud init file that will be applied on a secondary device. + """ + hostname: NotRequired[pulumi.Input[str]] + """ + Secondary device hostname. + """ + ibx: NotRequired[pulumi.Input[str]] + """ + Device location Equinix Business Exchange name. + """ + interfaces: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeviceSecondaryDeviceInterfaceArgsDict']]]] + """ + List of device interfaces. See Interface Attribute below for more details. + """ + license_file: NotRequired[pulumi.Input[str]] + """ + Path to the license file that will be uploaded and applied on a secondary device. Applicable for some device types in BYOL licensing mode. + """ + license_file_id: NotRequired[pulumi.Input[str]] + """ + Identifier of a license file that will be applied on a secondary device. + """ + license_status: NotRequired[pulumi.Input[str]] + """ + Device license registration status. Possible values are `APPLYING_LICENSE`, `REGISTERED`, `APPLIED`, `WAITING_FOR_CLUSTER_SETUP`, `REGISTRATION_FAILED`. + """ + license_token: NotRequired[pulumi.Input[str]] + """ + License Token can be provided for some device types o the device. + """ + mgmt_acl_template_uuid: NotRequired[pulumi.Input[str]] + """ + Identifier of an MGMT interface ACL template that will be applied on a secondary device. + * `ssh-key` - (Optional) Up to one definition of SSH key that will be provisioned on a secondary device. + """ + project_id: NotRequired[pulumi.Input[str]] + """ + Unique Identifier for the project resource where the device is scoped to.If you leave it out, the device will be created under the default project id of your organization. + """ + redundancy_type: NotRequired[pulumi.Input[str]] + """ + Device redundancy type applicable for HA devices, either primary or secondary. + """ + redundant_id: NotRequired[pulumi.Input[str]] + """ + Unique identifier for a redundant device applicable for HA devices. + """ + region: NotRequired[pulumi.Input[str]] + """ + Device location region. + """ + ssh_ip_address: NotRequired[pulumi.Input[str]] + """ + IP address of SSH enabled interface on the device. + """ + ssh_ip_fqdn: NotRequired[pulumi.Input[str]] + """ + FQDN of SSH enabled interface on the device. + """ + ssh_key: NotRequired[pulumi.Input['DeviceSecondaryDeviceSshKeyArgsDict']] + """ + Definition of SSH key that will be provisioned on a device + """ + status: NotRequired[pulumi.Input[str]] + """ + interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. + """ + uuid: NotRequired[pulumi.Input[str]] + """ + Device unique identifier. + """ + vendor_configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Key/Value pairs of vendor specific configuration parameters for a secondary device. Key values are `controller1`, `activationKey`, `managementType`, `siteId`, `systemIpAddress`, `privateAddress`, `privateCidrMask`, `privateGateway`, `licenseKey`, `licenseId`, `panoramaAuthKey`, `panoramaIpAddress`. + """ + wan_interface_id: NotRequired[pulumi.Input[str]] + """ + device interface id picked for WAN + """ + zone_code: NotRequired[pulumi.Input[str]] + """ + Device location zone code. + """ +elif False: + DeviceSecondaryDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceSecondaryDeviceArgs: def __init__(__self__, *, @@ -1774,6 +2273,43 @@ def zone_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "zone_code", value) +if not MYPY: + class DeviceSecondaryDeviceInterfaceArgsDict(TypedDict): + assigned_type: NotRequired[pulumi.Input[str]] + """ + interface management type (Equinix Managed or empty). + """ + id: NotRequired[pulumi.Input[int]] + """ + interface identifier. + """ + ip_address: NotRequired[pulumi.Input[str]] + """ + interface IP address. + """ + mac_address: NotRequired[pulumi.Input[str]] + """ + interface MAC address. + """ + name: NotRequired[pulumi.Input[str]] + """ + Device name. + """ + operational_status: NotRequired[pulumi.Input[str]] + """ + interface operational status. One of `up`, `down`. + """ + status: NotRequired[pulumi.Input[str]] + """ + interface status. One of `AVAILABLE`, `RESERVED`, `ASSIGNED`. + """ + type: NotRequired[pulumi.Input[str]] + """ + interface type. + """ +elif False: + DeviceSecondaryDeviceInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceSecondaryDeviceInterfaceArgs: def __init__(__self__, *, @@ -1909,6 +2445,19 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class DeviceSecondaryDeviceSshKeyArgsDict(TypedDict): + key_name: pulumi.Input[str] + """ + Reference by name to previously provisioned public SSH key + """ + username: pulumi.Input[str] + """ + username associated with given key. + """ +elif False: + DeviceSecondaryDeviceSshKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceSecondaryDeviceSshKeyArgs: def __init__(__self__, *, @@ -1946,6 +2495,19 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class DeviceSshKeyArgsDict(TypedDict): + key_name: pulumi.Input[str] + """ + Reference by name to previously provisioned public SSH key + """ + username: pulumi.Input[str] + """ + username associated with given key. + """ +elif False: + DeviceSshKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceSshKeyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_equinix/networkedge/acl_template.py b/sdk/python/pulumi_equinix/networkedge/acl_template.py index a5e6d6d4..f5ecc3e7 100644 --- a/sdk/python/pulumi_equinix/networkedge/acl_template.py +++ b/sdk/python/pulumi_equinix/networkedge/acl_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_equinix/networkedge/bgp.py b/sdk/python/pulumi_equinix/networkedge/bgp.py index f1e387ec..cbb578d7 100644 --- a/sdk/python/pulumi_equinix/networkedge/bgp.py +++ b/sdk/python/pulumi_equinix/networkedge/bgp.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BgpArgs', 'Bgp'] diff --git a/sdk/python/pulumi_equinix/networkedge/device.py b/sdk/python/pulumi_equinix/networkedge/device.py index c590db24..2a15dbd5 100644 --- a/sdk/python/pulumi_equinix/networkedge/device.py +++ b/sdk/python/pulumi_equinix/networkedge/device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_equinix/networkedge/device_link.py b/sdk/python/pulumi_equinix/networkedge/device_link.py index b174f4ba..dcc22996 100644 --- a/sdk/python/pulumi_equinix/networkedge/device_link.py +++ b/sdk/python/pulumi_equinix/networkedge/device_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/networkedge/get_account.py b/sdk/python/pulumi_equinix/networkedge/get_account.py index 55b2e3c6..2750971b 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_account.py +++ b/sdk/python/pulumi_equinix/networkedge/get_account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -148,9 +153,6 @@ def get_account(metro_code: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id'), status=pulumi.get(__ret__, 'status'), ucm_id=pulumi.get(__ret__, 'ucm_id')) - - -@_utilities.lift_output_func(get_account) def get_account_output(metro_code: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, project_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -179,4 +181,18 @@ def get_account_output(metro_code: Optional[pulumi.Input[str]] = None, :param str project_id: Unique Identifier for the project resource where the account is scoped to.If you leave it out, all the billing accounts under all projects in your organization will be returned and it may return more than one account. :param str status: Account status for filtering. Possible values are: `Active`, `Processing`, `Submitted`, `Staged`. """ - ... + __args__ = dict() + __args__['metroCode'] = metro_code + __args__['name'] = name + __args__['projectId'] = project_id + __args__['status'] = status + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:networkedge/getAccount:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + id=pulumi.get(__response__, 'id'), + metro_code=pulumi.get(__response__, 'metro_code'), + name=pulumi.get(__response__, 'name'), + number=pulumi.get(__response__, 'number'), + project_id=pulumi.get(__response__, 'project_id'), + status=pulumi.get(__response__, 'status'), + ucm_id=pulumi.get(__response__, 'ucm_id'))) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device.py b/sdk/python/pulumi_equinix/networkedge/get_device.py index 4b2ef428..c499cda1 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -608,9 +613,6 @@ def get_device(name: Optional[str] = None, version=pulumi.get(__ret__, 'version'), wan_interface_id=pulumi.get(__ret__, 'wan_interface_id'), zone_code=pulumi.get(__ret__, 'zone_code')) - - -@_utilities.lift_output_func(get_device) def get_device_output(name: Optional[pulumi.Input[Optional[str]]] = None, uuid: Optional[pulumi.Input[Optional[str]]] = None, valid_status_list: Optional[pulumi.Input[Optional[str]]] = None, @@ -635,4 +637,56 @@ def get_device_output(name: Optional[pulumi.Input[Optional[str]]] = None, NOTE: Exactly one of either `uuid` or `name` must be specified. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['uuid'] = uuid + __args__['validStatusList'] = valid_status_list + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:networkedge/getDevice:getDevice', __args__, opts=opts, typ=GetDeviceResult) + return __ret__.apply(lambda __response__: GetDeviceResult( + account_number=pulumi.get(__response__, 'account_number'), + acl_template_id=pulumi.get(__response__, 'acl_template_id'), + additional_bandwidth=pulumi.get(__response__, 'additional_bandwidth'), + asn=pulumi.get(__response__, 'asn'), + byol=pulumi.get(__response__, 'byol'), + cluster_details=pulumi.get(__response__, 'cluster_details'), + connectivity=pulumi.get(__response__, 'connectivity'), + core_count=pulumi.get(__response__, 'core_count'), + diverse_device_id=pulumi.get(__response__, 'diverse_device_id'), + diverse_device_name=pulumi.get(__response__, 'diverse_device_name'), + hostname=pulumi.get(__response__, 'hostname'), + ibx=pulumi.get(__response__, 'ibx'), + id=pulumi.get(__response__, 'id'), + interface_count=pulumi.get(__response__, 'interface_count'), + interfaces=pulumi.get(__response__, 'interfaces'), + license_file=pulumi.get(__response__, 'license_file'), + license_file_id=pulumi.get(__response__, 'license_file_id'), + license_status=pulumi.get(__response__, 'license_status'), + license_token=pulumi.get(__response__, 'license_token'), + metro_code=pulumi.get(__response__, 'metro_code'), + mgmt_acl_template_uuid=pulumi.get(__response__, 'mgmt_acl_template_uuid'), + name=pulumi.get(__response__, 'name'), + notifications=pulumi.get(__response__, 'notifications'), + order_reference=pulumi.get(__response__, 'order_reference'), + package_code=pulumi.get(__response__, 'package_code'), + project_id=pulumi.get(__response__, 'project_id'), + purchase_order_number=pulumi.get(__response__, 'purchase_order_number'), + redundancy_type=pulumi.get(__response__, 'redundancy_type'), + redundant_id=pulumi.get(__response__, 'redundant_id'), + region=pulumi.get(__response__, 'region'), + secondary_devices=pulumi.get(__response__, 'secondary_devices'), + self_managed=pulumi.get(__response__, 'self_managed'), + ssh_ip_address=pulumi.get(__response__, 'ssh_ip_address'), + ssh_ip_fqdn=pulumi.get(__response__, 'ssh_ip_fqdn'), + ssh_keys=pulumi.get(__response__, 'ssh_keys'), + status=pulumi.get(__response__, 'status'), + term_length=pulumi.get(__response__, 'term_length'), + throughput=pulumi.get(__response__, 'throughput'), + throughput_unit=pulumi.get(__response__, 'throughput_unit'), + type_code=pulumi.get(__response__, 'type_code'), + uuid=pulumi.get(__response__, 'uuid'), + valid_status_list=pulumi.get(__response__, 'valid_status_list'), + vendor_configuration=pulumi.get(__response__, 'vendor_configuration'), + version=pulumi.get(__response__, 'version'), + wan_interface_id=pulumi.get(__response__, 'wan_interface_id'), + zone_code=pulumi.get(__response__, 'zone_code'))) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_platform.py b/sdk/python/pulumi_equinix/networkedge/get_device_platform.py index 8175d1e2..44579b52 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device_platform.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device_platform.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -171,9 +176,6 @@ def get_device_platform(core_count: Optional[int] = None, memory=pulumi.get(__ret__, 'memory'), memory_unit=pulumi.get(__ret__, 'memory_unit'), packages=pulumi.get(__ret__, 'packages')) - - -@_utilities.lift_output_func(get_device_platform) def get_device_platform_output(core_count: Optional[pulumi.Input[Optional[int]]] = None, device_type: Optional[pulumi.Input[str]] = None, flavor: Optional[pulumi.Input[Optional[str]]] = None, @@ -203,4 +205,22 @@ def get_device_platform_output(core_count: Optional[pulumi.Input[Optional[int]]] :param Sequence[str] management_types: List of device management types to limit platform search results. Supported values are: `EQUINIX-CONFIGURED`, `SELF-CONFIGURED`. :param Sequence[str] packages: List of software package codes to limit platform search results. """ - ... + __args__ = dict() + __args__['coreCount'] = core_count + __args__['deviceType'] = device_type + __args__['flavor'] = flavor + __args__['licenseOptions'] = license_options + __args__['managementTypes'] = management_types + __args__['packages'] = packages + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:networkedge/getDevicePlatform:getDevicePlatform', __args__, opts=opts, typ=GetDevicePlatformResult) + return __ret__.apply(lambda __response__: GetDevicePlatformResult( + core_count=pulumi.get(__response__, 'core_count'), + device_type=pulumi.get(__response__, 'device_type'), + flavor=pulumi.get(__response__, 'flavor'), + id=pulumi.get(__response__, 'id'), + license_options=pulumi.get(__response__, 'license_options'), + management_types=pulumi.get(__response__, 'management_types'), + memory=pulumi.get(__response__, 'memory'), + memory_unit=pulumi.get(__response__, 'memory_unit'), + packages=pulumi.get(__response__, 'packages'))) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_software.py b/sdk/python/pulumi_equinix/networkedge/get_device_software.py index 694329a7..ff3798ef 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device_software.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device_software.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -198,9 +203,6 @@ def get_device_software(device_type: Optional[str] = None, status=pulumi.get(__ret__, 'status'), version=pulumi.get(__ret__, 'version'), version_regex=pulumi.get(__ret__, 'version_regex')) - - -@_utilities.lift_output_func(get_device_software) def get_device_software_output(device_type: Optional[pulumi.Input[str]] = None, most_recent: Optional[pulumi.Input[Optional[bool]]] = None, packages: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, @@ -229,4 +231,23 @@ def get_device_software_output(device_type: Optional[pulumi.Input[str]] = None, :param bool stable: Boolean value to limit query results to stable versions only. :param str version_regex: A regex string to apply on returned versions and filter search results. """ - ... + __args__ = dict() + __args__['deviceType'] = device_type + __args__['mostRecent'] = most_recent + __args__['packages'] = packages + __args__['stable'] = stable + __args__['versionRegex'] = version_regex + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:networkedge/getDeviceSoftware:getDeviceSoftware', __args__, opts=opts, typ=GetDeviceSoftwareResult) + return __ret__.apply(lambda __response__: GetDeviceSoftwareResult( + date=pulumi.get(__response__, 'date'), + device_type=pulumi.get(__response__, 'device_type'), + id=pulumi.get(__response__, 'id'), + image_name=pulumi.get(__response__, 'image_name'), + most_recent=pulumi.get(__response__, 'most_recent'), + packages=pulumi.get(__response__, 'packages'), + release_notes_link=pulumi.get(__response__, 'release_notes_link'), + stable=pulumi.get(__response__, 'stable'), + status=pulumi.get(__response__, 'status'), + version=pulumi.get(__response__, 'version'), + version_regex=pulumi.get(__response__, 'version_regex'))) diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_type.py b/sdk/python/pulumi_equinix/networkedge/get_device_type.py index 03f70906..211451ce 100644 --- a/sdk/python/pulumi_equinix/networkedge/get_device_type.py +++ b/sdk/python/pulumi_equinix/networkedge/get_device_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -148,9 +153,6 @@ def get_device_type(category: Optional[str] = None, metro_codes=pulumi.get(__ret__, 'metro_codes'), name=pulumi.get(__ret__, 'name'), vendor=pulumi.get(__ret__, 'vendor')) - - -@_utilities.lift_output_func(get_device_type) def get_device_type_output(category: Optional[pulumi.Input[Optional[str]]] = None, metro_codes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, @@ -179,4 +181,18 @@ def get_device_type_output(category: Optional[pulumi.Input[Optional[str]]] = Non :param str name: Device type name. :param str vendor: Device type vendor i.e. `Cisco`, `Juniper Networks`, `VERSA Networks`. """ - ... + __args__ = dict() + __args__['category'] = category + __args__['metroCodes'] = metro_codes + __args__['name'] = name + __args__['vendor'] = vendor + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('equinix:networkedge/getDeviceType:getDeviceType', __args__, opts=opts, typ=GetDeviceTypeResult) + return __ret__.apply(lambda __response__: GetDeviceTypeResult( + category=pulumi.get(__response__, 'category'), + code=pulumi.get(__response__, 'code'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + metro_codes=pulumi.get(__response__, 'metro_codes'), + name=pulumi.get(__response__, 'name'), + vendor=pulumi.get(__response__, 'vendor'))) diff --git a/sdk/python/pulumi_equinix/networkedge/network_file.py b/sdk/python/pulumi_equinix/networkedge/network_file.py index 004b8f60..ab727cc0 100644 --- a/sdk/python/pulumi_equinix/networkedge/network_file.py +++ b/sdk/python/pulumi_equinix/networkedge/network_file.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _enums as _root_enums from ._enums import * diff --git a/sdk/python/pulumi_equinix/networkedge/outputs.py b/sdk/python/pulumi_equinix/networkedge/outputs.py index 832caff7..2104be50 100644 --- a/sdk/python/pulumi_equinix/networkedge/outputs.py +++ b/sdk/python/pulumi_equinix/networkedge/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_equinix/networkedge/ssh_key.py b/sdk/python/pulumi_equinix/networkedge/ssh_key.py index e59ab8ca..03cf4232 100644 --- a/sdk/python/pulumi_equinix/networkedge/ssh_key.py +++ b/sdk/python/pulumi_equinix/networkedge/ssh_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SshKeyArgs', 'SshKey'] diff --git a/sdk/python/pulumi_equinix/networkedge/ssh_user.py b/sdk/python/pulumi_equinix/networkedge/ssh_user.py index db087f19..7b866815 100644 --- a/sdk/python/pulumi_equinix/networkedge/ssh_user.py +++ b/sdk/python/pulumi_equinix/networkedge/ssh_user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SshUserArgs', 'SshUser'] diff --git a/sdk/python/pulumi_equinix/provider.py b/sdk/python/pulumi_equinix/provider.py index f8c32097..4296cb8f 100644 --- a/sdk/python/pulumi_equinix/provider.py +++ b/sdk/python/pulumi_equinix/provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = ['ProviderArgs', 'Provider'] diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 64d696e4..336f3edd 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -39,6 +39,7 @@ def readme(): install_requires=[ 'parver>=0.2.1', 'pulumi>=3.0.0,<4.0.0', - 'semver>=2.8.1' + 'semver>=2.8.1', + 'typing-extensions>=4.11,<5; python_version < "3.11"' ], zip_safe=False)