Skip to content

Commit

Permalink
Update dataController onPremise property (#10263)
Browse files Browse the repository at this point in the history
* WIP: Updating Microsoft.AzureData

* Minor changes

* Adding new SystemData property to examples

* Fixed formatting

* Update azuredata.json

Fixed systemData.

* Update azuredata.json

Fixed identitytype case.

* Fixed formatting

* Adding create data controller example properties

* Removed extra file

* Renamed parameter name

* Ran prettier check
  • Loading branch information
jorgbaca authored Jul 28, 2020
1 parent 85ac404 commit 94ce889
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,15 @@
{
"$ref": "#/parameters/resourceGroupName"
},
{
"name": "dataControllerResource",
"description": "desc",
"required": true,
"in": "body",
"schema": {
"$ref": "#/definitions/DataControllerResource"
}
},
{
"name": "dataControllerName",
"in": "path",
Expand Down Expand Up @@ -2290,10 +2299,11 @@
}
},
"DataControllerProperties": {
"description": "The data controller properties.",
"type": "object",
"properties": {
"dataController": {
"$ref": "#/definitions/DataController"
"onPremiseProperty": {
"$ref": "#/definitions/OnPremiseProperty"
},
"requestType": {
"$ref": "#/definitions/RequestType"
Expand All @@ -2312,28 +2322,22 @@
}
}
},
"DataController": {
"OnPremiseProperty": {
"description": "Properties from the on premise data controller",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"azureResourceType": {
"type": "string"
"format": "uuid",
"description": "A globally unique ID identifying the associated on premise cluster"
},
"subscription": {
"publicSigningKey": {
"type": "string",
"format": "uuid"
},
"resourceGroup": {
"type": "string"
"description": "Certificate that contains the on premise cluster public key used to verify signing"
},
"location": {
"type": "string"
"signingCertificateThumbprint": {
"type": "string",
"description": "Unique thumbprint returned to customer to verify the certificate being uploaded"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,29 @@
"resourceGroupName": "testrg",
"dataControllerName": "testdataController",
"api-version": "2017-07-24",
"parameters": {
"dataControllerResource": {
"location": "northeurope",
"tags": {
"mytag": "myval"
},
"properties": {}
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey"
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {},
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey",
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
}
},
"systemData": {
"createdBy": "user1",
"createdByType": "user",
Expand All @@ -35,7 +46,13 @@
},
"201": {
"body": {
"properties": {},
"properties": {
"onPremiseProperty": {
"id": "12345678-1234-1234-ab12-1a2b3c4d5e6f",
"publicSigningKey": "publicOnPremSigningKey",
"signingCertificateThumbprint": "Unique thumbprint returned to customer to verify the certificate being uploaded"
}
},
"location": "northeurope",
"systemData": {
"createdBy": "user1",
Expand Down

0 comments on commit 94ce889

Please sign in to comment.