Skip to content

Commit c22ea56

Browse files
authored
mgmt, local generation for Storage - 2024-01-01 (Azure#45027)
* generate codes * update changelog.md * fix for comments. * fix ci analyze exception * fix comments
1 parent 4985e98 commit c22ea56

File tree

13 files changed

+69
-67
lines changed

13 files changed

+69
-67
lines changed

eng/code-quality-reports/src/main/resources/revapi/revapi.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,13 @@
756756
"old" : "method void com.azure.search.documents.indexes.models.SearchResourceEncryptionKey::<init>(java.lang.String, java.lang.String, java.lang.String)",
757757
"new" : "method void com.azure.search.documents.indexes.models.SearchResourceEncryptionKey::<init>(java.lang.String, java.lang.String)",
758758
"justification": "Breaking change in Search 03-01-2025 preview."
759+
},
760+
{
761+
"regex": true,
762+
"code" : "java.field.enumConstantOrderChanged",
763+
"old" : "field com\\.azure\\.resourcemanager\\.storage\\.models\\.ProvisioningState\\.(CANCELED|DELETING|FAILED)",
764+
"new" : "field com\\.azure\\.resourcemanager\\.storage\\.models\\.ProvisioningState\\.(CANCELED|DELETING|FAILED)",
765+
"justification": "Add Accepted to ProvisioningState."
759766
}
760767
]
761768
}

sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22

33
## 2.50.0-beta.1 (Unreleased)
44

5-
### Features Added
6-
75
### Breaking Changes
86

9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added `Accepted` to `ProvisioningState` enum.
128

139
## 2.49.0 (2025-03-28)
1410

sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageAccountsClient.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ ListServiceSasResponseInner listServiceSas(String resourceGroupName, String acco
823823
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
824824
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
825825
* to 'Planned'. Learn more about the failover options here-
826-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
826+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
827827
*
828828
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
829829
* insensitive.
@@ -848,7 +848,7 @@ Mono<Response<Flux<ByteBuffer>>> failoverWithResponseAsync(String resourceGroupN
848848
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
849849
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
850850
* to 'Planned'. Learn more about the failover options here-
851-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
851+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
852852
*
853853
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
854854
* insensitive.
@@ -873,7 +873,7 @@ PollerFlux<PollResult<Void>, Void> beginFailoverAsync(String resourceGroupName,
873873
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
874874
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
875875
* to 'Planned'. Learn more about the failover options here-
876-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
876+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
877877
*
878878
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
879879
* insensitive.
@@ -896,7 +896,7 @@ PollerFlux<PollResult<Void>, Void> beginFailoverAsync(String resourceGroupName,
896896
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
897897
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
898898
* to 'Planned'. Learn more about the failover options here-
899-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
899+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
900900
*
901901
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
902902
* insensitive.
@@ -919,7 +919,7 @@ PollerFlux<PollResult<Void>, Void> beginFailoverAsync(String resourceGroupName,
919919
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
920920
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
921921
* to 'Planned'. Learn more about the failover options here-
922-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
922+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
923923
*
924924
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
925925
* insensitive.
@@ -945,7 +945,7 @@ SyncPoller<PollResult<Void>, Void> beginFailover(String resourceGroupName, Strin
945945
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
946946
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
947947
* to 'Planned'. Learn more about the failover options here-
948-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
948+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
949949
*
950950
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
951951
* insensitive.
@@ -969,7 +969,7 @@ SyncPoller<PollResult<Void>, Void> beginFailover(String resourceGroupName, Strin
969969
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
970970
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
971971
* to 'Planned'. Learn more about the failover options here-
972-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
972+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
973973
*
974974
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
975975
* insensitive.
@@ -992,7 +992,7 @@ SyncPoller<PollResult<Void>, Void> beginFailover(String resourceGroupName, Strin
992992
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
993993
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
994994
* to 'Planned'. Learn more about the failover options here-
995-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
995+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
996996
*
997997
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
998998
* insensitive.
@@ -1014,7 +1014,7 @@ SyncPoller<PollResult<Void>, Void> beginFailover(String resourceGroupName, Strin
10141014
* only available while the primary and secondary endpoints are available. The primary use case of a Planned
10151015
* Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
10161016
* to 'Planned'. Learn more about the failover options here-
1017-
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance.
1017+
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance.
10181018
*
10191019
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
10201020
* insensitive.

sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageTaskAssignmentInstancesReportsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public interface StorageTaskAssignmentInstancesReportsClient {
2929
* the list response.
3030
* @param filter Optional. When specified, it can be used to query using reporting properties. See [Constructing
3131
* Filter
32-
* Strings](https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
32+
* Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
3333
* for details.
3434
* @throws IllegalArgumentException thrown if parameters fail the validation.
3535
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -89,7 +89,7 @@ PagedIterable<StorageTaskReportInstanceInner> list(String resourceGroupName, Str
8989
* the list response.
9090
* @param filter Optional. When specified, it can be used to query using reporting properties. See [Constructing
9191
* Filter
92-
* Strings](https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
92+
* Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
9393
* for details.
9494
* @param context The context to associate with this operation.
9595
* @throws IllegalArgumentException thrown if parameters fail the validation.

sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageTaskAssignmentsInstancesReportsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public interface StorageTaskAssignmentsInstancesReportsClient {
2626
* the list response.
2727
* @param filter Optional. When specified, it can be used to query using reporting properties. See [Constructing
2828
* Filter
29-
* Strings](https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
29+
* Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
3030
* for details.
3131
* @throws IllegalArgumentException thrown if parameters fail the validation.
3232
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -75,7 +75,7 @@ PagedFlux<StorageTaskReportInstanceInner> listAsync(String resourceGroupName, St
7575
* the list response.
7676
* @param filter Optional. When specified, it can be used to query using reporting properties. See [Constructing
7777
* Filter
78-
* Strings](https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
78+
* Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings)
7979
* for details.
8080
* @param context The context to associate with this operation.
8181
* @throws IllegalArgumentException thrown if parameters fail the validation.

sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ManagementPolicyInner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public OffsetDateTime lastModifiedTime() {
9494

9595
/**
9696
* Get the policy property: The Storage Account ManagementPolicy, in JSON format. See more details in:
97-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
97+
* https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.
9898
*
9999
* @return the policy value.
100100
*/
@@ -104,7 +104,7 @@ public ManagementPolicySchema policy() {
104104

105105
/**
106106
* Set the policy property: The Storage Account ManagementPolicy, in JSON format. See more details in:
107-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
107+
* https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.
108108
*
109109
* @param policy the policy value to set.
110110
* @return the ManagementPolicyInner object itself.

sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ManagementPolicyProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public final class ManagementPolicyProperties implements JsonSerializable<Manage
2727

2828
/*
2929
* The Storage Account ManagementPolicy, in JSON format. See more details in:
30-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
30+
* https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.
3131
*/
3232
private ManagementPolicySchema policy;
3333

@@ -48,7 +48,7 @@ public OffsetDateTime lastModifiedTime() {
4848

4949
/**
5050
* Get the policy property: The Storage Account ManagementPolicy, in JSON format. See more details in:
51-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
51+
* https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.
5252
*
5353
* @return the policy value.
5454
*/
@@ -58,7 +58,7 @@ public ManagementPolicySchema policy() {
5858

5959
/**
6060
* Set the policy property: The Storage Account ManagementPolicy, in JSON format. See more details in:
61-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
61+
* https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.
6262
*
6363
* @param policy the policy value to set.
6464
* @return the ManagementPolicyProperties object itself.

0 commit comments

Comments
 (0)