Skip to content

Commit ebc2cf6

Browse files
m-nashazure-sdkannelo-msft
authored
fix autorest autogenerated pr (Azure#25913)
* Update AutoRest C# version to 3.0.0-beta.20211213.3 * configuration flag change * additional setup files * regen agrifood * regen confidential ledger * regen purview account * regen purview admin * regen purview catalog * regen purview scanning * regen synapse * regen template * regen webpubsub * update api Co-authored-by: azure-sdk <[email protected]> Co-authored-by: Anne Thompson <[email protected]>
1 parent c02daad commit ebc2cf6

File tree

80 files changed

+8779
-2636
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

+8779
-2636
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
All should have PrivateAssets="All" set so they don't become package dependencies
147147
-->
148148
<ItemGroup>
149-
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20211210.4" PrivateAssets="All" />
149+
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20211213.3" PrivateAssets="All" />
150150
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20210903.4" PrivateAssets="All" />
151151
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
152152
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />

sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
66
title: FarmBeats
77
input-file: https://github.com/Azure/azure-rest-api-specs/blob/683e3f4849ee1d84629d0d0fa17789e80a9cee08/specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/agfood.json
88
namespace: Azure.Verticals.AgriFood.Farming
9-
low-level-client: true
9+
data-plane: true
1010
security: AADToken
1111
security-scopes: https://farmbeats.azure.net/.default
1212
```

sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ batch:
1515
# TODO: Uncomment when we ship authoring support and remove ./ConversationsClientOptions.cs.
1616
# - input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/33138867cd88a4a8689feb591a98dda26d96a63e/specification/cognitiveservices/data-plane/Language/preview/2021-07-15-preview/analyzeconversations-authoring.json
1717
# add-credentials: true
18-
# low-level-client: true
18+
# data-plane: true
1919

2020
modelerfour:
2121
lenient-model-deduplication: true

sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ batch:
1515
# TODO: Uncomment when we ship authoring support and remove ./QuestionAnsweringClientOptions.cs.
1616
# - input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/34a2c0723155d134311419fd997925ce96b85bec/specification/cognitiveservices/data-plane/Language/stable/2021-10-01/questionanswering-authoring.json
1717
# add-credentials: true
18-
# low-level-client: true
18+
# data-plane: true
1919

2020
modelerfour:
2121
lenient-model-deduplication: true

sdk/confidentialledger/Azure.Security.ConfidentialLedger/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: ConfidentialLedger
77
namespace: Azure.Security.ConfidentialLedger
88
security: AADToken
99
security-scopes: "https://confidential-ledger.azure.com/.default"
10-
low-level-client: true
10+
data-plane: true
1111
input-file:
1212
- https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/common.json
1313
- https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/confidentialledger.json

sdk/purview/Azure.Analytics.Purview.Account/src/autorest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
66
title: PurviewAccount
77
input-file: https://github.com/Azure/azure-rest-api-specs/blob/b2bddfe2e59b5b14e559e0433b6e6d057bcff95d/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json
88
namespace: Azure.Analytics.Purview.Account
9-
low-level-client: true
9+
data-plane: true
1010
security: AADToken
1111
security-scopes: https://purview.azure.net/.default
1212
```
@@ -57,4 +57,4 @@ directive:
5757
};
5858
5959
$.operationId = (mappingTable[$.operationId] ?? $.operationId);
60-
```
60+
```

sdk/purview/Azure.Analytics.Purview.Administration/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ input-file:
88
- https://github.com/Azure/azure-rest-api-specs/blob/b2bddfe2e59b5b14e559e0433b6e6d057bcff95d/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json
99
- https://github.com/Azure/azure-rest-api-specs/blob/1424fc4a1f82af852a626c6ab6d1d296b5fe4df1/specification/purview/data-plane/Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01/purviewMetadataPolicy.json
1010
namespace: Azure.Analytics.Purview.Administration
11-
low-level-client: true
11+
data-plane: true
1212
modelerfour:
1313
lenient-model-deduplication: true
1414
security: AADToken

