Skip to content

Commit f231699

Browse files
authored
Merge branch 'main' into securitycontext-lease-only
2 parents e3be023 + 9ee5902 commit f231699

84 files changed

Lines changed: 3 additions & 541 deletions

File tree

Some content is hidden

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

specification/advisor/resource-manager/Microsoft.Advisor/Advisor/back-compatible.tsp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@ using Azure.ClientGenerator.Core;
44
using Microsoft.Advisor;
55

66
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
7-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
87
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(ConfigData.properties);
98

109
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
11-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
1210
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
1311
PredictionRequest.properties
1412
);
1513

1614
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
17-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
1815
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
1916
PredictionResponse.properties
2017
);
@@ -46,7 +43,6 @@ using Microsoft.Advisor;
4643
"!csharp"
4744
);
4845
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
49-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
5046
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
5147
ResourceRecommendationBase.properties
5248
);
@@ -60,21 +56,18 @@ using Microsoft.Advisor;
6056
);
6157
@@clientLocation(SuppressionContracts.delete, "Suppressions", "!csharp");
6258
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
63-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
6459
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
6560
SuppressionContract.properties
6661
);
6762

6863
@@clientLocation(MetadataEntities.get, "RecommendationMetadata", "!csharp");
6964
@@clientLocation(MetadataEntities.list, "RecommendationMetadata", "!csharp");
7065
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
71-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
7266
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(MetadataEntity.properties);
7367

7468
@@clientLocation(AdvisorScoreEntities.get, "AdvisorScores", "!csharp");
7569
@@clientLocation(AdvisorScoreEntities.list, "AdvisorScores", "!csharp");
7670
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
77-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
7871
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
7972
AdvisorScoreEntity.properties
8073
);
@@ -89,15 +82,13 @@ using Microsoft.Advisor;
8982
@@clientLocation(AssessmentResults.delete, "Assessments", "!csharp");
9083
@@clientLocation(AssessmentResults.list, "Assessments", "!csharp");
9184
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
92-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
9385
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
9486
AssessmentResult.properties
9587
);
9688

9789
@@clientLocation(ResiliencyReviews.get, "resiliencyReviews", "!csharp");
9890
@@clientLocation(ResiliencyReviews.list, "resiliencyReviews", "!csharp");
9991
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
100-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
10192
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
10293
ResiliencyReview.properties
10394
);
@@ -129,15 +120,13 @@ using Microsoft.Advisor;
129120
"!csharp"
130121
);
131122
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
132-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
133123
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
134124
TriageRecommendation.properties
135125
);
136126

137127
@@clientLocation(TriageResources.get, "triageResources", "!csharp");
138128
@@clientLocation(TriageResources.list, "triageResources", "!csharp");
139129
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
140-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
141130
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(TriageResource.properties);
142131

143132
@@clientLocation(

specification/apimanagement/resource-manager/Microsoft.ApiManagement/ApiManagement/NotificationContract.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ interface WorkspaceNotification {
496496
* Removes the API Management user from the list of Notification.
497497
*/
498498
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
499-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
500499
@delete
501500
delete(...WorkspaceNotificationRecipientUserParameters):
502501
| OkResponse

specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/AppConfiguration/back-compatible.tsp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ using Azure.ClientGenerator.Core;
44
using Microsoft.AppConfiguration;
55

66
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
7-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
87
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
98
PrivateEndpointConnectionReference.properties
109
);
1110

1211
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
13-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
1412
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
1513
ConfigurationStoreUpdateParameters.properties
1614
);
@@ -28,7 +26,6 @@ using Microsoft.AppConfiguration;
2826
"regenerateKeyParameters"
2927
);
3028
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
31-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
3229
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
3330
ConfigurationStore.properties
3431
);
@@ -38,13 +35,11 @@ using Microsoft.AppConfiguration;
3835
"privateEndpointConnection"
3936
);
4037
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
41-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
4238
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
4339
PrivateEndpointConnection.properties
4440
);
4541

4642
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
47-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
4843
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
4944
PrivateLinkResource.properties
5045
);
@@ -54,25 +49,21 @@ using Microsoft.AppConfiguration;
5449
"keyValueParameters"
5550
);
5651
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
57-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
5852
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(KeyValue.properties);
5953

