megaport.LagPort
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as megaport from "@pulumi/megaport";
const lagPort = new megaport.LagPort("lagPort", {
    contractTermMonths: 1,
    costCentre: "Lag Port Example",
    lagCount: 1,
    locationId: 6,
    marketplaceVisibility: false,
    portSpeed: 10000,
    productName: "Megaport Lag Port Example",
});
import pulumi
import pulumi_megaport as megaport
lag_port = megaport.LagPort("lagPort",
    contract_term_months=1,
    cost_centre="Lag Port Example",
    lag_count=1,
    location_id=6,
    marketplace_visibility=False,
    port_speed=10000,
    product_name="Megaport Lag Port Example")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/megaport/megaport"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := megaport.NewLagPort(ctx, "lagPort", &megaport.LagPortArgs{
			ContractTermMonths:    pulumi.Float64(1),
			CostCentre:            pulumi.String("Lag Port Example"),
			LagCount:              pulumi.Float64(1),
			LocationId:            pulumi.Float64(6),
			MarketplaceVisibility: pulumi.Bool(false),
			PortSpeed:             pulumi.Float64(10000),
			ProductName:           pulumi.String("Megaport Lag Port Example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Megaport = Pulumi.Megaport;
return await Deployment.RunAsync(() => 
{
    var lagPort = new Megaport.LagPort("lagPort", new()
    {
        ContractTermMonths = 1,
        CostCentre = "Lag Port Example",
        LagCount = 1,
        LocationId = 6,
        MarketplaceVisibility = false,
        PortSpeed = 10000,
        ProductName = "Megaport Lag Port Example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.megaport.LagPort;
import com.pulumi.megaport.LagPortArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var lagPort = new LagPort("lagPort", LagPortArgs.builder()
            .contractTermMonths(1)
            .costCentre("Lag Port Example")
            .lagCount(1)
            .locationId(6)
            .marketplaceVisibility(false)
            .portSpeed(10000)
            .productName("Megaport Lag Port Example")
            .build());
    }
}
resources:
  lagPort:
    type: megaport:LagPort
    properties:
      contractTermMonths: 1
      costCentre: Lag Port Example
      lagCount: 1
      locationId: 6
      marketplaceVisibility: false
      portSpeed: 10000
      productName: Megaport Lag Port Example
Create LagPort Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LagPort(name: string, args: LagPortArgs, opts?: CustomResourceOptions);@overload
def LagPort(resource_name: str,
            args: LagPortArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def LagPort(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            contract_term_months: Optional[float] = None,
            lag_count: Optional[float] = None,
            location_id: Optional[float] = None,
            marketplace_visibility: Optional[bool] = None,
            port_speed: Optional[float] = None,
            product_name: Optional[str] = None,
            cost_centre: Optional[str] = None,
            diversity_zone: Optional[str] = None,
            promo_code: Optional[str] = None,
            resource_tags: Optional[Mapping[str, str]] = None)func NewLagPort(ctx *Context, name string, args LagPortArgs, opts ...ResourceOption) (*LagPort, error)public LagPort(string name, LagPortArgs args, CustomResourceOptions? opts = null)
public LagPort(String name, LagPortArgs args)
public LagPort(String name, LagPortArgs args, CustomResourceOptions options)
type: megaport:LagPort
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LagPortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LagPortArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LagPortArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LagPortArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LagPortArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var lagPortResource = new Megaport.LagPort("lagPortResource", new()
{
    ContractTermMonths = 0,
    LagCount = 0,
    LocationId = 0,
    MarketplaceVisibility = false,
    PortSpeed = 0,
    ProductName = "string",
    CostCentre = "string",
    DiversityZone = "string",
    PromoCode = "string",
    ResourceTags = 
    {
        { "string", "string" },
    },
});
example, err := megaport.NewLagPort(ctx, "lagPortResource", &megaport.LagPortArgs{
	ContractTermMonths:    pulumi.Float64(0),
	LagCount:              pulumi.Float64(0),
	LocationId:            pulumi.Float64(0),
	MarketplaceVisibility: pulumi.Bool(false),
	PortSpeed:             pulumi.Float64(0),
	ProductName:           pulumi.String("string"),
	CostCentre:            pulumi.String("string"),
	DiversityZone:         pulumi.String("string"),
	PromoCode:             pulumi.String("string"),
	ResourceTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var lagPortResource = new LagPort("lagPortResource", LagPortArgs.builder()
    .contractTermMonths(0.0)
    .lagCount(0.0)
    .locationId(0.0)
    .marketplaceVisibility(false)
    .portSpeed(0.0)
    .productName("string")
    .costCentre("string")
    .diversityZone("string")
    .promoCode("string")
    .resourceTags(Map.of("string", "string"))
    .build());
lag_port_resource = megaport.LagPort("lagPortResource",
    contract_term_months=0,
    lag_count=0,
    location_id=0,
    marketplace_visibility=False,
    port_speed=0,
    product_name="string",
    cost_centre="string",
    diversity_zone="string",
    promo_code="string",
    resource_tags={
        "string": "string",
    })
const lagPortResource = new megaport.LagPort("lagPortResource", {
    contractTermMonths: 0,
    lagCount: 0,
    locationId: 0,
    marketplaceVisibility: false,
    portSpeed: 0,
    productName: "string",
    costCentre: "string",
    diversityZone: "string",
    promoCode: "string",
    resourceTags: {
        string: "string",
    },
});
type: megaport:LagPort
properties:
    contractTermMonths: 0
    costCentre: string
    diversityZone: string
    lagCount: 0
    locationId: 0
    marketplaceVisibility: false
    portSpeed: 0
    productName: string
    promoCode: string
    resourceTags:
        string: string
LagPort Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LagPort resource accepts the following input properties:
- ContractTerm doubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- LagCount double
- The number of LAG ports. Valid values are between 1 and 8.
- LocationId double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- MarketplaceVisibility bool
- Whether the product is visible in the marketplace.
- PortSpeed double
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- ProductName string
- The name of the product.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- DiversityZone string
- The diversity zone of the product.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Dictionary<string, string>
- The resource tags associated with the product.
- ContractTerm float64Months 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- LagCount float64
- The number of LAG ports. Valid values are between 1 and 8.
- LocationId float64
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- MarketplaceVisibility bool
- Whether the product is visible in the marketplace.
- PortSpeed float64
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- ProductName string
- The name of the product.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- DiversityZone string
- The diversity zone of the product.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- map[string]string
- The resource tags associated with the product.
- contractTerm DoubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- lagCount Double
- The number of LAG ports. Valid values are between 1 and 8.
- locationId Double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplaceVisibility Boolean
- Whether the product is visible in the marketplace.
- portSpeed Double
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- productName String
- The name of the product.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- diversityZone String
- The diversity zone of the product.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Map<String,String>
- The resource tags associated with the product.
- contractTerm numberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- lagCount number
- The number of LAG ports. Valid values are between 1 and 8.
- locationId number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplaceVisibility boolean
- Whether the product is visible in the marketplace.
- portSpeed number
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- productName string
- The name of the product.
- costCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- diversityZone string
- The diversity zone of the product.
- promoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- {[key: string]: string}
- The resource tags associated with the product.
- contract_term_ floatmonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- lag_count float
- The number of LAG ports. Valid values are between 1 and 8.
- location_id float
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplace_visibility bool
- Whether the product is visible in the marketplace.
- port_speed float
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product_name str
- The name of the product.
- cost_centre str
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- diversity_zone str
- The diversity zone of the product.
- promo_code str
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Mapping[str, str]
- The resource tags associated with the product.
- contractTerm NumberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- lagCount Number
- The number of LAG ports. Valid values are between 1 and 8.
- locationId Number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplaceVisibility Boolean
- Whether the product is visible in the marketplace.
- portSpeed Number
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- productName String
- The name of the product.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- diversityZone String
- The diversity zone of the product.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Map<String>
- The resource tags associated with the product.
Outputs
All input properties are implicitly available as output properties. Additionally, the LagPort resource produces the following output properties:
- Cancelable bool
- Whether the product is cancelable.
- CompanyUid string
- The unique identifier of the company.
- ContractEnd stringDate 
- The date the contract ends.
- ContractStart stringDate 
- The date the contract started.
- CreateDate string
- The date the product was created.
- CreatedBy string
- The user who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- LagPort List<string>Uids 
- The unique identifiers of the LAG ports.
- LastUpdated string
- The last time the resource was updated.
- LiveDate string
- The date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- The market the product is in.
- ProductId double
- The numeric ID of the product.
- ProductUid string
- The unique identifier for the resource.
- ProvisioningStatus string
- The provisioning status of the product.
- Resources
LagPort Resources 
- Resources attached to port.
- TerminateDate string
- The date the product will be terminated.
- UsageAlgorithm string
- The usage algorithm for the product.
- Virtual bool
- Whether the product is virtual. Always false for LAG orders.
- VxcAuto boolApproval 
- Whether VXC is auto-approved on this product.
- VxcPermitted bool
- Whether VXC is permitted on this product.
- Cancelable bool
- Whether the product is cancelable.
- CompanyUid string
- The unique identifier of the company.
- ContractEnd stringDate 
- The date the contract ends.
- ContractStart stringDate 
- The date the contract started.
- CreateDate string
- The date the product was created.
- CreatedBy string
- The user who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- LagPort []stringUids 
- The unique identifiers of the LAG ports.
- LastUpdated string
- The last time the resource was updated.
- LiveDate string
- The date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- The market the product is in.
- ProductId float64
- The numeric ID of the product.
- ProductUid string
- The unique identifier for the resource.
- ProvisioningStatus string
- The provisioning status of the product.
- Resources
LagPort Resources 
- Resources attached to port.
- TerminateDate string
- The date the product will be terminated.
- UsageAlgorithm string
- The usage algorithm for the product.
- Virtual bool
- Whether the product is virtual. Always false for LAG orders.
- VxcAuto boolApproval 
- Whether VXC is auto-approved on this product.
- VxcPermitted bool
- Whether VXC is permitted on this product.
- cancelable Boolean
- Whether the product is cancelable.
- companyUid String
- The unique identifier of the company.
- contractEnd StringDate 
- The date the contract ends.
- contractStart StringDate 
- The date the contract started.
- createDate String
- The date the product was created.
- createdBy String
- The user who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lagPort List<String>Uids 
- The unique identifiers of the LAG ports.
- lastUpdated String
- The last time the resource was updated.
- liveDate String
- The date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- The market the product is in.
- productId Double
- The numeric ID of the product.
- productUid String
- The unique identifier for the resource.
- provisioningStatus String
- The provisioning status of the product.
- resources
LagPort Resources 
- Resources attached to port.
- terminateDate String
- The date the product will be terminated.
- usageAlgorithm String
- The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxcAuto BooleanApproval 
- Whether VXC is auto-approved on this product.
- vxcPermitted Boolean
- Whether VXC is permitted on this product.
- cancelable boolean
- Whether the product is cancelable.
- companyUid string
- The unique identifier of the company.
- contractEnd stringDate 
- The date the contract ends.
- contractStart stringDate 
- The date the contract started.
- createDate string
- The date the product was created.
- createdBy string
- The user who created the product.
- id string
- The provider-assigned unique ID for this managed resource.
- lagPort string[]Uids 
- The unique identifiers of the LAG ports.
- lastUpdated string
- The last time the resource was updated.
- liveDate string
- The date the product went live.
- locked boolean
- Whether the product is locked.
- market string
- The market the product is in.
- productId number
- The numeric ID of the product.
- productUid string
- The unique identifier for the resource.
- provisioningStatus string
- The provisioning status of the product.
- resources
LagPort Resources 
- Resources attached to port.
- terminateDate string
- The date the product will be terminated.
- usageAlgorithm string
- The usage algorithm for the product.
- virtual boolean
- Whether the product is virtual. Always false for LAG orders.
- vxcAuto booleanApproval 
- Whether VXC is auto-approved on this product.
- vxcPermitted boolean
- Whether VXC is permitted on this product.
- cancelable bool
- Whether the product is cancelable.
- company_uid str
- The unique identifier of the company.
- contract_end_ strdate 
- The date the contract ends.
- contract_start_ strdate 
- The date the contract started.
- create_date str
- The date the product was created.
- created_by str
- The user who created the product.
- id str
- The provider-assigned unique ID for this managed resource.
- lag_port_ Sequence[str]uids 
- The unique identifiers of the LAG ports.
- last_updated str
- The last time the resource was updated.
- live_date str
- The date the product went live.
- locked bool
- Whether the product is locked.
- market str
- The market the product is in.
- product_id float
- The numeric ID of the product.
- product_uid str
- The unique identifier for the resource.
- provisioning_status str
- The provisioning status of the product.
- resources
LagPort Resources 
- Resources attached to port.
- terminate_date str
- The date the product will be terminated.
- usage_algorithm str
- The usage algorithm for the product.
- virtual bool
- Whether the product is virtual. Always false for LAG orders.
- vxc_auto_ boolapproval 
- Whether VXC is auto-approved on this product.
- vxc_permitted bool
- Whether VXC is permitted on this product.
- cancelable Boolean
- Whether the product is cancelable.
- companyUid String
- The unique identifier of the company.
- contractEnd StringDate 
- The date the contract ends.
- contractStart StringDate 
- The date the contract started.
- createDate String
- The date the product was created.
- createdBy String
- The user who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lagPort List<String>Uids 
- The unique identifiers of the LAG ports.
- lastUpdated String
- The last time the resource was updated.
- liveDate String
- The date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- The market the product is in.
- productId Number
- The numeric ID of the product.
- productUid String
- The unique identifier for the resource.
- provisioningStatus String
- The provisioning status of the product.
- resources Property Map
- Resources attached to port.
- terminateDate String
- The date the product will be terminated.
- usageAlgorithm String
- The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxcAuto BooleanApproval 
- Whether VXC is auto-approved on this product.
- vxcPermitted Boolean
- Whether VXC is permitted on this product.
Look up Existing LagPort Resource
Get an existing LagPort resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: LagPortState, opts?: CustomResourceOptions): LagPort@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cancelable: Optional[bool] = None,
        company_uid: Optional[str] = None,
        contract_end_date: Optional[str] = None,
        contract_start_date: Optional[str] = None,
        contract_term_months: Optional[float] = None,
        cost_centre: Optional[str] = None,
        create_date: Optional[str] = None,
        created_by: Optional[str] = None,
        diversity_zone: Optional[str] = None,
        lag_count: Optional[float] = None,
        lag_port_uids: Optional[Sequence[str]] = None,
        last_updated: Optional[str] = None,
        live_date: Optional[str] = None,
        location_id: Optional[float] = None,
        locked: Optional[bool] = None,
        market: Optional[str] = None,
        marketplace_visibility: Optional[bool] = None,
        port_speed: Optional[float] = None,
        product_id: Optional[float] = None,
        product_name: Optional[str] = None,
        product_uid: Optional[str] = None,
        promo_code: Optional[str] = None,
        provisioning_status: Optional[str] = None,
        resource_tags: Optional[Mapping[str, str]] = None,
        resources: Optional[LagPortResourcesArgs] = None,
        terminate_date: Optional[str] = None,
        usage_algorithm: Optional[str] = None,
        virtual: Optional[bool] = None,
        vxc_auto_approval: Optional[bool] = None,
        vxc_permitted: Optional[bool] = None) -> LagPortfunc GetLagPort(ctx *Context, name string, id IDInput, state *LagPortState, opts ...ResourceOption) (*LagPort, error)public static LagPort Get(string name, Input<string> id, LagPortState? state, CustomResourceOptions? opts = null)public static LagPort get(String name, Output<String> id, LagPortState state, CustomResourceOptions options)resources:  _:    type: megaport:LagPort    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cancelable bool
- Whether the product is cancelable.
- CompanyUid string
- The unique identifier of the company.
- ContractEnd stringDate 
- The date the contract ends.
- ContractStart stringDate 
- The date the contract started.
- ContractTerm doubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- CreateDate string
- The date the product was created.
- CreatedBy string
- The user who created the product.
- DiversityZone string
- The diversity zone of the product.
- LagCount double
- The number of LAG ports. Valid values are between 1 and 8.
- LagPort List<string>Uids 
- The unique identifiers of the LAG ports.
- LastUpdated string
- The last time the resource was updated.
- LiveDate string
- The date the product went live.
- LocationId double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- Locked bool
- Whether the product is locked.
- Market string
- The market the product is in.
- MarketplaceVisibility bool
- Whether the product is visible in the marketplace.
- PortSpeed double
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- ProductId double
- The numeric ID of the product.
- ProductName string
- The name of the product.
- ProductUid string
- The unique identifier for the resource.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- ProvisioningStatus string
- The provisioning status of the product.
- Dictionary<string, string>
- The resource tags associated with the product.
- Resources
LagPort Resources 
- Resources attached to port.
- TerminateDate string
- The date the product will be terminated.
- UsageAlgorithm string
- The usage algorithm for the product.
- Virtual bool
- Whether the product is virtual. Always false for LAG orders.
- VxcAuto boolApproval 
- Whether VXC is auto-approved on this product.
- VxcPermitted bool
- Whether VXC is permitted on this product.
- Cancelable bool
- Whether the product is cancelable.
- CompanyUid string
- The unique identifier of the company.
- ContractEnd stringDate 
- The date the contract ends.
- ContractStart stringDate 
- The date the contract started.
- ContractTerm float64Months 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- CreateDate string
- The date the product was created.
- CreatedBy string
- The user who created the product.
- DiversityZone string
- The diversity zone of the product.
- LagCount float64
- The number of LAG ports. Valid values are between 1 and 8.
- LagPort []stringUids 
- The unique identifiers of the LAG ports.
- LastUpdated string
- The last time the resource was updated.
- LiveDate string
- The date the product went live.
- LocationId float64
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- Locked bool
- Whether the product is locked.
- Market string
- The market the product is in.
- MarketplaceVisibility bool
- Whether the product is visible in the marketplace.
- PortSpeed float64
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- ProductId float64
- The numeric ID of the product.
- ProductName string
- The name of the product.
- ProductUid string
- The unique identifier for the resource.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- ProvisioningStatus string
- The provisioning status of the product.
- map[string]string
- The resource tags associated with the product.
- Resources
LagPort Resources Args 
- Resources attached to port.
- TerminateDate string
- The date the product will be terminated.
- UsageAlgorithm string
- The usage algorithm for the product.
- Virtual bool
- Whether the product is virtual. Always false for LAG orders.
- VxcAuto boolApproval 
- Whether VXC is auto-approved on this product.
- VxcPermitted bool
- Whether VXC is permitted on this product.
- cancelable Boolean
- Whether the product is cancelable.
- companyUid String
- The unique identifier of the company.
- contractEnd StringDate 
- The date the contract ends.
- contractStart StringDate 
- The date the contract started.
- contractTerm DoubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- createDate String
- The date the product was created.
- createdBy String
- The user who created the product.
- diversityZone String
- The diversity zone of the product.
- lagCount Double
- The number of LAG ports. Valid values are between 1 and 8.
- lagPort List<String>Uids 
- The unique identifiers of the LAG ports.
- lastUpdated String
- The last time the resource was updated.
- liveDate String
- The date the product went live.
- locationId Double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked Boolean
- Whether the product is locked.
- market String
- The market the product is in.
- marketplaceVisibility Boolean
- Whether the product is visible in the marketplace.
- portSpeed Double
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- productId Double
- The numeric ID of the product.
- productName String
- The name of the product.
- productUid String
- The unique identifier for the resource.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioningStatus String
- The provisioning status of the product.
- Map<String,String>
- The resource tags associated with the product.
- resources
LagPort Resources 
- Resources attached to port.
- terminateDate String
- The date the product will be terminated.
- usageAlgorithm String
- The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxcAuto BooleanApproval 
- Whether VXC is auto-approved on this product.
- vxcPermitted Boolean
- Whether VXC is permitted on this product.
- cancelable boolean
- Whether the product is cancelable.
- companyUid string
- The unique identifier of the company.
- contractEnd stringDate 
- The date the contract ends.
- contractStart stringDate 
- The date the contract started.
- contractTerm numberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- costCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- createDate string
- The date the product was created.
- createdBy string
- The user who created the product.
- diversityZone string
- The diversity zone of the product.
- lagCount number
- The number of LAG ports. Valid values are between 1 and 8.
- lagPort string[]Uids 
- The unique identifiers of the LAG ports.
- lastUpdated string
- The last time the resource was updated.
- liveDate string
- The date the product went live.
- locationId number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked boolean
- Whether the product is locked.
- market string
- The market the product is in.
- marketplaceVisibility boolean
- Whether the product is visible in the marketplace.
- portSpeed number
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- productId number
- The numeric ID of the product.
- productName string
- The name of the product.
- productUid string
- The unique identifier for the resource.
- promoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioningStatus string
- The provisioning status of the product.
- {[key: string]: string}
- The resource tags associated with the product.
- resources
LagPort Resources 
- Resources attached to port.
- terminateDate string
- The date the product will be terminated.
- usageAlgorithm string
- The usage algorithm for the product.
- virtual boolean
- Whether the product is virtual. Always false for LAG orders.
- vxcAuto booleanApproval 
- Whether VXC is auto-approved on this product.
- vxcPermitted boolean
- Whether VXC is permitted on this product.
- cancelable bool
- Whether the product is cancelable.
- company_uid str
- The unique identifier of the company.
- contract_end_ strdate 
- The date the contract ends.
- contract_start_ strdate 
- The date the contract started.
- contract_term_ floatmonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- cost_centre str
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- create_date str
- The date the product was created.
- created_by str
- The user who created the product.
- diversity_zone str
- The diversity zone of the product.
- lag_count float
- The number of LAG ports. Valid values are between 1 and 8.
- lag_port_ Sequence[str]uids 
- The unique identifiers of the LAG ports.
- last_updated str
- The last time the resource was updated.
- live_date str
- The date the product went live.
- location_id float
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked bool
- Whether the product is locked.
- market str
- The market the product is in.
- marketplace_visibility bool
- Whether the product is visible in the marketplace.
- port_speed float
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product_id float
- The numeric ID of the product.
- product_name str
- The name of the product.
- product_uid str
- The unique identifier for the resource.
- promo_code str
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioning_status str
- The provisioning status of the product.
- Mapping[str, str]
- The resource tags associated with the product.
- resources
LagPort Resources Args 
- Resources attached to port.
- terminate_date str
- The date the product will be terminated.
- usage_algorithm str
- The usage algorithm for the product.
- virtual bool
- Whether the product is virtual. Always false for LAG orders.
- vxc_auto_ boolapproval 
- Whether VXC is auto-approved on this product.
- vxc_permitted bool
- Whether VXC is permitted on this product.
- cancelable Boolean
- Whether the product is cancelable.
- companyUid String
- The unique identifier of the company.
- contractEnd StringDate 
- The date the contract ends.
- contractStart StringDate 
- The date the contract started.
- contractTerm NumberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service.
- createDate String
- The date the product was created.
- createdBy String
- The user who created the product.
- diversityZone String
- The diversity zone of the product.
- lagCount Number
- The number of LAG ports. Valid values are between 1 and 8.
- lagPort List<String>Uids 
- The unique identifiers of the LAG ports.
- lastUpdated String
- The last time the resource was updated.
- liveDate String
- The date the product went live.
- locationId Number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked Boolean
- Whether the product is locked.
- market String
- The market the product is in.
- marketplaceVisibility Boolean
- Whether the product is visible in the marketplace.
- portSpeed Number
- The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- productId Number
- The numeric ID of the product.
- productName String
- The name of the product.
- productUid String
- The unique identifier for the resource.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioningStatus String
- The provisioning status of the product.
- Map<String>
- The resource tags associated with the product.
- resources Property Map
- Resources attached to port.
- terminateDate String
- The date the product will be terminated.
- usageAlgorithm String
- The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxcAuto BooleanApproval 
- Whether VXC is auto-approved on this product.
- vxcPermitted Boolean
- Whether VXC is permitted on this product.
Supporting Types
LagPortResources, LagPortResourcesArgs      
- Interface
LagPort Resources Interface 
- Port interface details.
- Interface
LagPort Resources Interface 
- Port interface details.
- interface_
LagPort Resources Interface 
- Port interface details.
- interface
LagPort Resources Interface 
- Port interface details.
- interface
LagPort Resources Interface 
- Port interface details.
- interface Property Map
- Port interface details.
LagPortResourcesInterface, LagPortResourcesInterfaceArgs        
- Demarcation string
- The demarcation of the interface.
- Up double
- The up status of the interface.
- Demarcation string
- The demarcation of the interface.
- Up float64
- The up status of the interface.
- demarcation String
- The demarcation of the interface.
- up Double
- The up status of the interface.
- demarcation string
- The demarcation of the interface.
- up number
- The up status of the interface.
- demarcation str
- The demarcation of the interface.
- up float
- The up status of the interface.
- demarcation String
- The demarcation of the interface.
- up Number
- The up status of the interface.
Import
Order can be imported by specifying the Product UID.
$ pulumi import megaport:index/lagPort:LagPort example "<PRODUCT_UID>"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- megaport megaport/terraform-provider-megaport
- License
- Notes
- This Pulumi package is based on the megaportTerraform Provider.