Skip to content

Commit d52e0c5

Browse files
author
SDK Automation
committed
Generated from b2a128e6ea78d58452c560d8bda4c513a4b9412a
override vmware client name to AVSClient
1 parent 141a989 commit d52e0c5

File tree

10 files changed

+38
-38
lines changed

10 files changed

+38
-38
lines changed

sdk/vmware/arm-vmware/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Azure AzureVMwareSolutionAPI SDK for JavaScript
1+
## Azure AVSClient SDK for JavaScript
22

3-
This package contains an isomorphic SDK for AzureVMwareSolutionAPI.
3+
This package contains an isomorphic SDK for AVSClient.
44

55
### Currently supported environments
66

@@ -30,11 +30,11 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
3030
import * as msRest from "@azure/ms-rest-js";
3131
import * as msRestAzure from "@azure/ms-rest-azure-js";
3232
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { AzureVMwareSolutionAPI, AzureVMwareSolutionAPIModels, AzureVMwareSolutionAPIMappers } from "@azure/arm-vmware";
33+
import { AVSClient, AVSModels, AVSMappers } from "@azure/arm-vmware";
3434
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3535

3636
msRestNodeAuth.interactiveLogin().then((creds) => {
37-
const client = new AzureVMwareSolutionAPI(creds, subscriptionId);
37+
const client = new AVSClient(creds, subscriptionId);
3838
client.operations.list().then((result) => {
3939
console.log("The result is:");
4040
console.log(result);
@@ -77,7 +77,7 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
7777
// may cause redirects
7878
authManager.login();
7979
}
80-
const client = new Azure.ArmVmware.AzureVMwareSolutionAPI(res.creds, subscriptionId);
80+
const client = new Azure.ArmVmware.AVSClient(res.creds, subscriptionId);
8181
client.operations.list().then((result) => {
8282
console.log("The result is:");
8383
console.log(result);

sdk/vmware/arm-vmware/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@azure/arm-vmware",
33
"author": "Microsoft Corporation",
4-
"description": "AzureVMwareSolutionAPI Library with typescript type definitions for node.js and browser.",
4+
"description": "AVSClient Library with typescript type definitions for node.js and browser.",
55
"version": "0.1.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.0.1",
@@ -17,8 +17,8 @@
1717
],
1818
"license": "MIT",
1919
"main": "./dist/arm-vmware.js",
20-
"module": "./esm/azureVMwareSolutionAPI.js",
21-
"types": "./esm/azureVMwareSolutionAPI.d.ts",
20+
"module": "./esm/aVSClient.js",
21+
"types": "./esm/aVSClient.d.ts",
2222
"devDependencies": {
2323
"typescript": "^3.5.3",
2424
"rollup": "^1.18.0",

sdk/vmware/arm-vmware/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import sourcemaps from "rollup-plugin-sourcemaps";
66
* @type {rollup.RollupFileOptions}
77
*/
88
const config = {
9-
input: "./esm/azureVMwareSolutionAPI.js",
9+
input: "./esm/aVSClient.js",
1010
external: [
1111
"@azure/ms-rest-js",
1212
"@azure/ms-rest-azure-js"

sdk/vmware/arm-vmware/src/azureVMwareSolutionAPI.ts renamed to sdk/vmware/arm-vmware/src/aVSClient.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ import * as msRest from "@azure/ms-rest-js";
1212
import * as Models from "./models";
1313
import * as Mappers from "./models/mappers";
1414
import * as operations from "./operations";
15-
import { AzureVMwareSolutionAPIContext } from "./azureVMwareSolutionAPIContext";
15+
import { AVSClientContext } from "./aVSClientContext";
1616

1717

18-
class AzureVMwareSolutionAPI extends AzureVMwareSolutionAPIContext {
18+
class AVSClient extends AVSClientContext {
1919
// Operation groups
2020
operations: operations.Operations;
2121
locations: operations.Locations;
2222
privateClouds: operations.PrivateClouds;
2323
clusters: operations.Clusters;
2424

2525
/**
26-
* Initializes a new instance of the AzureVMwareSolutionAPI class.
26+
* Initializes a new instance of the AVSClient class.
2727
* @param credentials Credentials needed for the client to connect to Azure.
2828
* @param subscriptionId Unique identifier for the Azure subscription
2929
* @param [options] The parameter options
3030
*/
31-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureVMwareSolutionAPIOptions) {
31+
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AVSClientOptions) {
3232
super(credentials, subscriptionId, options);
3333
this.operations = new operations.Operations(this);
3434
this.locations = new operations.Locations(this);
@@ -40,9 +40,9 @@ class AzureVMwareSolutionAPI extends AzureVMwareSolutionAPIContext {
4040
// Operation Specifications
4141

4242
export {
43-
AzureVMwareSolutionAPI,
44-
AzureVMwareSolutionAPIContext,
45-
Models as AzureVMwareSolutionAPIModels,
46-
Mappers as AzureVMwareSolutionAPIMappers
43+
AVSClient,
44+
AVSClientContext,
45+
Models as AVSModels,
46+
Mappers as AVSMappers
4747
};
4848
export * from "./operations";

sdk/vmware/arm-vmware/src/azureVMwareSolutionAPIContext.ts renamed to sdk/vmware/arm-vmware/src/aVSClientContext.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ import * as msRestAzure from "@azure/ms-rest-azure-js";
1515
const packageName = "@azure/arm-vmware";
1616
const packageVersion = "0.1.0";
1717

18-
export class AzureVMwareSolutionAPIContext extends msRestAzure.AzureServiceClient {
18+
export class AVSClientContext extends msRestAzure.AzureServiceClient {
1919
credentials: msRest.ServiceClientCredentials;
2020
subscriptionId: string;
2121
apiVersion?: string;
2222

2323
/**
24-
* Initializes a new instance of the AzureVMwareSolutionAPI class.
24+
* Initializes a new instance of the AVSClient class.
2525
* @param credentials Credentials needed for the client to connect to Azure.
2626
* @param subscriptionId Unique identifier for the Azure subscription
2727
* @param [options] The parameter options
2828
*/
29-
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureVMwareSolutionAPIOptions) {
29+
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AVSClientOptions) {
3030
if (credentials == undefined) {
3131
throw new Error('\'credentials\' cannot be null.');
3232
}

sdk/vmware/arm-vmware/src/models/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,9 @@ export interface ClustersBeginUpdateOptionalParams extends msRest.RequestOptions
469469
}
470470

471471
/**
472-
* An interface representing AzureVMwareSolutionAPIOptions.
472+
* An interface representing AVSClientOptions.
473473
*/
474-
export interface AzureVMwareSolutionAPIOptions extends AzureServiceClientOptions {
474+
export interface AVSClientOptions extends AzureServiceClientOptions {
475475
baseUri?: string;
476476
}
477477

sdk/vmware/arm-vmware/src/operations/clusters.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js";
1313
import * as Models from "../models";
1414
import * as Mappers from "../models/clustersMappers";
1515
import * as Parameters from "../models/parameters";
16-
import { AzureVMwareSolutionAPIContext } from "../azureVMwareSolutionAPIContext";
16+
import { AVSClientContext } from "../aVSClientContext";
1717

1818
/** Class representing a Clusters. */
1919
export class Clusters {
20-
private readonly client: AzureVMwareSolutionAPIContext;
20+
private readonly client: AVSClientContext;
2121

2222
/**
2323
* Create a Clusters.
24-
* @param {AzureVMwareSolutionAPIContext} client Reference to the service client.
24+
* @param {AVSClientContext} client Reference to the service client.
2525
*/
26-
constructor(client: AzureVMwareSolutionAPIContext) {
26+
constructor(client: AVSClientContext) {
2727
this.client = client;
2828
}
2929

sdk/vmware/arm-vmware/src/operations/locations.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ import * as msRest from "@azure/ms-rest-js";
1212
import * as Models from "../models";
1313
import * as Mappers from "../models/locationsMappers";
1414
import * as Parameters from "../models/parameters";
15-
import { AzureVMwareSolutionAPIContext } from "../azureVMwareSolutionAPIContext";
15+
import { AVSClientContext } from "../aVSClientContext";
1616

1717
/** Class representing a Locations. */
1818
export class Locations {
19-
private readonly client: AzureVMwareSolutionAPIContext;
19+
private readonly client: AVSClientContext;
2020

2121
/**
2222
* Create a Locations.
23-
* @param {AzureVMwareSolutionAPIContext} client Reference to the service client.
23+
* @param {AVSClientContext} client Reference to the service client.
2424
*/
25-
constructor(client: AzureVMwareSolutionAPIContext) {
25+
constructor(client: AVSClientContext) {
2626
this.client = client;
2727
}
2828

sdk/vmware/arm-vmware/src/operations/operations.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ import * as msRest from "@azure/ms-rest-js";
1212
import * as Models from "../models";
1313
import * as Mappers from "../models/operationsMappers";
1414
import * as Parameters from "../models/parameters";
15-
import { AzureVMwareSolutionAPIContext } from "../azureVMwareSolutionAPIContext";
15+
import { AVSClientContext } from "../aVSClientContext";
1616

1717
/** Class representing a Operations. */
1818
export class Operations {
19-
private readonly client: AzureVMwareSolutionAPIContext;
19+
private readonly client: AVSClientContext;
2020

2121
/**
2222
* Create a Operations.
23-
* @param {AzureVMwareSolutionAPIContext} client Reference to the service client.
23+
* @param {AVSClientContext} client Reference to the service client.
2424
*/
25-
constructor(client: AzureVMwareSolutionAPIContext) {
25+
constructor(client: AVSClientContext) {
2626
this.client = client;
2727
}
2828

sdk/vmware/arm-vmware/src/operations/privateClouds.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js";
1313
import * as Models from "../models";
1414
import * as Mappers from "../models/privateCloudsMappers";
1515
import * as Parameters from "../models/parameters";
16-
import { AzureVMwareSolutionAPIContext } from "../azureVMwareSolutionAPIContext";
16+
import { AVSClientContext } from "../aVSClientContext";
1717

1818
/** Class representing a PrivateClouds. */
1919
export class PrivateClouds {
20-
private readonly client: AzureVMwareSolutionAPIContext;
20+
private readonly client: AVSClientContext;
2121

2222
/**
2323
* Create a PrivateClouds.
24-
* @param {AzureVMwareSolutionAPIContext} client Reference to the service client.
24+
* @param {AVSClientContext} client Reference to the service client.
2525
*/
26-
constructor(client: AzureVMwareSolutionAPIContext) {
26+
constructor(client: AVSClientContext) {
2727
this.client = client;
2828
}
2929

0 commit comments

Comments
 (0)