Skip to content

Commit 0f81bc6

Browse files
authored
mgmt, local generation for ContainerRegistry - 2025-04-01 (#45438)
* generate codes * update changelog * fix ci analyze exception * fix record session
1 parent 5e96016 commit 0f81bc6

File tree

128 files changed

+6023
-387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+6023
-387
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@
761761
"ignore": true,
762762
"code": "java.method.visibilityIncreased",
763763
"old": "method <T> reactor.core.publisher.Mono<com.azure.core.http.rest.Response<T>> com.azure.search.documents.SearchAsyncClient::getDocumentWithResponse(java.lang.String, java.lang.Class<T>, java.util.List<java.lang.String>, com.azure.core.util.Context)",
764-
"justification": "Non-breaking change in Search 05-01-2025 preview to package-private api."
764+
"justification": "Non-breaking change in Search 05-01-2025 preview to package-private api."
765765
},
766766
{
767767
"ignore": true,
@@ -798,6 +798,12 @@
798798
"regex": true,
799799
"code": "java\\.method\\.varargOverloadsOnlyDifferInVarargParameter",
800800
"old": "method com\\.azure\\.communication\\.email\\.models\\.EmailMessage com\\.azure\\.communication\\.email\\.models\\.EmailMessage::set(Cc|Bcc|To)Recipients.*"
801+
},
802+
{
803+
"ignore": true,
804+
"code" : "java.method.removed",
805+
"old" : "method com.azure.resourcemanager.containerregistry.models.RegistryNameCheckRequest com.azure.resourcemanager.containerregistry.models.RegistryNameCheckRequest::withType(java.lang.String)",
806+
"justification" : "The property is a constant, which should not be changed."
801807
}
802808
]
803809
}

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"dir": "azure-resourcemanager-containerregistry",
5959
"source": "specification/containerregistry/resource-manager/readme.md",
6060
"package": "com.azure.resourcemanager.containerregistry",
61-
"args": "--tag=package-2023-07 --modelerfour.lenient-model-deduplication=true --enable-sync-stack=false"
61+
"args": "--tag=package-2025-04 --modelerfour.lenient-model-deduplication=true --enable-sync-stack=false"
6262
},
6363
"containerregistry-hybrid": {
6464
"dir": "../resourcemanagerhybrid/azure-resourcemanager-containerregistry",

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

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

5-
### Features Added
6-
7-
### Breaking Changes
5+
### Other Changes
86

9-
### Bugs Fixed
7+
#### Dependency Updates
108

11-
### Other Changes
9+
- Updated `api-version` to `2025-04-01`.
1210

1311
## 2.50.0 (2025-04-24)
1412

sdk/resourcemanager/azure-resourcemanager-containerregistry/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "java",
44
"TagPrefix": "java/resourcemanager/azure-resourcemanager-containerregistry",
5-
"Tag": "java/resourcemanager/azure-resourcemanager-containerregistry_c7a0288b18"
5+
"Tag": "java/resourcemanager/azure-resourcemanager-containerregistry_488cd10763"
66
}

sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/fluent/ConnectedRegistriesClient.java

Lines changed: 595 additions & 0 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/fluent/ContainerRegistryManagementClient.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public interface ContainerRegistryManagementClient {
4646
*/
4747
CacheRulesClient getCacheRules();
4848

49+
/**
50+
* Gets the ConnectedRegistriesClient object to access its operations.
51+
*
52+
* @return the ConnectedRegistriesClient object.
53+
*/
54+
ConnectedRegistriesClient getConnectedRegistries();
55+
4956
/**
5057
* Gets the CredentialSetsClient object to access its operations.
5158
*

sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/fluent/models/AgentPoolInner.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ public final class AgentPoolInner extends Resource {
3232
private SystemData systemData;
3333

3434
/*
35-
* Fully qualified resource Id for the resource.
35+
* The type of the resource.
3636
*/
37-
private String id;
37+
private String type;
3838

3939
/*
4040
* The name of the resource.
4141
*/
4242
private String name;
4343

4444
/*
45-
* The type of the resource.
45+
* Fully qualified resource Id for the resource.
4646
*/
47-
private String type;
47+
private String id;
4848

4949
/**
5050
* Creates an instance of AgentPoolInner class.
@@ -71,13 +71,13 @@ public SystemData systemData() {
7171
}
7272

7373
/**
74-
* Get the id property: Fully qualified resource Id for the resource.
74+
* Get the type property: The type of the resource.
7575
*
76-
* @return the id value.
76+
* @return the type value.
7777
*/
7878
@Override
79-
public String id() {
80-
return this.id;
79+
public String type() {
80+
return this.type;
8181
}
8282

8383
/**
@@ -91,13 +91,13 @@ public String name() {
9191
}
9292

9393
/**
94-
* Get the type property: The type of the resource.
94+
* Get the id property: Fully qualified resource Id for the resource.
9595
*
96-
* @return the type value.
96+
* @return the id value.
9797
*/
9898
@Override
99-
public String type() {
100-
return this.type;
99+
public String id() {
100+
return this.id;
101101
}
102102

103103
/**

sdk/resourcemanager/azure-resourcemanager-containerregistry/src/main/java/com/azure/resourcemanager/containerregistry/fluent/models/CacheRuleInner.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ public final class CacheRuleInner extends ProxyResource {
3030
private SystemData systemData;
3131

3232
/*
33-
* Fully qualified resource Id for the resource.
33+
* The type of the resource.
3434
*/
35-
private String id;
35+
private String type;
3636

3737
/*
3838
* The name of the resource.
3939
*/
4040
private String name;
4141

4242
/*
43-
* The type of the resource.
43+
* Fully qualified resource Id for the resource.
4444
*/
45-
private String type;
45+
private String id;
4646

4747
/**
4848
* Creates an instance of CacheRuleInner class.
@@ -69,13 +69,13 @@ public SystemData systemData() {
6969
}
7070

7171
/**
72-
* Get the id property: Fully qualified resource Id for the resource.
72+
* Get the type property: The type of the resource.
7373
*
74-
* @return the id value.
74+
* @return the type value.
7575
*/
7676
@Override
77-
public String id() {
78-
return this.id;
77+
public String type() {
78+
return this.type;
7979
}
8080

8181
/**
@@ -89,13 +89,13 @@ public String name() {
8989
}
9090

9191
/**
92-
* Get the type property: The type of the resource.
92+
* Get the id property: Fully qualified resource Id for the resource.
9393
*
94-
* @return the type value.
94+
* @return the id value.
9595
*/
9696
@Override
97-
public String type() {
98-
return this.type;
97+
public String id() {
98+
return this.id;
9999
}
100100

101101
/**

0 commit comments

Comments
 (0)