@azure/arm-serialconsole 2.1.1-alpha.20250718.1 → 2.1.1-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/microsoftSerialConsoleClient.js +14 -5
- package/dist/browser/microsoftSerialConsoleClient.js.map +1 -1
- package/dist/browser/models/mappers.js +8 -3
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/serialPorts.js +1 -0
- package/dist/browser/operations/serialPorts.js.map +1 -1
- package/dist/commonjs/microsoftSerialConsoleClient.js +14 -5
- package/dist/commonjs/microsoftSerialConsoleClient.js.map +1 -1
- package/dist/commonjs/models/mappers.js +8 -3
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/serialPorts.js +1 -0
- package/dist/commonjs/operations/serialPorts.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/microsoftSerialConsoleClient.js +14 -5
- package/dist/esm/microsoftSerialConsoleClient.js.map +1 -1
- package/dist/esm/models/mappers.js +8 -3
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/serialPorts.js +1 -0
- package/dist/esm/operations/serialPorts.js.map +1 -1
- package/dist/react-native/microsoftSerialConsoleClient.js +14 -5
- package/dist/react-native/microsoftSerialConsoleClient.js.map +1 -1
- package/dist/react-native/models/mappers.js +8 -3
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/serialPorts.js +1 -0
- package/dist/react-native/operations/serialPorts.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-serialconsole-node.api.md +203 -203
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB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D,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,gBAAgB;yBAC5B;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,oBACV,QAAQ,CAAC,IAAI,CAAC,eAAe,CACjC;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,kCACV,aAAa,CAAC,IAAI,CAAC,eAAe,KACrC,KAAK,EAAE;gBACL,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,aAAa,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;iBACvC;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const SerialConsoleOperations: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperations\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SerialConsoleOperationsValueItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItemDisplay\"\n }\n }\n }\n }\n};\n\nexport const SerialConsoleOperationsValueItemDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItemDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SerialConsoleStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleStatus\",\n modelProperties: {\n disabled: {\n serializedName: \"disabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const GetSerialConsoleSubscriptionNotFound: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GetSerialConsoleSubscriptionNotFound\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DisableSerialConsoleResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DisableSerialConsoleResult\",\n modelProperties: {\n disabled: {\n serializedName: \"disabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const EnableSerialConsoleResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnableSerialConsoleResult\",\n modelProperties: {\n disabled: {\n serializedName: \"disabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const SerialPortListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialPortListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SerialPort\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SerialPortConnectResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialPortConnectResult\",\n modelProperties: {\n connectionString: {\n serializedName: \"connectionString\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const SerialPort: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialPort\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n state: {\n serializedName: \"properties.state\",\n type: {\n name: \"Enum\",\n allowedValues: [\"enabled\", \"disabled\"]\n }\n }\n }\n }\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,kCAAkC;yBAC9C;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAA+B;IAC1E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kCAAkC;QAC7C,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,E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pC,eAAe,EAAE;YACf,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;SACjC;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA+B;IACpD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,GAAG,aAAa,CAAC,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE;gBACL,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,aAAa,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;iBACvC;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const SerialConsoleOperations: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperations\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SerialConsoleOperationsValueItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItemDisplay\"\n }\n }\n }\n }\n};\n\nexport const SerialConsoleOperationsValueItemDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleOperationsValueItemDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SerialConsoleStatus: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialConsoleStatus\",\n modelProperties: {\n disabled: {\n serializedName: \"disabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const GetSerialConsoleSubscriptionNotFound: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GetSerialConsoleSubscriptionNotFound\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DisableSerialConsoleResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DisableSerialConsoleResult\",\n modelProperties: {\n disabled: {\n serializedName: \"disabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const EnableSerialConsoleResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EnableSerialConsoleResult\",\n modelProperties: {\n disabled: {\n serializedName: \"disabled\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const SerialPortListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialPortListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SerialPort\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SerialPortConnectResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialPortConnectResult\",\n modelProperties: {\n connectionString: {\n serializedName: \"connectionString\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const SerialPort: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SerialPort\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n state: {\n serializedName: \"properties.state\",\n type: {\n name: \"Enum\",\n allowedValues: [\"enabled\", \"disabled\"]\n }\n }\n }\n }\n};\n"]}
|
|
@@ -10,6 +10,7 @@ import * as Mappers from "../models/mappers.js";
|
|
|
10
10
|
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing SerialPorts operations. */
|
|
12
12
|
export class SerialPortsImpl {
|
|
13
|
+
client;
|
|
13
14
|
/**
|
|
14
15
|
* Initialize a new instance of the class SerialPorts class.
|
|
15
16
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialPorts.js","sourceRoot":"","sources":["../../../src/operations/serialPorts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CACF,iBAAyB,EACzB,yBAAiC,EACjC,kBAA0B,EAC1B,cAAsB,EACtB,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,yBAAyB;YACzB,kBAAkB;YAClB,cAAc;YACd,OAAO;SACR,EACD,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAyB,EACzB,yBAAiC,EACjC,kBAA0B,EAC1B,cAAsB,EACtB,UAAkB,EAClB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,yBAAyB;YACzB,kBAAkB;YAClB,cAAc;YACd,UAAU;YACV,OAAO;SACR,EACD,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAyB,EACzB,yBAAiC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mN;IACrN,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;QACpC,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SerialPorts } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MicrosoftSerialConsoleClient } from \"../microsoftSerialConsoleClient.js\";\nimport {\n SerialPortsListOptionalParams,\n SerialPortsListResponse,\n SerialPortsGetOptionalParams,\n SerialPortsGetResponse,\n SerialPort,\n SerialPortsCreateOptionalParams,\n SerialPortsCreateResponse,\n SerialPortsDeleteOptionalParams,\n SerialPortsListBySubscriptionsOptionalParams,\n SerialPortsListBySubscriptionsResponse,\n SerialPortsConnectOptionalParams,\n SerialPortsConnectResponse\n} from \"../models/index.js\";\n\n/** Class containing SerialPorts operations. */\nexport class SerialPortsImpl implements SerialPorts {\n private readonly client: MicrosoftSerialConsoleClient;\n\n /**\n * Initialize a new instance of the class SerialPorts class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftSerialConsoleClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the configured serial ports for a parent resource\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n options?: SerialPortsListOptionalParams\n ): Promise<SerialPortsListResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n options\n },\n listOperationSpec\n );\n }\n\n /**\n * Gets the configured settings for a serial port\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to connect to.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n options?: SerialPortsGetOptionalParams\n ): Promise<SerialPortsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a serial port\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to create.\n * @param parameters Parameters supplied to create the serial port.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n parameters: SerialPort,\n options?: SerialPortsCreateOptionalParams\n ): Promise<SerialPortsCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n parameters,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Deletes a serial port\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to delete.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n options?: SerialPortsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Handles requests to list all SerialPort resources in a subscription.\n * @param options The options parameters.\n */\n listBySubscriptions(\n options?: SerialPortsListBySubscriptionsOptionalParams\n ): Promise<SerialPortsListBySubscriptionsResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionsOperationSpec\n );\n }\n\n /**\n * Connect to serial port of the target resource\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to connect to.\n * @param options The options parameters.\n */\n connect(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n options?: SerialPortsConnectOptionalParams\n ): Promise<SerialPortsConnectResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n options\n },\n connectOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPortListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPort\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.SerialPort\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/serialPorts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPortListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst connectOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}/connect\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPortConnectResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"serialPorts.js","sourceRoot":"","sources":["../../../src/operations/serialPorts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CACF,iBAAyB,EACzB,yBAAiC,EACjC,kBAA0B,EAC1B,cAAsB,EACtB,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,yBAAyB;YACzB,kBAAkB;YAClB,cAAc;YACd,OAAO;SACR,EACD,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAyB,EACzB,yBAAiC,EACjC,kBAA0B,EAC1B,cAAsB,EACtB,UAAkB,EAClB,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,yBAAyB;YACzB,kBAAkB;YAClB,cAAc;YACd,UAAU;YACV,OAAO;SACR,EACD,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,iBAAyB,EACzB,yBAAiC,EACjC,kBAA0B,EAC1B,cAAsB,EACtB,UAAkB,EAClB,UAAsB,EACtB,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,yBAAyB;YACzB,kBAA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AC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,yBAAyB;QACpC,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SerialPorts } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { MicrosoftSerialConsoleClient } from \"../microsoftSerialConsoleClient.js\";\nimport {\n SerialPortsListOptionalParams,\n SerialPortsListResponse,\n SerialPortsGetOptionalParams,\n SerialPortsGetResponse,\n SerialPort,\n SerialPortsCreateOptionalParams,\n SerialPortsCreateResponse,\n SerialPortsDeleteOptionalParams,\n SerialPortsListBySubscriptionsOptionalParams,\n SerialPortsListBySubscriptionsResponse,\n SerialPortsConnectOptionalParams,\n SerialPortsConnectResponse\n} from \"../models/index.js\";\n\n/** Class containing SerialPorts operations. */\nexport class SerialPortsImpl implements SerialPorts {\n private readonly client: MicrosoftSerialConsoleClient;\n\n /**\n * Initialize a new instance of the class SerialPorts class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftSerialConsoleClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the configured serial ports for a parent resource\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n options?: SerialPortsListOptionalParams\n ): Promise<SerialPortsListResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n options\n },\n listOperationSpec\n );\n }\n\n /**\n * Gets the configured settings for a serial port\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to connect to.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n options?: SerialPortsGetOptionalParams\n ): Promise<SerialPortsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a serial port\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to create.\n * @param parameters Parameters supplied to create the serial port.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n parameters: SerialPort,\n options?: SerialPortsCreateOptionalParams\n ): Promise<SerialPortsCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n parameters,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Deletes a serial port\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to delete.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n options?: SerialPortsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Handles requests to list all SerialPort resources in a subscription.\n * @param options The options parameters.\n */\n listBySubscriptions(\n options?: SerialPortsListBySubscriptionsOptionalParams\n ): Promise<SerialPortsListBySubscriptionsResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionsOperationSpec\n );\n }\n\n /**\n * Connect to serial port of the target resource\n * @param resourceGroupName The name of the resource group.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourceType The resource type of the parent resource. For example: 'virtualMachines'\n * or 'virtualMachineScaleSets'\n * @param parentResource The resource name, or subordinate path, for the parent of the serial port. For\n * example: the name of the virtual machine.\n * @param serialPort The name of the serial port to connect to.\n * @param options The options parameters.\n */\n connect(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourceType: string,\n parentResource: string,\n serialPort: string,\n options?: SerialPortsConnectOptionalParams\n ): Promise<SerialPortsConnectResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourceType,\n parentResource,\n serialPort,\n options\n },\n connectOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPortListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPort\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}\",\n httpMethod: \"PUT\",\n responses: {\n 201: {\n bodyMapper: Mappers.SerialPort\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/serialPorts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPortListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst connectOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}/connect\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SerialPortConnectResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourceType,\n Parameters.parentResource,\n Parameters.serialPort\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for MicrosoftSerialConsoleClient.",
|
|
6
|
-
"version": "2.1.1-alpha.
|
|
6
|
+
"version": "2.1.1-alpha.20250730.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.0.0"
|
|
9
9
|
},
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
"type": "module",
|
|
92
92
|
"tshy": {
|
|
93
|
-
"project": "
|
|
93
|
+
"project": "../../../tsconfig.src.build.json",
|
|
94
94
|
"exports": {
|
|
95
95
|
"./package.json": "./package.json",
|
|
96
96
|
".": "./src/index.ts"
|
|
@@ -1,203 +1,203 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-serialconsole"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import * as coreAuth from '@azure/core-auth';
|
|
8
|
-
import * as coreClient from '@azure/core-client';
|
|
9
|
-
|
|
10
|
-
// @public
|
|
11
|
-
export interface CloudError {
|
|
12
|
-
error?: CloudErrorBody;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// @public
|
|
16
|
-
export interface CloudErrorBody {
|
|
17
|
-
code?: string;
|
|
18
|
-
details?: CloudErrorBody[];
|
|
19
|
-
message?: string;
|
|
20
|
-
target?: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// @public
|
|
24
|
-
export interface DisableConsoleOptionalParams extends coreClient.OperationOptions {
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// @public
|
|
28
|
-
export type DisableConsoleResponse = DisableSerialConsoleResult;
|
|
29
|
-
|
|
30
|
-
// @public
|
|
31
|
-
export interface DisableSerialConsoleResult {
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @public
|
|
36
|
-
export interface EnableConsoleOptionalParams extends coreClient.OperationOptions {
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
export type EnableConsoleResponse = EnableSerialConsoleResult;
|
|
41
|
-
|
|
42
|
-
// @public
|
|
43
|
-
export interface EnableSerialConsoleResult {
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// @public
|
|
48
|
-
export interface GetConsoleStatusOptionalParams extends coreClient.OperationOptions {
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// @public
|
|
52
|
-
export type GetConsoleStatusResponse = SerialConsoleStatus;
|
|
53
|
-
|
|
54
|
-
// @public
|
|
55
|
-
export interface GetSerialConsoleSubscriptionNotFound {
|
|
56
|
-
code?: string;
|
|
57
|
-
message?: string;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// @public
|
|
61
|
-
export interface ListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// @public
|
|
65
|
-
export type ListOperationsResponse = SerialConsoleOperations;
|
|
66
|
-
|
|
67
|
-
// @public (undocumented)
|
|
68
|
-
export class MicrosoftSerialConsoleClient extends coreClient.ServiceClient {
|
|
69
|
-
// (undocumented)
|
|
70
|
-
$host: string;
|
|
71
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftSerialConsoleClientOptionalParams);
|
|
72
|
-
// (undocumented)
|
|
73
|
-
apiVersion: string;
|
|
74
|
-
disableConsole(defaultParam: string, options?: DisableConsoleOptionalParams): Promise<DisableConsoleResponse>;
|
|
75
|
-
enableConsole(defaultParam: string, options?: EnableConsoleOptionalParams): Promise<EnableConsoleResponse>;
|
|
76
|
-
getConsoleStatus(defaultParam: string, options?: GetConsoleStatusOptionalParams): Promise<GetConsoleStatusResponse>;
|
|
77
|
-
listOperations(options?: ListOperationsOptionalParams): Promise<ListOperationsResponse>;
|
|
78
|
-
// (undocumented)
|
|
79
|
-
serialPorts: SerialPorts;
|
|
80
|
-
// (undocumented)
|
|
81
|
-
subscriptionId: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// @public
|
|
85
|
-
export interface MicrosoftSerialConsoleClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
86
|
-
$host?: string;
|
|
87
|
-
apiVersion?: string;
|
|
88
|
-
endpoint?: string;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// @public
|
|
92
|
-
export interface ProxyResource extends Resource {
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// @public
|
|
96
|
-
export interface Resource {
|
|
97
|
-
readonly id?: string;
|
|
98
|
-
readonly name?: string;
|
|
99
|
-
readonly type?: string;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// @public
|
|
103
|
-
export interface SerialConsoleOperations {
|
|
104
|
-
value?: SerialConsoleOperationsValueItem[];
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// @public (undocumented)
|
|
108
|
-
export interface SerialConsoleOperationsValueItem {
|
|
109
|
-
// (undocumented)
|
|
110
|
-
display?: SerialConsoleOperationsValueItemDisplay;
|
|
111
|
-
// (undocumented)
|
|
112
|
-
isDataAction?: string;
|
|
113
|
-
// (undocumented)
|
|
114
|
-
name?: string;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// @public (undocumented)
|
|
118
|
-
export interface SerialConsoleOperationsValueItemDisplay {
|
|
119
|
-
// (undocumented)
|
|
120
|
-
description?: string;
|
|
121
|
-
// (undocumented)
|
|
122
|
-
operation?: string;
|
|
123
|
-
// (undocumented)
|
|
124
|
-
provider?: string;
|
|
125
|
-
// (undocumented)
|
|
126
|
-
resource?: string;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// @public
|
|
130
|
-
export interface SerialConsoleStatus {
|
|
131
|
-
disabled?: boolean;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// @public
|
|
135
|
-
export interface SerialPort extends ProxyResource {
|
|
136
|
-
state?: SerialPortState;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// @public
|
|
140
|
-
export interface SerialPortConnectResult {
|
|
141
|
-
connectionString?: string;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// @public
|
|
145
|
-
export interface SerialPortListResult {
|
|
146
|
-
value?: SerialPort[];
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
// @public
|
|
150
|
-
export interface SerialPorts {
|
|
151
|
-
connect(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsConnectOptionalParams): Promise<SerialPortsConnectResponse>;
|
|
152
|
-
create(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, parameters: SerialPort, options?: SerialPortsCreateOptionalParams): Promise<SerialPortsCreateResponse>;
|
|
153
|
-
delete(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsDeleteOptionalParams): Promise<void>;
|
|
154
|
-
get(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsGetOptionalParams): Promise<SerialPortsGetResponse>;
|
|
155
|
-
list(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, options?: SerialPortsListOptionalParams): Promise<SerialPortsListResponse>;
|
|
156
|
-
listBySubscriptions(options?: SerialPortsListBySubscriptionsOptionalParams): Promise<SerialPortsListBySubscriptionsResponse>;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// @public
|
|
160
|
-
export interface SerialPortsConnectOptionalParams extends coreClient.OperationOptions {
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// @public
|
|
164
|
-
export type SerialPortsConnectResponse = SerialPortConnectResult;
|
|
165
|
-
|
|
166
|
-
// @public
|
|
167
|
-
export interface SerialPortsCreateOptionalParams extends coreClient.OperationOptions {
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// @public
|
|
171
|
-
export type SerialPortsCreateResponse = SerialPort;
|
|
172
|
-
|
|
173
|
-
// @public
|
|
174
|
-
export interface SerialPortsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
// @public
|
|
178
|
-
export interface SerialPortsGetOptionalParams extends coreClient.OperationOptions {
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
// @public
|
|
182
|
-
export type SerialPortsGetResponse = SerialPort;
|
|
183
|
-
|
|
184
|
-
// @public
|
|
185
|
-
export interface SerialPortsListBySubscriptionsOptionalParams extends coreClient.OperationOptions {
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
// @public
|
|
189
|
-
export type SerialPortsListBySubscriptionsResponse = SerialPortListResult;
|
|
190
|
-
|
|
191
|
-
// @public
|
|
192
|
-
export interface SerialPortsListOptionalParams extends coreClient.OperationOptions {
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
// @public
|
|
196
|
-
export type SerialPortsListResponse = SerialPortListResult;
|
|
197
|
-
|
|
198
|
-
// @public
|
|
199
|
-
export type SerialPortState = "enabled" | "disabled";
|
|
200
|
-
|
|
201
|
-
// (No @packageDocumentation comment for this package)
|
|
202
|
-
|
|
203
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-serialconsole"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
|
|
10
|
+
// @public
|
|
11
|
+
export interface CloudError {
|
|
12
|
+
error?: CloudErrorBody;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// @public
|
|
16
|
+
export interface CloudErrorBody {
|
|
17
|
+
code?: string;
|
|
18
|
+
details?: CloudErrorBody[];
|
|
19
|
+
message?: string;
|
|
20
|
+
target?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// @public
|
|
24
|
+
export interface DisableConsoleOptionalParams extends coreClient.OperationOptions {
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// @public
|
|
28
|
+
export type DisableConsoleResponse = DisableSerialConsoleResult;
|
|
29
|
+
|
|
30
|
+
// @public
|
|
31
|
+
export interface DisableSerialConsoleResult {
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// @public
|
|
36
|
+
export interface EnableConsoleOptionalParams extends coreClient.OperationOptions {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// @public
|
|
40
|
+
export type EnableConsoleResponse = EnableSerialConsoleResult;
|
|
41
|
+
|
|
42
|
+
// @public
|
|
43
|
+
export interface EnableSerialConsoleResult {
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// @public
|
|
48
|
+
export interface GetConsoleStatusOptionalParams extends coreClient.OperationOptions {
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// @public
|
|
52
|
+
export type GetConsoleStatusResponse = SerialConsoleStatus;
|
|
53
|
+
|
|
54
|
+
// @public
|
|
55
|
+
export interface GetSerialConsoleSubscriptionNotFound {
|
|
56
|
+
code?: string;
|
|
57
|
+
message?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// @public
|
|
61
|
+
export interface ListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// @public
|
|
65
|
+
export type ListOperationsResponse = SerialConsoleOperations;
|
|
66
|
+
|
|
67
|
+
// @public (undocumented)
|
|
68
|
+
export class MicrosoftSerialConsoleClient extends coreClient.ServiceClient {
|
|
69
|
+
// (undocumented)
|
|
70
|
+
$host: string;
|
|
71
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftSerialConsoleClientOptionalParams);
|
|
72
|
+
// (undocumented)
|
|
73
|
+
apiVersion: string;
|
|
74
|
+
disableConsole(defaultParam: string, options?: DisableConsoleOptionalParams): Promise<DisableConsoleResponse>;
|
|
75
|
+
enableConsole(defaultParam: string, options?: EnableConsoleOptionalParams): Promise<EnableConsoleResponse>;
|
|
76
|
+
getConsoleStatus(defaultParam: string, options?: GetConsoleStatusOptionalParams): Promise<GetConsoleStatusResponse>;
|
|
77
|
+
listOperations(options?: ListOperationsOptionalParams): Promise<ListOperationsResponse>;
|
|
78
|
+
// (undocumented)
|
|
79
|
+
serialPorts: SerialPorts;
|
|
80
|
+
// (undocumented)
|
|
81
|
+
subscriptionId: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// @public
|
|
85
|
+
export interface MicrosoftSerialConsoleClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
86
|
+
$host?: string;
|
|
87
|
+
apiVersion?: string;
|
|
88
|
+
endpoint?: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// @public
|
|
92
|
+
export interface ProxyResource extends Resource {
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// @public
|
|
96
|
+
export interface Resource {
|
|
97
|
+
readonly id?: string;
|
|
98
|
+
readonly name?: string;
|
|
99
|
+
readonly type?: string;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// @public
|
|
103
|
+
export interface SerialConsoleOperations {
|
|
104
|
+
value?: SerialConsoleOperationsValueItem[];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public (undocumented)
|
|
108
|
+
export interface SerialConsoleOperationsValueItem {
|
|
109
|
+
// (undocumented)
|
|
110
|
+
display?: SerialConsoleOperationsValueItemDisplay;
|
|
111
|
+
// (undocumented)
|
|
112
|
+
isDataAction?: string;
|
|
113
|
+
// (undocumented)
|
|
114
|
+
name?: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// @public (undocumented)
|
|
118
|
+
export interface SerialConsoleOperationsValueItemDisplay {
|
|
119
|
+
// (undocumented)
|
|
120
|
+
description?: string;
|
|
121
|
+
// (undocumented)
|
|
122
|
+
operation?: string;
|
|
123
|
+
// (undocumented)
|
|
124
|
+
provider?: string;
|
|
125
|
+
// (undocumented)
|
|
126
|
+
resource?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// @public
|
|
130
|
+
export interface SerialConsoleStatus {
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// @public
|
|
135
|
+
export interface SerialPort extends ProxyResource {
|
|
136
|
+
state?: SerialPortState;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// @public
|
|
140
|
+
export interface SerialPortConnectResult {
|
|
141
|
+
connectionString?: string;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// @public
|
|
145
|
+
export interface SerialPortListResult {
|
|
146
|
+
value?: SerialPort[];
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// @public
|
|
150
|
+
export interface SerialPorts {
|
|
151
|
+
connect(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsConnectOptionalParams): Promise<SerialPortsConnectResponse>;
|
|
152
|
+
create(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, parameters: SerialPort, options?: SerialPortsCreateOptionalParams): Promise<SerialPortsCreateResponse>;
|
|
153
|
+
delete(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsDeleteOptionalParams): Promise<void>;
|
|
154
|
+
get(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsGetOptionalParams): Promise<SerialPortsGetResponse>;
|
|
155
|
+
list(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, options?: SerialPortsListOptionalParams): Promise<SerialPortsListResponse>;
|
|
156
|
+
listBySubscriptions(options?: SerialPortsListBySubscriptionsOptionalParams): Promise<SerialPortsListBySubscriptionsResponse>;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// @public
|
|
160
|
+
export interface SerialPortsConnectOptionalParams extends coreClient.OperationOptions {
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// @public
|
|
164
|
+
export type SerialPortsConnectResponse = SerialPortConnectResult;
|
|
165
|
+
|
|
166
|
+
// @public
|
|
167
|
+
export interface SerialPortsCreateOptionalParams extends coreClient.OperationOptions {
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// @public
|
|
171
|
+
export type SerialPortsCreateResponse = SerialPort;
|
|
172
|
+
|
|
173
|
+
// @public
|
|
174
|
+
export interface SerialPortsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// @public
|
|
178
|
+
export interface SerialPortsGetOptionalParams extends coreClient.OperationOptions {
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// @public
|
|
182
|
+
export type SerialPortsGetResponse = SerialPort;
|
|
183
|
+
|
|
184
|
+
// @public
|
|
185
|
+
export interface SerialPortsListBySubscriptionsOptionalParams extends coreClient.OperationOptions {
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// @public
|
|
189
|
+
export type SerialPortsListBySubscriptionsResponse = SerialPortListResult;
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export interface SerialPortsListOptionalParams extends coreClient.OperationOptions {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// @public
|
|
196
|
+
export type SerialPortsListResponse = SerialPortListResult;
|
|
197
|
+
|
|
198
|
+
// @public
|
|
199
|
+
export type SerialPortState = "enabled" | "disabled";
|
|
200
|
+
|
|
201
|
+
// (No @packageDocumentation comment for this package)
|
|
202
|
+
|
|
203
|
+
```
|