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.
copy from azure-rest-api-specs-pr/RPSaaSMaster (Azure#17978)
- Loading branch information
1 parent
a3a721f
commit 8608b46
Showing
3 changed files
with
294 additions
and
0 deletions.
There are no files selected for viewing
185 changes: 185 additions & 0 deletions
185
...e-manager/Microsoft.ServiceLinker/preview/2021-11-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": "2021-11-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
...crosoft.ServiceLinker/preview/2021-11-01-preview/examples/PutLinkWithServiceEndpoint.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,65 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01-preview", | ||
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", | ||
"linkerName": "linkName", | ||
"parameters": { | ||
"properties": { | ||
"targetId": "/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" | ||
}, | ||
"vNetSolution": { | ||
"type": "serviceEndpoint" | ||
}, | ||
"secretStore": { | ||
"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" | ||
} | ||
} | ||
} | ||
}, | ||
"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": "secret", | ||
"name": "name" | ||
}, | ||
"vNetSolution": { | ||
"type": "serviceEndpoint" | ||
}, | ||
"secretStore": { | ||
"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" | ||
}, | ||
"targetId": "/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": "secret", | ||
"name": "name" | ||
}, | ||
"vNetSolution": { | ||
"type": "serviceEndpoint" | ||
}, | ||
"secretStore": { | ||
"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.KeyVault/vaults/test-kv" | ||
}, | ||
"targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db" | ||
} | ||
} | ||
} | ||
} | ||
} |
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