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 24528 in Azure/azure-rest-api-specs
[Hub Generated] Publish private branch 'ssivathas/2023-06-01' (Azure#24528) * add or modify files * Removed 2022-12-01-preview and 2021-04-01 APIs
- Loading branch information
SDKAuto
committed
Jun 26, 2023
1 parent
106a7a6
commit 890ef93
Showing
152 changed files
with
7,912 additions
and
522 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/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
515 changes: 417 additions & 98 deletions
515
sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/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
198 changes: 198 additions & 0 deletions
198
...c/main/java/com/azure/resourcemanager/mobilenetwork/fluent/DiagnosticsPackagesClient.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,198 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.mobilenetwork.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.management.polling.PollResult; | ||
import com.azure.core.util.Context; | ||
import com.azure.core.util.polling.SyncPoller; | ||
import com.azure.resourcemanager.mobilenetwork.fluent.models.DiagnosticsPackageInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in DiagnosticsPackagesClient. */ | ||
public interface DiagnosticsPackagesClient { | ||
/** | ||
* Creates or updates a diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 diagnostics package resource. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) | ||
SyncPoller<PollResult<DiagnosticsPackageInner>, DiagnosticsPackageInner> beginCreateOrUpdate( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName); | ||
|
||
/** | ||
* Creates or updates a diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 diagnostics package resource. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) | ||
SyncPoller<PollResult<DiagnosticsPackageInner>, DiagnosticsPackageInner> beginCreateOrUpdate( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName, Context context); | ||
|
||
/** | ||
* Creates or updates a diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 diagnostics package resource. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
DiagnosticsPackageInner createOrUpdate( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName); | ||
|
||
/** | ||
* Creates or updates a diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 diagnostics package resource. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
DiagnosticsPackageInner createOrUpdate( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName, Context context); | ||
|
||
/** | ||
* Gets information about the specified diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 information about the specified diagnostics package along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<DiagnosticsPackageInner> getWithResponse( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName, Context context); | ||
|
||
/** | ||
* Gets information about the specified diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 information about the specified diagnostics package. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
DiagnosticsPackageInner get( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName); | ||
|
||
/** | ||
* Deletes the specified diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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> beginDelete( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName); | ||
|
||
/** | ||
* Deletes the specified diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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> beginDelete( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName, Context context); | ||
|
||
/** | ||
* Deletes the specified diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 delete(String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName); | ||
|
||
/** | ||
* Deletes the specified diagnostics package. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @param diagnosticsPackageName The name of the diagnostics package. | ||
* @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 delete( | ||
String resourceGroupName, String packetCoreControlPlaneName, String diagnosticsPackageName, Context context); | ||
|
||
/** | ||
* Lists all the diagnostics packages under a packet core control plane. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @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 response for diagnostics package API service call as paginated response with {@link PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<DiagnosticsPackageInner> listByPacketCoreControlPlane( | ||
String resourceGroupName, String packetCoreControlPlaneName); | ||
|
||
/** | ||
* Lists all the diagnostics packages under a packet core control plane. | ||
* | ||
* @param resourceGroupName The name of the resource group. The name is case insensitive. | ||
* @param packetCoreControlPlaneName The name of the packet core control plane. | ||
* @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 response for diagnostics package API service call as paginated response with {@link PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<DiagnosticsPackageInner> listByPacketCoreControlPlane( | ||
String resourceGroupName, String packetCoreControlPlaneName, Context context); | ||
} |
Oops, something went wrong.