6054
@@clientLocation(DeletedConfigurationStores.getDeleted, ConfigurationStores);
6155
@@clientLocation(DeletedConfigurationStores.purgeDeleted, ConfigurationStores);
6256
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
63-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
6457
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
6558
DeletedConfigurationStore.properties
6659
);
6760

6861
@@clientName(Replicas.create::parameters.resource, "replicaCreationParameters");
6962
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
70-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
7163
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Replica.properties);
7264

7365
@@clientName(Snapshots.create::parameters.resource, "body");
7466
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "@flattenProperty decorator is not recommended to use."
75-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
7667
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(Snapshot.properties);
7768

7869
@@clientLocation(

specification/billing/resource-manager/Microsoft.Billing/Billing/PartnerTransferDetails.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ model PartnerTransferDetails
3030
*/
3131
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3232
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
33-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3433
tags?: Record<string>;
3534
}
3635

specification/billing/resource-manager/Microsoft.Billing/Billing/models.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3310,15 +3310,13 @@ model PaymentOnAccount {
33103310
*/
33113311
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
33123312
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3313-
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
33143313
model PaymentOnAccountAmount extends Amount {}
33153314

33163315
/**
33173316
* Total amount of payments on accounts.
33183317
*/
33193318
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
33203319
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
3321-
#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
33223320
model AvailableBalancePropertiesTotalPaymentsOnAccount extends Amount {}
33233321

33243322
/**

specification/botservice/resource-manager/Microsoft.BotService/BotService/back-compatible.tsp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ using Azure.ClientGenerator.Core;
44
using Microsoft.BotService;
55

66
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
7-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
87
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
98
PrivateLinkResource.properties
109
);
@@ -17,7 +16,6 @@ using Microsoft.BotService;
1716
"properties"
1817
);
1918
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
20-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
2119
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
2220
PrivateEndpointConnection.properties
2321
);

specification/cdn/resource-manager/Microsoft.Cdn/Cdn/models.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2700,7 +2700,6 @@ model AFDDomainUpdatePropertiesParameters {
27002700
* The JSON object that contains the properties to secure a domain.
27012701
*/
27022702
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
2703-
#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
27042703
model AFDDomainHttpsParameters {
27052704
/**
27062705
* Defines the source of the SSL certificate.

specification/chaos/resource-manager/Microsoft.Chaos/Chaos/client.tsp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,49 +108,41 @@ using Microsoft.Chaos;
108108
);
109109

110110
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
111-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
112111
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
113112
Experiment.properties,
114113
"!javascript"
115114
);
116115
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
117-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
118116
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
119117
ExperimentExecution.properties,
120118
"!javascript"
121119
);
122120
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
123-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
124121
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
125122
TargetType.properties,
126123
"!javascript"
127124
);
128125
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
129-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
130126
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
131127
Capability.properties,
132128
"!javascript"
133129
);
134130
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
135-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
136131
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
137132
CapabilityType.properties,
138133
"!javascript"
139134
);
140135
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
141-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
142136
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
143137
ExperimentExecutionDetails.properties,
144138
"!javascript"
145139
);
146140
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
147-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
148141
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
149142
Action.properties,
150143
"!javascript"
151144
);
152145
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "property flatten for SDK backward compatibility"
153-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
154146
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
155147
ActionVersion.properties,
156148
"!javascript"

specification/codesigning/CodeSigning.Management/back-compatible.tsp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,24 @@ import "@azure-tools/typespec-azure-resource-manager";
44
using Microsoft.CodeSigning;
55

66
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
7-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
87
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
98
CertificateProfile.properties,
109
"!javascript"
1110
);
1211

1312
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
14-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
1513
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
1614
CodeSigningAccount.properties,
1715
"!javascript"
1816
);
1917

2018
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
21-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
2219
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
2320
CodeSigningAccountPatch.properties,
2421
"!javascript"
2522
);
2623

2724
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
28-
#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Back compatibility"
2925
@@Azure.ClientGenerator.Core.Legacy.flattenProperty(
3026
Certificate.revocation,
3127
"!javascript"

0 commit comments

Comments
 (0)