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 16469 in Azure/azure-rest-api-specs
Merge f1ffbc394a92c0bca7607390b3265964f76949d6 into 11cb5c629a836dc99454d85c233405f952b555d8
- Loading branch information
SDKAuto
committed
Oct 20, 2021
1 parent
a980583
commit a433464
Showing
29 changed files
with
1,473 additions
and
7 deletions.
There are no files selected for viewing
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
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
49 changes: 49 additions & 0 deletions
49
...tgrid/src/main/java/com/azure/resourcemanager/eventgrid/fluent/ExtensionTopicsClient.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,49 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.eventgrid.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.eventgrid.fluent.models.ExtensionTopicInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in ExtensionTopicsClient. */ | ||
public interface ExtensionTopicsClient { | ||
/** | ||
* Get the properties of an extension topic. | ||
* | ||
* @param scope The identifier of the resource to which extension topic is queried. The scope can be a subscription, | ||
* or a resource group, or a top level resource belonging to a resource provider namespace. For example, use | ||
* '/subscriptions/{subscriptionId}/' for a subscription, | ||
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and | ||
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' | ||
* for Azure resource. | ||
* @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 properties of an extension topic. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
ExtensionTopicInner get(String scope); | ||
|
||
/** | ||
* Get the properties of an extension topic. | ||
* | ||
* @param scope The identifier of the resource to which extension topic is queried. The scope can be a subscription, | ||
* or a resource group, or a top level resource belonging to a resource provider namespace. For example, use | ||
* '/subscriptions/{subscriptionId}/' for a subscription, | ||
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and | ||
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' | ||
* for Azure resource. | ||
* @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 properties of an extension topic. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<ExtensionTopicInner> getWithResponse(String scope, 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
Oops, something went wrong.