|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "00000000-1111-2222-3333-444444444444", |
| 4 | + "resourceGroupName": "testrg", |
| 5 | + "dataControllerName": "testdataController", |
| 6 | + "api-version": "2021-11-01", |
| 7 | + "dataControllerResource": { |
| 8 | + "location": "northeurope", |
| 9 | + "tags": { |
| 10 | + "mytag": "myval" |
| 11 | + }, |
| 12 | + "extendedLocation": { |
| 13 | + "type": "CustomLocation", |
| 14 | + "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" |
| 15 | + }, |
| 16 | + "properties": { |
| 17 | + "onPremiseProperty": { |
| 18 | + "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", |
| 19 | + "publicSigningKey": "publicOnPremSigningKey" |
| 20 | + }, |
| 21 | + "basicLoginInformation": { |
| 22 | + "username": "username", |
| 23 | + "password": "********" |
| 24 | + }, |
| 25 | + "metricsDashboardCredential": { |
| 26 | + "username": "username", |
| 27 | + "password": "********" |
| 28 | + }, |
| 29 | + "logsDashboardCredential": { |
| 30 | + "username": "username", |
| 31 | + "password": "********" |
| 32 | + }, |
| 33 | + "logAnalyticsWorkspaceConfig": { |
| 34 | + "workspaceId": "00000000-1111-2222-3333-444444444444", |
| 35 | + "primaryKey": "********" |
| 36 | + }, |
| 37 | + "uploadServicePrincipal": { |
| 38 | + "clientId": "00000000-1111-2222-3333-444444444444", |
| 39 | + "tenantId": "00000000-1111-2222-3333-444444444444", |
| 40 | + "authority": "https://login.microsoftonline.com/", |
| 41 | + "clientSecret": "********" |
| 42 | + }, |
| 43 | + "uploadWatermark": { |
| 44 | + "metrics": "2020-01-01T17:18:19.1234567Z", |
| 45 | + "logs": "2020-01-01T17:18:19.1234567Z", |
| 46 | + "usages": "2020-01-01T17:18:19.1234567Z" |
| 47 | + }, |
| 48 | + "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", |
| 49 | + "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", |
| 50 | + "infrastructure": "onpremises" |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "responses": { |
| 55 | + "200": { |
| 56 | + "body": { |
| 57 | + "properties": { |
| 58 | + "onPremiseProperty": { |
| 59 | + "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", |
| 60 | + "publicSigningKey": "publicOnPremSigningKey", |
| 61 | + "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" |
| 62 | + }, |
| 63 | + "basicLoginInformation": { |
| 64 | + "username": "username" |
| 65 | + }, |
| 66 | + "metricsDashboardCredential": { |
| 67 | + "username": "username" |
| 68 | + }, |
| 69 | + "logsDashboardCredential": { |
| 70 | + "username": "username" |
| 71 | + }, |
| 72 | + "logAnalyticsWorkspaceConfig": { |
| 73 | + "workspaceId": "00000000-1111-2222-3333-444444444444" |
| 74 | + }, |
| 75 | + "uploadServicePrincipal": { |
| 76 | + "clientId": "00000000-1111-2222-3333-444444444444", |
| 77 | + "tenantId": "00000000-1111-2222-3333-444444444444", |
| 78 | + "authority": "https://login.microsoftonline.com/" |
| 79 | + }, |
| 80 | + "uploadWatermark": { |
| 81 | + "metrics": "2020-01-01T17:18:19.1234567Z", |
| 82 | + "logs": "2020-01-01T17:18:19.1234567Z", |
| 83 | + "usages": "2020-01-01T17:18:19.1234567Z" |
| 84 | + }, |
| 85 | + "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", |
| 86 | + "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", |
| 87 | + "infrastructure": "onpremises" |
| 88 | + }, |
| 89 | + "extendedLocation": { |
| 90 | + "type": "CustomLocation", |
| 91 | + "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" |
| 92 | + }, |
| 93 | + "systemData": { |
| 94 | + "createdBy": "user1", |
| 95 | + "createdByType": "User", |
| 96 | + "createdAt": "2020-01-01T17:18:19.1234567Z", |
| 97 | + "lastModifiedBy": "user2", |
| 98 | + "lastModifiedByType": "User", |
| 99 | + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" |
| 100 | + }, |
| 101 | + "location": "northeurope", |
| 102 | + "tags": { |
| 103 | + "mytag": "myval" |
| 104 | + }, |
| 105 | + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController", |
| 106 | + "name": "testdataController", |
| 107 | + "type": "Microsoft.AzureArcData/dataControllers" |
| 108 | + } |
| 109 | + }, |
| 110 | + "201": { |
| 111 | + "body": { |
| 112 | + "properties": { |
| 113 | + "onPremiseProperty": { |
| 114 | + "id": "12345678-1234-1234-ab12-1a2b3c4d5e6f", |
| 115 | + "publicSigningKey": "publicOnPremSigningKey", |
| 116 | + "signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded" |
| 117 | + }, |
| 118 | + "basicLoginInformation": { |
| 119 | + "username": "username" |
| 120 | + }, |
| 121 | + "metricsDashboardCredential": { |
| 122 | + "username": "username" |
| 123 | + }, |
| 124 | + "logsDashboardCredential": { |
| 125 | + "username": "username" |
| 126 | + }, |
| 127 | + "logAnalyticsWorkspaceConfig": { |
| 128 | + "workspaceId": "00000000-1111-2222-3333-444444444444" |
| 129 | + }, |
| 130 | + "uploadServicePrincipal": { |
| 131 | + "clientId": "00000000-1111-2222-3333-444444444444", |
| 132 | + "tenantId": "00000000-1111-2222-3333-444444444444", |
| 133 | + "authority": "https://login.microsoftonline.com/" |
| 134 | + }, |
| 135 | + "uploadWatermark": { |
| 136 | + "metrics": "2020-01-01T17:18:19.1234567Z", |
| 137 | + "logs": "2020-01-01T17:18:19.1234567Z", |
| 138 | + "usages": "2020-01-01T17:18:19.1234567Z" |
| 139 | + }, |
| 140 | + "clusterId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s", |
| 141 | + "extensionId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Kubernetes/connectedClusters/connectedk8s/providers/Microsoft.KubernetesConfiguration/extensions/extension", |
| 142 | + "infrastructure": "onpremises" |
| 143 | + }, |
| 144 | + "extendedLocation": { |
| 145 | + "type": "CustomLocation", |
| 146 | + "name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation" |
| 147 | + }, |
| 148 | + "location": "northeurope", |
| 149 | + "systemData": { |
| 150 | + "createdBy": "user1", |
| 151 | + "createdByType": "User", |
| 152 | + "createdAt": "2020-01-01T17:18:19.1234567Z", |
| 153 | + "lastModifiedBy": "user2", |
| 154 | + "lastModifiedByType": "User", |
| 155 | + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" |
| 156 | + }, |
| 157 | + "tags": { |
| 158 | + "mytag": "myval" |
| 159 | + }, |
| 160 | + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController", |
| 161 | + "name": "testdataController", |
| 162 | + "type": "Microsoft.AzureArcData/dataControllers" |
| 163 | + } |
| 164 | + } |
| 165 | + } |
| 166 | +} |
0 commit comments