forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'RPSaaSMaster-easm' (Azure#20293)
* 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
Showing
14 changed files
with
1,111 additions
and
0 deletions.
There are no files selected for viewing
763 changes: 763 additions & 0 deletions
763
specification/riskiq/resource-manager/Microsoft.Easm/preview/2022-04-01-preview/easm.json
Large diffs are not rendered by default.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
...ce-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Labels_CreateAndUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...iq/resource-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Labels_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...rce-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Labels_GetByWorkspace.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ce-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Labels_ListByWorkspace.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...iq/resource-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Labels_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
.../resource-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Operations_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...anager/Microsoft.Easm/preview/2022-04-01-preview/examples/Workspaces_CreateAndUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...esource-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Workspaces_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...q/resource-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Workspaces_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...er/Microsoft.Easm/preview/2022-04-01-preview/examples/Workspaces_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ger/Microsoft.Easm/preview/2022-04-01-preview/examples/Workspaces_ListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...esource-manager/Microsoft.Easm/preview/2022-04-01-preview/examples/Workspaces_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |