diff --git a/sdk/go/equinix/metal/interconnection.go b/sdk/go/equinix/metal/interconnection.go index adbfc32c..c76bb28f 100644 --- a/sdk/go/equinix/metal/interconnection.go +++ b/sdk/go/equinix/metal/interconnection.go @@ -50,7 +50,7 @@ import ( // Type: pulumi.String("shared"), // Redundancy: pulumi.String("primary"), // Metro: pulumi.String(metro), -// Speed: pulumi.String(fmt.Sprintf("%vMbps", speedInMbps)), +// Speed: pulumi.Sprintf("%vMbps", speedInMbps), // ServiceTokenType: pulumi.String("z_side"), // }) // if err != nil { @@ -95,7 +95,7 @@ import ( // Type: pulumi.String("shared"), // Redundancy: pulumi.String("primary"), // Metro: pulumi.String(metro), -// Speed: pulumi.String(fmt.Sprintf("%vMbps", speedInMbps)), +// Speed: pulumi.Sprintf("%vMbps", speedInMbps), // ServiceTokenType: pulumi.String("a_side"), // }) // if err != nil { diff --git a/sdk/go/equinix/metal/ipAttachment.go b/sdk/go/equinix/metal/ipAttachment.go index bc2ae649..d6900d11 100644 --- a/sdk/go/equinix/metal/ipAttachment.go +++ b/sdk/go/equinix/metal/ipAttachment.go @@ -32,43 +32,41 @@ import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // // ) -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := metal.NewReservedIpBlock(ctx, "myblock", &metal.ReservedIpBlockArgs{ -// ProjectId: pulumi.Any(projectId), -// Metro: pulumi.String("ny"), -// Quantity: pulumi.Int(2), -// }) -// if err != nil { -// return err -// } -// invokeJoin, err := std.Join(ctx, invokeCidrhost1, err := std.Cidrhost(ctx, &std.CidrhostArgs{ -// Input: myblockMetalReservedIpBlock.CidrNotation, -// Host: 0, -// }, nil) -// if err != nil { -// return err -// } -// &std.JoinArgs{ -// Separator: "/", -// Input: []*string{ -// invokeCidrhost1.Result, -// "32", -// }, -// }, nil) -// if err != nil { -// return err -// } -// _, err = metal.NewIpAttachment(ctx, "firstAddressAssignment", &metal.IpAttachmentArgs{ -// DeviceId: pulumi.Any(mydevice.Id), -// CidrNotation: invokeJoin.Result, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := metal.NewReservedIpBlock(ctx, "myblock", &metal.ReservedIpBlockArgs{ +// ProjectId: pulumi.Any(projectId), +// Metro: pulumi.String("ny"), +// Quantity: pulumi.Int(2), +// }) +// 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), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` type IpAttachment struct { pulumi.CustomResourceState diff --git a/sdk/go/equinix/metal/sshKey.go b/sdk/go/equinix/metal/sshKey.go index 4d5f3ff1..f4d11931 100644 --- a/sdk/go/equinix/metal/sshKey.go +++ b/sdk/go/equinix/metal/sshKey.go @@ -39,7 +39,7 @@ import ( // } // key1, err := metal.NewSshKey(ctx, "key1", &metal.SshKeyArgs{ // Name: pulumi.String("terraform-1"), -// PublicKey: invokeFile.Result, +// PublicKey: pulumi.String(invokeFile.Result), // }) // if err != nil { // return err diff --git a/sdk/go/equinix/networkedge/device.go b/sdk/go/equinix/networkedge/device.go index e79a9cf4..620e5680 100644 --- a/sdk/go/equinix/networkedge/device.go +++ b/sdk/go/equinix/networkedge/device.go @@ -190,7 +190,7 @@ import ( // } // aviatrixCloudinitFile, err := networkedge.NewNetworkFile(ctx, "aviatrixCloudinitFile", &networkedge.NetworkFileArgs{ // FileName: pulumi.String("TF-AVX-cloud-init-file.txt"), -// Content: invokeFile.Result, +// Content: pulumi.String(invokeFile.Result), // MetroCode: sv.MetroCode.ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), // DeviceTypeCode: pulumi.String("AVIATRIX_EDGE"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), @@ -507,7 +507,7 @@ import ( // } // bluecatEdgeServicePointCloudinitPrimaryFile, err := networkedge.NewNetworkFile(ctx, "bluecatEdgeServicePointCloudinitPrimaryFile", &networkedge.NetworkFileArgs{ // FileName: pulumi.String("TF-BLUECAT-ESP-cloud-init-file.txt"), -// Content: invokeFile.Result, +// Content: pulumi.String(invokeFile.Result), // MetroCode: sv.MetroCode.ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), // DeviceTypeCode: pulumi.String("BLUECAT-EDGE-SERVICE-POINT"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), @@ -525,7 +525,7 @@ import ( // } // bluecatEdgeServicePointCloudinitSecondaryFile, err := networkedge.NewNetworkFile(ctx, "bluecatEdgeServicePointCloudinitSecondaryFile", &networkedge.NetworkFileArgs{ // FileName: pulumi.String("TF-BLUECAT-ESP-cloud-init-file.txt"), -// Content: invokeFile1.Result, +// Content: pulumi.String(invokeFile1.Result), // MetroCode: sv.MetroCode.ApplyT(func(x *string) equinix.Metro { return equinix.Metro(*x) }).(equinix.MetroOutput), // DeviceTypeCode: pulumi.String("BLUECAT-EDGE-SERVICE-POINT"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), diff --git a/sdk/go/equinix/networkedge/networkFile.go b/sdk/go/equinix/networkedge/networkFile.go index 5d7fa430..b348247f 100644 --- a/sdk/go/equinix/networkedge/networkFile.go +++ b/sdk/go/equinix/networkedge/networkFile.go @@ -44,7 +44,7 @@ import ( // } // _, err = networkedge.NewNetworkFile(ctx, "test-file", &networkedge.NetworkFileArgs{ // FileName: pulumi.String("fileName.txt"), -// Content: invokeFile.Result, +// Content: pulumi.String(invokeFile.Result), // MetroCode: pulumi.String(equinix.MetroSiliconValley), // DeviceTypeCode: pulumi.String("AVIATRIX_EDGE"), // ProcessType: pulumi.String(networkedge.FileTypeCloudInit), diff --git a/sdk/python/pulumi_equinix/fabric/cloud_router.py b/sdk/python/pulumi_equinix/fabric/cloud_router.py index d436b637..2c2d66a6 100644 --- a/sdk/python/pulumi_equinix/fabric/cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/cloud_router.py @@ -535,28 +535,28 @@ def __init__(__self__, new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", name="Router-SV", type="XF_ROUTER", - notifications=[equinix.fabric.CloudRouterNotificationArgs( - type="ALL", - emails=[ + notifications=[{ + "type": "ALL", + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], - order=equinix.fabric.CloudRouterOrderArgs( - purchase_order_number="1-323292", - ), - location=equinix.fabric.CloudRouterLocationArgs( - metro_code="SV", - ), - package=equinix.fabric.CloudRouterPackageArgs( - code="STANDARD", - ), - project=equinix.fabric.CloudRouterProjectArgs( - project_id="776847000642406", - ), - account=equinix.fabric.CloudRouterAccountArgs( - account_number=203612, - )) + }], + order={ + "purchase_order_number": "1-323292", + }, + location={ + "metro_code": "SV", + }, + package={ + "code": "STANDARD", + }, + project={ + "project_id": "776847000642406", + }, + account={ + "account_number": 203612, + }) ``` :param str resource_name: The name of the resource. @@ -594,28 +594,28 @@ def __init__(__self__, new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", name="Router-SV", type="XF_ROUTER", - notifications=[equinix.fabric.CloudRouterNotificationArgs( - type="ALL", - emails=[ + notifications=[{ + "type": "ALL", + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], - order=equinix.fabric.CloudRouterOrderArgs( - purchase_order_number="1-323292", - ), - location=equinix.fabric.CloudRouterLocationArgs( - metro_code="SV", - ), - package=equinix.fabric.CloudRouterPackageArgs( - code="STANDARD", - ), - project=equinix.fabric.CloudRouterProjectArgs( - project_id="776847000642406", - ), - account=equinix.fabric.CloudRouterAccountArgs( - account_number=203612, - )) + }], + order={ + "purchase_order_number": "1-323292", + }, + location={ + "metro_code": "SV", + }, + package={ + "code": "STANDARD", + }, + project={ + "project_id": "776847000642406", + }, + account={ + "account_number": 203612, + }) ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_equinix/fabric/connection.py b/sdk/python/pulumi_equinix/fabric/connection.py index 4ca48d65..e63641d1 100644 --- a/sdk/python/pulumi_equinix/fabric/connection.py +++ b/sdk/python/pulumi_equinix/fabric/connection.py @@ -533,39 +533,39 @@ def __init__(__self__, fcr2_azure = equinix.fabric.Connection("fcr2azure", name="ConnectionName", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example fcr to metal ```python @@ -575,31 +575,31 @@ def __init__(__self__, fcr2_metal = equinix.fabric.Connection("fcr2metal", name="ConnectionName", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type="METAL_NETWORK", - authentication_key="", - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": "", + }, + }) ``` ### example fcr to network ```python @@ -609,33 +609,33 @@ def __init__(__self__, fcr2_network = equinix.fabric.Connection("fcr2network", name="ConnectionName", type="IPWAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example fcr to port ```python @@ -645,40 +645,40 @@ def __init__(__self__, fcr2_port = equinix.fabric.Connection("fcr2port", name="ConnectionName", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionZSideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.DOT1Q, - vlan_tag=2711, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.DOT1Q, + "vlan_tag": 2711, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example metal to aws ```python @@ -688,37 +688,37 @@ def __init__(__self__, metal2_aws = equinix.fabric.Connection("metal2aws", name="ConnectionName", type="EVPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="METAL_NETWORK", - authentication_key="", - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": "", + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to aws ```python @@ -728,47 +728,47 @@ def __init__(__self__, port2_aws = equinix.fabric.Connection("port2aws", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - redundancy=equinix.fabric.ConnectionRedundancyArgs( - priority="PRIMARY", - ), - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323929", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=2019, - vlan_c_tag=2112, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - ), + redundancy={ + "priority": "PRIMARY", + }, + order={ + "purchase_order_number": "1-323929", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 2019, + "vlan_c_tag": 2112, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }, additional_info=[ { "key": "accessKey", @@ -788,33 +788,33 @@ def __init__(__self__, eplan = equinix.fabric.Connection("eplan", name="ConnectionName", type="EPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example port to network evplan ```python @@ -824,37 +824,37 @@ def __init__(__self__, evplan = equinix.fabric.Connection("evplan", name="ConnectionName", type="EVPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.DOT1Q, - vlan_s_tag=1976, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.DOT1Q, + "vlan_s_tag": 1976, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example port to port ```python @@ -864,44 +864,44 @@ def __init__(__self__, port2_port = equinix.fabric.Connection("port2port", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=1976, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionZSideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=3711, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 1976, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 3711, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to port access epl ```python @@ -911,40 +911,40 @@ def __init__(__self__, access_epl_vc = equinix.fabric.Connection("accessEplVc", name="ConnectionName", type=equinix.fabric.ConnectionType.ACCESS_EPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=1976, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 1976, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to port epl ```python @@ -954,36 +954,36 @@ def __init__(__self__, epl = equinix.fabric.Connection("epl", name="ConnectionName", type=equinix.fabric.ConnectionType.EPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to vd ```python @@ -993,45 +993,45 @@ def __init__(__self__, vd2_port = equinix.fabric.Connection("vd2port", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="NETWORK", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionZSideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.DOT1Q, - vlan_s_tag=3711, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "NETWORK", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.DOT1Q, + "vlan_s_tag": 3711, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example token to aws ```python @@ -1041,36 +1041,36 @@ def __init__(__self__, token2_aws = equinix.fabric.Connection("token2aws", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - service_token=equinix.fabric.ConnectionASideServiceTokenArgs( - uuid="", - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "service_token": { + "uuid": "", + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example vd to azure ```python @@ -1080,44 +1080,44 @@ def __init__(__self__, vd2_azure = equinix.fabric.Connection("vd2azure", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example vd to azure redundant ```python @@ -1127,92 +1127,92 @@ def __init__(__self__, vd2_azure_primary = equinix.fabric.Connection("vd2azurePrimary", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - redundancy=equinix.fabric.ConnectionRedundancyArgs( - priority="PRIMARY", - ), - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + redundancy={ + "priority": "PRIMARY", + }, + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) vd2_azure_secondary = equinix.fabric.Connection("vd2azureSecondary", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - redundancy=equinix.fabric.ConnectionRedundancyArgs( - priority="SECONDARY", - group=vd2_azure_primary.redundancy.group, - ), - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + redundancy={ + "priority": "SECONDARY", + "group": vd2_azure_primary.redundancy.group, + }, + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=5, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 5, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example vd to network ```python @@ -1222,38 +1222,38 @@ def __init__(__self__, vd2_network = equinix.fabric.Connection("vd2network", name="ConnectionName", type="EVPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example vd to token ```python @@ -1263,35 +1263,35 @@ def __init__(__self__, vd2_token = equinix.fabric.Connection("vd2token", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="NETWORK", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - service_token=equinix.fabric.ConnectionZSideServiceTokenArgs( - uuid="", - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "NETWORK", + "id": 7, + }, + }, + }, + z_side={ + "service_token": { + "uuid": "", + }, + }) ``` :param str resource_name: The name of the resource. @@ -1324,39 +1324,39 @@ def __init__(__self__, fcr2_azure = equinix.fabric.Connection("fcr2azure", name="ConnectionName", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example fcr to metal ```python @@ -1366,31 +1366,31 @@ def __init__(__self__, fcr2_metal = equinix.fabric.Connection("fcr2metal", name="ConnectionName", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type="METAL_NETWORK", - authentication_key="", - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": "", + }, + }) ``` ### example fcr to network ```python @@ -1400,33 +1400,33 @@ def __init__(__self__, fcr2_network = equinix.fabric.Connection("fcr2network", name="ConnectionName", type="IPWAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example fcr to port ```python @@ -1436,40 +1436,40 @@ def __init__(__self__, fcr2_port = equinix.fabric.Connection("fcr2port", name="ConnectionName", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionZSideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.DOT1Q, - vlan_tag=2711, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.DOT1Q, + "vlan_tag": 2711, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example metal to aws ```python @@ -1479,37 +1479,37 @@ def __init__(__self__, metal2_aws = equinix.fabric.Connection("metal2aws", name="ConnectionName", type="EVPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="METAL_NETWORK", - authentication_key="", - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": "", + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to aws ```python @@ -1519,47 +1519,47 @@ def __init__(__self__, port2_aws = equinix.fabric.Connection("port2aws", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - redundancy=equinix.fabric.ConnectionRedundancyArgs( - priority="PRIMARY", - ), - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323929", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=2019, - vlan_c_tag=2112, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - ), + redundancy={ + "priority": "PRIMARY", + }, + order={ + "purchase_order_number": "1-323929", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 2019, + "vlan_c_tag": 2112, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }, additional_info=[ { "key": "accessKey", @@ -1579,33 +1579,33 @@ def __init__(__self__, eplan = equinix.fabric.Connection("eplan", name="ConnectionName", type="EPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example port to network evplan ```python @@ -1615,37 +1615,37 @@ def __init__(__self__, evplan = equinix.fabric.Connection("evplan", name="ConnectionName", type="EVPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.DOT1Q, - vlan_s_tag=1976, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.DOT1Q, + "vlan_s_tag": 1976, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example port to port ```python @@ -1655,44 +1655,44 @@ def __init__(__self__, port2_port = equinix.fabric.Connection("port2port", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=1976, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionZSideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=3711, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 1976, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 3711, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to port access epl ```python @@ -1702,40 +1702,40 @@ def __init__(__self__, access_epl_vc = equinix.fabric.Connection("accessEplVc", name="ConnectionName", type=equinix.fabric.ConnectionType.ACCESS_EPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionASideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.QIN_Q, - vlan_s_tag=1976, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.QIN_Q, + "vlan_s_tag": 1976, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to port epl ```python @@ -1745,36 +1745,36 @@ def __init__(__self__, epl = equinix.fabric.Connection("epl", name="ConnectionName", type=equinix.fabric.ConnectionType.EPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionASideAccessPointPortArgs( - uuid="", - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example port to vd ```python @@ -1784,45 +1784,45 @@ def __init__(__self__, vd2_port = equinix.fabric.Connection("vd2port", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="NETWORK", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.COLO, - port=equinix.fabric.ConnectionZSideAccessPointPortArgs( - uuid="", - ), - link_protocol=equinix.fabric.ConnectionZSideAccessPointLinkProtocolArgs( - type=equinix.fabric.AccessPointLinkProtocolType.DOT1Q, - vlan_s_tag=3711, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "NETWORK", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.COLO, + "port": { + "uuid": "", + }, + "link_protocol": { + "type": equinix.fabric.AccessPointLinkProtocolType.DOT1Q, + "vlan_s_tag": 3711, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example token to aws ```python @@ -1832,36 +1832,36 @@ def __init__(__self__, token2_aws = equinix.fabric.Connection("token2aws", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - service_token=equinix.fabric.ConnectionASideServiceTokenArgs( - uuid="", - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "service_token": { + "uuid": "", + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example vd to azure ```python @@ -1871,44 +1871,44 @@ def __init__(__self__, vd2_azure = equinix.fabric.Connection("vd2azure", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example vd to azure redundant ```python @@ -1918,92 +1918,92 @@ def __init__(__self__, vd2_azure_primary = equinix.fabric.Connection("vd2azurePrimary", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - redundancy=equinix.fabric.ConnectionRedundancyArgs( - priority="PRIMARY", - ), - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + redundancy={ + "priority": "PRIMARY", + }, + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) vd2_azure_secondary = equinix.fabric.Connection("vd2azureSecondary", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - redundancy=equinix.fabric.ConnectionRedundancyArgs( - priority="SECONDARY", - group=vd2_azure_primary.redundancy.group, - ), - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + redundancy={ + "priority": "SECONDARY", + "group": vd2_azure_primary.redundancy.group, + }, + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=5, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key="", - peering_type=equinix.fabric.AccessPointPeeringType.PRIVATE, - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid="", - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 5, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": "", + "peering_type": equinix.fabric.AccessPointPeeringType.PRIVATE, + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": "", + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` ### example vd to network ```python @@ -2013,38 +2013,38 @@ def __init__(__self__, vd2_network = equinix.fabric.Connection("vd2network", name="ConnectionName", type="EVPLAN_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="CLOUD", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.NETWORK, - network=equinix.fabric.ConnectionZSideAccessPointNetworkArgs( - uuid="", - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "CLOUD", + "id": 7, + }, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.NETWORK, + "network": { + "uuid": "", + }, + }, + }) ``` ### example vd to token ```python @@ -2054,35 +2054,35 @@ def __init__(__self__, vd2_token = equinix.fabric.Connection("vd2token", name="ConnectionName", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails=[ + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": [ "example@equinix.com", "test1@equinix.com", ], - )], + }], bandwidth=50, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type=equinix.fabric.AccessPointType.VD, - virtual_device=equinix.fabric.ConnectionASideAccessPointVirtualDeviceArgs( - type="EDGE", - uuid="", - ), - interface=equinix.fabric.ConnectionASideAccessPointInterfaceArgs( - type="NETWORK", - id=7, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - service_token=equinix.fabric.ConnectionZSideServiceTokenArgs( - uuid="", - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.VD, + "virtual_device": { + "type": "EDGE", + "uuid": "", + }, + "interface": { + "type": "NETWORK", + "id": 7, + }, + }, + }, + z_side={ + "service_token": { + "uuid": "", + }, + }) ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_equinix/fabric/routing_protocol.py b/sdk/python/pulumi_equinix/fabric/routing_protocol.py index 9023a989..f6b68ddc 100644 --- a/sdk/python/pulumi_equinix/fabric/routing_protocol.py +++ b/sdk/python/pulumi_equinix/fabric/routing_protocol.py @@ -543,12 +543,12 @@ def __init__(__self__, connection_uuid="", type="DIRECT", name="direct_rp", - direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( - equinix_iface_ip="190.1.1.1/30", - ), - direct_ipv6=equinix.fabric.RoutingProtocolDirectIpv6Args( - equinix_iface_ip="190::1:1/126", - )) + direct_ipv4={ + "equinix_iface_ip": "190.1.1.1/30", + }, + direct_ipv6={ + "equinix_iface_ip": "190::1:1/126", + }) ``` ### example 2 ```python @@ -559,14 +559,14 @@ def __init__(__self__, connection_uuid="", type="BGP", name="bgp_rp", - bgp_ipv4=equinix.fabric.RoutingProtocolBgpIpv4Args( - customer_peer_ip="190.1.1.2", - enabled=True, - ), - bgp_ipv6=equinix.fabric.RoutingProtocolBgpIpv6Args( - customer_peer_ip="190::1:2", - enabled=True, - ), + bgp_ipv4={ + "customer_peer_ip": "190.1.1.2", + "enabled": True, + }, + bgp_ipv6={ + "customer_peer_ip": "190::1:2", + "enabled": True, + }, customer_asn=4532) ``` ### example 3 @@ -578,24 +578,24 @@ def __init__(__self__, connection_uuid="", type="DIRECT", name="direct_rp", - direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( - equinix_iface_ip="190.1.1.1/30", - ), - direct_ipv6=equinix.fabric.RoutingProtocolDirectIpv6Args( - equinix_iface_ip="190::1:1/126", - )) + direct_ipv4={ + "equinix_iface_ip": "190.1.1.1/30", + }, + direct_ipv6={ + "equinix_iface_ip": "190::1:1/126", + }) bgp = equinix.fabric.RoutingProtocol("bgp", connection_uuid="", type="BGP", name="bgp_rp", - bgp_ipv4=equinix.fabric.RoutingProtocolBgpIpv4Args( - customer_peer_ip="190.1.1.2", - enabled=True, - ), - bgp_ipv6=equinix.fabric.RoutingProtocolBgpIpv6Args( - customer_peer_ip="190::1:2", - enabled=True, - ), + bgp_ipv4={ + "customer_peer_ip": "190.1.1.2", + "enabled": True, + }, + bgp_ipv6={ + "customer_peer_ip": "190::1:2", + "enabled": True, + }, customer_asn=4532, opts = pulumi.ResourceOptions(depends_on=[direct])) ``` @@ -638,12 +638,12 @@ def __init__(__self__, connection_uuid="", type="DIRECT", name="direct_rp", - direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( - equinix_iface_ip="190.1.1.1/30", - ), - direct_ipv6=equinix.fabric.RoutingProtocolDirectIpv6Args( - equinix_iface_ip="190::1:1/126", - )) + direct_ipv4={ + "equinix_iface_ip": "190.1.1.1/30", + }, + direct_ipv6={ + "equinix_iface_ip": "190::1:1/126", + }) ``` ### example 2 ```python @@ -654,14 +654,14 @@ def __init__(__self__, connection_uuid="", type="BGP", name="bgp_rp", - bgp_ipv4=equinix.fabric.RoutingProtocolBgpIpv4Args( - customer_peer_ip="190.1.1.2", - enabled=True, - ), - bgp_ipv6=equinix.fabric.RoutingProtocolBgpIpv6Args( - customer_peer_ip="190::1:2", - enabled=True, - ), + bgp_ipv4={ + "customer_peer_ip": "190.1.1.2", + "enabled": True, + }, + bgp_ipv6={ + "customer_peer_ip": "190::1:2", + "enabled": True, + }, customer_asn=4532) ``` ### example 3 @@ -673,24 +673,24 @@ def __init__(__self__, connection_uuid="", type="DIRECT", name="direct_rp", - direct_ipv4=equinix.fabric.RoutingProtocolDirectIpv4Args( - equinix_iface_ip="190.1.1.1/30", - ), - direct_ipv6=equinix.fabric.RoutingProtocolDirectIpv6Args( - equinix_iface_ip="190::1:1/126", - )) + direct_ipv4={ + "equinix_iface_ip": "190.1.1.1/30", + }, + direct_ipv6={ + "equinix_iface_ip": "190::1:1/126", + }) bgp = equinix.fabric.RoutingProtocol("bgp", connection_uuid="", type="BGP", name="bgp_rp", - bgp_ipv4=equinix.fabric.RoutingProtocolBgpIpv4Args( - customer_peer_ip="190.1.1.2", - enabled=True, - ), - bgp_ipv6=equinix.fabric.RoutingProtocolBgpIpv6Args( - customer_peer_ip="190::1:2", - enabled=True, - ), + bgp_ipv4={ + "customer_peer_ip": "190.1.1.2", + "enabled": True, + }, + bgp_ipv6={ + "customer_peer_ip": "190::1:2", + "enabled": True, + }, customer_asn=4532, opts = pulumi.ResourceOptions(depends_on=[direct])) ``` diff --git a/sdk/python/pulumi_equinix/fabric/service_profile.py b/sdk/python/pulumi_equinix/fabric/service_profile.py index 4955a014..f9a2d563 100644 --- a/sdk/python/pulumi_equinix/fabric/service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/service_profile.py @@ -676,31 +676,31 @@ def __init__(__self__, name="Name Of Business + Use Case Tag", type=equinix.fabric.ProfileType.L2_PROFILE, visibility=equinix.fabric.ProfileVisibility.PUBLIC, - notifications=[equinix.fabric.ServiceProfileNotificationArgs( - emails=["someone@sample.com"], - type="BANDWIDTH_ALERT", - )], + notifications=[{ + "emails": ["someone@sample.com"], + "type": "BANDWIDTH_ALERT", + }], allowed_emails=[ "test@equinix.com", "testagain@equinix.com", ], - ports=[equinix.fabric.ServiceProfilePortArgs( - uuid="c791f8cb-5cc9-cc90-8ce0-306a5c00a4ee", - type="XF_PORT", - )], - access_point_type_configs=[equinix.fabric.ServiceProfileAccessPointTypeConfigArgs( - type=equinix.fabric.ProfileAccessPointType.COLO, - allow_remote_connections=True, - allow_custom_bandwidth=True, - allow_bandwidth_auto_approval=False, - connection_redundancy_required=False, - connection_label="Service Profile Tag1", - bandwidth_alert_threshold=10, - supported_bandwidths=[ + ports=[{ + "uuid": "c791f8cb-5cc9-cc90-8ce0-306a5c00a4ee", + "type": "XF_PORT", + }], + access_point_type_configs=[{ + "type": equinix.fabric.ProfileAccessPointType.COLO, + "allow_remote_connections": True, + "allow_custom_bandwidth": True, + "allow_bandwidth_auto_approval": False, + "connection_redundancy_required": False, + "connection_label": "Service Profile Tag1", + "bandwidth_alert_threshold": 10, + "supported_bandwidths": [ 100, 500, ], - )]) + }]) ``` :param str resource_name: The name of the resource. @@ -746,31 +746,31 @@ def __init__(__self__, name="Name Of Business + Use Case Tag", type=equinix.fabric.ProfileType.L2_PROFILE, visibility=equinix.fabric.ProfileVisibility.PUBLIC, - notifications=[equinix.fabric.ServiceProfileNotificationArgs( - emails=["someone@sample.com"], - type="BANDWIDTH_ALERT", - )], + notifications=[{ + "emails": ["someone@sample.com"], + "type": "BANDWIDTH_ALERT", + }], allowed_emails=[ "test@equinix.com", "testagain@equinix.com", ], - ports=[equinix.fabric.ServiceProfilePortArgs( - uuid="c791f8cb-5cc9-cc90-8ce0-306a5c00a4ee", - type="XF_PORT", - )], - access_point_type_configs=[equinix.fabric.ServiceProfileAccessPointTypeConfigArgs( - type=equinix.fabric.ProfileAccessPointType.COLO, - allow_remote_connections=True, - allow_custom_bandwidth=True, - allow_bandwidth_auto_approval=False, - connection_redundancy_required=False, - connection_label="Service Profile Tag1", - bandwidth_alert_threshold=10, - supported_bandwidths=[ + ports=[{ + "uuid": "c791f8cb-5cc9-cc90-8ce0-306a5c00a4ee", + "type": "XF_PORT", + }], + access_point_type_configs=[{ + "type": equinix.fabric.ProfileAccessPointType.COLO, + "allow_remote_connections": True, + "allow_custom_bandwidth": True, + "allow_bandwidth_auto_approval": False, + "connection_redundancy_required": False, + "connection_label": "Service Profile Tag1", + "bandwidth_alert_threshold": 10, + "supported_bandwidths": [ 100, 500, ], - )]) + }]) ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_equinix/metal/device.py b/sdk/python/pulumi_equinix/metal/device.py index d0ad25f9..b9f6e749 100644 --- a/sdk/python/pulumi_equinix/metal/device.py +++ b/sdk/python/pulumi_equinix/metal/device.py @@ -1096,10 +1096,10 @@ def __init__(__self__, operating_system=equinix.metal.OperatingSystem.UBUNTU20_04, billing_cycle=equinix.metal.BillingCycle.HOURLY, project_id=project_id, - ip_addresses=[equinix.metal.DeviceIpAddressArgs( - type="private_ipv4", - cidr=30, - )]) + ip_addresses=[{ + "type": "private_ipv4", + "cidr": 30, + }]) ``` ### example 4 ```python @@ -1185,12 +1185,12 @@ def __init__(__self__, always_pxe=False, user_data=user_data, custom_data=custom_data, - behavior=equinix.metal.DeviceBehaviorArgs( - allow_changes=[ + behavior={ + "allow_changes": [ "custom_data", "user_data", ], - )) + }) ``` :param str resource_name: The name of the resource. @@ -1271,10 +1271,10 @@ def __init__(__self__, operating_system=equinix.metal.OperatingSystem.UBUNTU20_04, billing_cycle=equinix.metal.BillingCycle.HOURLY, project_id=project_id, - ip_addresses=[equinix.metal.DeviceIpAddressArgs( - type="private_ipv4", - cidr=30, - )]) + ip_addresses=[{ + "type": "private_ipv4", + "cidr": 30, + }]) ``` ### example 4 ```python @@ -1360,12 +1360,12 @@ def __init__(__self__, always_pxe=False, user_data=user_data, custom_data=custom_data, - behavior=equinix.metal.DeviceBehaviorArgs( - allow_changes=[ + behavior={ + "allow_changes": [ "custom_data", "user_data", ], - )) + }) ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_equinix/metal/interconnection.py b/sdk/python/pulumi_equinix/metal/interconnection.py index 81e1a4b0..061324d8 100644 --- a/sdk/python/pulumi_equinix/metal/interconnection.py +++ b/sdk/python/pulumi_equinix/metal/interconnection.py @@ -697,42 +697,42 @@ def __init__(__self__, example_connection = equinix.fabric.Connection("exampleConnection", name="tf-NIMF-metal-2-aws-legacy", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails="sername@example.com", - )], - project=equinix.fabric.ConnectionProjectArgs( - project_id=fabric_project_id, - ), + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": "sername@example.com", + }], + project={ + "project_id": fabric_project_id, + }, bandwidth=200, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid=cloud_router_uuid, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type="METAL_NETWORK", - authentication_key=example.authorization_code, - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": cloud_router_uuid, + }, + }, + }, + z_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": example.authorization_code, + }, + }) ``` ### example shared metal fabric connection to csp ```python import pulumi import pulumi_equinix as equinix - zside = equinix.fabric.get_service_profiles_output(filter=equinix.fabric.GetServiceProfilesFilterArgs( - property="/name", - operator="=", - values=["AWS Direct Connect"], - )) + zside = equinix.fabric.get_service_profiles_output(filter={ + "property": "/name", + "operator": "=", + "values": ["AWS Direct Connect"], + }) example1 = equinix.metal.Vlan("example1", project_id=my_project_id, metro="SV") @@ -747,37 +747,37 @@ def __init__(__self__, example_connection = equinix.fabric.Connection("exampleConnection", name="tf-NIMF-metal-2-aws-legacy", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails="sername@example.com", - )], - project=equinix.fabric.ConnectionProjectArgs( - project_id=fabric_project_id, - ), + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": "sername@example.com", + }], + project={ + "project_id": fabric_project_id, + }, bandwidth=200, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="METAL_NETWORK", - authentication_key=example.authorization_code, - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key=aws_account_id, - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid=zside.id, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": example.authorization_code, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": aws_account_id, + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": zside.id, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` :param str resource_name: The name of the resource. @@ -878,42 +878,42 @@ def __init__(__self__, example_connection = equinix.fabric.Connection("exampleConnection", name="tf-NIMF-metal-2-aws-legacy", type="IP_VC", - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails="sername@example.com", - )], - project=equinix.fabric.ConnectionProjectArgs( - project_id=fabric_project_id, - ), + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": "sername@example.com", + }], + project={ + "project_id": fabric_project_id, + }, bandwidth=200, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="CLOUD_ROUTER", - router=equinix.fabric.ConnectionASideAccessPointRouterArgs( - uuid=cloud_router_uuid, - ), - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type="METAL_NETWORK", - authentication_key=example.authorization_code, - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "CLOUD_ROUTER", + "router": { + "uuid": cloud_router_uuid, + }, + }, + }, + z_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": example.authorization_code, + }, + }) ``` ### example shared metal fabric connection to csp ```python import pulumi import pulumi_equinix as equinix - zside = equinix.fabric.get_service_profiles_output(filter=equinix.fabric.GetServiceProfilesFilterArgs( - property="/name", - operator="=", - values=["AWS Direct Connect"], - )) + zside = equinix.fabric.get_service_profiles_output(filter={ + "property": "/name", + "operator": "=", + "values": ["AWS Direct Connect"], + }) example1 = equinix.metal.Vlan("example1", project_id=my_project_id, metro="SV") @@ -928,37 +928,37 @@ def __init__(__self__, example_connection = equinix.fabric.Connection("exampleConnection", name="tf-NIMF-metal-2-aws-legacy", type=equinix.fabric.ConnectionType.EVPL, - notifications=[equinix.fabric.ConnectionNotificationArgs( - type=equinix.fabric.NotificationsType.ALL, - emails="sername@example.com", - )], - project=equinix.fabric.ConnectionProjectArgs( - project_id=fabric_project_id, - ), + notifications=[{ + "type": equinix.fabric.NotificationsType.ALL, + "emails": "sername@example.com", + }], + project={ + "project_id": fabric_project_id, + }, bandwidth=200, - order=equinix.fabric.ConnectionOrderArgs( - purchase_order_number="1-323292", - ), - a_side=equinix.fabric.ConnectionASideArgs( - access_point=equinix.fabric.ConnectionASideAccessPointArgs( - type="METAL_NETWORK", - authentication_key=example.authorization_code, - ), - ), - z_side=equinix.fabric.ConnectionZSideArgs( - access_point=equinix.fabric.ConnectionZSideAccessPointArgs( - type=equinix.fabric.AccessPointType.SP, - authentication_key=aws_account_id, - seller_region="us-west-1", - profile=equinix.fabric.ConnectionZSideAccessPointProfileArgs( - type=equinix.fabric.ProfileType.L2_PROFILE, - uuid=zside.id, - ), - location=equinix.fabric.ConnectionZSideAccessPointLocationArgs( - metro_code=equinix.Metro.SILICON_VALLEY, - ), - ), - )) + order={ + "purchase_order_number": "1-323292", + }, + a_side={ + "access_point": { + "type": "METAL_NETWORK", + "authentication_key": example.authorization_code, + }, + }, + z_side={ + "access_point": { + "type": equinix.fabric.AccessPointType.SP, + "authentication_key": aws_account_id, + "seller_region": "us-west-1", + "profile": { + "type": equinix.fabric.ProfileType.L2_PROFILE, + "uuid": zside.id, + }, + "location": { + "metro_code": equinix.Metro.SILICON_VALLEY, + }, + }, + }) ``` :param str resource_name: The name of the resource. diff --git a/sdk/python/pulumi_equinix/metal/project.py b/sdk/python/pulumi_equinix/metal/project.py index 68e4942e..f109eabd 100644 --- a/sdk/python/pulumi_equinix/metal/project.py +++ b/sdk/python/pulumi_equinix/metal/project.py @@ -260,11 +260,11 @@ def __init__(__self__, tf_project1 = equinix.metal.Project("tfProject1", name="tftest", - bgp_config=equinix.metal.ProjectBgpConfigArgs( - deployment_type="local", - md5="C179c28c41a85b", - asn=65000, - )) + bgp_config={ + "deployment_type": "local", + "md5": "C179c28c41a85b", + "asn": 65000, + }) ``` ### example 3 ```python @@ -273,11 +273,11 @@ def __init__(__self__, existing_project = equinix.metal.Project("existingProject", name="The name of the project (if different, will rewrite)", - bgp_config=equinix.metal.ProjectBgpConfigArgs( - deployment_type="local", - md5="C179c28c41a85b", - asn=65000, - )) + bgp_config={ + "deployment_type": "local", + "md5": "C179c28c41a85b", + "asn": 65000, + }) ``` ## Import @@ -324,11 +324,11 @@ def __init__(__self__, tf_project1 = equinix.metal.Project("tfProject1", name="tftest", - bgp_config=equinix.metal.ProjectBgpConfigArgs( - deployment_type="local", - md5="C179c28c41a85b", - asn=65000, - )) + bgp_config={ + "deployment_type": "local", + "md5": "C179c28c41a85b", + "asn": 65000, + }) ``` ### example 3 ```python @@ -337,11 +337,11 @@ def __init__(__self__, existing_project = equinix.metal.Project("existingProject", name="The name of the project (if different, will rewrite)", - bgp_config=equinix.metal.ProjectBgpConfigArgs( - deployment_type="local", - md5="C179c28c41a85b", - asn=65000, - )) + bgp_config={ + "deployment_type": "local", + "md5": "C179c28c41a85b", + "asn": 65000, + }) ``` ## Import diff --git a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py index a10bc8f1..15d9de90 100644 --- a/sdk/python/pulumi_equinix/metal/reserved_ip_block.py +++ b/sdk/python/pulumi_equinix/metal/reserved_ip_block.py @@ -599,14 +599,14 @@ def __init__(__self__, hostname="test", billing_cycle=equinix.metal.BillingCycle.HOURLY, ip_addresses=[ - equinix.metal.DeviceIpAddressArgs( - type="public_ipv4", - cidr=31, - reservation_ids=[example.id], - ), - equinix.metal.DeviceIpAddressArgs( - type="private_ipv4", - ), + { + "type": "public_ipv4", + "cidr": 31, + "reservation_ids": [example.id], + }, + { + "type": "private_ipv4", + }, ]) ``` @@ -688,14 +688,14 @@ def __init__(__self__, hostname="test", billing_cycle=equinix.metal.BillingCycle.HOURLY, ip_addresses=[ - equinix.metal.DeviceIpAddressArgs( - type="public_ipv4", - cidr=31, - reservation_ids=[example.id], - ), - equinix.metal.DeviceIpAddressArgs( - type="private_ipv4", - ), + { + "type": "public_ipv4", + "cidr": 31, + "reservation_ids": [example.id], + }, + { + "type": "private_ipv4", + }, ]) ``` diff --git a/sdk/python/pulumi_equinix/metal/spot_market_request.py b/sdk/python/pulumi_equinix/metal/spot_market_request.py index 6128b151..7360f054 100644 --- a/sdk/python/pulumi_equinix/metal/spot_market_request.py +++ b/sdk/python/pulumi_equinix/metal/spot_market_request.py @@ -316,12 +316,12 @@ def __init__(__self__, metro="ny", devices_min=1, devices_max=1, - instance_parameters=equinix.metal.SpotMarketRequestInstanceParametersArgs( - hostname="testspot", - billing_cycle="hourly", - operating_system="ubuntu_20_04", - plan="c3.small.x86", - )) + instance_parameters={ + "hostname": "testspot", + "billing_cycle": "hourly", + "operating_system": "ubuntu_20_04", + "plan": "c3.small.x86", + }) ``` ## Import @@ -363,12 +363,12 @@ def __init__(__self__, metro="ny", devices_min=1, devices_max=1, - instance_parameters=equinix.metal.SpotMarketRequestInstanceParametersArgs( - hostname="testspot", - billing_cycle="hourly", - operating_system="ubuntu_20_04", - plan="c3.small.x86", - )) + instance_parameters={ + "hostname": "testspot", + "billing_cycle": "hourly", + "operating_system": "ubuntu_20_04", + "plan": "c3.small.x86", + }) ``` ## Import diff --git a/sdk/python/pulumi_equinix/networkedge/acl_template.py b/sdk/python/pulumi_equinix/networkedge/acl_template.py index 922225aa..a5e6d6d4 100644 --- a/sdk/python/pulumi_equinix/networkedge/acl_template.py +++ b/sdk/python/pulumi_equinix/networkedge/acl_template.py @@ -299,19 +299,19 @@ def __init__(__self__, description="Test ACL template", project_id="a86d7112-d740-4758-9c9c-31e66373746b", inbound_rules=[ - equinix.networkedge.AclTemplateInboundRuleArgs( - subnet="1.1.1.1/32", - protocol=equinix.networkedge.AclRuleProtocolType.IP, - src_port="any", - dst_port="any", - description="inbound rule description", - ), - equinix.networkedge.AclTemplateInboundRuleArgs( - subnet="172.16.25.0/24", - protocol=equinix.networkedge.AclRuleProtocolType.UDP, - src_port="any", - dst_port="53,1045,2041", - ), + { + "subnet": "1.1.1.1/32", + "protocol": equinix.networkedge.AclRuleProtocolType.IP, + "src_port": "any", + "dst_port": "any", + "description": "inbound rule description", + }, + { + "subnet": "172.16.25.0/24", + "protocol": equinix.networkedge.AclRuleProtocolType.UDP, + "src_port": "any", + "dst_port": "53,1045,2041", + }, ]) ``` @@ -354,19 +354,19 @@ def __init__(__self__, description="Test ACL template", project_id="a86d7112-d740-4758-9c9c-31e66373746b", inbound_rules=[ - equinix.networkedge.AclTemplateInboundRuleArgs( - subnet="1.1.1.1/32", - protocol=equinix.networkedge.AclRuleProtocolType.IP, - src_port="any", - dst_port="any", - description="inbound rule description", - ), - equinix.networkedge.AclTemplateInboundRuleArgs( - subnet="172.16.25.0/24", - protocol=equinix.networkedge.AclRuleProtocolType.UDP, - src_port="any", - dst_port="53,1045,2041", - ), + { + "subnet": "1.1.1.1/32", + "protocol": equinix.networkedge.AclRuleProtocolType.IP, + "src_port": "any", + "dst_port": "any", + "description": "inbound rule description", + }, + { + "subnet": "172.16.25.0/24", + "protocol": equinix.networkedge.AclRuleProtocolType.UDP, + "src_port": "any", + "dst_port": "53,1045,2041", + }, ]) ``` diff --git a/sdk/python/pulumi_equinix/networkedge/device.py b/sdk/python/pulumi_equinix/networkedge/device.py index 6a8a432f..c590db24 100644 --- a/sdk/python/pulumi_equinix/networkedge/device.py +++ b/sdk/python/pulumi_equinix/networkedge/device.py @@ -1337,16 +1337,16 @@ def __init__(__self__, account_number=dc.number, version="16.09.05", core_count=2, - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-csr1000v-s", - metro_code=sv.metro_code, - hostname="csr1000v-s", - notifications=[ + secondary_device={ + "name": "tf-csr1000v-s", + "metro_code": sv.metro_code, + "hostname": "csr1000v-s", + "notifications": [ "john@equinix.com", "marry@equinix.com", ], - account_number=sv.number, - )) + "account_number": sv.number, + }) ``` ### example 2 ```python @@ -1371,26 +1371,26 @@ def __init__(__self__, version="10.1.3", interface_count=10, core_count=2, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test", - key_name="test-key", - ), + ssh_key={ + "username": "test", + "key_name": "test-key", + }, acl_template_id="0bff6e05-f0e7-44cd-804a-25b92b835f8b", - cluster_details=equinix.networkedge.DeviceClusterDetailsArgs( - cluster_name="tf-panw-cluster", - node0=equinix.networkedge.DeviceClusterDetailsNode0Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode0VendorConfigurationArgs( - hostname="panw-node0", - ), - license_token="licenseToken", - ), - node1=equinix.networkedge.DeviceClusterDetailsNode1Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode1VendorConfigurationArgs( - hostname="panw-node1", - ), - license_token="licenseToken", - ), - )) + cluster_details={ + "cluster_name": "tf-panw-cluster", + "node0": { + "vendor_configuration": { + "hostname": "panw-node0", + }, + "license_token": "licenseToken", + }, + "node1": { + "vendor_configuration": { + "hostname": "panw-node1", + }, + "license_token": "licenseToken", + }, + }) ``` ### example 3 ```python @@ -1448,10 +1448,10 @@ def __init__(__self__, term_length=12, license_token="valid-license-token", additional_bandwidth=5, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name="valid-key-name", - ), + ssh_key={ + "username": "test-username", + "key_name": "valid-key-name", + }, acl_template_id="3e548c02-9164-4197-aa23-05b1f644883c") ``` ### example 5 @@ -1477,10 +1477,10 @@ def __init__(__self__, additional_bandwidth=5, project_id="a86d7112-d740-4758-9c9c-31e66373746b", diverse_device_id="ed7891bd-15b4-4f72-ac56-d96cfdacddcc", - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name="valid-key-name", - ), + ssh_key={ + "username": "test-username", + "key_name": "valid-key-name", + }, acl_template_id="3e548c02-9164-4197-aa23-05b1f644883c") ``` ### example 6 @@ -1509,19 +1509,19 @@ def __init__(__self__, core_count=4, term_length=12, additional_bandwidth=5, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name=test_public_key.name, - ), + ssh_key={ + "username": "test-username", + "key_name": test_public_key.name, + }, acl_template_id="c637a17b-7a6a-4486-924b-30e6c36904b0", - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-arista-s", - metro_code=sv.metro_code, - hostname="arista-s", - notifications=["test@eq.com"], - account_number=sv.number, - acl_template_id="fee5e2c0-6198-4ce6-9cbd-bbe6c1dbe138", - )) + secondary_device={ + "name": "tf-arista-s", + "metro_code": sv.metro_code, + "hostname": "arista-s", + "notifications": ["test@eq.com"], + "account_number": sv.number, + "acl_template_id": "fee5e2c0-6198-4ce6-9cbd-bbe6c1dbe138", + }) ``` ### example 7 ```python @@ -1555,24 +1555,24 @@ def __init__(__self__, "licenseKey": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", "licenseId": "xxxxxxxxxxxxxxx", }, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name=test_public_key.name, - ), - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-bluecat-bdds-s", - metro_code=sv.metro_code, - notifications=["test@eq.com"], - account_number=sv.number, - vendor_configuration={ + ssh_key={ + "username": "test-username", + "key_name": test_public_key.name, + }, + secondary_device={ + "name": "tf-bluecat-bdds-s", + "metro_code": sv.metro_code, + "notifications": ["test@eq.com"], + "account_number": sv.number, + "vendor_configuration": { "hostname": "test", - "privateAddress": "x.x.x.x", - "privateCidrMask": "24", - "privateGateway": "x.x.x.x", - "licenseKey": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", - "licenseId": "xxxxxxxxxxxxxxx", + "private_address": "x.x.x.x", + "private_cidr_mask": "24", + "private_gateway": "x.x.x.x", + "license_key": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", + "license_id": "xxxxxxxxxxxxxxx", }, - )) + }) ``` ### example 8 ```python @@ -1612,13 +1612,13 @@ def __init__(__self__, version="4.6.3", core_count=4, term_length=12, - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-bluecat-edge-service-point-s", - metro_code=sv.metro_code, - notifications=["test@eq.com"], - account_number=sv.number, - cloud_init_file_id=bluecat_edge_service_point_cloudinit_secondary_file.uuid, - )) + secondary_device={ + "name": "tf-bluecat-edge-service-point-s", + "metro_code": sv.metro_code, + "notifications": ["test@eq.com"], + "account_number": sv.number, + "cloud_init_file_id": bluecat_edge_service_point_cloudinit_secondary_file.uuid, + }) ``` ### example 9 ```python @@ -1643,30 +1643,30 @@ def __init__(__self__, version="11.1.3", interface_count=10, core_count=2, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test", - key_name="test-key", - ), + ssh_key={ + "username": "test", + "key_name": "test-key", + }, acl_template_id="0bff6e05-f0e7-44cd-804a-25b92b835f8b", - cluster_details=equinix.networkedge.DeviceClusterDetailsArgs( - cluster_name="tf-panw-cluster", - node0=equinix.networkedge.DeviceClusterDetailsNode0Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode0VendorConfigurationArgs( - hostname="panw-node0", - panorama_ip_address="x.x.x.x", - panorama_auth_key="xxxxxxxxxxx", - ), - license_token="licenseToken", - ), - node1=equinix.networkedge.DeviceClusterDetailsNode1Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode1VendorConfigurationArgs( - hostname="panw-node1", - panorama_ip_address="x.x.x.x", - panorama_auth_key="xxxxxxxxxxx", - ), - license_token="licenseToken", - ), - )) + cluster_details={ + "cluster_name": "tf-panw-cluster", + "node0": { + "vendor_configuration": { + "hostname": "panw-node0", + "panorama_ip_address": "x.x.x.x", + "panorama_auth_key": "xxxxxxxxxxx", + }, + "license_token": "licenseToken", + }, + "node1": { + "vendor_configuration": { + "hostname": "panw-node1", + "panorama_ip_address": "x.x.x.x", + "panorama_auth_key": "xxxxxxxxxxx", + }, + "license_token": "licenseToken", + }, + }) ``` ## Import @@ -1762,16 +1762,16 @@ def __init__(__self__, account_number=dc.number, version="16.09.05", core_count=2, - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-csr1000v-s", - metro_code=sv.metro_code, - hostname="csr1000v-s", - notifications=[ + secondary_device={ + "name": "tf-csr1000v-s", + "metro_code": sv.metro_code, + "hostname": "csr1000v-s", + "notifications": [ "john@equinix.com", "marry@equinix.com", ], - account_number=sv.number, - )) + "account_number": sv.number, + }) ``` ### example 2 ```python @@ -1796,26 +1796,26 @@ def __init__(__self__, version="10.1.3", interface_count=10, core_count=2, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test", - key_name="test-key", - ), + ssh_key={ + "username": "test", + "key_name": "test-key", + }, acl_template_id="0bff6e05-f0e7-44cd-804a-25b92b835f8b", - cluster_details=equinix.networkedge.DeviceClusterDetailsArgs( - cluster_name="tf-panw-cluster", - node0=equinix.networkedge.DeviceClusterDetailsNode0Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode0VendorConfigurationArgs( - hostname="panw-node0", - ), - license_token="licenseToken", - ), - node1=equinix.networkedge.DeviceClusterDetailsNode1Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode1VendorConfigurationArgs( - hostname="panw-node1", - ), - license_token="licenseToken", - ), - )) + cluster_details={ + "cluster_name": "tf-panw-cluster", + "node0": { + "vendor_configuration": { + "hostname": "panw-node0", + }, + "license_token": "licenseToken", + }, + "node1": { + "vendor_configuration": { + "hostname": "panw-node1", + }, + "license_token": "licenseToken", + }, + }) ``` ### example 3 ```python @@ -1873,10 +1873,10 @@ def __init__(__self__, term_length=12, license_token="valid-license-token", additional_bandwidth=5, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name="valid-key-name", - ), + ssh_key={ + "username": "test-username", + "key_name": "valid-key-name", + }, acl_template_id="3e548c02-9164-4197-aa23-05b1f644883c") ``` ### example 5 @@ -1902,10 +1902,10 @@ def __init__(__self__, additional_bandwidth=5, project_id="a86d7112-d740-4758-9c9c-31e66373746b", diverse_device_id="ed7891bd-15b4-4f72-ac56-d96cfdacddcc", - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name="valid-key-name", - ), + ssh_key={ + "username": "test-username", + "key_name": "valid-key-name", + }, acl_template_id="3e548c02-9164-4197-aa23-05b1f644883c") ``` ### example 6 @@ -1934,19 +1934,19 @@ def __init__(__self__, core_count=4, term_length=12, additional_bandwidth=5, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name=test_public_key.name, - ), + ssh_key={ + "username": "test-username", + "key_name": test_public_key.name, + }, acl_template_id="c637a17b-7a6a-4486-924b-30e6c36904b0", - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-arista-s", - metro_code=sv.metro_code, - hostname="arista-s", - notifications=["test@eq.com"], - account_number=sv.number, - acl_template_id="fee5e2c0-6198-4ce6-9cbd-bbe6c1dbe138", - )) + secondary_device={ + "name": "tf-arista-s", + "metro_code": sv.metro_code, + "hostname": "arista-s", + "notifications": ["test@eq.com"], + "account_number": sv.number, + "acl_template_id": "fee5e2c0-6198-4ce6-9cbd-bbe6c1dbe138", + }) ``` ### example 7 ```python @@ -1980,24 +1980,24 @@ def __init__(__self__, "licenseKey": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", "licenseId": "xxxxxxxxxxxxxxx", }, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test-username", - key_name=test_public_key.name, - ), - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-bluecat-bdds-s", - metro_code=sv.metro_code, - notifications=["test@eq.com"], - account_number=sv.number, - vendor_configuration={ + ssh_key={ + "username": "test-username", + "key_name": test_public_key.name, + }, + secondary_device={ + "name": "tf-bluecat-bdds-s", + "metro_code": sv.metro_code, + "notifications": ["test@eq.com"], + "account_number": sv.number, + "vendor_configuration": { "hostname": "test", - "privateAddress": "x.x.x.x", - "privateCidrMask": "24", - "privateGateway": "x.x.x.x", - "licenseKey": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", - "licenseId": "xxxxxxxxxxxxxxx", + "private_address": "x.x.x.x", + "private_cidr_mask": "24", + "private_gateway": "x.x.x.x", + "license_key": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx", + "license_id": "xxxxxxxxxxxxxxx", }, - )) + }) ``` ### example 8 ```python @@ -2037,13 +2037,13 @@ def __init__(__self__, version="4.6.3", core_count=4, term_length=12, - secondary_device=equinix.networkedge.DeviceSecondaryDeviceArgs( - name="tf-bluecat-edge-service-point-s", - metro_code=sv.metro_code, - notifications=["test@eq.com"], - account_number=sv.number, - cloud_init_file_id=bluecat_edge_service_point_cloudinit_secondary_file.uuid, - )) + secondary_device={ + "name": "tf-bluecat-edge-service-point-s", + "metro_code": sv.metro_code, + "notifications": ["test@eq.com"], + "account_number": sv.number, + "cloud_init_file_id": bluecat_edge_service_point_cloudinit_secondary_file.uuid, + }) ``` ### example 9 ```python @@ -2068,30 +2068,30 @@ def __init__(__self__, version="11.1.3", interface_count=10, core_count=2, - ssh_key=equinix.networkedge.DeviceSshKeyArgs( - username="test", - key_name="test-key", - ), + ssh_key={ + "username": "test", + "key_name": "test-key", + }, acl_template_id="0bff6e05-f0e7-44cd-804a-25b92b835f8b", - cluster_details=equinix.networkedge.DeviceClusterDetailsArgs( - cluster_name="tf-panw-cluster", - node0=equinix.networkedge.DeviceClusterDetailsNode0Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode0VendorConfigurationArgs( - hostname="panw-node0", - panorama_ip_address="x.x.x.x", - panorama_auth_key="xxxxxxxxxxx", - ), - license_token="licenseToken", - ), - node1=equinix.networkedge.DeviceClusterDetailsNode1Args( - vendor_configuration=equinix.networkedge.DeviceClusterDetailsNode1VendorConfigurationArgs( - hostname="panw-node1", - panorama_ip_address="x.x.x.x", - panorama_auth_key="xxxxxxxxxxx", - ), - license_token="licenseToken", - ), - )) + cluster_details={ + "cluster_name": "tf-panw-cluster", + "node0": { + "vendor_configuration": { + "hostname": "panw-node0", + "panorama_ip_address": "x.x.x.x", + "panorama_auth_key": "xxxxxxxxxxx", + }, + "license_token": "licenseToken", + }, + "node1": { + "vendor_configuration": { + "hostname": "panw-node1", + "panorama_ip_address": "x.x.x.x", + "panorama_auth_key": "xxxxxxxxxxx", + }, + "license_token": "licenseToken", + }, + }) ``` ## Import diff --git a/sdk/python/pulumi_equinix/networkedge/device_link.py b/sdk/python/pulumi_equinix/networkedge/device_link.py index 5cc1fd35..b174f4ba 100644 --- a/sdk/python/pulumi_equinix/networkedge/device_link.py +++ b/sdk/python/pulumi_equinix/networkedge/device_link.py @@ -318,24 +318,24 @@ def __init__(__self__, subnet="192.168.40.64/27", project_id="a86d7112-d740-4758-9c9c-31e66373746b", devices=[ - equinix.networkedge.DeviceLinkDeviceArgs( - id=test_equinix_network_device["uuid"], - asn=22111, - interface_id=6, - ), - equinix.networkedge.DeviceLinkDeviceArgs( - id=test_equinix_network_device["secondaryDevice"][0]["uuid"], - asn=22333, - interface_id=7, - ), + { + "id": test_equinix_network_device["uuid"], + "asn": 22111, + "interface_id": 6, + }, + { + "id": test_equinix_network_device["secondaryDevice"][0]["uuid"], + "asn": 22333, + "interface_id": 7, + }, ], - links=[equinix.networkedge.DeviceLinkLinkArgs( - account_number=test_equinix_network_device["accountNumber"], - src_metro_code=test_equinix_network_device["metroCode"], - dst_metro_code=test_equinix_network_device["secondaryDevice"][0]["metroCode"], - throughput="50", - throughput_unit="Mbps", - )]) + links=[{ + "account_number": test_equinix_network_device["accountNumber"], + "src_metro_code": test_equinix_network_device["metroCode"], + "dst_metro_code": test_equinix_network_device["secondaryDevice"][0]["metroCode"], + "throughput": "50", + "throughput_unit": "Mbps", + }]) ``` ## Import @@ -375,24 +375,24 @@ def __init__(__self__, subnet="192.168.40.64/27", project_id="a86d7112-d740-4758-9c9c-31e66373746b", devices=[ - equinix.networkedge.DeviceLinkDeviceArgs( - id=test_equinix_network_device["uuid"], - asn=22111, - interface_id=6, - ), - equinix.networkedge.DeviceLinkDeviceArgs( - id=test_equinix_network_device["secondaryDevice"][0]["uuid"], - asn=22333, - interface_id=7, - ), + { + "id": test_equinix_network_device["uuid"], + "asn": 22111, + "interface_id": 6, + }, + { + "id": test_equinix_network_device["secondaryDevice"][0]["uuid"], + "asn": 22333, + "interface_id": 7, + }, ], - links=[equinix.networkedge.DeviceLinkLinkArgs( - account_number=test_equinix_network_device["accountNumber"], - src_metro_code=test_equinix_network_device["metroCode"], - dst_metro_code=test_equinix_network_device["secondaryDevice"][0]["metroCode"], - throughput="50", - throughput_unit="Mbps", - )]) + links=[{ + "account_number": test_equinix_network_device["accountNumber"], + "src_metro_code": test_equinix_network_device["metroCode"], + "dst_metro_code": test_equinix_network_device["secondaryDevice"][0]["metroCode"], + "throughput": "50", + "throughput_unit": "Mbps", + }]) ``` ## Import