megaport.Mcr
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as megaport from "@pulumi/megaport";
const mcr = new megaport.Mcr("mcr", {
contractTermMonths: 1,
locationId: 6,
portSpeed: 1000,
prefixFilterLists: [{
addressFamily: "IPv4",
description: "Megaport Example Prefix Filter List",
entries: [
{
action: "permit",
ge: 24,
le: 24,
prefix: "10.0.1.0/24",
},
{
action: "deny",
ge: 24,
le: 24,
prefix: "10.0.2.0/24",
},
],
}],
productName: "Megaport MCR Example",
});
import pulumi
import pulumi_megaport as megaport
mcr = megaport.Mcr("mcr",
contract_term_months=1,
location_id=6,
port_speed=1000,
prefix_filter_lists=[{
"address_family": "IPv4",
"description": "Megaport Example Prefix Filter List",
"entries": [
{
"action": "permit",
"ge": 24,
"le": 24,
"prefix": "10.0.1.0/24",
},
{
"action": "deny",
"ge": 24,
"le": 24,
"prefix": "10.0.2.0/24",
},
],
}],
product_name="Megaport MCR 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.NewMcr(ctx, "mcr", &megaport.McrArgs{
ContractTermMonths: pulumi.Float64(1),
LocationId: pulumi.Float64(6),
PortSpeed: pulumi.Float64(1000),
PrefixFilterLists: megaport.McrPrefixFilterListArray{
&megaport.McrPrefixFilterListArgs{
AddressFamily: pulumi.String("IPv4"),
Description: pulumi.String("Megaport Example Prefix Filter List"),
Entries: megaport.McrPrefixFilterListEntryArray{
&megaport.McrPrefixFilterListEntryArgs{
Action: pulumi.String("permit"),
Ge: pulumi.Float64(24),
Le: pulumi.Float64(24),
Prefix: pulumi.String("10.0.1.0/24"),
},
&megaport.McrPrefixFilterListEntryArgs{
Action: pulumi.String("deny"),
Ge: pulumi.Float64(24),
Le: pulumi.Float64(24),
Prefix: pulumi.String("10.0.2.0/24"),
},
},
},
},
ProductName: pulumi.String("Megaport MCR 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 mcr = new Megaport.Mcr("mcr", new()
{
ContractTermMonths = 1,
LocationId = 6,
PortSpeed = 1000,
PrefixFilterLists = new[]
{
new Megaport.Inputs.McrPrefixFilterListArgs
{
AddressFamily = "IPv4",
Description = "Megaport Example Prefix Filter List",
Entries = new[]
{
new Megaport.Inputs.McrPrefixFilterListEntryArgs
{
Action = "permit",
Ge = 24,
Le = 24,
Prefix = "10.0.1.0/24",
},
new Megaport.Inputs.McrPrefixFilterListEntryArgs
{
Action = "deny",
Ge = 24,
Le = 24,
Prefix = "10.0.2.0/24",
},
},
},
},
ProductName = "Megaport MCR Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.megaport.Mcr;
import com.pulumi.megaport.McrArgs;
import com.pulumi.megaport.inputs.McrPrefixFilterListArgs;
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 mcr = new Mcr("mcr", McrArgs.builder()
.contractTermMonths(1)
.locationId(6)
.portSpeed(1000)
.prefixFilterLists(McrPrefixFilterListArgs.builder()
.addressFamily("IPv4")
.description("Megaport Example Prefix Filter List")
.entries(
McrPrefixFilterListEntryArgs.builder()
.action("permit")
.ge(24)
.le(24)
.prefix("10.0.1.0/24")
.build(),
McrPrefixFilterListEntryArgs.builder()
.action("deny")
.ge(24)
.le(24)
.prefix("10.0.2.0/24")
.build())
.build())
.productName("Megaport MCR Example")
.build());
}
}
resources:
mcr:
type: megaport:Mcr
properties:
contractTermMonths: 1
locationId: 6
portSpeed: 1000
prefixFilterLists:
- addressFamily: IPv4
description: Megaport Example Prefix Filter List
entries:
- action: permit
ge: 24
le: 24
prefix: 10.0.1.0/24
- action: deny
ge: 24
le: 24
prefix: 10.0.2.0/24
productName: Megaport MCR Example
Create Mcr Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Mcr(name: string, args: McrArgs, opts?: CustomResourceOptions);
@overload
def Mcr(resource_name: str,
args: McrArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Mcr(resource_name: str,
opts: Optional[ResourceOptions] = None,
contract_term_months: Optional[float] = None,
location_id: Optional[float] = None,
port_speed: Optional[float] = None,
product_name: Optional[str] = None,
asn: Optional[float] = None,
cost_centre: Optional[str] = None,
diversity_zone: Optional[str] = None,
prefix_filter_lists: Optional[Sequence[McrPrefixFilterListArgs]] = None,
promo_code: Optional[str] = None,
resource_tags: Optional[Mapping[str, str]] = None)
func NewMcr(ctx *Context, name string, args McrArgs, opts ...ResourceOption) (*Mcr, error)
public Mcr(string name, McrArgs args, CustomResourceOptions? opts = null)
type: megaport:Mcr
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 McrArgs
- 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 McrArgs
- 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 McrArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args McrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args McrArgs
- 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 mcrResource = new Megaport.Mcr("mcrResource", new()
{
ContractTermMonths = 0,
LocationId = 0,
PortSpeed = 0,
ProductName = "string",
Asn = 0,
CostCentre = "string",
DiversityZone = "string",
PrefixFilterLists = new[]
{
new Megaport.Inputs.McrPrefixFilterListArgs
{
AddressFamily = "string",
Description = "string",
Entries = new[]
{
new Megaport.Inputs.McrPrefixFilterListEntryArgs
{
Action = "string",
Prefix = "string",
Ge = 0,
Le = 0,
},
},
Id = 0,
},
},
PromoCode = "string",
ResourceTags =
{
{ "string", "string" },
},
});
example, err := megaport.NewMcr(ctx, "mcrResource", &megaport.McrArgs{
ContractTermMonths: pulumi.Float64(0),
LocationId: pulumi.Float64(0),
PortSpeed: pulumi.Float64(0),
ProductName: pulumi.String("string"),
Asn: pulumi.Float64(0),
CostCentre: pulumi.String("string"),
DiversityZone: pulumi.String("string"),
PrefixFilterLists: megaport.McrPrefixFilterListArray{
&megaport.McrPrefixFilterListArgs{
AddressFamily: pulumi.String("string"),
Description: pulumi.String("string"),
Entries: megaport.McrPrefixFilterListEntryArray{
&megaport.McrPrefixFilterListEntryArgs{
Action: pulumi.String("string"),
Prefix: pulumi.String("string"),
Ge: pulumi.Float64(0),
Le: pulumi.Float64(0),
},
},
Id: pulumi.Float64(0),
},
},
PromoCode: pulumi.String("string"),
ResourceTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var mcrResource = new Mcr("mcrResource", McrArgs.builder()
.contractTermMonths(0)
.locationId(0)
.portSpeed(0)
.productName("string")
.asn(0)
.costCentre("string")
.diversityZone("string")
.prefixFilterLists(McrPrefixFilterListArgs.builder()
.addressFamily("string")
.description("string")
.entries(McrPrefixFilterListEntryArgs.builder()
.action("string")
.prefix("string")
.ge(0)
.le(0)
.build())
.id(0)
.build())
.promoCode("string")
.resourceTags(Map.of("string", "string"))
.build());
mcr_resource = megaport.Mcr("mcrResource",
contract_term_months=0,
location_id=0,
port_speed=0,
product_name="string",
asn=0,
cost_centre="string",
diversity_zone="string",
prefix_filter_lists=[{
"address_family": "string",
"description": "string",
"entries": [{
"action": "string",
"prefix": "string",
"ge": 0,
"le": 0,
}],
"id": 0,
}],
promo_code="string",
resource_tags={
"string": "string",
})
const mcrResource = new megaport.Mcr("mcrResource", {
contractTermMonths: 0,
locationId: 0,
portSpeed: 0,
productName: "string",
asn: 0,
costCentre: "string",
diversityZone: "string",
prefixFilterLists: [{
addressFamily: "string",
description: "string",
entries: [{
action: "string",
prefix: "string",
ge: 0,
le: 0,
}],
id: 0,
}],
promoCode: "string",
resourceTags: {
string: "string",
},
});
type: megaport:Mcr
properties:
asn: 0
contractTermMonths: 0
costCentre: string
diversityZone: string
locationId: 0
portSpeed: 0
prefixFilterLists:
- addressFamily: string
description: string
entries:
- action: string
ge: 0
le: 0
prefix: string
id: 0
productName: string
promoCode: string
resourceTags:
string: string
Mcr 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 Mcr 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.
- Location
Id double - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- Port
Speed double - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- Product
Name string - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- Asn double
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- Diversity
Zone string - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- Prefix
Filter List<McrLists Prefix Filter List> - Prefix filter list associated with 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.
- Location
Id float64 - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- Port
Speed float64 - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- Product
Name string - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- Asn float64
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- Diversity
Zone string - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- Prefix
Filter []McrLists Prefix Filter List Args - Prefix filter list associated with 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.
- location
Id Double - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- port
Speed Double - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- product
Name String - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- asn Double
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversity
Zone String - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefix
Filter List<McrLists Prefix Filter List> - Prefix filter list associated with 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.
- location
Id number - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- port
Speed number - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- product
Name string - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- asn number
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversity
Zone string - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefix
Filter McrLists Prefix Filter List[] - Prefix filter list associated with 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.
- location_
id float - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- port_
speed float - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- product_
name str - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- asn float
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversity_
zone str - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefix_
filter_ Sequence[Mcrlists Prefix Filter List Args] - Prefix filter list associated with 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.
- location
Id Number - The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- port
Speed Number - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- product
Name String - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- asn Number
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversity
Zone String - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefix
Filter List<Property Map>Lists - Prefix filter list associated with 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 Mcr resource produces the following output properties:
- Admin
Locked bool - Whether the product is admin locked.
- Aggregation
Id double - Numeric ID of the aggregation.
- Dictionary<string, string>
- Attribute tags of the product.
- Buyout
Port bool - Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- Company
Name string - Name of the company.
- Company
Uid string - Megaport Company UID of the product.
- Contract
End stringDate - Contract end date of the product.
- Contract
Start stringDate - Contract start date of the product.
- Create
Date string - Date the product was created.
- Created
By string - User who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lag
Id double - Numeric ID of the LAG.
- Lag
Primary bool - Whether the product is a LAG primary.
- Last
Updated string - Live
Date string - Date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- Market the product is in.
- Marketplace
Visibility bool - Whether the product is visible in the Marketplace.
- Product
Id double - Numeric ID of the product.
- Product
Type string - Type of the product.
- Product
Uid string - UID identifier of the product.
- Provisioning
Status string - Provisioning status of the product.
- Secondary
Name string - Secondary name of the product.
- Terminate
Date string - Date the product will be terminated.
- Usage
Algorithm string - Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- Vxc
Auto boolApproval - Whether VXC is auto approved.
- Vxc
Permitted bool - Whether VXC is permitted.
- Admin
Locked bool - Whether the product is admin locked.
- Aggregation
Id float64 - Numeric ID of the aggregation.
- map[string]string
- Attribute tags of the product.
- Buyout
Port bool - Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- Company
Name string - Name of the company.
- Company
Uid string - Megaport Company UID of the product.
- Contract
End stringDate - Contract end date of the product.
- Contract
Start stringDate - Contract start date of the product.
- Create
Date string - Date the product was created.
- Created
By string - User who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lag
Id float64 - Numeric ID of the LAG.
- Lag
Primary bool - Whether the product is a LAG primary.
- Last
Updated string - Live
Date string - Date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- Market the product is in.
- Marketplace
Visibility bool - Whether the product is visible in the Marketplace.
- Product
Id float64 - Numeric ID of the product.
- Product
Type string - Type of the product.
- Product
Uid string - UID identifier of the product.
- Provisioning
Status string - Provisioning status of the product.
- Secondary
Name string - Secondary name of the product.
- Terminate
Date string - Date the product will be terminated.
- Usage
Algorithm string - Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- Vxc
Auto boolApproval - Whether VXC is auto approved.
- Vxc
Permitted bool - Whether VXC is permitted.
- admin
Locked Boolean - Whether the product is admin locked.
- aggregation
Id Double - Numeric ID of the aggregation.
- Map<String,String>
- Attribute tags of the product.
- buyout
Port Boolean - Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- company
Name String - Name of the company.
- company
Uid String - Megaport Company UID of the product.
- contract
End StringDate - Contract end date of the product.
- contract
Start StringDate - Contract start date of the product.
- create
Date String - Date the product was created.
- created
By String - User who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lag
Id Double - Numeric ID of the LAG.
- lag
Primary Boolean - Whether the product is a LAG primary.
- last
Updated String - live
Date String - Date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- Market the product is in.
- marketplace
Visibility Boolean - Whether the product is visible in the Marketplace.
- product
Id Double - Numeric ID of the product.
- product
Type String - Type of the product.
- product
Uid String - UID identifier of the product.
- provisioning
Status String - Provisioning status of the product.
- secondary
Name String - Secondary name of the product.
- terminate
Date String - Date the product will be terminated.
- usage
Algorithm String - Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxc
Auto BooleanApproval - Whether VXC is auto approved.
- vxc
Permitted Boolean - Whether VXC is permitted.
- admin
Locked boolean - Whether the product is admin locked.
- aggregation
Id number - Numeric ID of the aggregation.
- {[key: string]: string}
- Attribute tags of the product.
- buyout
Port boolean - Whether the product is bought out.
- cancelable boolean
- Whether the product is cancelable.
- company
Name string - Name of the company.
- company
Uid string - Megaport Company UID of the product.
- contract
End stringDate - Contract end date of the product.
- contract
Start stringDate - Contract start date of the product.
- create
Date string - Date the product was created.
- created
By string - User who created the product.
- id string
- The provider-assigned unique ID for this managed resource.
- lag
Id number - Numeric ID of the LAG.
- lag
Primary boolean - Whether the product is a LAG primary.
- last
Updated string - live
Date string - Date the product went live.
- locked boolean
- Whether the product is locked.
- market string
- Market the product is in.
- marketplace
Visibility boolean - Whether the product is visible in the Marketplace.
- product
Id number - Numeric ID of the product.
- product
Type string - Type of the product.
- product
Uid string - UID identifier of the product.
- provisioning
Status string - Provisioning status of the product.
- secondary
Name string - Secondary name of the product.
- terminate
Date string - Date the product will be terminated.
- usage
Algorithm string - Usage algorithm of the product.
- virtual boolean
- Whether the product is virtual.
- vxc
Auto booleanApproval - Whether VXC is auto approved.
- vxc
Permitted boolean - Whether VXC is permitted.
- admin_
locked bool - Whether the product is admin locked.
- aggregation_
id float - Numeric ID of the aggregation.
- Mapping[str, str]
- Attribute tags of the product.
- buyout_
port bool - Whether the product is bought out.
- cancelable bool
- Whether the product is cancelable.
- company_
name str - Name of the company.
- company_
uid str - Megaport Company UID of the product.
- contract_
end_ strdate - Contract end date of the product.
- contract_
start_ strdate - Contract start date of the product.
- create_
date str - Date the product was created.
- created_
by str - User who created the product.
- id str
- The provider-assigned unique ID for this managed resource.
- lag_
id float - Numeric ID of the LAG.
- lag_
primary bool - Whether the product is a LAG primary.
- last_
updated str - live_
date str - Date the product went live.
- locked bool
- Whether the product is locked.
- market str
- Market the product is in.
- marketplace_
visibility bool - Whether the product is visible in the Marketplace.
- product_
id float - Numeric ID of the product.
- product_
type str - Type of the product.
- product_
uid str - UID identifier of the product.
- provisioning_
status str - Provisioning status of the product.
- secondary_
name str - Secondary name of the product.
- terminate_
date str - Date the product will be terminated.
- usage_
algorithm str - Usage algorithm of the product.
- virtual bool
- Whether the product is virtual.
- vxc_
auto_ boolapproval - Whether VXC is auto approved.
- vxc_
permitted bool - Whether VXC is permitted.
- admin
Locked Boolean - Whether the product is admin locked.
- aggregation
Id Number - Numeric ID of the aggregation.
- Map<String>
- Attribute tags of the product.
- buyout
Port Boolean - Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- company
Name String - Name of the company.
- company
Uid String - Megaport Company UID of the product.
- contract
End StringDate - Contract end date of the product.
- contract
Start StringDate - Contract start date of the product.
- create
Date String - Date the product was created.
- created
By String - User who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lag
Id Number - Numeric ID of the LAG.
- lag
Primary Boolean - Whether the product is a LAG primary.
- last
Updated String - live
Date String - Date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- Market the product is in.
- marketplace
Visibility Boolean - Whether the product is visible in the Marketplace.
- product
Id Number - Numeric ID of the product.
- product
Type String - Type of the product.
- product
Uid String - UID identifier of the product.
- provisioning
Status String - Provisioning status of the product.
- secondary
Name String - Secondary name of the product.
- terminate
Date String - Date the product will be terminated.
- usage
Algorithm String - Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxc
Auto BooleanApproval - Whether VXC is auto approved.
- vxc
Permitted Boolean - Whether VXC is permitted.
Look up Existing Mcr Resource
Get an existing Mcr 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?: McrState, opts?: CustomResourceOptions): Mcr
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_locked: Optional[bool] = None,
aggregation_id: Optional[float] = None,
asn: Optional[float] = None,
attribute_tags: Optional[Mapping[str, str]] = None,
buyout_port: Optional[bool] = None,
cancelable: Optional[bool] = None,
company_name: Optional[str] = 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_id: Optional[float] = None,
lag_primary: Optional[bool] = 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,
prefix_filter_lists: Optional[Sequence[McrPrefixFilterListArgs]] = None,
product_id: Optional[float] = None,
product_name: Optional[str] = None,
product_type: 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,
secondary_name: Optional[str] = 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) -> Mcr
func GetMcr(ctx *Context, name string, id IDInput, state *McrState, opts ...ResourceOption) (*Mcr, error)
public static Mcr Get(string name, Input<string> id, McrState? state, CustomResourceOptions? opts = null)
public static Mcr get(String name, Output<String> id, McrState state, CustomResourceOptions options)
resources: _: type: megaport:Mcr 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.
- Admin
Locked bool - Whether the product is admin locked.
- Aggregation
Id double - Numeric ID of the aggregation.
- Asn double
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- Dictionary<string, string>
- Attribute tags of the product.
- Buyout
Port bool - Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- Company
Name string - Name of the company.
- Company
Uid string - Megaport Company UID of the product.
- Contract
End stringDate - Contract end date of the product.
- Contract
Start stringDate - Contract start date of 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.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- Create
Date string - Date the product was created.
- Created
By string - User who created the product.
- Diversity
Zone string - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- Lag
Id double - Numeric ID of the LAG.
- Lag
Primary bool - Whether the product is a LAG primary.
- Last
Updated string - Live
Date string - 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
- Market the product is in.
- Marketplace
Visibility bool - Whether the product is visible in the Marketplace.
- Port
Speed double - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- Prefix
Filter List<McrLists Prefix Filter List> - Prefix filter list associated with the product.
- Product
Id double - Numeric ID of the product.
- Product
Name string - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- Product
Type string - Type of the product.
- Product
Uid string - UID identifier 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.
- Provisioning
Status string - Provisioning status of the product.
- Dictionary<string, string>
- The resource tags associated with the product.
- Secondary
Name string - Secondary name of the product.
- Terminate
Date string - Date the product will be terminated.
- Usage
Algorithm string - Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- Vxc
Auto boolApproval - Whether VXC is auto approved.
- Vxc
Permitted bool - Whether VXC is permitted.
- Admin
Locked bool - Whether the product is admin locked.
- Aggregation
Id float64 - Numeric ID of the aggregation.
- Asn float64
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- map[string]string
- Attribute tags of the product.
- Buyout
Port bool - Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- Company
Name string - Name of the company.
- Company
Uid string - Megaport Company UID of the product.
- Contract
End stringDate - Contract end date of the product.
- Contract
Start stringDate - Contract start date of 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.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- Create
Date string - Date the product was created.
- Created
By string - User who created the product.
- Diversity
Zone string - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- Lag
Id float64 - Numeric ID of the LAG.
- Lag
Primary bool - Whether the product is a LAG primary.
- Last
Updated string - Live
Date string - 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
- Market the product is in.
- Marketplace
Visibility bool - Whether the product is visible in the Marketplace.
- Port
Speed float64 - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- Prefix
Filter []McrLists Prefix Filter List Args - Prefix filter list associated with the product.
- Product
Id float64 - Numeric ID of the product.
- Product
Name string - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- Product
Type string - Type of the product.
- Product
Uid string - UID identifier 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.
- Provisioning
Status string - Provisioning status of the product.
- map[string]string
- The resource tags associated with the product.
- Secondary
Name string - Secondary name of the product.
- Terminate
Date string - Date the product will be terminated.
- Usage
Algorithm string - Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- Vxc
Auto boolApproval - Whether VXC is auto approved.
- Vxc
Permitted bool - Whether VXC is permitted.
- admin
Locked Boolean - Whether the product is admin locked.
- aggregation
Id Double - Numeric ID of the aggregation.
- asn Double
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- Map<String,String>
- Attribute tags of the product.
- buyout
Port Boolean - Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- company
Name String - Name of the company.
- company
Uid String - Megaport Company UID of the product.
- contract
End StringDate - Contract end date of the product.
- contract
Start StringDate - Contract start date of 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.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- create
Date String - Date the product was created.
- created
By String - User who created the product.
- diversity
Zone String - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lag
Id Double - Numeric ID of the LAG.
- lag
Primary Boolean - Whether the product is a LAG primary.
- last
Updated String - live
Date String - 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
- Market the product is in.
- marketplace
Visibility Boolean - Whether the product is visible in the Marketplace.
- port
Speed Double - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- prefix
Filter List<McrLists Prefix Filter List> - Prefix filter list associated with the product.
- product
Id Double - Numeric ID of the product.
- product
Name String - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- product
Type String - Type of the product.
- product
Uid String - UID identifier 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.
- provisioning
Status String - Provisioning status of the product.
- Map<String,String>
- The resource tags associated with the product.
- secondary
Name String - Secondary name of the product.
- terminate
Date String - Date the product will be terminated.
- usage
Algorithm String - Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxc
Auto BooleanApproval - Whether VXC is auto approved.
- vxc
Permitted Boolean - Whether VXC is permitted.
- admin
Locked boolean - Whether the product is admin locked.
- aggregation
Id number - Numeric ID of the aggregation.
- asn number
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- {[key: string]: string}
- Attribute tags of the product.
- buyout
Port boolean - Whether the product is bought out.
- cancelable boolean
- Whether the product is cancelable.
- company
Name string - Name of the company.
- company
Uid string - Megaport Company UID of the product.
- contract
End stringDate - Contract end date of the product.
- contract
Start stringDate - Contract start date of 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.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- create
Date string - Date the product was created.
- created
By string - User who created the product.
- diversity
Zone string - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lag
Id number - Numeric ID of the LAG.
- lag
Primary boolean - Whether the product is a LAG primary.
- last
Updated string - live
Date string - 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
- Market the product is in.
- marketplace
Visibility boolean - Whether the product is visible in the Marketplace.
- port
Speed number - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- prefix
Filter McrLists Prefix Filter List[] - Prefix filter list associated with the product.
- product
Id number - Numeric ID of the product.
- product
Name string - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- product
Type string - Type of the product.
- product
Uid string - UID identifier 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.
- provisioning
Status string - Provisioning status of the product.
- {[key: string]: string}
- The resource tags associated with the product.
- secondary
Name string - Secondary name of the product.
- terminate
Date string - Date the product will be terminated.
- usage
Algorithm string - Usage algorithm of the product.
- virtual boolean
- Whether the product is virtual.
- vxc
Auto booleanApproval - Whether VXC is auto approved.
- vxc
Permitted boolean - Whether VXC is permitted.
- admin_
locked bool - Whether the product is admin locked.
- aggregation_
id float - Numeric ID of the aggregation.
- asn float
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- Mapping[str, str]
- Attribute tags of the product.
- buyout_
port bool - Whether the product is bought out.
- cancelable bool
- Whether the product is cancelable.
- company_
name str - Name of the company.
- company_
uid str - Megaport Company UID of the product.
- contract_
end_ strdate - Contract end date of the product.
- contract_
start_ strdate - Contract start date of 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.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- create_
date str - Date the product was created.
- created_
by str - User who created the product.
- diversity_
zone str - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lag_
id float - Numeric ID of the LAG.
- lag_
primary bool - Whether the product is a LAG primary.
- last_
updated str - live_
date str - 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
- Market the product is in.
- marketplace_
visibility bool - Whether the product is visible in the Marketplace.
- port_
speed float - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- prefix_
filter_ Sequence[Mcrlists Prefix Filter List Args] - Prefix filter list associated with the product.
- product_
id float - Numeric ID of the product.
- product_
name str - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- product_
type str - Type of the product.
- product_
uid str - UID identifier 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.
- provisioning_
status str - Provisioning status of the product.
- Mapping[str, str]
- The resource tags associated with the product.
- secondary_
name str - Secondary name of the product.
- terminate_
date str - Date the product will be terminated.
- usage_
algorithm str - Usage algorithm of the product.
- virtual bool
- Whether the product is virtual.
- vxc_
auto_ boolapproval - Whether VXC is auto approved.
- vxc_
permitted bool - Whether VXC is permitted.
- admin
Locked Boolean - Whether the product is admin locked.
- aggregation
Id Number - Numeric ID of the aggregation.
- asn Number
- Autonomous System Number (ASN) of the MCR in the MCR order configuration. Defaults to 133937 if not specified. For most configurations, the default ASN is appropriate. The ASN is used for BGP peering sessions on any VXCs connected to this MCR. See the documentation for your cloud providers before overriding the default value. For example, some public cloud services require the use of a public ASN and Microsoft blocks an ASN value of 65515 for Azure connections.
- Map<String>
- Attribute tags of the product.
- buyout
Port Boolean - Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- company
Name String - Name of the company.
- company
Uid String - Megaport Company UID of the product.
- contract
End StringDate - Contract end date of the product.
- contract
Start StringDate - Contract start date of 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.
- 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. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- create
Date String - Date the product was created.
- created
By String - User who created the product.
- diversity
Zone String - Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lag
Id Number - Numeric ID of the LAG.
- lag
Primary Boolean - Whether the product is a LAG primary.
- last
Updated String - live
Date String - 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
- Market the product is in.
- marketplace
Visibility Boolean - Whether the product is visible in the Marketplace.
- port
Speed Number - Bandwidth speed of the product. The MCR can scale from 1 Gbps to 100 Gbps. The rate limit is an aggregate capacity that determines the speed for all connections through the MCR. MCR bandwidth is shared between all the Cloud Service Provider (CSP) connections added to it. The rate limit is fixed for the life of the service. MCR2 supports seven speeds: 1000, 2500, 5000, 10000, 25000, 50000, and 100000 MBPS
- prefix
Filter List<Property Map>Lists - Prefix filter list associated with the product.
- product
Id Number - Numeric ID of the product.
- product
Name String - Name of the product. Specify a name for the MCR that is easily identifiable as yours, particularly if you plan on provisioning more than one MCR.
- product
Type String - Type of the product.
- product
Uid String - UID identifier 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.
- provisioning
Status String - Provisioning status of the product.
- Map<String>
- The resource tags associated with the product.
- secondary
Name String - Secondary name of the product.
- terminate
Date String - Date the product will be terminated.
- usage
Algorithm String - Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxc
Auto BooleanApproval - Whether VXC is auto approved.
- vxc
Permitted Boolean - Whether VXC is permitted.
Supporting Types
McrPrefixFilterList, McrPrefixFilterListArgs
- Address
Family string - The IP address standard of the IP network addresses in the prefix filter list.
- Description string
- Description of the prefix filter list.
- Entries
List<Mcr
Prefix Filter List Entry> - Entries in the prefix filter list.
- Id double
- Numeric ID of the prefix filter list.
- Address
Family string - The IP address standard of the IP network addresses in the prefix filter list.
- Description string
- Description of the prefix filter list.
- Entries
[]Mcr
Prefix Filter List Entry - Entries in the prefix filter list.
- Id float64
- Numeric ID of the prefix filter list.
- address
Family String - The IP address standard of the IP network addresses in the prefix filter list.
- description String
- Description of the prefix filter list.
- entries
List<Mcr
Prefix Filter List Entry> - Entries in the prefix filter list.
- id Double
- Numeric ID of the prefix filter list.
- address
Family string - The IP address standard of the IP network addresses in the prefix filter list.
- description string
- Description of the prefix filter list.
- entries
Mcr
Prefix Filter List Entry[] - Entries in the prefix filter list.
- id number
- Numeric ID of the prefix filter list.
- address_
family str - The IP address standard of the IP network addresses in the prefix filter list.
- description str
- Description of the prefix filter list.
- entries
Sequence[Mcr
Prefix Filter List Entry] - Entries in the prefix filter list.
- id float
- Numeric ID of the prefix filter list.
- address
Family String - The IP address standard of the IP network addresses in the prefix filter list.
- description String
- Description of the prefix filter list.
- entries List<Property Map>
- Entries in the prefix filter list.
- id Number
- Numeric ID of the prefix filter list.
McrPrefixFilterListEntry, McrPrefixFilterListEntryArgs
- Action string
- The action to take for the network address in the filter list. Accepted values are permit and deny.
- Prefix string
- The network address of the prefix filter list entry.
- Ge double
- The minimum starting prefix length to be matched. Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6). The minimum (ge) must be no greater than or equal to the maximum value (le).
- Le double
- The maximum ending prefix length to be matched. The prefix length is greater than or equal to the minimum value (ge). Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6), but the maximum must be no less than the minimum value (ge).
- Action string
- The action to take for the network address in the filter list. Accepted values are permit and deny.
- Prefix string
- The network address of the prefix filter list entry.
- Ge float64
- The minimum starting prefix length to be matched. Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6). The minimum (ge) must be no greater than or equal to the maximum value (le).
- Le float64
- The maximum ending prefix length to be matched. The prefix length is greater than or equal to the minimum value (ge). Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6), but the maximum must be no less than the minimum value (ge).
- action String
- The action to take for the network address in the filter list. Accepted values are permit and deny.
- prefix String
- The network address of the prefix filter list entry.
- ge Double
- The minimum starting prefix length to be matched. Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6). The minimum (ge) must be no greater than or equal to the maximum value (le).
- le Double
- The maximum ending prefix length to be matched. The prefix length is greater than or equal to the minimum value (ge). Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6), but the maximum must be no less than the minimum value (ge).
- action string
- The action to take for the network address in the filter list. Accepted values are permit and deny.
- prefix string
- The network address of the prefix filter list entry.
- ge number
- The minimum starting prefix length to be matched. Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6). The minimum (ge) must be no greater than or equal to the maximum value (le).
- le number
- The maximum ending prefix length to be matched. The prefix length is greater than or equal to the minimum value (ge). Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6), but the maximum must be no less than the minimum value (ge).
- action str
- The action to take for the network address in the filter list. Accepted values are permit and deny.
- prefix str
- The network address of the prefix filter list entry.
- ge float
- The minimum starting prefix length to be matched. Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6). The minimum (ge) must be no greater than or equal to the maximum value (le).
- le float
- The maximum ending prefix length to be matched. The prefix length is greater than or equal to the minimum value (ge). Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6), but the maximum must be no less than the minimum value (ge).
- action String
- The action to take for the network address in the filter list. Accepted values are permit and deny.
- prefix String
- The network address of the prefix filter list entry.
- ge Number
- The minimum starting prefix length to be matched. Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6). The minimum (ge) must be no greater than or equal to the maximum value (le).
- le Number
- The maximum ending prefix length to be matched. The prefix length is greater than or equal to the minimum value (ge). Valid values are from 0 to 32 (IPv4), or 0 to 128 (IPv6), but the maximum must be no less than the minimum value (ge).
Import
Order can be imported by specifying the Product UID.
$ pulumi import megaport:index/mcr:Mcr 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.