-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syncing changes from 2020-06-01-preview api (#12462)
* [2020-06-01-preview] Update namedvalue add refreshSecret operation (#12223) * add refreshSecret * addressing comments * add 202 * address comments * parenthesis Co-authored-by: Kacie Kang <jikang@microsoft.com> * [2020-06-01-preview] Update certificate add refreshSecret operation (#12226) * add refresh * add path * add keyvault part * address comments Co-authored-by: Kacie Kang <jikang@microsoft.com> Co-authored-by: Kacie Kang <jikang@microsoft.com>
- Loading branch information
Showing
4 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...ft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementRefreshCertificate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01-preview", | ||
"subscriptionId": "subid", | ||
"certificateId": "templateCertkv" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/templateCertkv", | ||
"type": "Microsoft.ApiManagement/service/certificates", | ||
"name": "templateCertkv", | ||
"properties": { | ||
"subject": "CN=*.msitesting.net", | ||
"thumbprint": "EA**********************9AD690", | ||
"expirationDate": "2037-01-01T07:00:00Z", | ||
"keyVault": { | ||
"secretIdentifier": "https://rpbvtkeyvaultintegration.vault-int.azure-int.net/secrets/msitestingCert", | ||
"identityClientId": "ceaa6b06-c00f-43ef-99ac-f53d1fe876a0", | ||
"lastStatus": { | ||
"code": "Success", | ||
"timeStampUtc": "2020-09-22T00:24:53.3191468Z" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...oft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementRefreshNamedValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2020-06-01-preview", | ||
"subscriptionId": "subid", | ||
"namedValueId": "testprop2" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/namedValues/testprop6/refreshSecret?api-version=2020-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/namedValues/testprop6", | ||
"type": "Microsoft.ApiManagement/service/namedValues", | ||
"name": "testprop6", | ||
"properties": { | ||
"displayName": "prop6namekv", | ||
"keyVault": { | ||
"secretIdentifier": "https://rpbvtkeyvaultintegration.vault.azure.net/secrets/msitestingCert", | ||
"identityClientId": "2d2df842-44d8-4885-8dec-77cc1a984a31", | ||
"lastStatus": { | ||
"code": "Success", | ||
"timeStampUtc": "2020-09-11T00:54:31.8024882Z" | ||
} | ||
}, | ||
"tags": [ | ||
"foo", | ||
"bar" | ||
], | ||
"secret": true | ||
} | ||
} | ||
} | ||
} | ||
} |