forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
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 22034 in Azure/azure-rest-api-specs
Merge bbc20c3fef3a651e79927cc0111ecb7040741aa8 into 78ec1b99699a4bf44869bd13f1b0ed7d92a99c27
- Loading branch information
SDKAuto
committed
Jan 29, 2023
1 parent
307d576
commit c27e168
Showing
145 changed files
with
6,240 additions
and
2,809 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
sdk/hybridcompute/azure-resourcemanager-hybridcompute/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
273 changes: 213 additions & 60 deletions
273
sdk/hybridcompute/azure-resourcemanager-hybridcompute/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
79 changes: 79 additions & 0 deletions
79
...rc/main/java/com/azure/resourcemanager/hybridcompute/fluent/ExtensionMetadatasClient.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,79 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.hybridcompute.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.PagedIterable; | ||
import com.azure.core.http.rest.Response; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.hybridcompute.fluent.models.ExtensionValueInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in ExtensionMetadatasClient. */ | ||
public interface ExtensionMetadatasClient { | ||
/** | ||
* Gets an Extension Metadata based on location, publisher, extensionType and version. | ||
* | ||
* @param location The location of the Extension being received. | ||
* @param publisher The publisher of the Extension being received. | ||
* @param extensionType The extensionType of the Extension being received. | ||
* @param version The version of the Extension being received. | ||
* @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 an Extension Metadata based on location, publisher, extensionType and version along with {@link | ||
* Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<ExtensionValueInner> getWithResponse( | ||
String location, String publisher, String extensionType, String version, Context context); | ||
|
||
/** | ||
* Gets an Extension Metadata based on location, publisher, extensionType and version. | ||
* | ||
* @param location The location of the Extension being received. | ||
* @param publisher The publisher of the Extension being received. | ||
* @param extensionType The extensionType of the Extension being received. | ||
* @param version The version of the Extension being received. | ||
* @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 an Extension Metadata based on location, publisher, extensionType and version. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
ExtensionValueInner get(String location, String publisher, String extensionType, String version); | ||
|
||
/** | ||
* Gets all Extension versions based on location, publisher, extensionType. | ||
* | ||
* @param location The location of the Extension being received. | ||
* @param publisher The publisher of the Extension being received. | ||
* @param extensionType The extensionType of the Extension being received. | ||
* @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 all Extension versions based on location, publisher, extensionType as paginated response with {@link | ||
* PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<ExtensionValueInner> list(String location, String publisher, String extensionType); | ||
|
||
/** | ||
* Gets all Extension versions based on location, publisher, extensionType. | ||
* | ||
* @param location The location of the Extension being received. | ||
* @param publisher The publisher of the Extension being received. | ||
* @param extensionType The extensionType of the Extension being received. | ||
* @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 all Extension versions based on location, publisher, extensionType as paginated response with {@link | ||
* PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<ExtensionValueInner> list(String location, String publisher, String extensionType, Context context); | ||
} |
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
41 changes: 41 additions & 0 deletions
41
...e/src/main/java/com/azure/resourcemanager/hybridcompute/fluent/NetworkProfilesClient.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.hybridcompute.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.hybridcompute.fluent.models.NetworkProfileInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in NetworkProfilesClient. */ | ||
public interface NetworkProfilesClient { | ||
/** | ||
* The operation to get network information of hybrid machine. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param machineName The name of the hybrid machine. | ||
* @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 describes the network information on this machine along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<NetworkProfileInner> getWithResponse(String resourceGroupName, String machineName, Context context); | ||
|
||
/** | ||
* The operation to get network information of hybrid machine. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param machineName The name of the hybrid machine. | ||
* @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 describes the network information on this machine. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
NetworkProfileInner get(String resourceGroupName, String machineName); | ||
} |
81 changes: 81 additions & 0 deletions
81
...src/main/java/com/azure/resourcemanager/hybridcompute/fluent/ResourceProvidersClient.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,81 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.hybridcompute.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.management.polling.PollResult; | ||
import com.azure.core.util.Context; | ||
import com.azure.core.util.polling.SyncPoller; | ||
import com.azure.resourcemanager.hybridcompute.models.MachineExtensionUpgrade; | ||
|
||
/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */ | ||
public interface ResourceProvidersClient { | ||
/** | ||
* The operation to Upgrade Machine Extensions. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param machineName The name of the hybrid machine. | ||
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions 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 the {@link SyncPoller} for polling of long-running operation. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) | ||
SyncPoller<PollResult<Void>, Void> beginUpgradeExtensions( | ||
String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters); | ||
|
||
/** | ||
* The operation to Upgrade Machine Extensions. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param machineName The name of the hybrid machine. | ||
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions operation. | ||
* @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 the {@link SyncPoller} for polling of long-running operation. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) | ||
SyncPoller<PollResult<Void>, Void> beginUpgradeExtensions( | ||
String resourceGroupName, | ||
String machineName, | ||
MachineExtensionUpgrade extensionUpgradeParameters, | ||
Context context); | ||
|
||
/** | ||
* The operation to Upgrade Machine Extensions. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param machineName The name of the hybrid machine. | ||
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions 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. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
void upgradeExtensions( | ||
String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters); | ||
|
||
/** | ||
* The operation to Upgrade Machine Extensions. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param machineName The name of the hybrid machine. | ||
* @param extensionUpgradeParameters Parameters supplied to the Upgrade Extensions operation. | ||
* @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. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
void upgradeExtensions( | ||
String resourceGroupName, | ||
String machineName, | ||
MachineExtensionUpgrade extensionUpgradeParameters, | ||
Context context); | ||
} |
Oops, something went wrong.