## Export Resources `client.magicCloudNetworking.resources.export(ResourceExportParamsparams, RequestOptionsoptions?): Response` **get** `/accounts/{account_id}/magic/cloud/resources/export` Export resources in the Resource Catalog as a JSON file (Closed Beta). ### Parameters - `params: ResourceExportParams` - `account_id: string` Path param - `desc?: boolean` Query param - `order_by?: string` Query param: One of ["id", "resource_type", "region"]. - `provider_id?: string` Query param - `region?: string` Query param - `resource_group?: string` Query param - `resource_id?: Array` Query param - `resource_type?: Array<"aws_customer_gateway" | "aws_egress_only_internet_gateway" | "aws_internet_gateway" | 54 more>` Query param - `"aws_customer_gateway"` - `"aws_egress_only_internet_gateway"` - `"aws_internet_gateway"` - `"aws_instance"` - `"aws_network_interface"` - `"aws_route"` - `"aws_route_table"` - `"aws_route_table_association"` - `"aws_subnet"` - `"aws_vpc"` - `"aws_vpc_ipv4_cidr_block_association"` - `"aws_vpn_connection"` - `"aws_vpn_connection_route"` - `"aws_vpn_gateway"` - `"aws_security_group"` - `"aws_vpc_security_group_ingress_rule"` - `"aws_vpc_security_group_egress_rule"` - `"aws_ec2_managed_prefix_list"` - `"aws_ec2_transit_gateway"` - `"aws_ec2_transit_gateway_prefix_list_reference"` - `"aws_ec2_transit_gateway_vpc_attachment"` - `"azurerm_application_security_group"` - `"azurerm_lb"` - `"azurerm_lb_backend_address_pool"` - `"azurerm_lb_nat_pool"` - `"azurerm_lb_nat_rule"` - `"azurerm_lb_rule"` - `"azurerm_local_network_gateway"` - `"azurerm_network_interface"` - `"azurerm_network_interface_application_security_group_association"` - `"azurerm_network_interface_backend_address_pool_association"` - `"azurerm_network_interface_security_group_association"` - `"azurerm_network_security_group"` - `"azurerm_public_ip"` - `"azurerm_route"` - `"azurerm_route_table"` - `"azurerm_subnet"` - `"azurerm_subnet_route_table_association"` - `"azurerm_virtual_machine"` - `"azurerm_virtual_network_gateway_connection"` - `"azurerm_virtual_network"` - `"azurerm_virtual_network_gateway"` - `"google_compute_network"` - `"google_compute_subnetwork"` - `"google_compute_vpn_gateway"` - `"google_compute_vpn_tunnel"` - `"google_compute_route"` - `"google_compute_address"` - `"google_compute_global_address"` - `"google_compute_router"` - `"google_compute_interconnect_attachment"` - `"google_compute_ha_vpn_gateway"` - `"google_compute_forwarding_rule"` - `"google_compute_network_firewall_policy"` - `"google_compute_network_firewall_policy_rule"` - `"cloudflare_static_route"` - `"cloudflare_ipsec_tunnel"` - `search?: Array` Query param - `v2?: boolean` Query param ### Returns - `unnamed_schema_6 = Response` ### Example ```typescript import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const response = await client.magicCloudNetworking.resources.export({ account_id: 'account_id' }); console.log(response); const content = await response.blob(); console.log(content); ```