@@ -12,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js";
1212import * as msRestAzure from "@azure/ms-rest-azure-js" ;
1313
1414const packageName = "@azure/arm-netapp" ;
15- const packageVersion = "13 .0.0" ;
15+ const packageVersion = "14 .0.0" ;
1616
1717export class AzureNetAppFilesManagementClientContext extends msRestAzure . AzureServiceClient {
1818 credentials : msRest . ServiceClientCredentials ;
@@ -26,12 +26,16 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
2626 * subscription. The subscription ID forms part of the URI for every service call.
2727 * @param [options] The parameter options
2828 */
29- constructor ( credentials : msRest . ServiceClientCredentials , subscriptionId : string , options ?: Models . AzureNetAppFilesManagementClientOptions ) {
29+ constructor (
30+ credentials : msRest . ServiceClientCredentials ,
31+ subscriptionId : string ,
32+ options ?: Models . AzureNetAppFilesManagementClientOptions
33+ ) {
3034 if ( credentials == undefined ) {
31- throw new Error ( '\' credentials\ ' cannot be null.' ) ;
35+ throw new Error ( "' credentials' cannot be null." ) ;
3236 }
3337 if ( subscriptionId == undefined ) {
34- throw new Error ( '\' subscriptionId\ ' cannot be null.' ) ;
38+ throw new Error ( "' subscriptionId' cannot be null." ) ;
3539 }
3640
3741 if ( ! options ) {
@@ -44,8 +48,8 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
4448
4549 super ( credentials , options ) ;
4650
47- this . apiVersion = '2020-12 -01' ;
48- this . acceptLanguage = ' en-US' ;
51+ this . apiVersion = "2021-02 -01" ;
52+ this . acceptLanguage = " en-US" ;
4953 this . longRunningOperationRetryTimeout = 30 ;
5054 this . baseUri = options . baseUri || this . baseUri || "https://management.azure.com" ;
5155 this . requestContentType = "application/json; charset=utf-8" ;
@@ -55,7 +59,10 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
5559 if ( options . acceptLanguage !== null && options . acceptLanguage !== undefined ) {
5660 this . acceptLanguage = options . acceptLanguage ;
5761 }
58- if ( options . longRunningOperationRetryTimeout !== null && options . longRunningOperationRetryTimeout !== undefined ) {
62+ if (
63+ options . longRunningOperationRetryTimeout !== null &&
64+ options . longRunningOperationRetryTimeout !== undefined
65+ ) {
5966 this . longRunningOperationRetryTimeout = options . longRunningOperationRetryTimeout ;
6067 }
6168 }
0 commit comments