Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"dir": "azure-resourcemanager-resources",
"source": "specification/resources/resource-manager/readme.md",
"package": "com.azure.resourcemanager.resources",
"args": "--tag=package-features-2015-12"
"args": "--tag=package-features-2021-07"
},
"graphrbac": {
"spec": "https://raw.githubusercontent.com/Azure/azure-sdk-for-java/main/sdk/resourcemanager",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Release History

## 2.7.0-beta.1 (Unreleased)

### Dependency Updates

- Updated `api-version` to `2021-04-01`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## 2.7.0-beta.1 (Unreleased)

### Dependency Updates

- Updated `api-version` of features to `2021-07-01`.

### Features Added

- Added support for `resourceProviderName` and `featureName` in `Feature`.

## 2.6.0 (2021-06-18)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/** The interface for FeatureClient class. */
public interface FeatureClient {
/**
* Gets The ID of the target subscription.
* Gets The Azure subscription ID.
*
* @return the subscriptionId value.
*/
Expand Down Expand Up @@ -57,6 +57,13 @@ public interface FeatureClient {
*/
FeaturesClient getFeatures();

/**
* Gets the SubscriptionFeatureRegistrationsClient object to access its operations.
*
* @return the SubscriptionFeatureRegistrationsClient object.
*/
SubscriptionFeatureRegistrationsClient getSubscriptionFeatureRegistrations();

/**
* Lists all of the available Microsoft.Features REST API operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,58 +140,53 @@ Response<ResourceGroupInner> createOrUpdateWithResponse(
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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 completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
String resourceGroupName, String forceDeletionResourceTypes);
Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String forceDeletionTypes);

/**
* When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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 completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String forceDeletionResourceTypes);
PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String forceDeletionTypes);

/**
* When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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 completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String forceDeletionResourceTypes);
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String forceDeletionTypes);

/**
* When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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.
Expand All @@ -200,23 +195,22 @@ Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SyncPoller<PollResult<Void>, Void> beginDelete(
String resourceGroupName, String forceDeletionResourceTypes, Context context);
String resourceGroupName, String forceDeletionTypes, Context context);

/**
* When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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 completion.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Void> deleteAsync(String resourceGroupName, String forceDeletionResourceTypes);
Mono<Void> deleteAsync(String resourceGroupName, String forceDeletionTypes);

/**
* When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of
Expand All @@ -236,15 +230,14 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String forceDeletionResourceTypes);
void delete(String resourceGroupName, String forceDeletionTypes);

/**
* When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of
Expand All @@ -263,16 +256,15 @@ SyncPoller<PollResult<Void>, Void> beginDelete(
* its template deployments and currently stored operations.
*
* @param resourceGroupName The name of the resource group to delete. The name is case insensitive.
* @param forceDeletionResourceTypes The resource types you want to force delete. Currently, only the following is
* supported:
* forceDeletionResourceTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @param forceDeletionTypes The resource types you want to force delete. Currently, only the following is
* supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String forceDeletionResourceTypes, Context context);
void delete(String resourceGroupName, String forceDeletionTypes, Context context);

/**
* Gets a resource group.
Expand Down
Loading