Skip to content

Commit

Permalink
[Hub Generated] Publish private branch 'RPSaaSMaster-easm' (Azure#20293)
Browse files Browse the repository at this point in the history
* add or modify files

* Removing EASM from custom-words

* Adding EASM to custom-words

* Rejiggered EASM references to fix merge conflicts.

* Updated delete operations to show synchronous example.

* Added 202 response code with appropriate header.

Co-authored-by: Sonia Burney <soniaburney@Sonias-MacBook-Pro.local>
Co-authored-by: Brian Zak <brianzak@microsoft.com>
Co-authored-by: Ruoxuan Wang <52271048+ruowan@users.noreply.github.com>
  • Loading branch information
4 people authored and kayousef committed Dec 21, 2022
1 parent bb0a1cc commit cceda6a
Show file tree
Hide file tree
Showing 14 changed files with 1,111 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace",
"labelName": "ThisisaLabel",
"Resource": {
"properties": {
"color": "blue",
"displayName": "This is a label"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/labels/ThisisaLabel",
"name": "ThisisaLabel",
"type": "Microsoft.Easm/workspaces/labels",
"properties": {
"color": "blue",
"displayName": "This is a label",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/labels/ThisisaLabel",
"name": "ThisisaLabel",
"type": "Microsoft.Easm/workspaces/labels",
"properties": {
"color": "blue",
"displayName": "This is a label",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace",
"labelName": "ThisisaLabel"
},
"responses": {
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/labels/ThisisaLabel/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-04-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace",
"labelName": "ThisisaLabel"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/labels/ThisisaLabel",
"name": "ThisisaLabel",
"type": "microsoft.digitalfootprint/workspaces/labels",
"properties": {
"color": "blue",
"displayName": "This is a label",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/labels/ThisisaLabel",
"name": "ThisisaLabel",
"type": "microsoft.digitalfootprint/workspaces/labels",
"properties": {
"color": "blue",
"displayName": "This is a label",
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace",
"labelName": "ThisisaLabel",
"Resource": {
"properties": {
"color": "blue"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/labels/ThisisaLabel",
"name": "ThisisaLabel",
"type": "Microsoft.Easm/workspaces/labels",
"properties": {
"color": "blue",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2022-04-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Easm/workspaces/read",
"isDataAction": false,
"display": {
"provider": "Microsoft.Easm",
"resource": "workspaces",
"operation": "Workspace_ListBySubscription",
"description": "Returns a list of Workspaces under the given subscription."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace",
"WorkspaceResource": {
"location": "West US",
"properties": {}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace",
"name": "ThisisaWorkspace",
"type": "Microsoft.Easm/workspaces",
"location": "West US",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace",
"name": "ThisisaWorkspace",
"type": "Microsoft.Easm/workspaces",
"location": "West US",
"properties": {
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace"
},
"responses": {
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-04-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace",
"name": "ThisisaWorkspace",
"type": "Microsoft.Easm/workspaces",
"location": "West US",
"properties": {}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace",
"name": "ThisisaWorkspace",
"type": "Microsoft.Easm/workspaces",
"location": "West US",
"properties": {}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace",
"name": "ThisisaWorkspace",
"type": "Microsoft.Easm/workspaces",
"location": "West US",
"properties": {}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2022-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"workspaceName": "ThisisaWorkspace",
"WorkspaceResource": {
"location": "West US",
"properties": {}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/dummyrg/providers/Microsoft.Easm/workspaces/ThisisaWorkspace",
"name": "ThisisaWorkspace",
"type": "Microsoft.Easm/workspaces",
"location": "West US",
"properties": {
"provisioningState": "Succeeded"
}
}
}
}
}
52 changes: 52 additions & 0 deletions specification/riskiq/resource-manager/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# easm

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

## Getting Started

To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:

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

> `autorest --help`
For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.

---

## Configuration

### Basic Information

These are the global settings for the easm.

``` yaml
openapi-type: arm
openapi-subtype: rpaas
tag: package-preview-2022-04-01
```
### Tag: package-preview-2022-04-01
These settings apply only when `--tag=package-preview-2022-04-01` is specified on the command line.

```yaml $(tag) == 'package-preview-2022-04-01'
input-file:
- Microsoft.Easm/preview/2022-04-01-preview/easm.json
```

---

# Code Generation

## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
```

0 comments on commit cceda6a

Please sign in to comment.