sdk/purview/Azure.Analytics.Purview.Catalog/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
66
title: PurviewCatalog
77
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d23ad89e8c3e98c4f941fd9ec3db6ab39951a494/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json
88
namespace: Azure.Analytics.Purview.Catalog
9-
low-level-client: true
9+
data-plane: true
1010
security: AADToken
1111
security-scopes: https://purview.azure.net/.default
1212
```

sdk/purview/Azure.Analytics.Purview.Scanning/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run `dotnet build /t:GenerateCode` to generate code.
66
title: PurviewScanningService
77
input-file: https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
88
namespace: Azure.Analytics.Purview.Scanning
9-
low-level-client: true
9+
data-plane: true
1010
security: AADToken
1111
security-scopes: https://purview.azure.net/.default
1212
modelerfour:

sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,10 @@ public partial class DataMaskingPolicy : Azure.ResourceManager.Core.ArmResource
302302
protected DataMaskingPolicy() { }
303303
public virtual Azure.ResourceManager.Sql.DataMaskingPolicyData Data { get { throw null; } }
304304
public virtual bool HasData { get { throw null; } }
305+
public Azure.ResourceManager.Core.ArmResource Parent { get { throw null; } }
305306
protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } }
307+
public virtual Azure.ResourceManager.Sql.Models.DataMaskingPolicyCreateOrUpdateOperation CreateOrUpdate(Azure.ResourceManager.Sql.DataMaskingPolicyData parameters, bool waitForCompletion = true, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
308+
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Sql.Models.DataMaskingPolicyCreateOrUpdateOperation> CreateOrUpdateAsync(Azure.ResourceManager.Sql.DataMaskingPolicyData parameters, bool waitForCompletion = true, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
306309
public virtual Azure.Response<Azure.ResourceManager.Sql.Models.DataMaskingRule> CreateOrUpdateDataMaskingRule(string dataMaskingRuleName, Azure.ResourceManager.Sql.Models.DataMaskingRule parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
307310
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.DataMaskingRule>> CreateOrUpdateDataMaskingRuleAsync(string dataMaskingRuleName, Azure.ResourceManager.Sql.Models.DataMaskingRule parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
308311
public virtual Azure.Response<Azure.ResourceManager.Sql.DataMaskingPolicy> Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
@@ -312,19 +315,6 @@ protected DataMaskingPolicy() { }
312315
public virtual Azure.Pageable<Azure.ResourceManager.Sql.Models.DataMaskingRule> GetDataMaskingRules(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
313316
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.DataMaskingRule> GetDataMaskingRulesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
314317
}
315-
public partial class DataMaskingPolicyCollection : Azure.ResourceManager.Core.ArmCollection
316-
{
317-
protected DataMaskingPolicyCollection() { }
318-
protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } }
319-
public virtual Azure.Response<bool> CheckIfExists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
320-
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> CheckIfExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
321-
public virtual Azure.ResourceManager.Sql.Models.DataMaskingPolicyCreateOrUpdateOperation CreateOrUpdate(Azure.ResourceManager.Sql.DataMaskingPolicyData parameters, bool waitForCompletion = true, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
322-
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Sql.Models.DataMaskingPolicyCreateOrUpdateOperation> CreateOrUpdateAsync(Azure.ResourceManager.Sql.DataMaskingPolicyData parameters, bool waitForCompletion = true, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
323-
public virtual Azure.Response<Azure.ResourceManager.Sql.DataMaskingPolicy> Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
324-
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.DataMaskingPolicy>> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
325-
public virtual Azure.Response<Azure.ResourceManager.Sql.DataMaskingPolicy> GetIfExists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
326-
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.DataMaskingPolicy>> GetIfExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
327-
}
328318
public partial class DataMaskingPolicyData : Azure.ResourceManager.Models.Resource
329319
{
330320
public DataMaskingPolicyData() { }
@@ -3646,7 +3636,7 @@ protected SqlDatabase() { }
36463636
public Azure.ResourceManager.Sql.DatabaseSecurityAlertPolicyCollection GetDatabaseSecurityAlertPolicies() { throw null; }
36473637
public virtual Azure.Pageable<Azure.ResourceManager.Sql.Models.DatabaseUsage> GetDatabaseUsages(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
36483638
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.DatabaseUsage> GetDatabaseUsagesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
3649-
public Azure.ResourceManager.Sql.DataMaskingPolicyCollection GetDataMaskingPolicies() { throw null; }
3639+
public Azure.ResourceManager.Sql.DataMaskingPolicy GetDataMaskingPolicy() { throw null; }
36503640
public Azure.ResourceManager.Sql.DataWarehouseUserActivitiesCollection GetDataWarehouseUserActivities() { throw null; }
36513641
public Azure.ResourceManager.Sql.ExtendedDatabaseBlobAuditingPolicyCollection GetExtendedDatabaseBlobAuditingPolicies() { throw null; }
36523642
public Azure.ResourceManager.Sql.GeoBackupPolicyCollection GetGeoBackupPolicies() { throw null; }

0 commit comments

Comments
 (0)