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] Add support for service version 7.6-preview.1 #43811

Merged
merged 41 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f606717
wip
nisha-bhatia May 1, 2024
4ad166e
wip
nisha-bhatia May 1, 2024
651f56e
Update Azure.Security.KeyVault.Secrets.netstandard2.0.cs
nisha-bhatia May 1, 2024
9dd26e8
update generation
nisha-bhatia May 3, 2024
89f2e32
Update Azure.Security.KeyVault.Administration.netstandard2.0.cs
nisha-bhatia May 7, 2024
acbee48
Update CONTRIBUTING.md
JonathanCrd Jul 23, 2024
1ce7dd5
Add new version in ClientOptions and tests for Administration
JonathanCrd Jul 23, 2024
e69b95f
Export API
JonathanCrd Jul 23, 2024
2eaea11
Remove server-side fix from changelog
JonathanCrd Jul 23, 2024
912c317
Update sdk/keyvault/Azure.Security.KeyVault.Certificates/CHANGELOG.md
JonathanCrd Jul 25, 2024
f860bb7
Add new endpoints definitions to readme
JonathanCrd Jul 26, 2024
9f24db1
Add new Pre-backup methods
JonathanCrd Jul 26, 2024
eaeaffc
Documentation for PreBackup methods
JonathanCrd Jul 29, 2024
a8e8aba
Update method names in KeyVaultBackupClient for clarity
JonathanCrd Jul 30, 2024
0589666
Add pre-restore methods
JonathanCrd Jul 30, 2024
2e62d13
Export API
JonathanCrd Jul 30, 2024
87794e0
Use a flag to handle different headers in RestoreOperation
JonathanCrd Aug 1, 2024
1db8b35
Update Administration Changelog
JonathanCrd Aug 1, 2024
acb448b
Add tests for Administration
JonathanCrd Aug 1, 2024
aa6edce
Merge remote-tracking branch 'upstream/main' into nibhati-kv1
JonathanCrd Aug 1, 2024
438bdeb
Update preBackup and preRestore tests
JonathanCrd Aug 1, 2024
ac3a59c
Missing new version in CertificatesClientOptions
JonathanCrd Aug 2, 2024
5347ae3
Re-record CertificateClientLiveTests
JonathanCrd Aug 2, 2024
d71b85e
Merge remote-tracking branch 'upstream/main' into nibhati-kv1
JonathanCrd Aug 9, 2024
f41951a
Remove unninteded line in Keys Changelog
JonathanCrd Aug 9, 2024
007cfbb
Improve admin changelod message and clean samples in readme
JonathanCrd Aug 9, 2024
328c285
nit changes
JonathanCrd Aug 9, 2024
1c7640c
Format Changelog md files
JonathanCrd Aug 15, 2024
afd513b
Add null argument checks in KeyVaultBackupClient methods and document…
JonathanCrd Aug 15, 2024
c1d6370
Introducing the KeyVaultPreBackupOperation and KeyVaultPreRestoreOper…
JonathanCrd Aug 16, 2024
e8f604d
Ignore tests for preview version
JonathanCrd Aug 16, 2024
7625ce3
Merge remote-tracking branch 'upstream/main' into nibhati-kv1
JonathanCrd Aug 16, 2024
05bdca8
Revert changes in KeyVaultRestoreOperation
JonathanCrd Aug 16, 2024
d9e55b3
Include possible exceptions to pre-operation classes
JonathanCrd Aug 19, 2024
986dc33
Record Secrets
JonathanCrd Aug 20, 2024
257e799
Record Keys tests
JonathanCrd Aug 21, 2024
7cd6956
Record admin
JonathanCrd Aug 22, 2024
30c1fff
Merge remote-tracking branch 'upstream/main' into nibhati-kv1
JonathanCrd Aug 22, 2024
ae74942
Re-record failing tests for Secrets
JonathanCrd Aug 26, 2024
2c483e0
Update test-resources json to output the Tenant ID too
JonathanCrd Aug 26, 2024
81114fb
Export API and remove unused snippets
JonathanCrd Aug 26, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
## 4.5.0-beta.1 (Unreleased)

