Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2022-05-01",
"resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app",
"linkerName": "linkName"
},
"responses": {
"200": {},
"204": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2022-05-01",
"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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2022-05-01",
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2022-05-01",
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"parameters": {
"api-version": "2022-05-01",
"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"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"api-version": "2022-05-01",
"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"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"api-version": "2022-05-01",
"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.DBforPostgreSQL/servers/test-pg/databases/test-db"
},
"authInfo": {
"authType": "secret",
"name": "name",
"secretInfo": {
"secretType": "rawValue",
"value": "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.DBforPostgreSQL/servers/test-pg/databases/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.DBforPostgreSQL/servers/test-pg/databases/test-db"
}
}
}
}
}
}
Loading