Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[KeyVault] - Regenerate and prep for release #20650

Merged
merged 6 commits into from
Mar 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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