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 24495 in Azure/azure-rest-api-specs
Merge 7361fa282f6b6dc4c10c6fe107699fbca8913a78 into ef1f47ad91893d6438b0555a916a72f296154703
- Loading branch information
SDKAuto
committed
Aug 22, 2023
1 parent
6bb418a
commit 8e61e98
Showing
118 changed files
with
4,190 additions
and
2,546 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
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
64 changes: 64 additions & 0 deletions
64
...adog/src/main/java/com/azure/resourcemanager/datadog/fluent/CreationSupportedsClient.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.datadog.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.datadog.fluent.models.CreateResourceSupportedResponseInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in CreationSupportedsClient. */ | ||
public interface CreationSupportedsClient { | ||
/** | ||
* Informs if the current subscription is being already monitored for selected Datadog organization. | ||
* | ||
* @param datadogOrganizationId Datadog Organization Id. | ||
* @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 datadog resource can be created or not along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<CreateResourceSupportedResponseInner> listWithResponse(String datadogOrganizationId, Context context); | ||
|
||
/** | ||
* Informs if the current subscription is being already monitored for selected Datadog organization. | ||
* | ||
* @param datadogOrganizationId Datadog Organization Id. | ||
* @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 datadog resource can be created or not. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
CreateResourceSupportedResponseInner list(String datadogOrganizationId); | ||
|
||
/** | ||
* Informs if the current subscription is being already monitored for selected Datadog organization. | ||
* | ||
* @param datadogOrganizationId Datadog Organization Id. | ||
* @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 datadog resource can be created or not along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<CreateResourceSupportedResponseInner> getWithResponse(String datadogOrganizationId, Context context); | ||
|
||
/** | ||
* Informs if the current subscription is being already monitored for selected Datadog organization. | ||
* | ||
* @param datadogOrganizationId Datadog Organization Id. | ||
* @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 datadog resource can be created or not. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
CreateResourceSupportedResponseInner get(String datadogOrganizationId); | ||
} |
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.