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)
.lagCount(0)
.locationId(0)
.marketplaceVisibility(false)
.portSpeed(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:
- Contract
Term 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.
- Lag
Count double - The number of LAG ports. Valid values are between 1 and 8.
- Location
Id double - 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 double - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- Product
Name string - The name of the product.
- Cost
Centre 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.
- Diversity
Zone string - The diversity zone of the product.
- Promo
Code 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.
- Contract
Term 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.
- Lag
Count float64 - The number of LAG ports. Valid values are between 1 and 8.
- Location
Id float64 - 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 float64 - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- Product
Name string - The name of the product.
- Cost
Centre 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.
- Diversity
Zone string - The diversity zone of the product.
- Promo
Code 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.
- contract
Term 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.
- lag
Count Double - The number of LAG ports. Valid values are between 1 and 8.
- location
Id Double - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplace
Visibility Boolean - Whether the product is visible in the marketplace.
- port
Speed Double - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product
Name String - The name of the product.
- cost
Centre 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.
- diversity
Zone String - The diversity zone of the product.
- promo
Code 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.
- contract
Term 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.
- lag
Count number - The number of LAG ports. Valid values are between 1 and 8.
- location
Id number - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplace
Visibility boolean - Whether the product is visible in the marketplace.
- port
Speed number - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product
Name string - The name of the product.
- cost
Centre 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.
- diversity
Zone string - The diversity zone of the product.
- promo
Code 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.
- contract
Term 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.
- lag
Count Number - The number of LAG ports. Valid values are between 1 and 8.
- location
Id Number - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- marketplace
Visibility Boolean - Whether the product is visible in the marketplace.
- port
Speed Number - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product
Name String - The name of the product.
- cost
Centre 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.
- diversity
Zone String - The diversity zone of the product.
- promo
Code 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.
- Company
Uid string - The unique identifier of the company.
- Contract
End stringDate - The date the contract ends.
- Contract
Start stringDate - The date the contract started.
- Create
Date string - The date the product was created.
- Created
By string - The user who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lag
Port List<string>Uids - The unique identifiers of the LAG ports.
- Last
Updated string - The last time the resource was updated.
- Live
Date string - The date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- The market the product is in.
- Product
Id double - The numeric ID of the product.
- Product
Uid string - The unique identifier for the resource.
- Provisioning
Status string - The provisioning status of the product.
- Resources
Lag
Port Resources - Resources attached to port.
- Terminate
Date string - The date the product will be terminated.
- Usage
Algorithm string - 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 bool
- Whether the product is cancelable.
- Company
Uid string - The unique identifier of the company.
- Contract
End stringDate - The date the contract ends.
- Contract
Start stringDate - The date the contract started.
- Create
Date string - The date the product was created.
- Created
By string - The user who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lag
Port []stringUids - The unique identifiers of the LAG ports.
- Last
Updated string - The last time the resource was updated.
- Live
Date string - The date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- The market the product is in.
- Product
Id float64 - The numeric ID of the product.
- Product
Uid string - The unique identifier for the resource.
- Provisioning
Status string - The provisioning status of the product.
- Resources
Lag
Port Resources - Resources attached to port.
- Terminate
Date string - The date the product will be terminated.
- Usage
Algorithm string - 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.
- company
Uid String - The unique identifier of the company.
- contract
End StringDate - The date the contract ends.
- contract
Start StringDate - The date the contract started.
- create
Date String - The date the product was created.
- created
By String - The user who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lag
Port List<String>Uids - The unique identifiers of the LAG ports.
- last
Updated String - The last time the resource was updated.
- live
Date String - The date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- The market the product is in.
- product
Id Double - The numeric ID of the product.
- product
Uid String - The unique identifier for the resource.
- provisioning
Status String - The provisioning status of the product.
- resources
Lag
Port Resources - Resources attached to port.
- terminate
Date String - The date the product will be terminated.
- usage
Algorithm String - The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxc
Auto BooleanApproval - Whether VXC is auto-approved on this product.
- vxc
Permitted Boolean - Whether VXC is permitted on this product.
- cancelable boolean
- Whether the product is cancelable.
- company
Uid string - The unique identifier of the company.
- contract
End stringDate - The date the contract ends.
- contract
Start stringDate - The date the contract started.
- create
Date string - The date the product was created.
- created
By string - The user who created the product.
- id string
- The provider-assigned unique ID for this managed resource.
- lag
Port string[]Uids - The unique identifiers of the LAG ports.
- last
Updated string - The last time the resource was updated.
- live
Date string - The date the product went live.
- locked boolean
- Whether the product is locked.
- market string
- The market the product is in.
- product
Id number - The numeric ID of the product.
- product
Uid string - The unique identifier for the resource.
- provisioning
Status string - The provisioning status of the product.
- resources
Lag
Port Resources - Resources attached to port.
- terminate
Date string - The date the product will be terminated.
- usage
Algorithm string - The usage algorithm for the product.
- virtual boolean
- Whether the product is virtual. Always false for LAG orders.
- vxc
Auto booleanApproval - Whether VXC is auto-approved on this product.
- vxc
Permitted 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
Lag
Port 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.
- company
Uid String - The unique identifier of the company.
- contract
End StringDate - The date the contract ends.
- contract
Start StringDate - The date the contract started.
- create
Date String - The date the product was created.
- created
By String - The user who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lag
Port List<String>Uids - The unique identifiers of the LAG ports.
- last
Updated String - The last time the resource was updated.
- live
Date String - The date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- The market the product is in.
- product
Id Number - The numeric ID of the product.
- product
Uid String - The unique identifier for the resource.
- provisioning
Status String - The provisioning status of the product.
- resources Property Map
- Resources attached to port.
- terminate
Date String - The date the product will be terminated.
- usage
Algorithm String - The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxc
Auto BooleanApproval - Whether VXC is auto-approved on this product.
- vxc
Permitted 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) -> LagPort
func 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.
- Company
Uid string - The unique identifier of the company.
- Contract
End stringDate - The date the contract ends.
- Contract
Start stringDate - The date the contract started.
- Contract
Term 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.
- Cost
Centre 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.
- Create
Date string - The date the product was created.
- Created
By string - The user who created the product.
- Diversity
Zone string - The diversity zone of the product.
- Lag
Count double - The number of LAG ports. Valid values are between 1 and 8.
- Lag
Port List<string>Uids - The unique identifiers of the LAG ports.
- Last
Updated string - The last time the resource was updated.
- Live
Date string - The date the product went live.
- Location
Id 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.
- Marketplace
Visibility bool - Whether the product is visible in the marketplace.
- Port
Speed double - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- Product
Id double - The numeric ID of the product.
- Product
Name string - The name of the product.
- Product
Uid string - The unique identifier for the resource.
- Promo
Code 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.
- Provisioning
Status string - The provisioning status of the product.
- Dictionary<string, string>
- The resource tags associated with the product.
- Resources
Lag
Port Resources - Resources attached to port.
- Terminate
Date string - The date the product will be terminated.
- Usage
Algorithm string - 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 bool
- Whether the product is cancelable.
- Company
Uid string - The unique identifier of the company.
- Contract
End stringDate - The date the contract ends.
- Contract
Start stringDate - The date the contract started.
- Contract
Term 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.
- Cost
Centre 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.
- Create
Date string - The date the product was created.
- Created
By string - The user who created the product.
- Diversity
Zone string - The diversity zone of the product.
- Lag
Count float64 - The number of LAG ports. Valid values are between 1 and 8.
- Lag
Port []stringUids - The unique identifiers of the LAG ports.
- Last
Updated string - The last time the resource was updated.
- Live
Date string - The date the product went live.
- Location
Id 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.
- Marketplace
Visibility bool - Whether the product is visible in the marketplace.
- Port
Speed float64 - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- Product
Id float64 - The numeric ID of the product.
- Product
Name string - The name of the product.
- Product
Uid string - The unique identifier for the resource.
- Promo
Code 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.
- Provisioning
Status string - The provisioning status of the product.
- map[string]string
- The resource tags associated with the product.
- Resources
Lag
Port Resources Args - Resources attached to port.
- Terminate
Date string - The date the product will be terminated.
- Usage
Algorithm string - 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.
- company
Uid String - The unique identifier of the company.
- contract
End StringDate - The date the contract ends.
- contract
Start StringDate - The date the contract started.
- contract
Term 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.
- cost
Centre 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.
- create
Date String - The date the product was created.
- created
By String - The user who created the product.
- diversity
Zone String - The diversity zone of the product.
- lag
Count Double - The number of LAG ports. Valid values are between 1 and 8.
- lag
Port List<String>Uids - The unique identifiers of the LAG ports.
- last
Updated String - The last time the resource was updated.
- live
Date String - The date the product went live.
- location
Id 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.
- marketplace
Visibility Boolean - Whether the product is visible in the marketplace.
- port
Speed Double - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product
Id Double - The numeric ID of the product.
- product
Name String - The name of the product.
- product
Uid String - The unique identifier for the resource.
- promo
Code 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.
- provisioning
Status String - The provisioning status of the product.
- Map<String,String>
- The resource tags associated with the product.
- resources
Lag
Port Resources - Resources attached to port.
- terminate
Date String - The date the product will be terminated.
- usage
Algorithm String - The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxc
Auto BooleanApproval - Whether VXC is auto-approved on this product.
- vxc
Permitted Boolean - Whether VXC is permitted on this product.
- cancelable boolean
- Whether the product is cancelable.
- company
Uid string - The unique identifier of the company.
- contract
End stringDate - The date the contract ends.
- contract
Start stringDate - The date the contract started.
- contract
Term 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.
- cost
Centre 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.
- create
Date string - The date the product was created.
- created
By string - The user who created the product.
- diversity
Zone string - The diversity zone of the product.
- lag
Count number - The number of LAG ports. Valid values are between 1 and 8.
- lag
Port string[]Uids - The unique identifiers of the LAG ports.
- last
Updated string - The last time the resource was updated.
- live
Date string - The date the product went live.
- location
Id 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.
- marketplace
Visibility boolean - Whether the product is visible in the marketplace.
- port
Speed number - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product
Id number - The numeric ID of the product.
- product
Name string - The name of the product.
- product
Uid string - The unique identifier for the resource.
- promo
Code 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.
- provisioning
Status string - The provisioning status of the product.
- {[key: string]: string}
- The resource tags associated with the product.
- resources
Lag
Port Resources - Resources attached to port.
- terminate
Date string - The date the product will be terminated.
- usage
Algorithm string - The usage algorithm for the product.
- virtual boolean
- Whether the product is virtual. Always false for LAG orders.
- vxc
Auto booleanApproval - Whether VXC is auto-approved on this product.
- vxc
Permitted 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
Lag
Port 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.
- company
Uid String - The unique identifier of the company.
- contract
End StringDate - The date the contract ends.
- contract
Start StringDate - The date the contract started.
- contract
Term 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.
- cost
Centre 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.
- create
Date String - The date the product was created.
- created
By String - The user who created the product.
- diversity
Zone String - The diversity zone of the product.
- lag
Count Number - The number of LAG ports. Valid values are between 1 and 8.
- lag
Port List<String>Uids - The unique identifiers of the LAG ports.
- last
Updated String - The last time the resource was updated.
- live
Date String - The date the product went live.
- location
Id 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.
- marketplace
Visibility Boolean - Whether the product is visible in the marketplace.
- port
Speed Number - The speed of the port in Mbps. Can be 10000 (10 G) or 100000 (100 G, where available).
- product
Id Number - The numeric ID of the product.
- product
Name String - The name of the product.
- product
Uid String - The unique identifier for the resource.
- promo
Code 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.
- provisioning
Status String - The provisioning status of the product.
- Map<String>
- The resource tags associated with the product.
- resources Property Map
- Resources attached to port.
- terminate
Date String - The date the product will be terminated.
- usage
Algorithm String - The usage algorithm for the product.
- virtual Boolean
- Whether the product is virtual. Always false for LAG orders.
- vxc
Auto BooleanApproval - Whether VXC is auto-approved on this product.
- vxc
Permitted Boolean - Whether VXC is permitted on this product.
Supporting Types
LagPortResources, LagPortResourcesArgs
- Interface
Lag
Port Resources Interface - Port interface details.
- Interface
Lag
Port Resources Interface - Port interface details.
- interface_
Lag
Port Resources Interface - Port interface details.
- interface
Lag
Port Resources Interface - Port interface details.
- interface
Lag
Port 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
megaport
Terraform Provider.