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 da4204fefe54ab83beb27463e36a7adeb1d58856
multi-api for Java & Go
- Loading branch information
SDK Automation
committed
Jun 23, 2020
1 parent
3c379ef
commit 8055d55
Showing
14 changed files
with
2,553 additions
and
0 deletions.
There are no files selected for viewing
352 changes: 352 additions & 0 deletions
352
azure-mgmt-avs/src/main/java/com/microsoft/azure/management/avs/Authorizations.java
Large diffs are not rendered by default.
Oops, something went wrong.
255 changes: 255 additions & 0 deletions
255
azure-mgmt-avs/src/main/java/com/microsoft/azure/management/avs/HcxEnterpriseSites.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,255 @@ | ||
/** | ||
* 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; | ||
|
||
import com.microsoft.azure.CloudException; | ||
import com.microsoft.azure.ListOperationCallback; | ||
import com.microsoft.azure.management.avs.models.HcxEnterpriseSite; | ||
import com.microsoft.azure.Page; | ||
import com.microsoft.azure.PagedList; | ||
import com.microsoft.rest.ServiceCallback; | ||
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 HcxEnterpriseSites. | ||
*/ | ||
public interface HcxEnterpriseSites { | ||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @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<HcxEnterpriseSite> object if successful. | ||
*/ | ||
PagedList<HcxEnterpriseSite> list(final String resourceGroupName, final String privateCloudName); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @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<HcxEnterpriseSite>> listAsync(final String resourceGroupName, final String privateCloudName, final ListOperationCallback<HcxEnterpriseSite> serviceCallback); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the PagedList<HcxEnterpriseSite> object | ||
*/ | ||
Observable<Page<HcxEnterpriseSite>> listAsync(final String resourceGroupName, final String privateCloudName); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the PagedList<HcxEnterpriseSite> object | ||
*/ | ||
Observable<ServiceResponse<Page<HcxEnterpriseSite>>> listWithServiceResponseAsync(final String resourceGroupName, final String privateCloudName); | ||
|
||
/** | ||
* Get an HCX Enterprise Site by name in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @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 HcxEnterpriseSite object if successful. | ||
*/ | ||
HcxEnterpriseSite get(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName); | ||
|
||
/** | ||
* Get an HCX Enterprise Site by name in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @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<HcxEnterpriseSite> getAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, final ServiceCallback<HcxEnterpriseSite> serviceCallback); | ||
|
||
/** | ||
* Get an HCX Enterprise Site by name in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the HcxEnterpriseSite object | ||
*/ | ||
Observable<HcxEnterpriseSite> getAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName); | ||
|
||
/** | ||
* Get an HCX Enterprise Site by name in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the HcxEnterpriseSite object | ||
*/ | ||
Observable<ServiceResponse<HcxEnterpriseSite>> getWithServiceResponseAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName); | ||
|
||
/** | ||
* Create or update an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName The name of the private cloud. | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @param hcxEnterpriseSite The HCX Enterprise Site | ||
* @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 HcxEnterpriseSite object if successful. | ||
*/ | ||
HcxEnterpriseSite createOrUpdate(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, Object hcxEnterpriseSite); | ||
|
||
/** | ||
* Create or update an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName The name of the private cloud. | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @param hcxEnterpriseSite The HCX Enterprise Site | ||
* @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<HcxEnterpriseSite> createOrUpdateAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, Object hcxEnterpriseSite, final ServiceCallback<HcxEnterpriseSite> serviceCallback); | ||
|
||
/** | ||
* Create or update an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName The name of the private cloud. | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @param hcxEnterpriseSite The HCX Enterprise Site | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the HcxEnterpriseSite object | ||
*/ | ||
Observable<HcxEnterpriseSite> createOrUpdateAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, Object hcxEnterpriseSite); | ||
|
||
/** | ||
* Create or update an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName The name of the private cloud. | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @param hcxEnterpriseSite The HCX Enterprise Site | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable to the HcxEnterpriseSite object | ||
*/ | ||
Observable<ServiceResponse<HcxEnterpriseSite>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, Object hcxEnterpriseSite); | ||
|
||
/** | ||
* Delete an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @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 | ||
*/ | ||
void delete(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName); | ||
|
||
/** | ||
* Delete an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @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<Void> deleteAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName, final ServiceCallback<Void> serviceCallback); | ||
|
||
/** | ||
* Delete an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the {@link ServiceResponse} object if successful. | ||
*/ | ||
Observable<Void> deleteAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName); | ||
|
||
/** | ||
* Delete an HCX Enterprise Site in a private cloud. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param privateCloudName Name of the private cloud | ||
* @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the {@link ServiceResponse} object if successful. | ||
*/ | ||
Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String privateCloudName, String hcxEnterpriseSiteName); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @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<HcxEnterpriseSite> object if successful. | ||
*/ | ||
PagedList<HcxEnterpriseSite> listNext(final String nextPageLink); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @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<HcxEnterpriseSite>> listNextAsync(final String nextPageLink, final ServiceFuture<List<HcxEnterpriseSite>> serviceFuture, final ListOperationCallback<HcxEnterpriseSite> serviceCallback); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @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<HcxEnterpriseSite> object | ||
*/ | ||
Observable<Page<HcxEnterpriseSite>> listNextAsync(final String nextPageLink); | ||
|
||
/** | ||
* List HCX Enterprise Sites in a private cloud. | ||
* | ||
* @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<HcxEnterpriseSite> object | ||
*/ | ||
Observable<ServiceResponse<Page<HcxEnterpriseSite>>> listNextWithServiceResponseAsync(final String nextPageLink); | ||
|
||
} |
Oops, something went wrong.