Skip to content
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

[AutoPR sdk/avs/mgmt-v2020_03_20] fix correctness errors for AVS 2020-03-20 API #5143

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 8 additions & 28 deletions sdk/avs/mgmt-v2020_03_20/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,12 @@
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.avs.v2020_03_20</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-avs</artifactId>
<version>1.0.0-beta</version>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-avs</artifactId>
<version>1.7.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for AVS Management</name>
<description>This package contains Microsoft AVS Management SDK.</description>
<name>Microsoft Azure SDK for AVS</name>
<description>This package contains Microsoft AVS SDK.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
Expand Down Expand Up @@ -46,34 +40,20 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
<version>1.5.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-client-authentication</artifactId>
<version>1.5.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/**
* 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.avs.v2020_03_20;

import com.microsoft.azure.AzureClient;
import com.microsoft.rest.RestClient;

/**
* The interface for AvsClient class.
*/
public interface AvsClient {
/**
* 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 The API version to use for this operation..
*
* @return the apiVersion value.
*/
String apiVersion();

/**
* Gets The ID of the target subscription..
*
* @return the subscriptionId value.
*/
String subscriptionId();

/**
* Sets The ID of the target subscription..
*
* @param subscriptionId the subscriptionId value.
* @return the service client itself
*/
AvsClient withSubscriptionId(String subscriptionId);

/**
* 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
*/
AvsClient 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
*/
AvsClient 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
*/
AvsClient withGenerateClientRequestId(boolean generateClientRequestId);

/**
* Gets the Operations object to access its operations.
* @return the Operations object.
*/
Operations operations();

/**
* Gets the Locations object to access its operations.
* @return the Locations object.
*/
Locations locations();

/**
* Gets the PrivateClouds object to access its operations.
* @return the PrivateClouds object.
*/
PrivateClouds privateClouds();

/**
* Gets the Clusters object to access its operations.
* @return the Clusters object.
*/
Clusters clusters();

/**
* Gets the HcxEnterpriseSites object to access its operations.
* @return the HcxEnterpriseSites object.
*/
HcxEnterpriseSites hcxEnterpriseSites();

/**
* Gets the Authorizations object to access its operations.
* @return the Authorizations object.
*/
Authorizations authorizations();

}
Loading