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 5a30f63a0cf54c0868c03599763cd2c218273ec0 into 1e56b6fbe36e2dcbaccd342f108b7c6efb175181
- Loading branch information
SDKAuto
committed
Jul 20, 2023
1 parent
21d71f7
commit 3a54c62
Showing
112 changed files
with
4,161 additions
and
2,528 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.