-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[KeyVault] - Migrate Key Vault Admin package to Core V2 #15881
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
Changes from all commits
fd26291
1d7c9ca
b59c5a4
7621b58
0c430a8
1546943
36e57fd
678c995
10fa79b
5e05262
8327656
91e09ff
f27812f
6f6d147
d651fd1
fcf5176
c3a334f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,35 +4,36 @@ | |
|
|
||
| ```ts | ||
|
|
||
| import * as coreHttp from '@azure/core-http'; | ||
| import { CommonClientOptions } from '@azure/core-client'; | ||
| import { OperationOptions } from '@azure/core-client'; | ||
| import { PagedAsyncIterableIterator } from '@azure/core-paging'; | ||
| import { PollerLike } from '@azure/core-lro'; | ||
| import { PollOperationState } from '@azure/core-lro'; | ||
| import { TokenCredential } from '@azure/core-http'; | ||
| import { TokenCredential } from '@azure/core-auth'; | ||
|
|
||
| // @public | ||
| export interface AccessControlClientOptions extends coreHttp.PipelineOptions { | ||
| export interface AccessControlClientOptions extends CommonClientOptions { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maor and I have talked about whether this is a breaking change. I don’t think so, but Let’s get @xirzec ‘s thoughts
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are 3 relatively minor breaking changes:
These were all fairly niche options that tended to be used internally by our clients rather than set by consumers, but since we did expose them, we should consider what versioning implication this poses. Alongside the change to remove
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do plan to merge this PR, but leaving this conversation open if folks want to chime in. I'll also add it to the list of team meeting topics I have here 👍
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since this package is still a beta I am less worried about it and don't think the discussion is blocking this PR
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we log an issue to ensure the discussion is continued and we come to a conclusion before this package goes GA?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, opened #15916 |
||
| serviceVersion?: SUPPORTED_API_VERSIONS; | ||
| } | ||
|
|
||
| // @public | ||
| export interface CreateRoleAssignmentOptions extends coreHttp.OperationOptions { | ||
| export interface CreateRoleAssignmentOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
| export interface DeleteRoleAssignmentOptions extends coreHttp.OperationOptions { | ||
| export interface DeleteRoleAssignmentOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
| export interface DeleteRoleDefinitionOptions extends coreHttp.OperationOptions { | ||
| export interface DeleteRoleDefinitionOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
| export interface GetRoleAssignmentOptions extends coreHttp.OperationOptions { | ||
| export interface GetRoleAssignmentOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
| export interface GetRoleDefinitionOptions extends coreHttp.OperationOptions { | ||
| export interface GetRoleDefinitionOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
|
|
@@ -68,15 +69,15 @@ export class KeyVaultBackupClient { | |
| } | ||
|
|
||
| // @public | ||
| export interface KeyVaultBackupClientOptions extends coreHttp.PipelineOptions { | ||
| export interface KeyVaultBackupClientOptions extends CommonClientOptions { | ||
| serviceVersion?: SUPPORTED_API_VERSIONS; | ||
| } | ||
|
|
||
| // @public | ||
| export type KeyVaultBackupOperationState = KeyVaultAdminPollOperationState<KeyVaultBackupResult>; | ||
|
|
||
| // @public | ||
| export interface KeyVaultBackupPollerOptions extends coreHttp.OperationOptions { | ||
| export interface KeyVaultBackupPollerOptions extends OperationOptions { | ||
| intervalInMs?: number; | ||
| resumeFrom?: string; | ||
| } | ||
|
|
@@ -204,7 +205,7 @@ export enum KnownKeyVaultRoleScope { | |
| export const LATEST_API_VERSION = "7.2"; | ||
|
|
||
| // @public | ||
| export interface ListRoleAssignmentsOptions extends coreHttp.OperationOptions { | ||
| export interface ListRoleAssignmentsOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
|
|
@@ -213,7 +214,7 @@ export interface ListRoleAssignmentsPageSettings { | |
| } | ||
|
|
||
| // @public | ||
| export interface ListRoleDefinitionsOptions extends coreHttp.OperationOptions { | ||
| export interface ListRoleDefinitionsOptions extends OperationOptions { | ||
| } | ||
|
|
||
| // @public | ||
|
|
@@ -225,7 +226,7 @@ export interface ListRoleDefinitionsPageSettings { | |
| export const SDK_VERSION: string; | ||
|
|
||
| // @public | ||
| export interface SetRoleDefinitionOptions extends coreHttp.OperationOptions { | ||
| export interface SetRoleDefinitionOptions extends OperationOptions { | ||
| assignableScopes?: KeyVaultRoleScope[]; | ||
| description?: string; | ||
| permissions?: KeyVaultPermission[]; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.