Skip to content

Commit

Permalink
network admin module changes (#7765)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakku-ms authored and bganapa committed Nov 12, 2019
1 parent d783cde commit 7b1a2ff
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "NetworkAdminManagementClient",
"version": "2015-06-15"
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "NetworkAdminManagementClient",
"version": "2015-06-15"
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "NetworkAdminManagementClient",
"version": "2015-06-15"
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
Expand All @@ -19,14 +19,14 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.Network.Admin/adminPublicIpAddresses": {
"get": {
"x-ms-examples": {
"List of public ip addresses": {
"List of public IP addresses": {
"$ref": "./examples/PublicIpAddresses/List.json"
}
},
"tags": [
"PublicIpAddresses"
],
"description": "List of public ip addresses.",
"description": "List of public IP addresses.",
"operationId": "PublicIPAddresses_List",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "NetworkAdminManagementClient",
"version": "2015-06-15"
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "NetworkAdminManagementClient",
"version": "2015-06-15"
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Network Admin

> see https://aka.ms/autorest
This is the AutoRest configuration file for Network Admin.

---
## Getting Started
To build the SDK for Network Admin, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:

> `autorest`
To see additional help and options, run:

> `autorest --help`
---

## Configuration

### Basic Information
These are the global settings for the Network API.

``` yaml
title: NetworkAdminClient
description: Network Admin Client
openapi-type: arm
tag: package-2015-06-15
```
``` yaml
input-file:
- "$(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/Network.json"
- "$(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/LoadBalancers.json"
- "$(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/PublicIpAddresses.json"
- "$(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/Quotas.json"
- "$(this-folder)/Microsoft.Network.Admin/preview/2015-06-15/VirtualNetworks.json"
```
---
# Code Generation
## C#
These settings apply only when `--csharp` is specified on the command line.
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.AzureStack.Management.Network.Admin
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/Generated
clear-output-folder: true
```

0 comments on commit 7b1a2ff

Please sign in to comment.