Viewing docs for megaport 1.13.0
published on Thursday, Jul 30, 2026 by megaport
published on Thursday, Jul 30, 2026 by megaport
Viewing docs for megaport 1.13.0
published on Thursday, Jul 30, 2026 by megaport
published on Thursday, Jul 30, 2026 by megaport
Exposes the NAT Gateway speed and session-count availability matrix so HCL can reference valid combinations explicitly. Useful in for_each, validation, or locals to discover supported speed/session_count pairs at plan time instead of relying on apply-time API errors.
Using getNatGatewaySessions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNatGatewaySessions(opts?: InvokeOptions): Promise<GetNatGatewaySessionsResult>
function getNatGatewaySessionsOutput(opts?: InvokeOptions): Output<GetNatGatewaySessionsResult>def get_nat_gateway_sessions(opts: Optional[InvokeOptions] = None) -> GetNatGatewaySessionsResult
def get_nat_gateway_sessions_output(opts: Optional[InvokeOptions] = None) -> Output[GetNatGatewaySessionsResult]func GetNatGatewaySessions(ctx *Context, opts ...InvokeOption) (*GetNatGatewaySessionsResult, error)
func GetNatGatewaySessionsOutput(ctx *Context, opts ...InvokeOption) GetNatGatewaySessionsResultOutput> Note: This function is named GetNatGatewaySessions in the Go SDK.
public static class GetNatGatewaySessions
{
public static Task<GetNatGatewaySessionsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetNatGatewaySessionsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetNatGatewaySessionsResult> getNatGatewaySessions(InvokeOptions options)
public static Output<GetNatGatewaySessionsResult> getNatGatewaySessions(InvokeOptions options)
fn::invoke:
function: megaport:index/getNatGatewaySessions:getNatGatewaySessions
arguments:
# arguments dictionarydata "megaport_get_nat_gateway_sessions" "name" {
# arguments
}getNatGatewaySessions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Sessions
List<Get
Nat Gateway Sessions Session> - All supported NAT Gateway speed / session-count pairings.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sessions
[]Get
Nat Gateway Sessions Session - All supported NAT Gateway speed / session-count pairings.
- id string
- The provider-assigned unique ID for this managed resource.
- sessions list(object)
- All supported NAT Gateway speed / session-count pairings.
- id String
- The provider-assigned unique ID for this managed resource.
- sessions
List<Get
Nat Gateway Sessions Session> - All supported NAT Gateway speed / session-count pairings.
- id string
- The provider-assigned unique ID for this managed resource.
- sessions
Get
Nat Gateway Sessions Session[] - All supported NAT Gateway speed / session-count pairings.
- id str
- The provider-assigned unique ID for this managed resource.
- sessions
Sequence[Get
Nat Gateway Sessions Session] - All supported NAT Gateway speed / session-count pairings.
- id String
- The provider-assigned unique ID for this managed resource.
- sessions List<Property Map>
- All supported NAT Gateway speed / session-count pairings.
Supporting Types
GetNatGatewaySessionsSession
- Session
Counts List<double> - Session counts permitted at this speed.
- Speed
Mbps double - Supported NAT Gateway speed in Mbps.
- Session
Counts []float64 - Session counts permitted at this speed.
- Speed
Mbps float64 - Supported NAT Gateway speed in Mbps.
- session_
counts list(number) - Session counts permitted at this speed.
- speed_
mbps number - Supported NAT Gateway speed in Mbps.
- session
Counts List<Double> - Session counts permitted at this speed.
- speed
Mbps Double - Supported NAT Gateway speed in Mbps.
- session
Counts number[] - Session counts permitted at this speed.
- speed
Mbps number - Supported NAT Gateway speed in Mbps.
- session_
counts Sequence[float] - Session counts permitted at this speed.
- speed_
mbps float - Supported NAT Gateway speed in Mbps.
- session
Counts List<Number> - Session counts permitted at this speed.
- speed
Mbps Number - Supported NAT Gateway speed in Mbps.
Package Details
- Repository
- megaport megaport/terraform-provider-megaport
- License
- Notes
- This Pulumi package is based on the
megaportTerraform Provider.
Viewing docs for megaport 1.13.0
published on Thursday, Jul 30, 2026 by megaport
published on Thursday, Jul 30, 2026 by megaport