Skip to content

Commit 2a2247a

Browse files
author
SDK Automation
committed
Generated from 9724a0166b90a88fcda2da009aca5b7b0c0032ea
Fix api-version setting for 'vaults list'
1 parent 26813b2 commit 2a2247a

37 files changed

+6249
-30
lines changed

sdk/keyvault/mgmt-v2016_10_01/pom.xml

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@
77
-->
88
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
99
<modelVersion>4.0.0</modelVersion>
10-
<groupId>com.microsoft.azure.keyvault.v2016_10_01</groupId>
11-
<parent>
12-
<groupId>com.microsoft.azure</groupId>
13-
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
16-
</parent>
17-
<artifactId>azure-mgmt-keyvault</artifactId>
18-
<version>1.0.0-beta-2</version>
10+
<groupId>com.microsoft.azure</groupId>
11+
<artifactId>azure-keyvault</artifactId>
12+
<version>1.7.1-SNAPSHOT</version>
1913
<packaging>jar</packaging>
20-
<name>Microsoft Azure SDK for KeyVault Management</name>
21-
<description>This package contains Microsoft KeyVault Management SDK.</description>
22-
<url>https://github.com/Azure/azure-libraries-for-java</url>
14+
<name>Microsoft Azure SDK for KeyVault</name>
15+
<description>This package contains Microsoft KeyVault SDK.</description>
16+
<url>https://github.com/Azure/azure-sdk-for-java</url>
2317
<licenses>
2418
<license>
2519
<name>The MIT License (MIT)</name>
@@ -28,8 +22,8 @@
2822
</license>
2923
</licenses>
3024
<scm>
31-
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
32-
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
25+
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
26+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
3327
<tag>HEAD</tag>
3428
</scm>
3529
<properties>
@@ -46,33 +40,20 @@
4640
<dependency>
4741
<groupId>com.microsoft.azure</groupId>
4842
<artifactId>azure-client-runtime</artifactId>
49-
</dependency>
50-
<dependency>
51-
<groupId>com.microsoft.azure</groupId>
52-
<artifactId>azure-arm-client-runtime</artifactId>
43+
<version>1.5.3</version>
5344
</dependency>
5445
<dependency>
5546
<groupId>junit</groupId>
5647
<artifactId>junit</artifactId>
48+
<version>4.12</version>
5749
<scope>test</scope>
5850
</dependency>
5951
<dependency>
6052
<groupId>com.microsoft.azure</groupId>
6153
<artifactId>azure-client-authentication</artifactId>
54+
<version>1.5.3</version>
6255
<scope>test</scope>
6356
</dependency>
64-
<dependency>
65-
<groupId>com.microsoft.azure</groupId>
66-
<artifactId>azure-mgmt-resources</artifactId>
67-
<scope>test</scope>
68-
</dependency>
69-
<dependency>
70-
<groupId>com.microsoft.azure</groupId>
71-
<artifactId>azure-arm-client-runtime</artifactId>
72-
<type>test-jar</type>
73-
<scope>test</scope>
74-
<version>1.6.5</version>
75-
</dependency>
7657
</dependencies>
7758
<build>
7859
<plugins>
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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.v2016_10_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 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 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+
/**
112+
* Gets the Operations object to access its operations.
113+
* @return the Operations object.
114+
*/
115+
Operations operations();
116+
117+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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.v2016_10_01;
10+
11+
import com.microsoft.azure.CloudException;
12+
import com.microsoft.azure.ListOperationCallback;
13+
import com.microsoft.azure.management.keyvault.v20161001.models.Operation;
14+
import com.microsoft.azure.Page;
15+
import com.microsoft.azure.PagedList;
16+
import com.microsoft.rest.ServiceFuture;
17+
import com.microsoft.rest.ServiceResponse;
18+
import java.io.IOException;
19+
import java.util.List;
20+
import rx.Observable;
21+
22+
/**
23+
* An instance of this class provides access to all the operations defined
24+
* in Operations.
25+
*/
26+
public interface Operations {
27+
/**
28+
* Lists all of the available Key Vault Rest API operations.
29+
*
30+
* @throws IllegalArgumentException thrown if parameters fail the validation
31+
* @throws CloudException thrown if the request is rejected by server
32+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
33+
* @return the PagedList&lt;Operation&gt; object if successful.
34+
*/
35+
PagedList<Operation> list();
36+
37+
/**
38+
* Lists all of the available Key Vault Rest API operations.
39+
*
40+
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
41+
* @throws IllegalArgumentException thrown if parameters fail the validation
42+
* @return the {@link ServiceFuture} object
43+
*/
44+
ServiceFuture<List<Operation>> listAsync(final ListOperationCallback<Operation> serviceCallback);
45+
46+
/**
47+
* Lists all of the available Key Vault Rest API operations.
48+
*
49+
* @throws IllegalArgumentException thrown if parameters fail the validation
50+
* @return the observable to the PagedList&lt;Operation&gt; object
51+
*/
52+
Observable<Page<Operation>> listAsync();
53+
54+
/**
55+
* Lists all of the available Key Vault Rest API operations.
56+
*
57+
* @throws IllegalArgumentException thrown if parameters fail the validation
58+
* @return the observable to the PagedList&lt;Operation&gt; object
59+
*/
60+
Observable<ServiceResponse<Page<Operation>>> listWithServiceResponseAsync();
61+
62+
/**
63+
* Lists all of the available Key Vault Rest API operations.
64+
*
65+
* @param nextPageLink The NextLink from the previous successful call to List operation.
66+
* @throws IllegalArgumentException thrown if parameters fail the validation
67+
* @throws CloudException thrown if the request is rejected by server
68+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
69+
* @return the PagedList&lt;Operation&gt; object if successful.
70+
*/
71+
PagedList<Operation> listNext(final String nextPageLink);
72+
73+
/**
74+
* Lists all of the available Key Vault Rest API operations.
75+
*
76+
* @param nextPageLink The NextLink from the previous successful call to List operation.
77+
* @param serviceFuture the ServiceFuture object tracking the Retrofit calls
78+
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
79+
* @throws IllegalArgumentException thrown if parameters fail the validation
80+
* @return the {@link ServiceFuture} object
81+
*/
82+
ServiceFuture<List<Operation>> listNextAsync(final String nextPageLink, final ServiceFuture<List<Operation>> serviceFuture, final ListOperationCallback<Operation> serviceCallback);
83+
84+
/**
85+
* Lists all of the available Key Vault Rest API operations.
86+
*
87+
* @param nextPageLink The NextLink from the previous successful call to List operation.
88+
* @throws IllegalArgumentException thrown if parameters fail the validation
89+
* @return the observable to the PagedList&lt;Operation&gt; object
90+
*/
91+
Observable<Page<Operation>> listNextAsync(final String nextPageLink);
92+
93+
/**
94+
* Lists all of the available Key Vault Rest API operations.
95+
*
96+
* @param nextPageLink The NextLink from the previous successful call to List operation.
97+
* @throws IllegalArgumentException thrown if parameters fail the validation
98+
* @return the observable to the PagedList&lt;Operation&gt; object
99+
*/
100+
Observable<ServiceResponse<Page<Operation>>> listNextWithServiceResponseAsync(final String nextPageLink);
101+
102+
}

0 commit comments

Comments
 (0)