@@ -4,7 +4,7 @@ import "./main.tsp";
44using Azure .ClientGenerator .Core ;
55
66@ TypeSpec.Versioning.useDependency (Azure .Core .Versions .v1_0_Preview_2 )
7- @ TypeSpec.Versioning.useDependency (Azure .Batch .Versions .v2024_02_01 )
7+ @ TypeSpec.Versioning.useDependency (Azure .Batch .Versions .v2024_07_01 )
88namespace Client ;
99#suppress "@azure-tools/typespec-azure-core/use-standard-operations" ""
1010#suppress "@azure-tools/typespec-azure-core/no-rpc-path-params" ""
@@ -76,6 +76,9 @@ interface BatchClient {
7676 replaceNodeUser is Azure .Batch .Nodes .replaceNodeUser ;
7777 getNode is Azure .Batch .Nodes .getNode ;
7878 rebootNode is Azure .Batch .Nodes .rebootNode ;
79+ startNode is Azure .Batch .Nodes .startNode ;
80+ reimageNode is Azure .Batch .Nodes .reimageNode ;
81+ deallocateNode is Azure .Batch .Nodes .deallocateNode ;
7982 disableNodeScheduling is Azure .Batch .Nodes .disableNodeScheduling ;
8083 enableNodeScheduling is Azure .Batch .Nodes .enableNodeScheduling ;
8184 getNodeRemoteLoginSettings is Azure .Batch .Nodes .getNodeRemoteLoginSettings ;
@@ -94,7 +97,15 @@ interface BatchClient {
9497@@ access (Azure .Batch .Pools .poolExists , Access .internal , "csharp" );
9598@@ access (Azure .Batch .JobSchedules .jobScheduleExists , Access .internal , "csharp" );
9699@@ access (Azure .Batch .Tasks .getTaskFileProperties , Access .internal , "csharp" );
100+ @@ clientName (BatchClient .getTaskFileProperties ,
101+ "getTaskFilePropertiesInternal" ,
102+ "csharp"
103+ );
97104@@ access (Azure .Batch .Nodes .getNodeFileProperties , Access .internal , "csharp" );
105+ @@ clientName (BatchClient .getNodeFileProperties ,
106+ "getNodeFilePropertiesInternal" ,
107+ "csharp"
108+ );
98109
99110/* JAVA OVERRIDES */
100111// client name overrides
@@ -218,6 +229,9 @@ interface BatchClient {
218229@@ clientName (BatchClient .replaceNodeUser , "replaceNodeUserInternal" , "java" );
219230@@ clientName (BatchClient .getNode , "getNodeInternal" , "java" );
220231@@ clientName (BatchClient .rebootNode , "rebootNodeInternal" , "java" );
232+ @@ clientName (BatchClient .startNode , "startNodeInternal" , "java" );
233+ @@ clientName (BatchClient .reimageNode , "reimageNodeInternal" , "java" );
234+ @@ clientName (BatchClient .deallocateNode , "deallocateNodeInternal" , "java" );
221235@@ clientName (BatchClient .disableNodeScheduling ,
222236 "disableNodeSchedulingInternal" ,
223237 "java"
@@ -306,6 +320,7 @@ interface BatchClient {
306320@@ access (Azure .Batch .BatchNodeUserUpdateContent , Access .public , "java" );
307321@@ access (Azure .Batch .BatchNode , Access .public , "java" );
308322@@ access (Azure .Batch .BatchNodeRebootContent , Access .public , "java" );
323+ @@ access (Azure .Batch .BatchNodeDeallocateContent , Access .public , "java" );
309324@@ access (Azure .Batch .BatchNodeReimageContent , Access .public , "java" );
310325@@ access (Azure .Batch .BatchNodeDisableSchedulingContent , Access .public , "java" );
311326@@ access (Azure .Batch .BatchNodeRemoteLoginSettings , Access .public , "java" );
0 commit comments