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.
CodeGen from PR 14302 in Azure/azure-rest-api-specs
Merge e16440efb4764a1a1637a52823dacac2a7949dfb into 6816683ce2d163a8ba62f426202fdcfbe7b68e35
- Loading branch information
SDKAuto
committed
May 19, 2021
1 parent
5694acb
commit e7a33d1
Showing
68 changed files
with
7,932 additions
and
247 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
...ernetesconfiguration/azure-resourcemanager-kubernetesconfiguration/CHANGELOG.md
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
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
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
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
64 changes: 64 additions & 0 deletions
64
...com/azure/resourcemanager/kubernetesconfiguration/fluent/ClusterExtensionTypesClient.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,64 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.kubernetesconfiguration.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.Response; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.kubernetesconfiguration.fluent.models.ExtensionTypeInner; | ||
import com.azure.resourcemanager.kubernetesconfiguration.models.ClusterExtensionTypeClusterType; | ||
import com.azure.resourcemanager.kubernetesconfiguration.models.ExtensionsClusterRp; | ||
|
||
/** An instance of this class provides access to all the operations defined in ClusterExtensionTypesClient. */ | ||
public interface ClusterExtensionTypesClient { | ||
/** | ||
* Get Extension Type details. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param clusterRp The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or | ||
* Microsoft.Kubernetes (for OnPrem K8S clusters). | ||
* @param clusterType The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or | ||
* connectedClusters (for OnPrem K8S clusters). | ||
* @param clusterName The name of the kubernetes cluster. | ||
* @param extensionTypeName Extension type name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return extension Type details. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
ExtensionTypeInner get( | ||
String resourceGroupName, | ||
ExtensionsClusterRp clusterRp, | ||
ClusterExtensionTypeClusterType clusterType, | ||
String clusterName, | ||
String extensionTypeName); | ||
|
||
/** | ||
* Get Extension Type details. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param clusterRp The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or | ||
* Microsoft.Kubernetes (for OnPrem K8S clusters). | ||
* @param clusterType The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or | ||
* connectedClusters (for OnPrem K8S clusters). | ||
* @param clusterName The name of the kubernetes cluster. | ||
* @param extensionTypeName Extension type name. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return extension Type details. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<ExtensionTypeInner> getWithResponse( | ||
String resourceGroupName, | ||
ExtensionsClusterRp clusterRp, | ||
ClusterExtensionTypeClusterType clusterType, | ||
String clusterName, | ||
String extensionTypeName, | ||
Context context); | ||
} |
47 changes: 47 additions & 0 deletions
47
...resourcemanager/kubernetesconfiguration/fluent/ClusterExtensionTypesOperationsClient.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,47 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.kubernetesconfiguration.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.PagedIterable; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.kubernetesconfiguration.fluent.models.ExtensionTypeInner; | ||
import com.azure.resourcemanager.kubernetesconfiguration.models.ExtensionsClusterRp; | ||
|
||
/** An instance of this class provides access to all the operations defined in ClusterExtensionTypesOperationsClient. */ | ||
public interface ClusterExtensionTypesOperationsClient { | ||
/** | ||
* Get Extension Types. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param clusterRp The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or | ||
* Microsoft.Kubernetes (for OnPrem K8S clusters). | ||
* @param clusterName The name of the kubernetes cluster. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return extension Types. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<ExtensionTypeInner> list(String resourceGroupName, ExtensionsClusterRp clusterRp, String clusterName); | ||
|
||
/** | ||
* Get Extension Types. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param clusterRp The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or | ||
* Microsoft.Kubernetes (for OnPrem K8S clusters). | ||
* @param clusterName The name of the kubernetes cluster. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return extension Types. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<ExtensionTypeInner> list( | ||
String resourceGroupName, ExtensionsClusterRp clusterRp, String clusterName, Context context); | ||
} |
41 changes: 41 additions & 0 deletions
41
...com/azure/resourcemanager/kubernetesconfiguration/fluent/ExtensionTypeVersionsClient.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,41 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.kubernetesconfiguration.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.PagedIterable; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.kubernetesconfiguration.models.ExtensionVersionListVersionsItem; | ||
|
||
/** An instance of this class provides access to all the operations defined in ExtensionTypeVersionsClient. */ | ||
public interface ExtensionTypeVersionsClient { | ||
/** | ||
* List available versions for an Extension Type. | ||
* | ||
* @param location extension location. | ||
* @param extensionTypeName Extension type name. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return list versions for an Extension. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<ExtensionVersionListVersionsItem> list(String location, String extensionTypeName); | ||
|
||
/** | ||
* List available versions for an Extension Type. | ||
* | ||
* @param location extension location. | ||
* @param extensionTypeName Extension type name. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return list versions for an Extension. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<ExtensionVersionListVersionsItem> list(String location, String extensionTypeName, Context context); | ||
} |
Oops, something went wrong.