Skip to content

Commit

Permalink
[KeyVault] - Regenerate and prep for release (#20650)
Browse files Browse the repository at this point in the history
### Packages impacted by this PR
@azure/keyvault-keys 
@azure/keyvault-certificates
@azure/keyvault-admin 
@azure/keyvault-secrets

### Issues associated with this PR
Resolves #18400

### Describe the problem that is addressed by this PR
Now that 7.3 swagger is merged, we can regenerate and prep for a release
  • Loading branch information
maorleger authored Mar 21, 2022
1 parent 828c342 commit c6e3a0f
Show file tree
Hide file tree
Showing 195 changed files with 28,060 additions and 27,230 deletions.
6 changes: 4 additions & 2 deletions sdk/keyvault/keyvault-admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 4.2.0-beta.3 (Unreleased)
## 4.2.0 (Unreleased)

### Features Added

Expand All @@ -10,6 +10,8 @@

### Other Changes

- This release updates `BackupClient` and `AccessControlClient` to support service version 7.3 by default.

## 4.2.0-beta.2 (2021-11-09)

### Features Added
Expand All @@ -29,7 +31,7 @@
```typescript
let rawResponse: FullOperationResponse | undefined;
await client.getRoleDefinition(globalScope, "roleDefinitionName", {
onResponse: (response) => (rawResponse = response)
onResponse: (response) => (rawResponse = response),
});
```

Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/keyvault-admin",
"sdk-type": "client",
"author": "Microsoft Corporation",
"version": "4.2.0-beta.3",
"version": "4.2.0",
"license": "MIT",
"description": "Isomorphic client library for Azure KeyVault's administrative functions.",
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/README.md",
Expand Down
4 changes: 2 additions & 2 deletions sdk/keyvault/keyvault-admin/review/keyvault-admin.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export enum KnownKeyVaultRoleScope {
}

// @public
export const LATEST_API_VERSION = "7.3-preview";
export const LATEST_API_VERSION = "7.3";

// @public
export interface ListRoleAssignmentsOptions extends OperationOptions {
Expand Down Expand Up @@ -242,7 +242,7 @@ export interface SetRoleDefinitionOptions extends OperationOptions {
}

// @public
export type SUPPORTED_API_VERSIONS = "7.2" | "7.3-preview";
export type SUPPORTED_API_VERSIONS = "7.2" | "7.3";

// (No @packageDocumentation comment for this package)

Expand Down
3 changes: 0 additions & 3 deletions sdk/keyvault/keyvault-admin/src/accessControlClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,6 @@ export class KeyVaultAccessControlClient {
* console.log(roleDefinition);
* ```
* @param roleScope - The scope of the role definition.
* @param name - The name of the role definition. Must be a UUID.
* @param permissions - The set of {@link KeyVaultPermission} for this role definition.
* @param description - The role definition description.
* @param options - The optional parameters.
*/
public setRoleDefinition(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
RequestBodyType,
} from "@azure/core-rest-pipeline";
import { ParsedWWWAuthenticate, parseWWWAuthenticate } from "../../keyvault-common/src";

import { GetTokenOptions } from "@azure/core-auth";

/**
Expand Down
6 changes: 3 additions & 3 deletions sdk/keyvault/keyvault-admin/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
/**
* Current version of the Key Vault Admin SDK.
*/
export const SDK_VERSION: string = "4.2.0-beta.3";
export const SDK_VERSION: string = "4.2.0";

/**
* The latest supported Key Vault service API version.
*/
export const LATEST_API_VERSION = "7.3-preview";
export const LATEST_API_VERSION = "7.3";

/**
* Supported API versions
*/
export type SUPPORTED_API_VERSIONS = "7.2" | "7.3-preview";
export type SUPPORTED_API_VERSIONS = "7.2" | "7.3";

/**
* Authentication scopes
Expand Down
47 changes: 24 additions & 23 deletions sdk/keyvault/keyvault-admin/src/generated/keyVaultClient.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 18 additions & 19 deletions sdk/keyvault/keyvault-admin/src/generated/models/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions sdk/keyvault/keyvault-admin/src/lro/backup/operation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

import {
FullBackupOperation,
KeyVaultClientFullBackupOptionalParams,
KeyVaultClientFullBackupResponse,
KeyVaultClientFullBackupStatusResponse,
FullBackupOptionalParams,
FullBackupResponse,
FullBackupStatusResponse,
} from "../../generated/models";
import {
KeyVaultAdminPollOperation,
Expand Down Expand Up @@ -60,9 +60,7 @@ export class KeyVaultBackupPollOperation extends KeyVaultAdminPollOperation<
/**
* Tracing the fullBackup operation
*/
private fullBackup(
options: KeyVaultClientFullBackupOptionalParams
): Promise<KeyVaultClientFullBackupResponse> {
private fullBackup(options: FullBackupOptionalParams): Promise<FullBackupResponse> {
return withTrace("fullBackup", options, (updatedOptions) =>
this.client.fullBackup(this.vaultUrl, updatedOptions)
);
Expand All @@ -74,7 +72,7 @@ export class KeyVaultBackupPollOperation extends KeyVaultAdminPollOperation<
private fullBackupStatus(
jobId: string,
options: KeyVaultBeginBackupOptions
): Promise<KeyVaultClientFullBackupStatusResponse> {
): Promise<FullBackupStatusResponse> {
return withTrace("fullBackupStatus", options, (updatedOptions) =>
this.client.fullBackupStatus(this.vaultUrl, jobId, updatedOptions)
);
Expand Down
Loading

0 comments on commit c6e3a0f

Please sign in to comment.