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 f377d9c99f596a40b1171a7c6cb0dbc8752937a6 into fba7ffa9cee6453e2a3cf8c857074a323252a12d
- Loading branch information
SDKAuto
committed
Jun 20, 2023
1 parent
4b13123
commit ac5a4d1
Showing
109 changed files
with
4,125 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.