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.0)
    .locationId(0.0)
    .portSpeed(0.0)
    .productName("string")
    .asn(0.0)
    .costCentre("string")
    .diversityZone("string")
    .prefixFilterLists(McrPrefixFilterListArgs.builder()
        .addressFamily("string")
        .description("string")
        .entries(McrPrefixFilterListEntryArgs.builder()
            .action("string")
            .prefix("string")
            .ge(0.0)
            .le(0.0)
            .build())
        .id(0.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:
- ContractTerm doubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- LocationId double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- PortSpeed 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
- ProductName 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.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- DiversityZone string
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- PrefixFilter List<McrLists Prefix Filter List> 
- Prefix filter list associated with the product.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Dictionary<string, string>
- The resource tags associated with the product.
- ContractTerm float64Months 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- LocationId float64
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- PortSpeed 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
- ProductName 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.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- DiversityZone string
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- PrefixFilter []McrLists Prefix Filter List Args 
- Prefix filter list associated with the product.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- map[string]string
- The resource tags associated with the product.
- contractTerm DoubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- locationId Double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- portSpeed 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
- productName 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.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversityZone String
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefixFilter List<McrLists Prefix Filter List> 
- Prefix filter list associated with the product.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Map<String,String>
- The resource tags associated with the product.
- contractTerm numberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- locationId number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- portSpeed 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
- productName 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.
- costCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversityZone string
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefixFilter McrLists Prefix Filter List[] 
- Prefix filter list associated with the product.
- promoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- {[key: string]: string}
- The resource tags associated with the product.
- contract_term_ floatmonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- 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.
- contractTerm NumberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- locationId Number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- portSpeed 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
- productName 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.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- diversityZone String
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- prefixFilter List<Property Map>Lists 
- Prefix filter list associated with the product.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- Map<String>
- The resource tags associated with the product.
Outputs
All input properties are implicitly available as output properties. Additionally, the Mcr resource produces the following output properties:
- AdminLocked bool
- Whether the product is admin locked.
- AggregationId double
- Numeric ID of the aggregation.
- Dictionary<string, string>
- Attribute tags of the product.
- BuyoutPort bool
- Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- CompanyName string
- Name of the company.
- CompanyUid string
- Megaport Company UID of the product.
- ContractEnd stringDate 
- Contract end date of the product.
- ContractStart stringDate 
- Contract start date of the product.
- CreateDate string
- Date the product was created.
- CreatedBy string
- User who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- LagId double
- Numeric ID of the LAG.
- LagPrimary bool
- Whether the product is a LAG primary.
- LastUpdated string
- LiveDate string
- Date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- Market the product is in.
- MarketplaceVisibility bool
- Whether the product is visible in the Marketplace.
- ProductId double
- Numeric ID of the product.
- ProductType string
- Type of the product.
- ProductUid string
- UID identifier of the product.
- ProvisioningStatus string
- Provisioning status of the product.
- SecondaryName string
- Secondary name of the product.
- TerminateDate string
- Date the product will be terminated.
- UsageAlgorithm string
- Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- VxcAuto boolApproval 
- Whether VXC is auto approved.
- VxcPermitted bool
- Whether VXC is permitted.
- AdminLocked bool
- Whether the product is admin locked.
- AggregationId float64
- Numeric ID of the aggregation.
- map[string]string
- Attribute tags of the product.
- BuyoutPort bool
- Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- CompanyName string
- Name of the company.
- CompanyUid string
- Megaport Company UID of the product.
- ContractEnd stringDate 
- Contract end date of the product.
- ContractStart stringDate 
- Contract start date of the product.
- CreateDate string
- Date the product was created.
- CreatedBy string
- User who created the product.
- Id string
- The provider-assigned unique ID for this managed resource.
- LagId float64
- Numeric ID of the LAG.
- LagPrimary bool
- Whether the product is a LAG primary.
- LastUpdated string
- LiveDate string
- Date the product went live.
- Locked bool
- Whether the product is locked.
- Market string
- Market the product is in.
- MarketplaceVisibility bool
- Whether the product is visible in the Marketplace.
- ProductId float64
- Numeric ID of the product.
- ProductType string
- Type of the product.
- ProductUid string
- UID identifier of the product.
- ProvisioningStatus string
- Provisioning status of the product.
- SecondaryName string
- Secondary name of the product.
- TerminateDate string
- Date the product will be terminated.
- UsageAlgorithm string
- Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- VxcAuto boolApproval 
- Whether VXC is auto approved.
- VxcPermitted bool
- Whether VXC is permitted.
- adminLocked Boolean
- Whether the product is admin locked.
- aggregationId Double
- Numeric ID of the aggregation.
- Map<String,String>
- Attribute tags of the product.
- buyoutPort Boolean
- Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- companyName String
- Name of the company.
- companyUid String
- Megaport Company UID of the product.
- contractEnd StringDate 
- Contract end date of the product.
- contractStart StringDate 
- Contract start date of the product.
- createDate String
- Date the product was created.
- createdBy String
- User who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lagId Double
- Numeric ID of the LAG.
- lagPrimary Boolean
- Whether the product is a LAG primary.
- lastUpdated String
- liveDate String
- Date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- Market the product is in.
- marketplaceVisibility Boolean
- Whether the product is visible in the Marketplace.
- productId Double
- Numeric ID of the product.
- productType String
- Type of the product.
- productUid String
- UID identifier of the product.
- provisioningStatus String
- Provisioning status of the product.
- secondaryName String
- Secondary name of the product.
- terminateDate String
- Date the product will be terminated.
- usageAlgorithm String
- Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxcAuto BooleanApproval 
- Whether VXC is auto approved.
- vxcPermitted Boolean
- Whether VXC is permitted.
- adminLocked boolean
- Whether the product is admin locked.
- aggregationId number
- Numeric ID of the aggregation.
- {[key: string]: string}
- Attribute tags of the product.
- buyoutPort boolean
- Whether the product is bought out.
- cancelable boolean
- Whether the product is cancelable.
- companyName string
- Name of the company.
- companyUid string
- Megaport Company UID of the product.
- contractEnd stringDate 
- Contract end date of the product.
- contractStart stringDate 
- Contract start date of the product.
- createDate string
- Date the product was created.
- createdBy string
- User who created the product.
- id string
- The provider-assigned unique ID for this managed resource.
- lagId number
- Numeric ID of the LAG.
- lagPrimary boolean
- Whether the product is a LAG primary.
- lastUpdated string
- liveDate string
- Date the product went live.
- locked boolean
- Whether the product is locked.
- market string
- Market the product is in.
- marketplaceVisibility boolean
- Whether the product is visible in the Marketplace.
- productId number
- Numeric ID of the product.
- productType string
- Type of the product.
- productUid string
- UID identifier of the product.
- provisioningStatus string
- Provisioning status of the product.
- secondaryName string
- Secondary name of the product.
- terminateDate string
- Date the product will be terminated.
- usageAlgorithm string
- Usage algorithm of the product.
- virtual boolean
- Whether the product is virtual.
- vxcAuto booleanApproval 
- Whether VXC is auto approved.
- vxcPermitted 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.
- adminLocked Boolean
- Whether the product is admin locked.
- aggregationId Number
- Numeric ID of the aggregation.
- Map<String>
- Attribute tags of the product.
- buyoutPort Boolean
- Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- companyName String
- Name of the company.
- companyUid String
- Megaport Company UID of the product.
- contractEnd StringDate 
- Contract end date of the product.
- contractStart StringDate 
- Contract start date of the product.
- createDate String
- Date the product was created.
- createdBy String
- User who created the product.
- id String
- The provider-assigned unique ID for this managed resource.
- lagId Number
- Numeric ID of the LAG.
- lagPrimary Boolean
- Whether the product is a LAG primary.
- lastUpdated String
- liveDate String
- Date the product went live.
- locked Boolean
- Whether the product is locked.
- market String
- Market the product is in.
- marketplaceVisibility Boolean
- Whether the product is visible in the Marketplace.
- productId Number
- Numeric ID of the product.
- productType String
- Type of the product.
- productUid String
- UID identifier of the product.
- provisioningStatus String
- Provisioning status of the product.
- secondaryName String
- Secondary name of the product.
- terminateDate String
- Date the product will be terminated.
- usageAlgorithm String
- Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxcAuto BooleanApproval 
- Whether VXC is auto approved.
- vxcPermitted 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) -> Mcrfunc 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.
- AdminLocked bool
- Whether the product is admin locked.
- AggregationId 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.
- BuyoutPort bool
- Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- CompanyName string
- Name of the company.
- CompanyUid string
- Megaport Company UID of the product.
- ContractEnd stringDate 
- Contract end date of the product.
- ContractStart stringDate 
- Contract start date of the product.
- ContractTerm doubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- CreateDate string
- Date the product was created.
- CreatedBy string
- User who created the product.
- DiversityZone string
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- LagId double
- Numeric ID of the LAG.
- LagPrimary bool
- Whether the product is a LAG primary.
- LastUpdated string
- LiveDate string
- Date the product went live.
- LocationId double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- Locked bool
- Whether the product is locked.
- Market string
- Market the product is in.
- MarketplaceVisibility bool
- Whether the product is visible in the Marketplace.
- PortSpeed 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
- PrefixFilter List<McrLists Prefix Filter List> 
- Prefix filter list associated with the product.
- ProductId double
- Numeric ID of the product.
- ProductName 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.
- ProductType string
- Type of the product.
- ProductUid string
- UID identifier of the product.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- ProvisioningStatus string
- Provisioning status of the product.
- Dictionary<string, string>
- The resource tags associated with the product.
- SecondaryName string
- Secondary name of the product.
- TerminateDate string
- Date the product will be terminated.
- UsageAlgorithm string
- Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- VxcAuto boolApproval 
- Whether VXC is auto approved.
- VxcPermitted bool
- Whether VXC is permitted.
- AdminLocked bool
- Whether the product is admin locked.
- AggregationId 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.
- BuyoutPort bool
- Whether the product is bought out.
- Cancelable bool
- Whether the product is cancelable.
- CompanyName string
- Name of the company.
- CompanyUid string
- Megaport Company UID of the product.
- ContractEnd stringDate 
- Contract end date of the product.
- ContractStart stringDate 
- Contract start date of the product.
- ContractTerm float64Months 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- CostCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- CreateDate string
- Date the product was created.
- CreatedBy string
- User who created the product.
- DiversityZone string
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- LagId float64
- Numeric ID of the LAG.
- LagPrimary bool
- Whether the product is a LAG primary.
- LastUpdated string
- LiveDate string
- Date the product went live.
- LocationId float64
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- Locked bool
- Whether the product is locked.
- Market string
- Market the product is in.
- MarketplaceVisibility bool
- Whether the product is visible in the Marketplace.
- PortSpeed 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
- PrefixFilter []McrLists Prefix Filter List Args 
- Prefix filter list associated with the product.
- ProductId float64
- Numeric ID of the product.
- ProductName 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.
- ProductType string
- Type of the product.
- ProductUid string
- UID identifier of the product.
- PromoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- ProvisioningStatus string
- Provisioning status of the product.
- map[string]string
- The resource tags associated with the product.
- SecondaryName string
- Secondary name of the product.
- TerminateDate string
- Date the product will be terminated.
- UsageAlgorithm string
- Usage algorithm of the product.
- Virtual bool
- Whether the product is virtual.
- VxcAuto boolApproval 
- Whether VXC is auto approved.
- VxcPermitted bool
- Whether VXC is permitted.
- adminLocked Boolean
- Whether the product is admin locked.
- aggregationId 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.
- buyoutPort Boolean
- Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- companyName String
- Name of the company.
- companyUid String
- Megaport Company UID of the product.
- contractEnd StringDate 
- Contract end date of the product.
- contractStart StringDate 
- Contract start date of the product.
- contractTerm DoubleMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- createDate String
- Date the product was created.
- createdBy String
- User who created the product.
- diversityZone String
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lagId Double
- Numeric ID of the LAG.
- lagPrimary Boolean
- Whether the product is a LAG primary.
- lastUpdated String
- liveDate String
- Date the product went live.
- locationId Double
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked Boolean
- Whether the product is locked.
- market String
- Market the product is in.
- marketplaceVisibility Boolean
- Whether the product is visible in the Marketplace.
- portSpeed 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
- prefixFilter List<McrLists Prefix Filter List> 
- Prefix filter list associated with the product.
- productId Double
- Numeric ID of the product.
- productName 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.
- productType String
- Type of the product.
- productUid String
- UID identifier of the product.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioningStatus String
- Provisioning status of the product.
- Map<String,String>
- The resource tags associated with the product.
- secondaryName String
- Secondary name of the product.
- terminateDate String
- Date the product will be terminated.
- usageAlgorithm String
- Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxcAuto BooleanApproval 
- Whether VXC is auto approved.
- vxcPermitted Boolean
- Whether VXC is permitted.
- adminLocked boolean
- Whether the product is admin locked.
- aggregationId 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.
- buyoutPort boolean
- Whether the product is bought out.
- cancelable boolean
- Whether the product is cancelable.
- companyName string
- Name of the company.
- companyUid string
- Megaport Company UID of the product.
- contractEnd stringDate 
- Contract end date of the product.
- contractStart stringDate 
- Contract start date of the product.
- contractTerm numberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- costCentre string
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- createDate string
- Date the product was created.
- createdBy string
- User who created the product.
- diversityZone string
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lagId number
- Numeric ID of the LAG.
- lagPrimary boolean
- Whether the product is a LAG primary.
- lastUpdated string
- liveDate string
- Date the product went live.
- locationId number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked boolean
- Whether the product is locked.
- market string
- Market the product is in.
- marketplaceVisibility boolean
- Whether the product is visible in the Marketplace.
- portSpeed 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
- prefixFilter McrLists Prefix Filter List[] 
- Prefix filter list associated with the product.
- productId number
- Numeric ID of the product.
- productName 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.
- productType string
- Type of the product.
- productUid string
- UID identifier of the product.
- promoCode string
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioningStatus string
- Provisioning status of the product.
- {[key: string]: string}
- The resource tags associated with the product.
- secondaryName string
- Secondary name of the product.
- terminateDate string
- Date the product will be terminated.
- usageAlgorithm string
- Usage algorithm of the product.
- virtual boolean
- Whether the product is virtual.
- vxcAuto booleanApproval 
- Whether VXC is auto approved.
- vxcPermitted 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.
- adminLocked Boolean
- Whether the product is admin locked.
- aggregationId 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.
- buyoutPort Boolean
- Whether the product is bought out.
- cancelable Boolean
- Whether the product is cancelable.
- companyName String
- Name of the company.
- companyUid String
- Megaport Company UID of the product.
- contractEnd StringDate 
- Contract end date of the product.
- contractStart StringDate 
- Contract start date of the product.
- contractTerm NumberMonths 
- The term of the contract in months: valid values are 1, 12, 24, and 36. To set the product to a month-to-month contract with no minimum term, set the value to 1.
- costCentre String
- A customer reference number to be included in billing information and invoices. Also known as the service level reference (SLR) number. Specify a unique identifying number for the product to be used for billing purposes, such as a cost center number or a unique customer ID. The service level reference number appears for each service under the Product section of the invoice. You can also edit this field for an existing service. Please note that a VXC associated with the MCR is not automatically updated with the MCR service level reference number.
- createDate String
- Date the product was created.
- createdBy String
- User who created the product.
- diversityZone String
- Diversity zone of the product. If the parameter is not provided, a diversity zone will be automatically allocated.
- lagId Number
- Numeric ID of the LAG.
- lagPrimary Boolean
- Whether the product is a LAG primary.
- lastUpdated String
- liveDate String
- Date the product went live.
- locationId Number
- The numeric location ID of the product. This value can be retrieved from the data source megaport_location.
- locked Boolean
- Whether the product is locked.
- market String
- Market the product is in.
- marketplaceVisibility Boolean
- Whether the product is visible in the Marketplace.
- portSpeed 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
- prefixFilter List<Property Map>Lists 
- Prefix filter list associated with the product.
- productId Number
- Numeric ID of the product.
- productName 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.
- productType String
- Type of the product.
- productUid String
- UID identifier of the product.
- promoCode String
- Promo code is an optional string that can be used to enter a promotional code for the service order. The code is not validated, so if the code doesn't exist or doesn't work for the service, the request will still be successful.
- provisioningStatus String
- Provisioning status of the product.
- Map<String>
- The resource tags associated with the product.
- secondaryName String
- Secondary name of the product.
- terminateDate String
- Date the product will be terminated.
- usageAlgorithm String
- Usage algorithm of the product.
- virtual Boolean
- Whether the product is virtual.
- vxcAuto BooleanApproval 
- Whether VXC is auto approved.
- vxcPermitted Boolean
- Whether VXC is permitted.
Supporting Types
McrPrefixFilterList, McrPrefixFilterListArgs        
- AddressFamily 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<McrPrefix Filter List Entry> 
- Entries in the prefix filter list.
- Id double
- Numeric ID of the prefix filter list.
- AddressFamily string
- The IP address standard of the IP network addresses in the prefix filter list.
- Description string
- Description of the prefix filter list.
- Entries
[]McrPrefix Filter List Entry 
- Entries in the prefix filter list.
- Id float64
- Numeric ID of the prefix filter list.
- addressFamily 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<McrPrefix Filter List Entry> 
- Entries in the prefix filter list.
- id Double
- Numeric ID of the prefix filter list.
- addressFamily string
- The IP address standard of the IP network addresses in the prefix filter list.
- description string
- Description of the prefix filter list.
- entries
McrPrefix 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[McrPrefix Filter List Entry] 
- Entries in the prefix filter list.
- id float
- Numeric ID of the prefix filter list.
- addressFamily 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 megaportTerraform Provider.