Skip to content

Commit

Permalink
Moving 2021-07-01-preview to public repo for compliance (#15583)
Browse files Browse the repository at this point in the history
  • Loading branch information
sureleo authored Aug 11, 2021
1 parent b5c26c6 commit 1dc2a75
Show file tree
Hide file tree
Showing 27 changed files with 4,062 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"dataControllerName": "testdataController",
"api-version": "2021-07-01-preview",
"dataControllerResource": {
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey"
},
"basicLoginInformation": {
"username": "username",
"password": "********"
},
"logAnalyticsWorkspaceConfig": {
"workspaceId": "00000000-1111-2222-3333-444444444444",
"primaryKey": "********"
},
"uploadServicePrincipal": {
"clientId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"authority": "https://login.microsoftonline.com/",
"clientSecret": "********"
},
"uploadWatermark": {
"metrics": "2020-01-01T17:18:19.1234567Z",
"logs": "2020-01-01T17:18:19.1234567Z",
"usages": "2020-01-01T17:18:19.1234567Z"
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey",
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
},
"basicLoginInformation": {
"username": "username"
},
"logAnalyticsWorkspaceConfig": {
"workspaceId": "00000000-1111-2222-3333-444444444444"
},
"uploadServicePrincipal": {
"clientId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"authority": "https://login.microsoftonline.com/"
},
"uploadWatermark": {
"metrics": "2020-01-01T17:18:19.1234567Z",
"logs": "2020-01-01T17:18:19.1234567Z",
"usages": "2020-01-01T17:18:19.1234567Z"
}
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController",
"name": "testdataController",
"type": "Microsoft.AzureArcData/dataControllers"
}
},
"201": {
"body": {
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey",
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
},
"basicLoginInformation": {
"username": "username"
},
"logAnalyticsWorkspaceConfig": {
"workspaceId": "00000000-1111-2222-3333-444444444444"
},
"uploadServicePrincipal": {
"clientId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"authority": "https://login.microsoftonline.com/"
},
"uploadWatermark": {
"metrics": "2020-01-01T17:18:19.1234567Z",
"logs": "2020-01-01T17:18:19.1234567Z",
"usages": "2020-01-01T17:18:19.1234567Z"
}
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"location": "northeurope",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"tags": {
"mytag": "myval"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/dataControllers/testdataController",
"name": "testdataController",
"type": "Microsoft.AzureArcData/dataControllers"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"postgresInstanceName": "testpostgresInstance",
"api-version": "2021-07-01-preview",
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"resource": {
"location": "eastus",
"properties": {
"dataControllerId": "dataControllerId",
"admin": "admin",
"basicLoginInformation": {
"username": "username",
"password": "********"
},
"k8sRaw": {
"apiVersion": "apiVersion",
"kind": "postgresql-12",
"metadata": {
"creationTimestamp": "2020-08-25T14:55:10Z",
"generation": 1,
"name": "pg1",
"namespace": "test",
"resourceVersion": "527780",
"selfLink": "/apis/arcdata.microsoft.com/v1alpha1/namespaces/test/postgresql-12s/pg1",
"uid": "1111aaaa-ffff-ffff-ffff-99999aaaaaaa"
},
"spec": {
"backups": {
"deltaMinutes": 3,
"fullMinutes": 10,
"tiers": [
{
"retention": {
"maximums": [
"6",
"512MB"
],
"minimums": [
"3"
]
},
"storage": {
"volumeSize": "1Gi"
}
}
]
},
"engine": {
"extensions": [
{
"name": "citus"
}
]
},
"scale": {
"shards": 3
},
"scheduling": {
"default": {
"resources": {
"requests": {
"memory": "256Mi"
}
}
}
},
"service": {
"type": "NodePort"
},
"storage": {
"data": {
"className": "local-storage",
"size": "5Gi"
},
"logs": {
"className": "local-storage",
"size": "5Gi"
}
}
},
"status": {
"externalEndpoint": null,
"readyPods": "4/4",
"state": "Ready"
}
}
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"sku": {
"name": "default",
"tier": "Hyperscale",
"dev": true
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"basicLoginInformation": {
"username": "username"
}
},
"location": "northeurope",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"tags": {
"mytag": "myval"
},
"sku": {
"name": "default",
"tier": "Hyperscale",
"dev": true
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance",
"name": "testpostgresInstance",
"type": "Microsoft.AzureArcData/PostgresInstance"
}
},
"201": {
"body": {
"properties": {
"basicLoginInformation": {
"username": "username"
}
},
"location": "northeurope",
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/arclocation"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"tags": {
"mytag": "myval"
},
"sku": {
"name": "default",
"tier": "Hyperscale",
"dev": true
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.AzureArcData/PostgresInstance/testpostgresInstance",
"name": "testsqlregistration",
"type": "Microsoft.AzureArcData/PostgresInstance"
}
}
}
}
Loading

0 comments on commit 1dc2a75

Please sign in to comment.