Skip to content

Commit 481fc27

Browse files
Generating dotnet SDK for 2024-12-09Preview version (Azure#48873)
* Generating dotnet SDK for 2024-12-09Preview version * Fixing build errors while generating SDK * a demo for how to make the change * Fixing build errors * Recording tests * Updating release version in changelog * Updating package version and minor fixes * Updating changelog * Adding tests for user defined function * Recording tests * Recording tests * Fixing test failures * Fixing test failures * Fixing tests * Fixing tests * Fixing tests * Recording tests * Pushing recordings * Pushing assets * Re-recording tests * Recording tests * Fixing tests * Fixing tests * Fixing tests * Fixing tests * Fixing tests * Re-recording * Recording tests * Fixing tests * Fixing UDF tests * Re-recording tests * Fixing recording failure * Re-recording tests * Re-recording * Recording tests * Fixing CI build failures * Re-recording * Fixing recording failures * Re-recording * Fixing recording failures * Fixing test failures * Adressing review comment * Fixing recording issue * Re-recording * Fixing build failures * Fixing recording issue * Fixing recording issue * Fixing recording failure * Pushing assets * fixing recording error * Fixing recording issues * Fixing recording failure * Fixing recording failure * fixing test failures * Fixing recording failures * Fixing recording failure * Fixing recording failure * Cleaning up code * Regenrating SDK to apply fix for breaking change in API spec * Updating changelog with release date --------- Co-authored-by: Arcturus Zhang <[email protected]>
1 parent b2f4847 commit 481fc27

15 files changed

+1977
-671
lines changed

sdk/confidentialledger/Azure.Security.ConfidentialLedger/CHANGELOG.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
# Release History
2-
## 1.4.1-beta.2 (Unreleased)
2+
## 1.4.1-beta.2 (2025-04-23)
33

44
### Features Added
5-
6-
### Breaking Changes
7-
8-
### Bugs Fixed
9-
10-
### Other Changes
5+
- Added user defined functions feature.
6+
- Added tags parameter for CreateLedgerEntry endpoint.
117

128
## 1.4.1-beta.1 (2025-01-27)
139

sdk/confidentialledger/Azure.Security.ConfidentialLedger/api/Azure.Security.ConfidentialLedger.net8.0.cs

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,30 @@ public ConfidentialLedgerClient(System.Uri ledgerEndpoint, Azure.Core.TokenCrede
88
public ConfidentialLedgerClient(System.Uri ledgerEndpoint, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate) { }
99
public ConfidentialLedgerClient(System.Uri ledgerEndpoint, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCertificate, Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions options) { }
1010
public virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } }
11-
public virtual Azure.Response CreateLedgerEntry(Azure.Core.RequestContent content, string collectionId = null, Azure.RequestContext context = null) { throw null; }
12-
public virtual System.Threading.Tasks.Task<Azure.Response> CreateLedgerEntryAsync(Azure.Core.RequestContent content, string collectionId = null, Azure.RequestContext context = null) { throw null; }
11+
public virtual Azure.Response CreateLedgerEntry(Azure.Core.RequestContent content, string collectionId, Azure.RequestContext context) { throw null; }
12+
public virtual Azure.Response CreateLedgerEntry(Azure.Core.RequestContent content, string collectionId = null, string tags = null, Azure.RequestContext context = null) { throw null; }
13+
public virtual System.Threading.Tasks.Task<Azure.Response> CreateLedgerEntryAsync(Azure.Core.RequestContent content, string collectionId, Azure.RequestContext context) { throw null; }
14+
public virtual System.Threading.Tasks.Task<Azure.Response> CreateLedgerEntryAsync(Azure.Core.RequestContent content, string collectionId = null, string tags = null, Azure.RequestContext context = null) { throw null; }
1315
public virtual Azure.Response CreateOrUpdateLedgerUser(string userId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
1416
public virtual System.Threading.Tasks.Task<Azure.Response> CreateOrUpdateLedgerUserAsync(string userId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
1517
public virtual Azure.Response CreateOrUpdateUser(string userId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
1618
public virtual System.Threading.Tasks.Task<Azure.Response> CreateOrUpdateUserAsync(string userId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
1719
public virtual Azure.Response CreateUserDefinedEndpoint(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
1820
public virtual System.Threading.Tasks.Task<Azure.Response> CreateUserDefinedEndpointAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
21+
public virtual Azure.Response CreateUserDefinedFunction(string functionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
22+
public virtual System.Threading.Tasks.Task<Azure.Response> CreateUserDefinedFunctionAsync(string functionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
1923
public virtual Azure.Response CreateUserDefinedRole(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
2024
public virtual System.Threading.Tasks.Task<Azure.Response> CreateUserDefinedRoleAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
2125
public virtual Azure.Response DeleteLedgerUser(string userId, Azure.RequestContext context = null) { throw null; }
2226
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteLedgerUserAsync(string userId, Azure.RequestContext context = null) { throw null; }
2327
public virtual Azure.Response DeleteUser(string userId, Azure.RequestContext context = null) { throw null; }
2428
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteUserAsync(string userId, Azure.RequestContext context = null) { throw null; }
29+
public virtual Azure.Response DeleteUserDefinedFunction(string functionId, Azure.RequestContext context = null) { throw null; }
30+
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteUserDefinedFunctionAsync(string functionId, Azure.RequestContext context = null) { throw null; }
2531
public virtual Azure.Response DeleteUserDefinedRole(string roleName, Azure.RequestContext context = null) { throw null; }
2632
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteUserDefinedRoleAsync(string roleName, Azure.RequestContext context = null) { throw null; }
33+
public virtual Azure.Response ExecuteUserDefinedFunction(string functionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
34+
public virtual System.Threading.Tasks.Task<Azure.Response> ExecuteUserDefinedFunctionAsync(string functionId, Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
2735
public virtual Azure.Pageable<System.BinaryData> GetCollections(Azure.RequestContext context = null) { throw null; }
2836
public virtual Azure.AsyncPageable<System.BinaryData> GetCollectionsAsync(Azure.RequestContext context = null) { throw null; }
2937
public virtual Azure.Pageable<System.BinaryData> GetConsortiumMembers(Azure.RequestContext context = null) { throw null; }
@@ -34,8 +42,10 @@ public ConfidentialLedgerClient(System.Uri ledgerEndpoint, System.Security.Crypt
3442
public virtual System.Threading.Tasks.Task<Azure.Response> GetCurrentLedgerEntryAsync(string collectionId = null, Azure.RequestContext context = null) { throw null; }
3543
public virtual Azure.Response GetEnclaveQuotes(Azure.RequestContext context = null) { throw null; }
3644
public virtual System.Threading.Tasks.Task<Azure.Response> GetEnclaveQuotesAsync(Azure.RequestContext context = null) { throw null; }
37-
public virtual Azure.Pageable<System.BinaryData> GetLedgerEntries(string collectionId = null, string fromTransactionId = null, string toTransactionId = null, Azure.RequestContext context = null) { throw null; }
38-
public virtual Azure.AsyncPageable<System.BinaryData> GetLedgerEntriesAsync(string collectionId = null, string fromTransactionId = null, string toTransactionId = null, Azure.RequestContext context = null) { throw null; }
45+
public virtual Azure.Pageable<System.BinaryData> GetLedgerEntries(string collectionId, string fromTransactionId, string toTransactionId, Azure.RequestContext context) { throw null; }
46+
public virtual Azure.Pageable<System.BinaryData> GetLedgerEntries(string collectionId = null, string fromTransactionId = null, string toTransactionId = null, string tag = null, Azure.RequestContext context = null) { throw null; }
47+
public virtual Azure.AsyncPageable<System.BinaryData> GetLedgerEntriesAsync(string collectionId, string fromTransactionId, string toTransactionId, Azure.RequestContext context) { throw null; }
48+
public virtual Azure.AsyncPageable<System.BinaryData> GetLedgerEntriesAsync(string collectionId = null, string fromTransactionId = null, string toTransactionId = null, string tag = null, Azure.RequestContext context = null) { throw null; }
3949
public virtual Azure.Response GetLedgerEntry(string transactionId, string collectionId = null, Azure.RequestContext context = null) { throw null; }
4050
public virtual System.Threading.Tasks.Task<Azure.Response> GetLedgerEntryAsync(string transactionId, string collectionId = null, Azure.RequestContext context = null) { throw null; }
4151
public virtual Azure.Response GetLedgerUser(string userId, Azure.RequestContext context = null) { throw null; }
@@ -52,29 +62,36 @@ public ConfidentialLedgerClient(System.Uri ledgerEndpoint, System.Security.Crypt
5262
public virtual System.Threading.Tasks.Task<Azure.Response> GetUserAsync(string userId, Azure.RequestContext context = null) { throw null; }
5363
public virtual Azure.Response GetUserDefinedEndpoint(Azure.RequestContext context = null) { throw null; }
5464
public virtual System.Threading.Tasks.Task<Azure.Response> GetUserDefinedEndpointAsync(Azure.RequestContext context = null) { throw null; }
55-
public virtual Azure.Response GetUserDefinedEndpointsModule(string module, Azure.RequestContext context = null) { throw null; }
56-
public virtual System.Threading.Tasks.Task<Azure.Response> GetUserDefinedEndpointsModuleAsync(string module, Azure.RequestContext context = null) { throw null; }
65+
public virtual Azure.Response GetUserDefinedEndpointsModule(string moduleName, Azure.RequestContext context = null) { throw null; }
66+
public virtual System.Threading.Tasks.Task<Azure.Response> GetUserDefinedEndpointsModuleAsync(string moduleName, Azure.RequestContext context = null) { throw null; }
67+
public virtual Azure.Response GetUserDefinedFunction(string functionId, Azure.RequestContext context = null) { throw null; }
68+
public virtual System.Threading.Tasks.Task<Azure.Response> GetUserDefinedFunctionAsync(string functionId, Azure.RequestContext context = null) { throw null; }
69+
public virtual Azure.Pageable<System.BinaryData> GetUserDefinedFunctions(Azure.RequestContext context = null) { throw null; }
70+
public virtual Azure.AsyncPageable<System.BinaryData> GetUserDefinedFunctionsAsync(Azure.RequestContext context = null) { throw null; }
5771
public virtual Azure.Response GetUserDefinedRole(string roleName, Azure.RequestContext context = null) { throw null; }
5872
public virtual System.Threading.Tasks.Task<Azure.Response> GetUserDefinedRoleAsync(string roleName, Azure.RequestContext context = null) { throw null; }
5973
public virtual Azure.Pageable<System.BinaryData> GetUsers(Azure.RequestContext context = null) { throw null; }
6074
public virtual Azure.AsyncPageable<System.BinaryData> GetUsersAsync(Azure.RequestContext context = null) { throw null; }
61-
public virtual Azure.Operation PostLedgerEntry(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string collectionId = null, Azure.RequestContext context = null) { throw null; }
62-
public virtual System.Threading.Tasks.Task<Azure.Operation> PostLedgerEntryAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string collectionId = null, Azure.RequestContext context = null) { throw null; }
75+
public virtual Azure.Operation PostLedgerEntry(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string collectionId, Azure.RequestContext context) { throw null; }
76+
public virtual Azure.Operation PostLedgerEntry(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string collectionId = null, string tags = null, Azure.RequestContext context = null) { throw null; }
77+
public virtual System.Threading.Tasks.Task<Azure.Operation> PostLedgerEntryAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string collectionId, Azure.RequestContext context) { throw null; }
78+
public virtual System.Threading.Tasks.Task<Azure.Operation> PostLedgerEntryAsync(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, string collectionId = null, string tags = null, Azure.RequestContext context = null) { throw null; }
6379
public virtual Azure.Response UpdateRuntimeOptions(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
6480
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateRuntimeOptionsAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
6581
public virtual Azure.Response UpdateUserDefinedRole(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
6682
public virtual System.Threading.Tasks.Task<Azure.Response> UpdateUserDefinedRoleAsync(Azure.Core.RequestContent content, Azure.RequestContext context = null) { throw null; }
6783
}
6884
public partial class ConfidentialLedgerClientOptions : Azure.Core.ClientOptions
6985
{
70-
public ConfidentialLedgerClientOptions(Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions.ServiceVersion version = Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions.ServiceVersion.V2024_08_22_Preview) { }
86+
public ConfidentialLedgerClientOptions(Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions.ServiceVersion version = Azure.Security.ConfidentialLedger.ConfidentialLedgerClientOptions.ServiceVersion.V2024_12_09_Preview) { }
7187
public System.Uri CertificateEndpoint { get { throw null; } set { } }
7288
public bool VerifyConnection { get { throw null; } set { } }
7389
public enum ServiceVersion
7490
{
7591
V2022_05_13 = 1,
7692
V2024_01_26_Preview = 2,
7793
V2024_08_22_Preview = 3,
94+
V2024_12_09_Preview = 4,
7895
}
7996
}
8097
}
@@ -91,12 +108,13 @@ public ConfidentialLedgerCertificateClient(System.Uri certificateEndpoint, Azure
91108
}
92109
public partial class ConfidentialLedgerCertificateClientOptions : Azure.Core.ClientOptions
93110
{
94-
public ConfidentialLedgerCertificateClientOptions(Azure.Security.ConfidentialLedger.Certificate.ConfidentialLedgerCertificateClientOptions.ServiceVersion version = Azure.Security.ConfidentialLedger.Certificate.ConfidentialLedgerCertificateClientOptions.ServiceVersion.V2024_08_22_Preview) { }
111+
public ConfidentialLedgerCertificateClientOptions(Azure.Security.ConfidentialLedger.Certificate.ConfidentialLedgerCertificateClientOptions.ServiceVersion version = Azure.Security.ConfidentialLedger.Certificate.ConfidentialLedgerCertificateClientOptions.ServiceVersion.V2024_12_09_Preview) { }
95112
public enum ServiceVersion
96113
{
97114
V2022_05_13 = 1,
98115
V2024_01_26_Preview = 2,
99116
V2024_08_22_Preview = 3,
117+
V2024_12_09_Preview = 4,
100118
}
101119
}
102120
}

0 commit comments

Comments
 (0)