Read On-ramp
client.magicCloudNetworking.onRamps.get(stringonrampId, OnRampGetParams { account_id, planned_resources, post_apply_resources, 2 more } params, RequestOptionsoptions?): OnRampGetResponse { id, cloud_type, dynamic_routing, 26 more }
GET/accounts/{account_id}/magic/cloud/onramps/{onramp_id}
Read an On-ramp (Closed Beta).
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYAPI Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194Accepted Permissions (at least one required)
Magic WAN WriteMagic WAN ReadParametersExpand Collapse
ReturnsExpand Collapse
OnRampGetResponse { id, cloud_type, dynamic_routing, 26 more }
OnRampGetResponse { id, cloud_type, dynamic_routing, 26 more }
planned_monthly_cost_estimate?: PlannedMonthlyCostEstimate { currency, current_monthly_cost, diff, proposed_monthly_cost }
planned_monthly_cost_estimate?: PlannedMonthlyCostEstimate { currency, current_monthly_cost, diff, proposed_monthly_cost }
planned_resources?: Array<PlannedResource>
planned_resources?: Array<PlannedResource>
monthly_cost_estimate_diff: MonthlyCostEstimateDiff { currency, current_monthly_cost, diff, proposed_monthly_cost }
monthly_cost_estimate_diff: MonthlyCostEstimateDiff { currency, current_monthly_cost, diff, proposed_monthly_cost }
post_apply_resources?: Record<string, PostApplyResources>
post_apply_resources?: Record<string, PostApplyResources>
resource_type: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | 54 more
resource_type: "aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | 54 more
One of the following:
sections: Array<Section>
sections: Array<Section>
hidden_items: Array<HiddenItem>
hidden_items: Array<HiddenItem>
value?: McnStringItem { item_type, string } | McnYamlItem { item_type, yaml } | McnYamlDiffItem { item_type, yaml_diff } | 2 more
value?: McnStringItem { item_type, string } | McnYamlItem { item_type, yaml } | McnYamlDiffItem { item_type, yaml_diff } | 2 more
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
McnListItem { item_type, list }
McnListItem { item_type, list }
list: Array<McnStringItem { item_type, string } | McnResourcePreviewItem { item_type, resource_preview } >
list: Array<McnStringItem { item_type, string } | McnResourcePreviewItem { item_type, resource_preview } >
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
visible_items: Array<VisibleItem>
visible_items: Array<VisibleItem>
value?: McnStringItem { item_type, string } | McnYamlItem { item_type, yaml } | McnYamlDiffItem { item_type, yaml_diff } | 2 more
value?: McnStringItem { item_type, string } | McnYamlItem { item_type, yaml } | McnYamlDiffItem { item_type, yaml_diff } | 2 more
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }
McnListItem { item_type, list }
McnListItem { item_type, list }
list: Array<McnStringItem { item_type, string } | McnResourcePreviewItem { item_type, resource_preview } >
list: Array<McnStringItem { item_type, string } | McnResourcePreviewItem { item_type, resource_preview } >
One of the following:
McnResourcePreviewItem { item_type, resource_preview }
McnResourcePreviewItem { item_type, resource_preview }