Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions plugins/source/azure/docs/tables/azure_cdn_edge_nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

https://learn.microsoft.com/en-us/rest/api/cdn/edge-nodes/list?tabs=HTTP#edgenode

The composite primary key for this table is (**subscription_id**, **id**).
The primary key for this table is **id**.

## Columns

Expand All @@ -12,7 +12,6 @@ The composite primary key for this table is (**subscription_id**, **id**).
|_cq_sync_time|Timestamp|
|_cq_id|UUID|
|_cq_parent_id|UUID|
|subscription_id (PK)|String|
|properties|JSON|
|id (PK)|String|
|name|String|
Expand Down
2 changes: 0 additions & 2 deletions plugins/source/azure/resources/services/cdn/edge_nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ func EdgeNodes() *schema.Table {
Name: "azure_cdn_edge_nodes",
Resolver: fetchEdgeNodes,
Description: "https://learn.microsoft.com/en-us/rest/api/cdn/edge-nodes/list?tabs=HTTP#edgenode",
Multiplex: client.SubscriptionMultiplexRegisteredNamespace("azure_cdn_edge_nodes", client.Namespacemicrosoft_cdn),
Transform: transformers.TransformWithStruct(&armcdn.EdgeNode{}, transformers.WithPrimaryKeys("ID")),
Columns: schema.ColumnList{client.SubscriptionIDPK},
}
}

Expand Down