Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class HybridComputeManagementClientContext extends msRestAzure.AzureServi
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -53,10 +53,10 @@ export class HybridComputeManagementClientContext extends msRestAzure.AzureServi
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class MachineExtensions {
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
Expand Down Expand Up @@ -159,7 +159,7 @@ export class MachineExtensions {
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
* @param extensionName The name of the machine extension.
Expand Down
12 changes: 4 additions & 8 deletions sdk/hybridcompute/arm-hybridcompute/src/operations/machines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ export class Machines {
}

/**
* Lists all the hybrid machines in the specified resource group. Use the nextLink property in the
* response to get the next page of hybrid machines.
* Lists all the hybrid machines in the specified resource group.
* @param resourceGroupName The name of the resource group.
* @param [options] The optional parameters
* @returns Promise<Models.MachinesListByResourceGroupResponse>
Expand Down Expand Up @@ -120,8 +119,7 @@ export class Machines {
}

/**
* Lists all the hybrid machines in the specified subscription. Use the nextLink property in the
* response to get the next page of hybrid machines.
* Lists all the hybrid machines in the specified subscription.
* @param [options] The optional parameters
* @returns Promise<Models.MachinesListBySubscriptionResponse>
*/
Expand All @@ -145,8 +143,7 @@ export class Machines {
}

/**
* Lists all the hybrid machines in the specified resource group. Use the nextLink property in the
* response to get the next page of hybrid machines.
* Lists all the hybrid machines in the specified resource group.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.MachinesListByResourceGroupNextResponse>
Expand Down Expand Up @@ -174,8 +171,7 @@ export class Machines {
}

/**
* Lists all the hybrid machines in the specified subscription. Use the nextLink property in the
* response to get the next page of hybrid machines.
* Lists all the hybrid machines in the specified subscription.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.MachinesListBySubscriptionNextResponse>
Expand Down