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.
* Add api version 2022-01-01-preview * fix diff * fix diff
- Loading branch information
1 parent
b585d32
commit e001277
Showing
11 changed files
with
1,421 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...ource-manager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/DeleteLink.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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...anager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/GetConfigurations.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-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"configurations": [ | ||
{ | ||
"name": "ASL_DocumentDb_ConnectionString", | ||
"value": "ConnectionString" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...er/resource-manager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/Link.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,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"name": "linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name" | ||
}, | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-07-12T22:05:09Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...esource-manager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/LinkList.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,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/links/linkName", | ||
"name": "linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "username" | ||
}, | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-07-12T22:05:09Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
185 changes: 185 additions & 0 deletions
185
...e-manager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/OperationsList.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,185 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"display": { | ||
"description": "Register the subscription for Microsoft.ServiceLinker", | ||
"operation": "Register the Microsoft.ServiceLinker", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "Microsoft.ServiceLinker" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/register/action" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Unregister the subscription for Microsoft.ServiceLinker", | ||
"operation": "Unregister the Microsoft.ServiceLinker", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "Microsoft.ServiceLinker" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/unregister/action" | ||
}, | ||
{ | ||
"display": { | ||
"description": "read operations", | ||
"operation": "read_operations", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "operations" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/operations/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "list dryrun jobs", | ||
"operation": "Dryrun_List", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "dryruns" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/dryruns/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "get a dryrun job", | ||
"operation": "Dryrun_Get", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "dryruns" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/dryruns/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "create a dryrun job to do necessary check before actual creation", | ||
"operation": "Dryrun_Create", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "dryruns" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/dryruns/write" | ||
}, | ||
{ | ||
"display": { | ||
"description": "delete a dryrun job", | ||
"operation": "Dryrun_Delete", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "dryruns" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/dryruns/delete" | ||
}, | ||
{ | ||
"display": { | ||
"description": "add a dryrun job to do necessary check before actual creation", | ||
"operation": "Dryrun_Update", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "dryruns" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/dryruns/write" | ||
}, | ||
{ | ||
"display": { | ||
"description": "read operationStatuses", | ||
"operation": "read_operationStatuses", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "locations/operationStatuses" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/locations/operationStatuses/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "write operationStatuses", | ||
"operation": "write_operationStatuses", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "locations/operationStatuses" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/locations/operationStatuses/write" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Returns list of Linkers which connects to the resource.", | ||
"operation": "Linker_List", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Returns Linker resource for a given name.", | ||
"operation": "Linker_Get", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Create or update linker resource.", | ||
"operation": "Linker_CreateOrUpdate", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/write" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Delete a link.", | ||
"operation": "Linker_Delete", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/delete" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Operation to update an existing link.", | ||
"operation": "Linker_Update", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/write" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Validate a link.", | ||
"operation": "Linker_Validate", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/validateLinker/action" | ||
}, | ||
{ | ||
"display": { | ||
"description": "list source configurations for a linker.", | ||
"operation": "Linker_ListConfigurations", | ||
"provider": "Microsoft.ServiceLinker", | ||
"resource": "linkers" | ||
}, | ||
"isDataAction": false, | ||
"name": "Microsoft.ServiceLinker/linkers/listConfigurations/action" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...source-manager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/PatchLink.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,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName", | ||
"parameters": { | ||
"properties": { | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
}, | ||
"authInfo": { | ||
"authType": "servicePrincipalSecret", | ||
"clientId": "name", | ||
"principalId": "id", | ||
"secret": "secret" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "servicePrincipalSecret", | ||
"clientId": "name", | ||
"principalId": "id" | ||
}, | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app/providers/Microsoft.ServiceLinker/links/linkName", | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "servicePrincipalSecret", | ||
"clientId": "name", | ||
"principalId": "id" | ||
}, | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...resource-manager/Microsoft.ServiceLinker/preview/2022-01-01-preview/examples/PutLink.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2022-01-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName", | ||
"parameters": { | ||
"properties": { | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
}, | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name", | ||
"secret": "secret" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name" | ||
}, | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"type": "Microsoft.ServiceLinker/links", | ||
"name": "linkName", | ||
"properties": { | ||
"authInfo": { | ||
"authType": "secret", | ||
"name": "name" | ||
}, | ||
"targetService": { | ||
"type": "AzureResource", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.