diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json index d5487f278a73..135ef0e07d03 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json @@ -796,6 +796,56 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/listRadiusSecrets": { + "post": { + "tags": [ + "VirtualNetworkGateways" + ], + "operationId": "VirtualNetworkGateways_ListRadiusSecrets", + "description": "List all Radius servers with respective radius secrets from virtual network gateway VpnClientConfiguration.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkGatewayName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network gateway." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "List all Radius servers with respective radius secrets from virtual network gateway VpnClientConfiguration.", + "schema": { + "$ref": "#/definitions/RadiusAuthServerObject" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListAllVirtualNetworkGatewayRadiusServerSecrets": { + "$ref": "./examples/AllVirtualNetworkGatewayRadiusServerSecretsList.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { "post": { "tags": [ @@ -5044,6 +5094,27 @@ "customBgpIpAddress" ], "description": "GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection." + }, + "RadiusAuthServerObject": { + "type": "array", + "items": { + "$ref": "#/definitions/RadiusAuthServer" + }, + "description": "Virtual Network Gateway Radius servers with respective radius secret Object" + }, + "RadiusAuthServer": { + "type": "object", + "properties": { + "radiusServerAddress": { + "type": "string", + "description": "Radius server name" + }, + "RadiusServerSecret": { + "type": "string", + "description": "Radius server secret" + } + }, + "description": "Gateway or VpnServerConfiguration Radius server with radius secret details" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json index d143c70e6418..3c14afa2aa95 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json @@ -1376,7 +1376,57 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/listRadiusSecrets": { + "post": { + "tags": [ + "vpnServerConfigurations" + ], + "operationId": "vpnServerConfigurations_ListRadiusSecrets", + "description": "List all Radius servers with respective radius secrets from VpnServerConfiguration.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnServerConfiguration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "List all Radius servers with respective radius secrets from VpnServerConfiguration.", + "schema": { + "$ref": "#/definitions/RadiusAuthServerObject" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListAllVpnServerConfigurationRadiusServerSecrets": { + "$ref": "./examples/AllVpnServerConfigurationRadiusServerSecretsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}": { "get": { "operationId": "VirtualHubs_Get", "x-ms-examples": { @@ -10050,6 +10100,13 @@ "description": "URL to get the next set of operation list results if there are any." } } - } + }, + "RadiusAuthServerObject": { + "type": "array", + "items": { + "$ref": "./virtualNetworkGateway.json#/definitions/RadiusAuthServer" + }, + "description": "VpnServerConfiguration Radius servers with respective radius secret Object" + } } }