Azure / Azure/azure-rest-api-specs

[FEATURE] Support HubVirtualNetworkConnectionProperties ConnectivityStatus

Open
#21,505 6 comments 1 reaction 0 assignees View on GitHub
customer-reported feature-request Mgmt needs-team-attention Network Network - Virtual Network Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

### Feature Request

Support `HubVirtualNetworkConnectionProperties` struct `ConnectivityStatus` field.

```
type HubVirtualNetworkConnectionProperties struct {
ConnectivityStatus *ConnectivityStatus `json:"connectivityStatus,omitempty" azure:"ro"`
}
```

This field appears to be **undocumented** in the Azure REST API and even the Azure .NET SDK docs.
However, it's in the live response and portal.azure.com UI. I've tested 2 versions so far, and it's present in both:
* `2022-01-01`
* `2022-05-01`

```
{
"name": "",
"id": "",
"etag": "",
"type": "Microsoft.Network/virtualHubs/hubVirtualNetworkConnections",
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "",
"routingConfiguration": {
"associatedRouteTable": {
"id": ""
},
"propagatedRouteTables": {
"labels": [
"none"
],
"ids": [
{
"id": ""
}
]
},
"vnetRoutes": {
"staticRoutes": [],
"staticRoutesConfig": {
"propagateStaticRoutes": false,
"vnetLocalRouteOverrideCriteria": "Contains"
}
}
},
"remoteVirtualNetwork": {
"id": ""
},
"allowHubToRemoteVnetTransit": true,
"allowRemoteVnetToUseHubVnetGateways": true,
"enableInternetSecurity": true,
"connectivityStatus": "Connected"
}
}
```

cc: @juicybaba

Contributor guide

Open the contributing guide

Research direction

Locate the Azure Network specification defining HubVirtualNetworkConnectionProperties and compare the 2022-01-01 and 2022-05-01 versions. Add the ConnectivityStatus field where appropriate, then validate the specification; done means the live connectivityStatus response is represented without breaking schema checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.