@azure/arm-serialconsole 2.1.1-alpha.20250620.1 → 2.1.1-alpha.20250721.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.
Files changed (27) hide show
  1. package/dist/browser/microsoftSerialConsoleClient.js +14 -5
  2. package/dist/browser/microsoftSerialConsoleClient.js.map +1 -1
  3. package/dist/browser/models/mappers.js +8 -3
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/serialPorts.js +1 -0
  6. package/dist/browser/operations/serialPorts.js.map +1 -1
  7. package/dist/commonjs/microsoftSerialConsoleClient.js +14 -5
  8. package/dist/commonjs/microsoftSerialConsoleClient.js.map +1 -1
  9. package/dist/commonjs/models/mappers.js +8 -3
  10. package/dist/commonjs/models/mappers.js.map +1 -1
  11. package/dist/commonjs/operations/serialPorts.js +1 -0
  12. package/dist/commonjs/operations/serialPorts.js.map +1 -1
  13. package/dist/commonjs/tsdoc-metadata.json +11 -11
  14. package/dist/esm/microsoftSerialConsoleClient.js +14 -5
  15. package/dist/esm/microsoftSerialConsoleClient.js.map +1 -1
  16. package/dist/esm/models/mappers.js +8 -3
  17. package/dist/esm/models/mappers.js.map +1 -1
  18. package/dist/esm/operations/serialPorts.js +1 -0
  19. package/dist/esm/operations/serialPorts.js.map +1 -1
  20. package/dist/react-native/microsoftSerialConsoleClient.js +14 -5
  21. package/dist/react-native/microsoftSerialConsoleClient.js.map +1 -1
  22. package/dist/react-native/models/mappers.js +8 -3
  23. package/dist/react-native/models/mappers.js.map +1 -1
  24. package/dist/react-native/operations/serialPorts.js +1 -0
  25. package/dist/react-native/operations/serialPorts.js.map +1 -1
  26. package/package.json +2 -2
  27. /package/review/{arm-serialconsole.api.md → arm-serialconsole-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM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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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AA+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,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,EAC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,EACF,mNAAmN;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,k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U;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"]}
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.20250620.1",
6
+ "version": "2.1.1-alpha.20250721.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": "./tsconfig.src.json",
93
+ "project": "../../../tsconfig.src.build.json",
94
94
  "exports": {
95
95
  "./package.json": "./package.json",
96
96
  ".": "./src/index.ts"