Skip to content

Commit 24339a6

Browse files
authored
[Automation] Generate SDK based on TypeSpec 0.30.0 (Azure#45243)
1 parent 2761ec6 commit 24339a6

File tree

53 files changed

+421
-541
lines changed

Some content is hidden

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

53 files changed

+421
-541
lines changed

eng/emitter-package-lock.json

Lines changed: 130 additions & 130 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/emitter-package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-java": "0.29.3"
4+
"@azure-tools/typespec-java": "0.30.0"
55
},
66
"devDependencies": {
7-
"@azure-tools/typespec-autorest": "0.55.0",
8-
"@azure-tools/typespec-azure-core": "0.55.0",
9-
"@azure-tools/typespec-azure-resource-manager": "0.55.0",
10-
"@azure-tools/typespec-azure-rulesets": "0.55.0",
11-
"@azure-tools/typespec-client-generator-core": "0.55.0",
7+
"@azure-tools/typespec-autorest": "0.56.0",
8+
"@azure-tools/typespec-azure-core": "0.56.0",
9+
"@azure-tools/typespec-azure-resource-manager": "0.56.0",
10+
"@azure-tools/typespec-azure-rulesets": "0.56.0",
11+
"@azure-tools/typespec-client-generator-core": "0.56.1",
1212
"@azure-tools/typespec-liftr-base": "0.8.0",
13-
"@typespec/compiler": "1.0.0-rc.1",
14-
"@typespec/http": "1.0.0-rc.1",
15-
"@typespec/openapi": "1.0.0-rc.1",
16-
"@typespec/rest": "0.69.0",
17-
"@typespec/versioning": "0.69.0",
18-
"@typespec/xml": "0.69.0"
13+
"@typespec/compiler": "1.0.0",
14+
"@typespec/http": "1.0.0",
15+
"@typespec/openapi": "1.0.0",
16+
"@typespec/rest": "0.70.0",
17+
"@typespec/versioning": "0.70.0",
18+
"@typespec/xml": "0.70.0"
1919
}
2020
}

sdk/arizeaiobservabilityeval/azure-resourcemanager-arizeaiobservabilityeval/src/main/java/com/azure/resourcemanager/arizeaiobservabilityeval/fluent/models/OperationInner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.IOException;
1616

1717
/**
18+
* REST API Operation
19+
*
1820
* Details of a REST API operation, returned from the Resource Provider Operations API.
1921
*/
2022
@Immutable

