Skip to content

Commit c95e739

Browse files
mgmt, upgrade resources to 2024-11 (Azure#44202)
1 parent 56ecf95 commit c95e739

File tree

80 files changed

+1378
-373
lines changed

Some content is hidden

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

80 files changed

+1378
-373
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@
226226
"dir": "azure-resourcemanager-resources",
227227
"source": "specification/resources/resource-manager/readme.md",
228228
"package": "com.azure.resourcemanager.resources",
229-
"args": "--tag=package-resources-2024-03 --add-inner=Deployment"
229+
"args": "--tag=package-resources-2024-11 --add-inner=Deployment",
230+
"note": "Remove `final` from `ResourceReference`, as it is used as superclass in deploymentstacks."
230231
},
231232
"resources-hybrid": {
232233
"dir": "../resourcemanagerhybrid/azure-resourcemanager-resources",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
### Other Changes
1212

13+
#### Dependency Updates
14+
15+
- Updated `api-version` of resources to `2024-11-01`.
16+
1317
## 2.47.0 (2025-01-24)
1418

1519
### Other Changes

sdk/resourcemanager/azure-resourcemanager-resources/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-resources",
5-
"Tag": "java/resourcemanager/azure-resourcemanager-resources_f8a1e5fca6"
5+
"Tag": "java/resourcemanager/azure-resourcemanager-resources_f8b2a080f4"
66
}

sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluent/TagOperationsClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
import com.azure.core.util.polling.PollerFlux;
1515
import com.azure.core.util.polling.SyncPoller;
1616
import com.azure.resourcemanager.resources.fluent.models.TagDetailsInner;
17-
import com.azure.resourcemanager.resources.fluent.models.TagsResourceInner;
1817
import com.azure.resourcemanager.resources.fluent.models.TagValueInner;
18+
import com.azure.resourcemanager.resources.fluent.models.TagsResourceInner;
1919
import com.azure.resourcemanager.resources.models.TagsPatchResource;
2020
import java.nio.ByteBuffer;
2121
import reactor.core.publisher.Flux;

sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluent/models/ChangeResourceResultInner.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ public final class ChangeResourceResultInner extends ProxyResource {
2323
private ChangeProperties properties;
2424

2525
/*
26-
* Fully qualified resource Id for the resource.
26+
* The type of the resource.
2727
*/
28-
private String id;
28+
private String type;
2929

3030
/*
3131
* The name of the resource.
3232
*/
3333
private String name;
3434

3535
/*
36-
* The type of the resource.
36+
* Fully qualified resource Id for the resource.
3737
*/
38-
private String type;
38+
private String id;
3939

4040
/**
4141
* Creates an instance of ChangeResourceResultInner class.
@@ -64,13 +64,13 @@ public ChangeResourceResultInner withProperties(ChangeProperties properties) {
6464
}
6565

6666
/**
67-
* Get the id property: Fully qualified resource Id for the resource.
67+
* Get the type property: The type of the resource.
6868
*
69-
* @return the id value.
69+
* @return the type value.
7070
*/
7171
@Override
72-
public String id() {
73-
return this.id;
72+
public String type() {
73+
return this.type;
7474
}
7575

7676
/**
@@ -84,13 +84,13 @@ public String name() {
8484
}
8585

8686
/**
87-
* Get the type property: The type of the resource.
87+
* Get the id property: Fully qualified resource Id for the resource.
8888
*
89-
* @return the type value.
89+
* @return the id value.
9090
*/
9191
@Override
92-
public String type() {
93-
return this.type;
92+
public String id() {
93+
return this.id;
9494
}
9595

9696
/**

sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluent/models/DataPolicyManifestInner.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ public final class DataPolicyManifestInner extends ProxyResource {
2626
private DataPolicyManifestProperties innerProperties;
2727

2828
/*
29-
* Fully qualified resource Id for the resource.
29+
* The type of the resource.
3030
*/
31-
private String id;
31+
private String type;
3232

3333
/*
3434
* The name of the resource.
3535
*/
3636
private String name;
3737

3838
/*
39-
* The type of the resource.
39+
* Fully qualified resource Id for the resource.
4040
*/
41-
private String type;
41+
private String id;
4242

4343
/**
4444
* Creates an instance of DataPolicyManifestInner class.
@@ -56,13 +56,13 @@ private DataPolicyManifestProperties innerProperties() {
5656
}
5757

5858
/**
59-
* Get the id property: Fully qualified resource Id for the resource.
59+
* Get the type property: The type of the resource.
6060
*
61-
* @return the id value.
61+
* @return the type value.
6262
*/
6363
@Override
64-
public String id() {
65-
return this.id;
64+
public String type() {
65+
return this.type;
6666
}
6767

6868
/**
@@ -76,13 +76,13 @@ public String name() {
7676
}
7777

7878
/**
79-
* Get the type property: The type of the resource.
79+
* Get the id property: Fully qualified resource Id for the resource.
8080
*
81-
* @return the type value.
81+
* @return the id value.
8282
*/
8383
@Override
84-
public String type() {
85-
return this.type;
84+
public String id() {
85+
return this.id;
8686
}
8787

8888
/**

sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluent/models/DeploymentExtendedInner.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ public final class DeploymentExtendedInner extends Resource {
2424
private DeploymentPropertiesExtended properties;
2525

2626
/*
27-
* Fully qualified resource Id for the resource.
27+
* The type of the resource.
2828
*/
29-
private String id;
29+
private String type;
3030

3131
/*
3232
* The name of the resource.
3333
*/
3434
private String name;
3535

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

4141
/**
4242
* Creates an instance of DeploymentExtendedInner class.
@@ -65,13 +65,13 @@ public DeploymentExtendedInner withProperties(DeploymentPropertiesExtended prope
6565
}
6666

6767
/**
68-
* Get the id property: Fully qualified resource Id for the resource.
68+
* Get the type property: The type of the resource.
6969
*
70-
* @return the id value.
70+
* @return the type value.
7171
*/
7272
@Override
73-
public String id() {
74-
return this.id;
73+
public String type() {
74+
return this.type;
7575
}
7676

7777
/**
@@ -85,13 +85,13 @@ public String name() {
8585
}
8686

8787
/**
88-
* Get the type property: The type of the resource.
88+
* Get the id property: Fully qualified resource Id for the resource.
8989
*
90-
* @return the type value.
90+
* @return the id value.
9191
*/
9292
@Override
93-
public String type() {
94-
return this.type;
93+
public String id() {
94+
return this.id;
9595
}
9696

9797
/**

sdk/resourcemanager/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluent/models/DeploymentStackInner.java

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,24 @@ public final class DeploymentStackInner extends AzureResourceBase {
4747
private DeploymentStackProperties innerProperties;
4848

4949
/*
50-
* Fully qualified resource Id for the resource.
50+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
5151
*/
52-
private String id;
52+
private SystemData systemData;
5353

5454
/*
55-
* The name of the resource.
55+
* The type of the resource.
5656
*/
57-
private String name;
57+
private String type;
5858

5959
/*
60-
* The type of the resource.
60+
* The name of the resource.
6161
*/
62-
private String type;
62+
private String name;
6363

6464
/*
65-
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
65+
* Fully qualified resource Id for the resource.
6666
*/
67-
private SystemData systemData;
67+
private String id;
6868

6969
/**
7070
* Creates an instance of DeploymentStackInner class.
@@ -124,43 +124,43 @@ private DeploymentStackProperties innerProperties() {
124124
}
125125

126126
/**
127-
* Get the id property: Fully qualified resource Id for the resource.
127+
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
128128
*
129-
* @return the id value.
129+
* @return the systemData value.
130130
*/
131131
@Override
132-
public String id() {
133-
return this.id;
132+
public SystemData systemData() {
133+
return this.systemData;
134134
}
135135

136136
/**
137-
* Get the name property: The name of the resource.
137+
* Get the type property: The type of the resource.
138138
*
139-
* @return the name value.
139+
* @return the type value.
140140
*/
141141
@Override
142-
public String name() {
143-
return this.name;
142+
public String type() {
143+
return this.type;
144144
}
145145

146146
/**
147-
* Get the type property: The type of the resource.
147+
* Get the name property: The name of the resource.
148148
*
149-
* @return the type value.
149+
* @return the name value.
150150
*/
151151
@Override
152-
public String type() {
153-
return this.type;
152+
public String name() {
153+
return this.name;
154154
}
155155

156156
/**
157-
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
157+
* Get the id property: Fully qualified resource Id for the resource.
158158
*
159-
* @return the systemData value.
159+
* @return the id value.
160160
*/
161161
@Override
162-
public SystemData systemData() {
163-
return this.systemData;
162+
public String id() {
163+
return this.id;
164164
}
165165

166166
/**
@@ -534,7 +534,6 @@ public DeploymentStackInner withError(ManagementError error) {
534534
*/
535535
@Override
536536
public void validate() {
537-
super.validate();
538537
if (innerProperties() != null) {
539538
innerProperties().validate();
540539
}

0 commit comments

Comments
 (0)