Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Publish private branch 'servicelinker/api0401' #25636

Closed
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,52 @@
{
"parameters": {
"api-version": "2023-04-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES",
"clientType": "none",
"authType": "systemAssignedIdentity",
"names": [
{
"value": "AZURE_APPCONFIGURATION_ENDPOINT",
"description": "App configuration endpoint"
},
{
"value": "AZURE_APPCONFIGURATION_SCOPE",
"description": "The scopes required for the token."
}
]
}
},
{
"properties": {
"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES",
"clientType": "none",
"authType": "userAssignedIdentity",
"names": [
{
"value": "AZURE_APPCONFIGURATION_ENDPOINT",
"description": "App configuration endpoint"
},
{
"value": "AZURE_APPCONFIGURATION_CLIENTID",
"description": "The client(application) ID of the user identity."
},
{
"value": "AZURE_APPCONFIGURATION_SCOPE",
"description": "The scopes required for getting token."
}
]
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"parameters": {
"api-version": "2023-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"location": "westus",
"dryrunName": "dryrunName",
"parameters": {
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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",
"secretInfo": {
"secretType": "rawValue",
"value": "secret"
}
}
}
}
}
},
"responses": {
"200": {
"body": {
"name": "dryrunName",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName",
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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"
}
},
"prerequisiteResults": [
{
"type": "basicError",
"code": "ResourceNotFound",
"message": "Target resource is not found"
},
{
"type": "permissionsMissing",
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc",
"permissions": [
"Microsoft.DocumentDb/databaseAccounts/write"
]
}
],
"operationPreviews": [
{
"name": "configFirewallRule",
"operationType": "configNetwork",
"description": "Config firewall rule for target service to allow source service access",
"action": "Microsoft.DocumentDb/databaseAccounts/write",
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc"
}
],
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"name": "dryrunName",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName",
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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"
}
},
"prerequisiteResults": [
{
"type": "basicError",
"code": "ResourceNotFound",
"message": "Target resource is not found"
},
{
"type": "permissionsMissing",
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc",
"permissions": [
"Microsoft.DocumentDb/databaseAccounts/write"
]
}
],
"operationPreviews": [
{
"name": "configFirewallRule",
"operationType": "configNetwork",
"description": "Config firewall rule for target service to allow source service access",
"action": "Microsoft.DocumentDb/databaseAccounts/write",
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc"
}
],
"provisioningState": "Accepted"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2023-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"location": "westus",
"dryrunName": "dryrunName"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"api-version": "2023-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"location": "westus",
"dryrunName": "dryrunName"
},
"responses": {
"200": {
"body": {
"name": "dryrunName",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName",
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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,36 @@
{
"parameters": {
"api-version": "2023-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"location": "westus"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "dryrunName",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName",
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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,78 @@
{
"parameters": {
"api-version": "2023-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"location": "westus",
"dryrunName": "dryrunName",
"parameters": {
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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",
"secretInfo": {
"secretType": "rawValue",
"value": "secret"
}
}
}
}
}
},
"responses": {
"200": {
"body": {
"name": "dryrunName",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/locations/westus/dryruns/dryrunName",
"properties": {
"parameters": {
"actionName": "createOrUpdate",
"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"
}
},
"prerequisiteResults": [
{
"type": "basicError",
"code": "ResourceNotFound",
"message": "Target resource is not found"
},
{
"type": "permissionsMissing",
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc",
"permissions": [
"Microsoft.DocumentDb/databaseAccounts/write"
]
}
],
"operationPreviews": [
{
"name": "configFirewallRule",
"operationType": "configNetwork",
"description": "Config firewall rule for target service to allow source service access",
"action": "Microsoft.DocumentDb/databaseAccounts/write",
"scope": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc"
}
],
"provisioningState": "Succeeded"
}
}
},
"202": {
"headers": {
"azure-AsyncOperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2023-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"location": "westus"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ServiceLinker/linkers/linkName",
"name": "linkName",
"type": "Microsoft.ServiceLinker/devConnectors",
"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"
}
}
]
}
}
}
}
Loading