Skip to content

Commit

Permalink
[Key Vault] Use the swagger generated from the service 7.2-preview (#…
Browse files Browse the repository at this point in the history
…11370)

* swagger reference to 7.2-preview/keys.json

* generated update

* 7.2 on keys

* 7.2 preview on certs and secrets

* generated files for secrets and certs

* secrets and certs

* sticking the swagger change to a specific commit
  • Loading branch information
sadasant authored Sep 21, 2020
1 parent eceb3ab commit 555cab8
Show file tree
Hide file tree
Showing 9 changed files with 591 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface KeyProperties {
exportable?: boolean;
/**
* The type of key pair to be used for the certificate. Possible values include: 'EC', 'EC-HSM',
* 'RSA', 'RSA-HSM', 'oct'
* 'RSA', 'RSA-HSM', 'oct', 'oct-HSM'
*/
keyType?: JsonWebKeyType;
/**
Expand Down Expand Up @@ -956,11 +956,11 @@ export type DeletionRecoveryLevel = 'Purgeable' | 'Recoverable+Purgeable' | 'Rec

/**
* Defines values for JsonWebKeyType.
* Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
* Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct', 'oct-HSM'
* @readonly
* @enum {string}
*/
export type JsonWebKeyType = 'EC' | 'EC-HSM' | 'RSA' | 'RSA-HSM' | 'oct';
export type JsonWebKeyType = 'EC' | 'EC-HSM' | 'RSA' | 'RSA-HSM' | 'oct' | 'oct-HSM';

/**
* Defines values for JsonWebKeyCurveName.
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-certificates/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ azure-arm: false
generate-metadata: false
add-credentials: false
license-header: MICROSOFT_MIT_NO_VERSION
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.1/certificates.json
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f9caf92527ccff06c5b66380e6f2b4f50f5e82b3/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.2-preview/certificates.json
output-folder: ../
source-code-folder-path: ./src/generated
```
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-keys/review/keyvault-keys.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export interface KeyProperties {
}

// @public
export type KeyType = "EC" | "EC-HSM" | "RSA" | "RSA-HSM" | "oct";
export type KeyType = "EC" | "EC-HSM" | "RSA" | "RSA-HSM" | "oct" | "oct-HSM";

// @public
export interface KeyVaultKey {
Expand Down
211 changes: 180 additions & 31 deletions sdk/keyvault/keyvault-keys/src/generated/keyVaultClient.ts

Large diffs are not rendered by default.

Loading

0 comments on commit 555cab8

Please sign in to comment.