Skip to content

Commit

Permalink
TypeSpec changes for CSharp (Azure#29018)
Browse files Browse the repository at this point in the history
* changes for CSharp
  • Loading branch information
wiboris authored May 9, 2024
1 parent a153f64 commit 68c8da6
Show file tree
Hide file tree
Showing 7 changed files with 562 additions and 515 deletions.
25 changes: 16 additions & 9 deletions specification/batch/Azure.Batch/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,26 @@ import "./main.tsp";
using Azure.ClientGenerator.Core;

// operation overrides
@@access(Azure.Batch.BatchOps.ListOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.ReadOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.DeleteOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.CreateOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.UpdateOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.ReplaceOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.PostOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.ResourceInfoOperation, Access.internal, "java");
@@access(Azure.Batch.BatchOps.ResourceInfoOperationWithAdditionalResponse,
@@access(Azure.Batch.ListOperation, Access.internal, "java");
@@access(Azure.Batch.ReadOperation, Access.internal, "java");
@@access(Azure.Batch.DeleteOperation, Access.internal, "java");
@@access(Azure.Batch.CreateOperation, Access.internal, "java");
@@access(Azure.Batch.UpdateOperation, Access.internal, "java");
@@access(Azure.Batch.ReplaceOperation, Access.internal, "java");
@@access(Azure.Batch.PostOperation, Access.internal, "java");
@@access(Azure.Batch.FileOperation, Access.internal, "java");
@@access(Azure.Batch.HeadFileOperation, Access.internal, "java");
@@access(Azure.Batch.ResourceInfoOperationWithAdditionalResponse,
Access.internal,
"java"
);

// Api overrides
@@access(Azure.Batch.Batch.poolExists, Access.internal, "csharp");
@@access(Azure.Batch.Batch.jobScheduleExists, Access.internal, "csharp");
@@access(Azure.Batch.Batch.getTaskFileProperties, Access.internal, "csharp");
@@access(Azure.Batch.Batch.getNodeFileProperties, Access.internal, "csharp");

// model overrides
@@access(Azure.Batch.BatchApplicationListResult, Access.public, "java");
@@access(Azure.Batch.BatchApplication, Access.public, "java");
Expand Down
Loading

0 comments on commit 68c8da6

Please sign in to comment.