Skip to content

Commit

Permalink
Reset to Stackadmin2 (Azure#7766)
Browse files Browse the repository at this point in the history
* update host to adminmanagement

* change host to management.azure.com in keyvault admin module

* hardcode host to management.azure.com in admin network module

* hardcode host to management.azure.com in all azsadmin modules

* updated readme.azsautogen.md and readme.md files

* readme changes in azsadmin

* readme changes backup and fabric

* Update readme.azsautogen.md

* Update ScaleUnit.json

* Update readme.azsautogen.md

* Update GalleryItem.json

* Update Subscriptions.json

* Update Subscriptions.json

* Azure stack deployment resource provider admin open api specification

* Fixes from PR build

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Fix action type for action plan operation

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Update readme.azsautogen.md

* Add response body for operations list example

* user subscription host fix

* Adding redame.azsautogen.md file for Deployment RP

* adding string type for etag

* adding string type for etag

* Add input file for DRP 2019-01-01 package

* Fix DRP readme

* Renaming {resourceGroup} to {resourceGroupName} as per standard naming for this parameter

* Fixing a casing in description

* Merge changes for DrpAdmin

* Renaming Subscription to TargetSubscription

* renaming Subscription to SubscriptionDefinition

* renaming Subscription to SubscriptionDefinition

* description change
  • Loading branch information
bganapa committed Nov 12, 2019
1 parent 7b1a2ff commit 9e551f0
Show file tree
Hide file tree
Showing 112 changed files with 699 additions and 531 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"title": "AzureBridgeAdminClient",
"description": "AzureBridge Admin Client."
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
"paths": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations": {
"get": {
"x-ms-examples": {
"Return product name.": {
Expand Down Expand Up @@ -52,7 +52,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}": {
"get": {
"x-ms-examples": {
"Return activation name.": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "AzureBridgeAdminClient",
"description": "AzureBridge Admin Client."
},
"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,12 +5,12 @@
"title": "AzureBridgeAdminClient",
"description": "AzureBridge Admin Client."
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
"paths": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/downloadedProducts": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/downloadedProducts": {
"get": {
"x-ms-examples": {
"Get a list of downloaded products.": {
Expand Down Expand Up @@ -55,7 +55,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/downloadedProducts/{productName}": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/downloadedProducts/{productName}": {
"get": {
"x-ms-examples": {
"Gets the specified downloaded product.": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"title": "AzureBridgeAdminClient",
"description": "AzureBridge Admin Client."
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
"paths": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products": {
"get": {
"x-ms-examples": {
"Return product name.": {
Expand Down Expand Up @@ -55,7 +55,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}": {
"get": {
"x-ms-examples": {
"Return product name.": {
Expand Down Expand Up @@ -103,7 +103,7 @@
]
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}/download": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}/download": {
"post": {
"x-ms-examples": {
"Return product name.": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AutoRest v3 generators

> see https://aka.ms/autorest
``` yaml
input-file:
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/Activation.json
```
28 changes: 0 additions & 28 deletions specification/azsadmin/resource-manager/azurebridge/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,3 @@ csharp:
output-folder: $(csharp-sdks-folder)/Generated
clear-output-folder: true
```

## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json
- $(this-folder)/Microsoft.AzureBridge.Admin/preview/2016-01-01/Activation.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "BackupManagementClient",
"description": "The Admin Backup Management Client."
},
"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": "BackupManagementClient",
"description": "The Admin Backup Management Client."
},
"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": "BackupManagementClient",
"description": "The Admin Backup Management Client."
},
"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": "BackupManagementClient",
"description": "The Admin Backup Management Client."
},
"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": "BackupManagementClient",
"description": "The Admin Backup Management Client."
},
"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": "BackupManagementClient",
"description": "The Admin Backup Management Client."
},
"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,50 @@
# Backup Admin

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

---
## Getting Started
To build the SDK for Backup 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 Backup Admin API.

``` yaml
title: BackupAdminClient
description: Backup Admin Client
openapi-type: arm
tag: package-2018-09-01
```
``` yaml
input-file:
- $(this-folder)/Microsoft.Backup.Admin/preview/2018-09-01/Backup.json
- $(this-folder)/Microsoft.Backup.Admin/preview/2018-09-01/BackupLocations.json
- $(this-folder)/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json
```
---
# Code Generation
## C#
``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.AzureStack.Management.Backup.Admin
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/Generated
clear-output-folder: true
```
32 changes: 1 addition & 31 deletions specification/azsadmin/resource-manager/backup/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ These are the global settings for the Backup Admin API.
title: BackupAdminClient
description: Backup Admin Client
openapi-type: arm
tag: package-2016-05-01
tag: package-2018-09-01
```
### Tag: package-2018-09-01
Expand Down Expand Up @@ -63,33 +63,3 @@ csharp:
output-folder: $(csharp-sdks-folder)/Generated
clear-output-folder: true
```

## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Backup.Admin/preview/2018-09-01/Backup.json
- $(this-folder)/Microsoft.Backup.Admin/preview/2018-09-01/BackupLocations.json
- $(this-folder)/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json
- $(this-folder)/Microsoft.Backup.Admin/stable/2016-05-01/Backup.json
- $(this-folder)/Microsoft.Backup.Admin/stable/2016-05-01/BackupLocations.json
- $(this-folder)/Microsoft.Backup.Admin/stable/2016-05-01/Backups.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "CommerceManagementClient",
"description": "The Admin Commerce Management Client."
},
"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,8 @@
# AutoRest v3 generators

> see https://aka.ms/autorest
``` yaml
input-file:
- $(this-folder)/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json
```
25 changes: 0 additions & 25 deletions specification/azsadmin/resource-manager/commerce/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,3 @@ csharp:
output-folder: $(csharp-sdks-folder)/Generated
clear-output-folder: true
```

## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Commerce.Admin/preview/2015-06-01-preview/Commerce.json
```

If there are files that should not be in the `all-api-versions` set,
uncomment the `exclude-file` section below and add the file paths.

``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "2015-12-01-preview",
"title": "Compute Admin Client"
},
"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 @@ -4,7 +4,7 @@
"version": "2015-12-01-preview",
"title": "Compute Admin Client"
},
"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 @@ -4,7 +4,7 @@
"version": "2015-12-01-preview",
"title": "Compute Admin Client"
},
"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 @@ -4,7 +4,7 @@
"version": "2015-12-01-preview",
"title": "Compute Admin Client"
},
"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 @@ -4,7 +4,7 @@
"version": "2018-02-09",
"title": "Compute Admin Client"
},
"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": "ComputeDiskAdminManagementClient",
"description": "The Admin Compute Disk Management Client."
},
"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": "ComputeDiskAdminManagementClient",
"description": "The Admin Compute Disk Management Client."
},
"host": "adminmanagement.local.azurestack.external",
"host": "management.azure.com",
"schemes": [
"https"
],
Expand Down
Loading

0 comments on commit 9e551f0

Please sign in to comment.