Skip to content

Commit

Permalink
CodeGen from PR 14765 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 3745e3f0bb86183e2f11d626e40afaafce1780d8 into c2dce10efdbaffe9358eadb14791a0bcbcabbcb5
  • Loading branch information
SDKAuto committed Jun 10, 2021
1 parent cfc40f8 commit 7fc6d5b
Show file tree
Hide file tree
Showing 33 changed files with 115 additions and 2,467 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2021-06-10)

- Azure Resource Manager ResourceGraph client library for Java. This package contains Microsoft Azure SDK for ResourceGraph Management SDK. Azure Resource Graph API Reference. Package tag package-preview-2021-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## 1.0.0-beta.2 (2021-05-24)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager ResourceGraph client library for Java.

This package contains Microsoft Azure SDK for ResourceGraph Management SDK. Azure Resource Graph API Reference. Package tag package-preview-2021-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for ResourceGraph Management SDK. Azure Resource Graph API Reference. Package tag package-preview-2021-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-resourcegraph</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for ResourceGraph Management</name>
<description>This package contains Microsoft Azure SDK for ResourceGraph Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Resource Graph API Reference. Package tag package-preview-2021-03.</description>
<description>This package contains Microsoft Azure SDK for ResourceGraph Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Resource Graph API Reference. Package tag package-preview-2021-06.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public ResourceGraphManager authenticate(TokenCredential credential, AzureProfil
.append("-")
.append("com.azure.resourcemanager.resourcegraph")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ public interface ResourceGraphClient {
*/
String getEndpoint();

/**
* Gets Api Version.
*
* @return the apiVersion value.
*/
String getApiVersion();

/**
* Gets The HTTP pipeline to send requests through.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,68 +9,10 @@
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.resourcegraph.fluent.models.QueryResponseInner;
import com.azure.resourcemanager.resourcegraph.fluent.models.ResourceChangeDataInner;
import com.azure.resourcemanager.resourcegraph.fluent.models.ResourceChangeListInner;
import com.azure.resourcemanager.resourcegraph.models.QueryRequest;
import com.azure.resourcemanager.resourcegraph.models.ResourceChangeDetailsRequestParameters;
import com.azure.resourcemanager.resourcegraph.models.ResourceChangesRequestParameters;
import com.azure.resourcemanager.resourcegraph.models.ResourcesHistoryRequest;
import java.util.List;

/** An instance of this class provides access to all the operations defined in ResourceProvidersClient. */
public interface ResourceProvidersClient {
/**
* List changes to a resource for a given time interval.
*
* @param parameters the parameters for this request for changes.
* @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 a list of changes associated with a resource over a specific time interval.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ResourceChangeListInner resourceChanges(ResourceChangesRequestParameters parameters);

/**
* List changes to a resource for a given time interval.
*
* @param parameters the parameters for this request for changes.
* @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 a list of changes associated with a resource over a specific time interval.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<ResourceChangeListInner> resourceChangesWithResponse(
ResourceChangesRequestParameters parameters, Context context);

/**
* Get resource change details.
*
* @param parameters The parameters for this request for resource change details.
* @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 resource change details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
List<ResourceChangeDataInner> resourceChangeDetails(ResourceChangeDetailsRequestParameters parameters);

/**
* Get resource change details.
*
* @param parameters The parameters for this request for resource change details.
* @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 resource change details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<List<ResourceChangeDataInner>> resourceChangeDetailsWithResponse(
ResourceChangeDetailsRequestParameters parameters, Context context);

/**
* Queries the resources managed by Azure Resource Manager for scopes specified in the request.
*
Expand All @@ -95,29 +37,4 @@ Response<List<ResourceChangeDataInner>> resourceChangeDetailsWithResponse(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<QueryResponseInner> resourcesWithResponse(QueryRequest query, Context context);

/**
* List all snapshots of a resource for a given time interval.
*
* @param request The request parameter.
* @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 any object.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Object resourcesHistory(ResourcesHistoryRequest request);

/**
* List all snapshots of a resource for a given time interval.
*
* @param request The request parameter.
* @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 any object.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Object> resourcesHistoryWithResponse(ResourcesHistoryRequest request, Context context);
}

This file was deleted.

Loading

0 comments on commit 7fc6d5b

Please sign in to comment.