|
| 1 | +/** |
| 2 | + * Copyright (c) Microsoft Corporation. All rights reserved. |
| 3 | + * Licensed under the MIT License. See License.txt in the project root for |
| 4 | + * license information. |
| 5 | + * |
| 6 | + * Code generated by Microsoft (R) AutoRest Code Generator. |
| 7 | + */ |
| 8 | + |
| 9 | +package com.microsoft.azure.management.keyvault.v2015_06_01; |
| 10 | + |
| 11 | +import com.microsoft.azure.AzureClient; |
| 12 | +import com.microsoft.rest.RestClient; |
| 13 | + |
| 14 | +/** |
| 15 | + * The interface for KeyVaultManagementClient class. |
| 16 | + */ |
| 17 | +public interface KeyVaultManagementClient { |
| 18 | + /** |
| 19 | + * Gets the REST client. |
| 20 | + * |
| 21 | + * @return the {@link RestClient} object. |
| 22 | + */ |
| 23 | + RestClient restClient(); |
| 24 | + |
| 25 | + /** |
| 26 | + * Gets the {@link AzureClient} used for long running operations. |
| 27 | + * @return the azure client; |
| 28 | + */ |
| 29 | + AzureClient getAzureClient(); |
| 30 | + |
| 31 | + /** |
| 32 | + * Gets the User-Agent header for the client. |
| 33 | + * |
| 34 | + * @return the user agent string. |
| 35 | + */ |
| 36 | + String userAgent(); |
| 37 | + |
| 38 | + /** |
| 39 | + * Gets Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.. |
| 40 | + * |
| 41 | + * @return the subscriptionId value. |
| 42 | + */ |
| 43 | + String subscriptionId(); |
| 44 | + |
| 45 | + /** |
| 46 | + * Sets Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.. |
| 47 | + * |
| 48 | + * @param subscriptionId the subscriptionId value. |
| 49 | + * @return the service client itself |
| 50 | + */ |
| 51 | + KeyVaultManagementClient withSubscriptionId(String subscriptionId); |
| 52 | + |
| 53 | + /** |
| 54 | + * Gets Client Api Version.. |
| 55 | + * |
| 56 | + * @return the apiVersion value. |
| 57 | + */ |
| 58 | + String apiVersion(); |
| 59 | + |
| 60 | + /** |
| 61 | + * Gets The preferred language for the response.. |
| 62 | + * |
| 63 | + * @return the acceptLanguage value. |
| 64 | + */ |
| 65 | + String acceptLanguage(); |
| 66 | + |
| 67 | + /** |
| 68 | + * Sets The preferred language for the response.. |
| 69 | + * |
| 70 | + * @param acceptLanguage the acceptLanguage value. |
| 71 | + * @return the service client itself |
| 72 | + */ |
| 73 | + KeyVaultManagementClient withAcceptLanguage(String acceptLanguage); |
| 74 | + |
| 75 | + /** |
| 76 | + * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.. |
| 77 | + * |
| 78 | + * @return the longRunningOperationRetryTimeout value. |
| 79 | + */ |
| 80 | + int longRunningOperationRetryTimeout(); |
| 81 | + |
| 82 | + /** |
| 83 | + * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.. |
| 84 | + * |
| 85 | + * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. |
| 86 | + * @return the service client itself |
| 87 | + */ |
| 88 | + KeyVaultManagementClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout); |
| 89 | + |
| 90 | + /** |
| 91 | + * 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.. |
| 92 | + * |
| 93 | + * @return the generateClientRequestId value. |
| 94 | + */ |
| 95 | + boolean generateClientRequestId(); |
| 96 | + |
| 97 | + /** |
| 98 | + * 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.. |
| 99 | + * |
| 100 | + * @param generateClientRequestId the generateClientRequestId value. |
| 101 | + * @return the service client itself |
| 102 | + */ |
| 103 | + KeyVaultManagementClient withGenerateClientRequestId(boolean generateClientRequestId); |
| 104 | + |
| 105 | + /** |
| 106 | + * Gets the Vaults object to access its operations. |
| 107 | + * @return the Vaults object. |
| 108 | + */ |
| 109 | + Vaults vaults(); |
| 110 | + |
| 111 | +} |
0 commit comments