### Features Added
- Added support for service API version `7.6-preview.1`.
JonathanCrd marked this conversation as resolved.
Show resolved Hide resolved
- Added new methods `StartPreRestoreAsync`, `StartPreRestore`, `StartPreBackupAsync`, and `StartPreBackupAsync` to the `KeyVaultBackupClient`.

### Breaking Changes

### Bugs Fixed

### Other Changes
- The default service version is now "V7_6_Preview_1".

## 4.4.0 (2024-02-14)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,16 @@ A `KeyVaultAccessControlClient` provides both synchronous and asynchronous opera

A `KeyVaultBackupClient` provides both synchronous and asynchronous operations for performing full key backups, full key restores, and selective key restores.

### PreBackupOperation
A `PreBackupOperation` represents a long-running operation that checks if it is possible to perform a full key backup.

### BackupOperation

A `BackupOperation` represents a long running operation for a full key backup.

### PreRestoreOperation
A `PreRestoreOperation` represents a long-running operation that checks if it is possible to perform a full key restore from a backup.

### RestoreOperation

A `RestoreOperation` represents a long running operation for both a full key and selective key restore.
Expand Down
JonathanCrd marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public KeyVaultAccessControlClient(System.Uri vaultUri, Azure.Core.TokenCredenti
}
public partial class KeyVaultAdministrationClientOptions : Azure.Core.ClientOptions
{
public KeyVaultAdministrationClientOptions(Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions.ServiceVersion version = Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions.ServiceVersion.V7_5) { }
public KeyVaultAdministrationClientOptions(Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions.ServiceVersion version = Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions.ServiceVersion.V7_6_Preview_1) { }
public bool DisableChallengeResourceVerification { get { throw null; } set { } }
public Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions.ServiceVersion Version { get { throw null; } }
public enum ServiceVersion
Expand All @@ -52,6 +52,7 @@ public enum ServiceVersion
V7_3 = 2,
V7_4 = 3,
V7_5 = 4,
V7_6_Preview_1 = 5,
}
}
public static partial class KeyVaultAdministrationModelFactory
Expand Down Expand Up @@ -79,6 +80,10 @@ public KeyVaultBackupClient(System.Uri vaultUri, Azure.Core.TokenCredential cred
public virtual System.Uri VaultUri { get { throw null; } }
public virtual Azure.Security.KeyVault.Administration.KeyVaultBackupOperation StartBackup(System.Uri blobStorageUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Security.KeyVault.Administration.KeyVaultBackupOperation> StartBackupAsync(System.Uri blobStorageUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Security.KeyVault.Administration.KeyVaultBackupOperation StartPreBackup(System.Uri blobStorageUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Security.KeyVault.Administration.KeyVaultBackupOperation> StartPreBackupAsync(System.Uri blobStorageUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Security.KeyVault.Administration.KeyVaultRestoreOperation StartPreRestore(System.Uri folderUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Security.KeyVault.Administration.KeyVaultRestoreOperation> StartPreRestoreAsync(System.Uri folderUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Security.KeyVault.Administration.KeyVaultRestoreOperation StartRestore(System.Uri folderUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Security.KeyVault.Administration.KeyVaultRestoreOperation> StartRestoreAsync(System.Uri folderUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Security.KeyVault.Administration.KeyVaultSelectiveKeyRestoreOperation StartSelectiveKeyRestore(string keyName, System.Uri folderUri, string sasToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
Expand Down Expand Up @@ -337,3 +342,13 @@ public readonly partial struct KeyVaultSettingValue
public override string ToString() { throw null; }
}
}
namespace Azure.Security.KeyVault.Administration.Models
JonathanCrd marked this conversation as resolved.
Show resolved Hide resolved
{
public partial class PreBackupOperationParameters
{
public PreBackupOperationParameters() { }
public string StorageResourceUri { get { throw null; } set { } }
public string Token { get { throw null; } set { } }
public bool? UseManagedIdentity { get { throw null; } set { } }
}
}

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.

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

Loading
Loading