Skip to content

New Post APIs to list radius server and secrets. #34058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check failure on line 1 in specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json#L1

specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualNetworkGateway.json
"swagger": "2.0",
"info": {
"title": "NetworkManagementClient",
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.

Check failure on line 1 in specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json#L1

specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/network/resource-manager/Microsoft.Network/stable/2024-05-01/virtualWan.json
"swagger": "2.0",
"info": {
"title": "VirtualWANAsAServiceManagementClient",
Expand Down Expand Up @@ -1376,7 +1376,57 @@
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add examples for all new APIs. update readMe file to introduce this in a new API version

}
},
"/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": {
Expand Down Expand Up @@ -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"
}
}
}
Loading