Resources
List Resources
client.magicCloudNetworking.resources.list(ResourceListParams { account_id, cloudflare, desc, 11 more } params, RequestOptionsoptions?): V4PagePaginationArray<ResourceListResponse { id, account_id, cloud_type, 18 more } >
GET/accounts/{account_id}/magic/cloud/resources
Read Resource
client.magicCloudNetworking.resources.get(stringresourceId, ResourceGetParams { account_id, v2 } params, RequestOptionsoptions?): ResourceGetResponse { id, account_id, cloud_type, 18 more }
GET/accounts/{account_id}/magic/cloud/resources/{resource_id}
Export Resources
client.magicCloudNetworking.resources.export(ResourceExportParams { account_id, desc, order_by, 7 more } params, RequestOptionsoptions?): Response
GET/accounts/{account_id}/magic/cloud/resources/export
Preview Rego Query
client.magicCloudNetworking.resources.policyPreview(ResourcePolicyPreviewParams { account_id, policy } params, RequestOptionsoptions?): ResourcePolicyPreviewResponse
POST/accounts/{account_id}/magic/cloud/resources/policy-preview
ModelsExpand Collapse
ResourceListResponse { id, account_id, cloud_type, 18 more }
ResourceListResponse { id, account_id, cloud_type, 18 more }
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 }
ResourceGetResponse { id, account_id, cloud_type, 18 more }
ResourceGetResponse { id, account_id, cloud_type, 18 more }
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 }