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 b3787774f5f07ba4c3647832d2b882a25611d11a into 88df06144633273e2bb5d8e48a790e3c460887be
- Loading branch information
SDKAuto
committed
Sep 19, 2023
1 parent
fadb0ea
commit 5729c06
Showing
120 changed files
with
4,336 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
65 changes: 65 additions & 0 deletions
65
...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,65 @@ | ||
// 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.PagedIterable; | ||
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. | ||
* @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 paginated response with {@link PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<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 the paginated response with {@link PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<CreateResourceSupportedResponseInner> list(String datadogOrganizationId, Context context); | ||
|
||
/** | ||
* 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.