forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 0d5c9a740ab59b58b731d1b8575292a8833827e4
- Loading branch information
SDK Automation
committed
Nov 6, 2020
1 parent
34fdaf3
commit dd90380
Showing
65 changed files
with
10,144 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
135 changes: 135 additions & 0 deletions
135
...main/java/com/microsoft/azure/management/keyvault/v20190901/KeyVaultManagementClient.java
This file contains 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,135 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.keyvault.v2019_09_01; | ||
|
||
import com.microsoft.azure.AzureClient; | ||
import com.microsoft.rest.RestClient; | ||
|
||
/** | ||
* The interface for KeyVaultManagementClient class. | ||
*/ | ||
public interface KeyVaultManagementClient { | ||
/** | ||
* Gets the REST client. | ||
* | ||
* @return the {@link RestClient} object. | ||
*/ | ||
RestClient restClient(); | ||
|
||
/** | ||
* Gets the {@link AzureClient} used for long running operations. | ||
* @return the azure client; | ||
*/ | ||
AzureClient getAzureClient(); | ||
|
||
/** | ||
* Gets the User-Agent header for the client. | ||
* | ||
* @return the user agent string. | ||
*/ | ||
String userAgent(); | ||
|
||
/** | ||
* Gets Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.. | ||
* | ||
* @return the subscriptionId value. | ||
*/ | ||
String subscriptionId(); | ||
|
||
/** | ||
* Sets Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.. | ||
* | ||
* @param subscriptionId the subscriptionId value. | ||
* @return the service client itself | ||
*/ | ||
KeyVaultManagementClient withSubscriptionId(String subscriptionId); | ||
|
||
/** | ||
* Gets Client Api Version.. | ||
* | ||
* @return the apiVersion value. | ||
*/ | ||
String apiVersion(); | ||
|
||
/** | ||
* Gets The preferred language for the response.. | ||
* | ||
* @return the acceptLanguage value. | ||
*/ | ||
String acceptLanguage(); | ||
|
||
/** | ||
* Sets The preferred language for the response.. | ||
* | ||
* @param acceptLanguage the acceptLanguage value. | ||
* @return the service client itself | ||
*/ | ||
KeyVaultManagementClient withAcceptLanguage(String acceptLanguage); | ||
|
||
/** | ||
* Gets The retry timeout in seconds for Long Running Operations. Default value is 30.. | ||
* | ||
* @return the longRunningOperationRetryTimeout value. | ||
*/ | ||
int longRunningOperationRetryTimeout(); | ||
|
||
/** | ||
* Sets The retry timeout in seconds for Long Running Operations. Default value is 30.. | ||
* | ||
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. | ||
* @return the service client itself | ||
*/ | ||
KeyVaultManagementClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout); | ||
|
||
/** | ||
* Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. | ||
* | ||
* @return the generateClientRequestId value. | ||
*/ | ||
boolean generateClientRequestId(); | ||
|
||
/** | ||
* Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. | ||
* | ||
* @param generateClientRequestId the generateClientRequestId value. | ||
* @return the service client itself | ||
*/ | ||
KeyVaultManagementClient withGenerateClientRequestId(boolean generateClientRequestId); | ||
|
||
/** | ||
* Gets the Vaults object to access its operations. | ||
* @return the Vaults object. | ||
*/ | ||
Vaults vaults(); | ||
|
||
/** | ||
* Gets the PrivateEndpointConnections object to access its operations. | ||
* @return the PrivateEndpointConnections object. | ||
*/ | ||
PrivateEndpointConnections privateEndpointConnections(); | ||
|
||
/** | ||
* Gets the PrivateLinkResources object to access its operations. | ||
* @return the PrivateLinkResources object. | ||
*/ | ||
PrivateLinkResources privateLinkResources(); | ||
|
||
/** | ||
* Gets the Operations object to access its operations. | ||
* @return the Operations object. | ||
*/ | ||
Operations operations(); | ||
|
||
/** | ||
* Gets the Secrets object to access its operations. | ||
* @return the Secrets object. | ||
*/ | ||
Secrets secrets(); | ||
|
||
} |
102 changes: 102 additions & 0 deletions
102
...019_09_01/src/main/java/com/microsoft/azure/management/keyvault/v20190901/Operations.java
This file contains 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,102 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.keyvault.v2019_09_01; | ||
|
||
import com.microsoft.azure.CloudException; | ||
import com.microsoft.azure.ListOperationCallback; | ||
import com.microsoft.azure.management.keyvault.v20190901.models.Operation; | ||
import com.microsoft.azure.Page; | ||
import com.microsoft.azure.PagedList; | ||
import com.microsoft.rest.ServiceFuture; | ||
import com.microsoft.rest.ServiceResponse; | ||
import java.io.IOException; | ||
import java.util.List; | ||
import rx.Observable; | ||
|
||
/** | ||
* An instance of this class provides access to all the operations defined | ||
* in Operations. | ||
*/ | ||
public interface Operations { | ||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @throws CloudException thrown if the request is rejected by server | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent | ||
* @return the PagedList<Operation> object if successful. | ||
*/ | ||
PagedList<Operation> list(); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @param serviceCallback the async ServiceCallback to handle successful and failed responses. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the {@link ServiceFuture} object | ||
*/ | ||
ServiceFuture<List<Operation>> listAsync(final ListOperationCallback<Operation> serviceCallback); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the PagedList<Operation> object | ||
*/ | ||
Observable<Page<Operation>> listAsync(); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the PagedList<Operation> object | ||
*/ | ||
Observable<ServiceResponse<Page<Operation>>> listWithServiceResponseAsync(); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @param nextPageLink The NextLink from the previous successful call to List operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @throws CloudException thrown if the request is rejected by server | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent | ||
* @return the PagedList<Operation> object if successful. | ||
*/ | ||
PagedList<Operation> listNext(final String nextPageLink); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @param nextPageLink The NextLink from the previous successful call to List operation. | ||
* @param serviceFuture the ServiceFuture object tracking the Retrofit calls | ||
* @param serviceCallback the async ServiceCallback to handle successful and failed responses. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the {@link ServiceFuture} object | ||
*/ | ||
ServiceFuture<List<Operation>> listNextAsync(final String nextPageLink, final ServiceFuture<List<Operation>> serviceFuture, final ListOperationCallback<Operation> serviceCallback); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @param nextPageLink The NextLink from the previous successful call to List operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the PagedList<Operation> object | ||
*/ | ||
Observable<Page<Operation>> listNextAsync(final String nextPageLink); | ||
|
||
/** | ||
* Lists all of the available Key Vault Rest API operations. | ||
* | ||
* @param nextPageLink The NextLink from the previous successful call to List operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the PagedList<Operation> object | ||
*/ | ||
Observable<ServiceResponse<Page<Operation>>> listNextWithServiceResponseAsync(final String nextPageLink); | ||
|
||
} |
Oops, something went wrong.