sdk/arizeaiobservabilityeval/azure-resourcemanager-arizeaiobservabilityeval/src/main/java/com/azure/resourcemanager/arizeaiobservabilityeval/models/UserAssignedIdentity.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
@Immutable
1818
public final class UserAssignedIdentity implements JsonSerializable<UserAssignedIdentity> {
1919
/*
20-
* The client ID of the assigned identity.
20+
* The principal ID of the assigned identity.
2121
*/
22-
private String clientId;
22+
private String principalId;
2323

2424
/*
25-
* The principal ID of the assigned identity.
25+
* The client ID of the assigned identity.
2626
*/
27-
private String principalId;
27+
private String clientId;
2828

2929
/**
3030
* Creates an instance of UserAssignedIdentity class.
@@ -33,21 +33,21 @@ public UserAssignedIdentity() {
3333
}
3434

3535
/**
36-
* Get the clientId property: The client ID of the assigned identity.
36+
* Get the principalId property: The principal ID of the assigned identity.
3737
*
38-
* @return the clientId value.
38+
* @return the principalId value.
3939
*/
40-
public String clientId() {
41-
return this.clientId;
40+
public String principalId() {
41+
return this.principalId;
4242
}
4343

4444
/**
45-
* Get the principalId property: The principal ID of the assigned identity.
45+
* Get the clientId property: The client ID of the assigned identity.
4646
*
47-
* @return the principalId value.
47+
* @return the clientId value.
4848
*/
49-
public String principalId() {
50-
return this.principalId;
49+
public String clientId() {
50+
return this.clientId;
5151
}
5252

5353
/**
@@ -82,10 +82,10 @@ public static UserAssignedIdentity fromJson(JsonReader jsonReader) throws IOExce
8282
String fieldName = reader.getFieldName();
8383
reader.nextToken();
8484

85-
if ("clientId".equals(fieldName)) {
86-
deserializedUserAssignedIdentity.clientId = reader.getString();
87-
} else if ("principalId".equals(fieldName)) {
85+
if ("principalId".equals(fieldName)) {
8886
deserializedUserAssignedIdentity.principalId = reader.getString();
87+
} else if ("clientId".equals(fieldName)) {
88+
deserializedUserAssignedIdentity.clientId = reader.getString();
8989
} else {
9090
reader.skipChildren();
9191
}

sdk/carbonoptimization/azure-resourcemanager-carbonoptimization/src/main/java/com/azure/resourcemanager/carbonoptimization/fluent/models/OperationInner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.IOException;
1616

1717
/**
18+
* REST API Operation
19+
*
1820
* Details of a REST API operation, returned from the Resource Provider Operations API.
1921
*/
2022
@Immutable

sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/fluent/models/OperationInner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.IOException;
1616

1717
/**
18+
* REST API Operation
19+
*
1820
* Details of a REST API operation, returned from the Resource Provider Operations API.
1921
*/
2022
@Immutable

sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/UserAssignedIdentity.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
@Immutable
1818
public final class UserAssignedIdentity implements JsonSerializable<UserAssignedIdentity> {
1919
/*
20-
* The client ID of the assigned identity.
20+
* The principal ID of the assigned identity.
2121
*/
22-
private String clientId;
22+
private String principalId;
2323

2424
/*
25-
* The principal ID of the assigned identity.
25+
* The client ID of the assigned identity.
2626
*/
27-
private String principalId;
27+
private String clientId;
2828

2929
/**
3030
* Creates an instance of UserAssignedIdentity class.
@@ -33,21 +33,21 @@ public UserAssignedIdentity() {
3333
}
3434

3535
/**
36-
* Get the clientId property: The client ID of the assigned identity.
36+
* Get the principalId property: The principal ID of the assigned identity.
3737
*
38-
* @return the clientId value.
38+
* @return the principalId value.
3939
*/
40-
public String clientId() {
41-
return this.clientId;
40+
public String principalId() {
41+
return this.principalId;
4242
}
4343

4444
/**
45-
* Get the principalId property: The principal ID of the assigned identity.
45+
* Get the clientId property: The client ID of the assigned identity.
4646
*
47-
* @return the principalId value.
47+
* @return the clientId value.
4848
*/
49-
public String principalId() {
50-
return this.principalId;
49+
public String clientId() {
50+
return this.clientId;
5151
}
5252

5353
/**
@@ -82,10 +82,10 @@ public static UserAssignedIdentity fromJson(JsonReader jsonReader) throws IOExce
8282
String fieldName = reader.getFieldName();
8383
reader.nextToken();
8484

85-
if ("clientId".equals(fieldName)) {
86-
deserializedUserAssignedIdentity.clientId = reader.getString();
87-
} else if ("principalId".equals(fieldName)) {
85+
if ("principalId".equals(fieldName)) {
8886
deserializedUserAssignedIdentity.principalId = reader.getString();
87+
} else if ("clientId".equals(fieldName)) {
88+
deserializedUserAssignedIdentity.clientId = reader.getString();
8989
} else {
9090
reader.skipChildren();
9191
}

sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/fluent/models/OperationInner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.IOException;
1616

1717
/**
18+
* REST API Operation
19+
*
1820
* Details of a REST API operation, returned from the Resource Provider Operations API.
1921
*/
2022
@Immutable

sdk/connectedcache/azure-resourcemanager-connectedcache/src/main/java/com/azure/resourcemanager/connectedcache/fluent/models/OperationInner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.IOException;
1616

1717
/**
18+
* REST API Operation
19+
*
1820
* Details of a REST API operation, returned from the Resource Provider Operations API.
1921
*/
2022
@Immutable

sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/OperationInner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
import java.io.IOException;
1616

1717
/**
18+
* REST API Operation
19+
*
1820
* Details of a REST API operation, returned from the Resource Provider Operations API.
1921
*/
2022
@Immutable

0 commit comments

Comments
 (0)