-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[AutoPR azure-resourcemanager-dataprotection]-generated-from-SDK Generation - Java-6095332 #48666
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
Open
azure-sdk
wants to merge
1
commit into
main
Choose a base branch
from
sdkauto/azure-resourcemanager-dataprotection-6095332
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
34 changes: 30 additions & 4 deletions
34
sdk/dataprotection/azure-resourcemanager-dataprotection/CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
395 changes: 309 additions & 86 deletions
395
sdk/dataprotection/azure-resourcemanager-dataprotection/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
.../main/java/com/azure/resourcemanager/dataprotection/fluent/DeletedBackupVaultsClient.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
| // Code generated by Microsoft (R) TypeSpec Code Generator. | ||
|
|
||
| package com.azure.resourcemanager.dataprotection.fluent; | ||
|
|
||
| import com.azure.core.annotation.ReturnType; | ||
| import com.azure.core.annotation.ServiceMethod; | ||
| import com.azure.core.http.rest.PagedIterable; | ||
| import com.azure.core.http.rest.Response; | ||
| import com.azure.core.util.Context; | ||
| import com.azure.resourcemanager.dataprotection.fluent.models.DeletedBackupVaultResourceInner; | ||
|
|
||
| /** | ||
| * An instance of this class provides access to all the operations defined in DeletedBackupVaultsClient. | ||
| */ | ||
| public interface DeletedBackupVaultsClient { | ||
| /** | ||
| * Gets a deleted backup vault. | ||
| * | ||
| * @param location The name of the Azure region. | ||
| * @param deletedVaultName The name of the DeletedBackupVaultResource. | ||
| * @param context The context to associate with this operation. | ||
| * @throws IllegalArgumentException thrown if parameters fail the validation. | ||
| * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
| * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
| * @return a deleted backup vault along with {@link Response}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| Response<DeletedBackupVaultResourceInner> getWithResponse(String location, String deletedVaultName, | ||
| Context context); | ||
|
|
||
| /** | ||
| * Gets a deleted backup vault. | ||
| * | ||
| * @param location The name of the Azure region. | ||
| * @param deletedVaultName The name of the DeletedBackupVaultResource. | ||
| * @throws IllegalArgumentException thrown if parameters fail the validation. | ||
| * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
| * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
| * @return a deleted backup vault. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.SINGLE) | ||
| DeletedBackupVaultResourceInner get(String location, String deletedVaultName); | ||
|
|
||
| /** | ||
| * Lists deleted backup vaults by location. | ||
| * | ||
| * @param location The name of the Azure region. | ||
| * @throws IllegalArgumentException thrown if parameters fail the validation. | ||
| * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
| * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
| * @return the response of a DeletedBackupVaultResource list operation as paginated response with | ||
| * {@link PagedIterable}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.COLLECTION) | ||
| PagedIterable<DeletedBackupVaultResourceInner> listByLocation(String location); | ||
|
|
||
| /** | ||
| * Lists deleted backup vaults by location. | ||
| * | ||
| * @param location The name of the Azure region. | ||
| * @param context The context to associate with this operation. | ||
| * @throws IllegalArgumentException thrown if parameters fail the validation. | ||
| * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
| * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
| * @return the response of a DeletedBackupVaultResource list operation as paginated response with | ||
| * {@link PagedIterable}. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.COLLECTION) | ||
| PagedIterable<DeletedBackupVaultResourceInner> listByLocation(String location, Context context); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.