@azure/arm-storagesync 9.1.1-alpha.20250717.1 → 9.1.1-alpha.20250718.2
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/lroImpl.js +11 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/microsoftStorageSync.js +23 -5
- package/dist/browser/microsoftStorageSync.js.map +1 -1
- package/dist/browser/models/mappers.js +248 -117
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/cloudEndpoints.js +87 -69
- package/dist/browser/operations/cloudEndpoints.js.map +1 -1
- package/dist/browser/operations/operationStatusOperations.js +1 -0
- package/dist/browser/operations/operationStatusOperations.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +32 -39
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +1 -0
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/registeredServers.js +43 -45
- package/dist/browser/operations/registeredServers.js.map +1 -1
- package/dist/browser/operations/serverEndpoints.js +54 -51
- package/dist/browser/operations/serverEndpoints.js.map +1 -1
- package/dist/browser/operations/storageSyncServices.js +52 -71
- package/dist/browser/operations/storageSyncServices.js.map +1 -1
- package/dist/browser/operations/syncGroups.js +10 -27
- package/dist/browser/operations/syncGroups.js.map +1 -1
- package/dist/browser/operations/workflows.js +10 -27
- package/dist/browser/operations/workflows.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/lroImpl.js +11 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/microsoftStorageSync.js +23 -5
- package/dist/commonjs/microsoftStorageSync.js.map +1 -1
- package/dist/commonjs/models/mappers.js +248 -117
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/cloudEndpoints.js +87 -68
- package/dist/commonjs/operations/cloudEndpoints.js.map +1 -1
- package/dist/commonjs/operations/operationStatusOperations.js +1 -0
- package/dist/commonjs/operations/operationStatusOperations.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +32 -38
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +1 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/registeredServers.js +43 -44
- package/dist/commonjs/operations/registeredServers.js.map +1 -1
- package/dist/commonjs/operations/serverEndpoints.js +54 -50
- package/dist/commonjs/operations/serverEndpoints.js.map +1 -1
- package/dist/commonjs/operations/storageSyncServices.js +52 -70
- package/dist/commonjs/operations/storageSyncServices.js.map +1 -1
- package/dist/commonjs/operations/syncGroups.js +10 -26
- package/dist/commonjs/operations/syncGroups.js.map +1 -1
- package/dist/commonjs/operations/workflows.js +10 -26
- package/dist/commonjs/operations/workflows.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +11 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/microsoftStorageSync.js +23 -5
- package/dist/esm/microsoftStorageSync.js.map +1 -1
- package/dist/esm/models/mappers.js +248 -117
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/cloudEndpoints.js +87 -69
- package/dist/esm/operations/cloudEndpoints.js.map +1 -1
- package/dist/esm/operations/operationStatusOperations.js +1 -0
- package/dist/esm/operations/operationStatusOperations.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +32 -39
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +1 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/registeredServers.js +43 -45
- package/dist/esm/operations/registeredServers.js.map +1 -1
- package/dist/esm/operations/serverEndpoints.js +54 -51
- package/dist/esm/operations/serverEndpoints.js.map +1 -1
- package/dist/esm/operations/storageSyncServices.js +52 -71
- package/dist/esm/operations/storageSyncServices.js.map +1 -1
- package/dist/esm/operations/syncGroups.js +10 -27
- package/dist/esm/operations/syncGroups.js.map +1 -1
- package/dist/esm/operations/workflows.js +10 -27
- package/dist/esm/operations/workflows.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/lroImpl.js +11 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/microsoftStorageSync.js +23 -5
- package/dist/react-native/microsoftStorageSync.js.map +1 -1
- package/dist/react-native/models/mappers.js +248 -117
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/cloudEndpoints.js +87 -69
- package/dist/react-native/operations/cloudEndpoints.js.map +1 -1
- package/dist/react-native/operations/operationStatusOperations.js +1 -0
- package/dist/react-native/operations/operationStatusOperations.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +32 -39
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +1 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/registeredServers.js +43 -45
- package/dist/react-native/operations/registeredServers.js.map +1 -1
- package/dist/react-native/operations/serverEndpoints.js +54 -51
- package/dist/react-native/operations/serverEndpoints.js.map +1 -1
- package/dist/react-native/operations/storageSyncServices.js +52 -71
- package/dist/react-native/operations/storageSyncServices.js.map +1 -1
- package/dist/react-native/operations/syncGroups.js +10 -27
- package/dist/react-native/operations/syncGroups.js.map +1 -1
- package/dist/react-native/operations/workflows.js +10 -27
- package/dist/react-native/operations/workflows.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-storagesync-node.api.md +1557 -1557
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"registeredServers.js","sourceRoot":"","sources":["../../../src/operations/registeredServers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAiBxC,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,wBAAwB,CAC7B,iBAAyB,EACzB,sBAA8B,EAC9B,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,iCAAiC,CACjD,iBAAiB,EACjB,sBAAsB,EACtB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,kCAAkC,CAC5C,iBAAiB,EACjB,sBAAsB,EACtB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,kCAAkC,CAC/C,iBAAyB,EACzB,sBAA8B,EAC9B,OAAiE,EACjE,SAAwB;;YAExB,IAAI,MAAyD,CAAC;YA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aAAa,EAAE,OAAO,CAAC,8BAA8B;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;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,sBAAsB;QACjC,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EACF,8LAA8L;IAChM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,uCAAuC;SAC/D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,uCAAuC;SAC/D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,uCAAuC;SAC/D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,uCAAuC;SAC/D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,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,sBAAsB;QACjC,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { RegisteredServers } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n RegisteredServer,\n RegisteredServersListByStorageSyncServiceOptionalParams,\n RegisteredServersListByStorageSyncServiceResponse,\n RegisteredServersGetOptionalParams,\n RegisteredServersGetResponse,\n RegisteredServerCreateParameters,\n RegisteredServersCreateOptionalParams,\n RegisteredServersCreateResponse,\n RegisteredServersDeleteOptionalParams,\n RegisteredServersDeleteResponse,\n TriggerRolloverRequest,\n RegisteredServersTriggerRolloverOptionalParams,\n RegisteredServersTriggerRolloverResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RegisteredServers operations. */\nexport class RegisteredServersImpl implements RegisteredServers {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class RegisteredServers class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get a given registered server list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param options The options parameters.\n */\n public listByStorageSyncService(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams\n ): PagedAsyncIterableIterator<RegisteredServer> {\n const iter = this.listByStorageSyncServicePagingAll(\n resourceGroupName,\n storageSyncServiceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByStorageSyncServicePagingPage(\n resourceGroupName,\n storageSyncServiceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByStorageSyncServicePagingPage(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<RegisteredServer[]> {\n let result: RegisteredServersListByStorageSyncServiceResponse;\n result = await this._listByStorageSyncService(\n resourceGroupName,\n storageSyncServiceName,\n options\n );\n yield result.value || [];\n }\n\n private async *listByStorageSyncServicePagingAll(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams\n ): AsyncIterableIterator<RegisteredServer> {\n for await (const page of this.listByStorageSyncServicePagingPage(\n resourceGroupName,\n storageSyncServiceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a given registered server list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param options The options parameters.\n */\n private _listByStorageSyncService(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams\n ): Promise<RegisteredServersListByStorageSyncServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, options },\n listByStorageSyncServiceOperationSpec\n );\n }\n\n /**\n * Get a given registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n options?: RegisteredServersGetOptionalParams\n ): Promise<RegisteredServersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, serverId, options },\n getOperationSpec\n );\n }\n\n /**\n * Add a new registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param parameters Body of Registered Server object.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: RegisteredServerCreateParameters,\n options?: RegisteredServersCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<RegisteredServersCreateResponse>,\n RegisteredServersCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<RegisteredServersCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Add a new registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param parameters Body of Registered Server object.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: RegisteredServerCreateParameters,\n options?: RegisteredServersCreateOptionalParams\n ): Promise<RegisteredServersCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete the given registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n options?: RegisteredServersDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<RegisteredServersDeleteResponse>,\n RegisteredServersDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<RegisteredServersDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, storageSyncServiceName, serverId, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete the given registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n options?: RegisteredServersDeleteOptionalParams\n ): Promise<RegisteredServersDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Triggers Server certificate rollover.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId Server Id\n * @param parameters Body of Trigger Rollover request.\n * @param options The options parameters.\n */\n async beginTriggerRollover(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: TriggerRolloverRequest,\n options?: RegisteredServersTriggerRolloverOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<RegisteredServersTriggerRolloverResponse>,\n RegisteredServersTriggerRolloverResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<RegisteredServersTriggerRolloverResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n },\n triggerRolloverOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Triggers Server certificate rollover.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId Server Id\n * @param parameters Body of Trigger Rollover request.\n * @param options The options parameters.\n */\n async beginTriggerRolloverAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: TriggerRolloverRequest,\n options?: RegisteredServersTriggerRolloverOptionalParams\n ): Promise<RegisteredServersTriggerRolloverResponse> {\n const poller = await this.beginTriggerRollover(\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByStorageSyncServiceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegisteredServerArray,\n headersMapper: Mappers.RegisteredServersListByStorageSyncServiceHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n 201: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n 202: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n 204: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters12,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\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/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst triggerRolloverOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n 201: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n 202: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n 204: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"registeredServers.js","sourceRoot":"","sources":["../../../src/operations/registeredServers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAiBxC,4CAA4C;AAC5C,qDAAqD;AACrD,MAAa,qBAAqB;IACf,MAAM,CAAuB;IAE9C;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,wBAAwB,CAC7B,iBAAyB,EACzB,sBAA8B,EAC9B,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,iCAAiC,CACjD,iBAAiB,EACjB,sBAAsB,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C5B,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { RegisteredServers } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n RegisteredServer,\n RegisteredServersListByStorageSyncServiceOptionalParams,\n RegisteredServersListByStorageSyncServiceResponse,\n RegisteredServersGetOptionalParams,\n RegisteredServersGetResponse,\n RegisteredServerCreateParameters,\n RegisteredServersCreateOptionalParams,\n RegisteredServersCreateResponse,\n RegisteredServersDeleteOptionalParams,\n RegisteredServersDeleteResponse,\n TriggerRolloverRequest,\n RegisteredServersTriggerRolloverOptionalParams,\n RegisteredServersTriggerRolloverResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RegisteredServers operations. */\nexport class RegisteredServersImpl implements RegisteredServers {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class RegisteredServers class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get a given registered server list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param options The options parameters.\n */\n public listByStorageSyncService(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams\n ): PagedAsyncIterableIterator<RegisteredServer> {\n const iter = this.listByStorageSyncServicePagingAll(\n resourceGroupName,\n storageSyncServiceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByStorageSyncServicePagingPage(\n resourceGroupName,\n storageSyncServiceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByStorageSyncServicePagingPage(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<RegisteredServer[]> {\n let result: RegisteredServersListByStorageSyncServiceResponse;\n result = await this._listByStorageSyncService(\n resourceGroupName,\n storageSyncServiceName,\n options\n );\n yield result.value || [];\n }\n\n private async *listByStorageSyncServicePagingAll(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams\n ): AsyncIterableIterator<RegisteredServer> {\n for await (const page of this.listByStorageSyncServicePagingPage(\n resourceGroupName,\n storageSyncServiceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a given registered server list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param options The options parameters.\n */\n private _listByStorageSyncService(\n resourceGroupName: string,\n storageSyncServiceName: string,\n options?: RegisteredServersListByStorageSyncServiceOptionalParams\n ): Promise<RegisteredServersListByStorageSyncServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, options },\n listByStorageSyncServiceOperationSpec\n );\n }\n\n /**\n * Get a given registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n options?: RegisteredServersGetOptionalParams\n ): Promise<RegisteredServersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, serverId, options },\n getOperationSpec\n );\n }\n\n /**\n * Add a new registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param parameters Body of Registered Server object.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: RegisteredServerCreateParameters,\n options?: RegisteredServersCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<RegisteredServersCreateResponse>,\n RegisteredServersCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<RegisteredServersCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Add a new registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param parameters Body of Registered Server object.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: RegisteredServerCreateParameters,\n options?: RegisteredServersCreateOptionalParams\n ): Promise<RegisteredServersCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete the given registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n options?: RegisteredServersDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<RegisteredServersDeleteResponse>,\n RegisteredServersDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<RegisteredServersDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, storageSyncServiceName, serverId, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete the given registered server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId GUID identifying the on-premises server.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n options?: RegisteredServersDeleteOptionalParams\n ): Promise<RegisteredServersDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Triggers Server certificate rollover.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId Server Id\n * @param parameters Body of Trigger Rollover request.\n * @param options The options parameters.\n */\n async beginTriggerRollover(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: TriggerRolloverRequest,\n options?: RegisteredServersTriggerRolloverOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<RegisteredServersTriggerRolloverResponse>,\n RegisteredServersTriggerRolloverResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<RegisteredServersTriggerRolloverResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n },\n triggerRolloverOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Triggers Server certificate rollover.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param serverId Server Id\n * @param parameters Body of Trigger Rollover request.\n * @param options The options parameters.\n */\n async beginTriggerRolloverAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n serverId: string,\n parameters: TriggerRolloverRequest,\n options?: RegisteredServersTriggerRolloverOptionalParams\n ): Promise<RegisteredServersTriggerRolloverResponse> {\n const poller = await this.beginTriggerRollover(\n resourceGroupName,\n storageSyncServiceName,\n serverId,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByStorageSyncServiceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegisteredServerArray,\n headersMapper: Mappers.RegisteredServersListByStorageSyncServiceHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n 201: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n 202: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n 204: {\n bodyMapper: Mappers.RegisteredServer,\n headersMapper: Mappers.RegisteredServersCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters12,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\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/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.RegisteredServersDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst triggerRolloverOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}/triggerRollover\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n 201: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n 202: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n 204: {\n headersMapper: Mappers.RegisteredServersTriggerRolloverHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.serverId\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
@@ -17,6 +17,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
17
17
|
/// <reference lib="esnext.asynciterable" />
|
18
18
|
/** Class containing ServerEndpoints operations. */
|
19
19
|
class ServerEndpointsImpl {
|
20
|
+
client;
|
20
21
|
/**
|
21
22
|
* Initialize a new instance of the class ServerEndpoints class.
|
22
23
|
* @param client Reference to the service client
|
@@ -41,39 +42,22 @@ class ServerEndpointsImpl {
|
|
41
42
|
return this;
|
42
43
|
},
|
43
44
|
byPage: (settings) => {
|
44
|
-
if (settings
|
45
|
+
if (settings?.maxPageSize) {
|
45
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
46
47
|
}
|
47
48
|
return this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, settings);
|
48
49
|
}
|
49
50
|
};
|
50
51
|
}
|
51
|
-
listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, _settings) {
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
yield yield tslib_1.__await(result.value || []);
|
56
|
-
});
|
52
|
+
async *listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, _settings) {
|
53
|
+
let result;
|
54
|
+
result = await this._listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupName, options);
|
55
|
+
yield result.value || [];
|
57
56
|
}
|
58
|
-
listBySyncGroupPagingAll(resourceGroupName, storageSyncServiceName, syncGroupName, options) {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
63
|
-
_c = _f.value;
|
64
|
-
_d = false;
|
65
|
-
const page = _c;
|
66
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
67
|
-
}
|
68
|
-
}
|
69
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
70
|
-
finally {
|
71
|
-
try {
|
72
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
73
|
-
}
|
74
|
-
finally { if (e_1) throw e_1.error; }
|
75
|
-
}
|
76
|
-
});
|
57
|
+
async *listBySyncGroupPagingAll(resourceGroupName, storageSyncServiceName, syncGroupName, options) {
|
58
|
+
for await (const page of this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options)) {
|
59
|
+
yield* page;
|
60
|
+
}
|
77
61
|
}
|
78
62
|
/**
|
79
63
|
* Create a new ServerEndpoint.
|
@@ -89,14 +73,19 @@ class ServerEndpointsImpl {
|
|
89
73
|
return this.client.sendOperationRequest(args, spec);
|
90
74
|
};
|
91
75
|
const sendOperation = async (args, spec) => {
|
92
|
-
var _a;
|
93
76
|
let currentRawResponse = undefined;
|
94
|
-
const providedCallback =
|
77
|
+
const providedCallback = args.options?.onResponse;
|
95
78
|
const callback = (rawResponse, flatResponse) => {
|
96
79
|
currentRawResponse = rawResponse;
|
97
|
-
providedCallback
|
80
|
+
providedCallback?.(rawResponse, flatResponse);
|
81
|
+
};
|
82
|
+
const updatedArgs = {
|
83
|
+
...args,
|
84
|
+
options: {
|
85
|
+
...args.options,
|
86
|
+
onResponse: callback
|
87
|
+
}
|
98
88
|
};
|
99
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
100
89
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
101
90
|
return {
|
102
91
|
flatResponse,
|
@@ -116,8 +105,8 @@ class ServerEndpointsImpl {
|
|
116
105
|
options
|
117
106
|
}, createOperationSpec);
|
118
107
|
const poller = new core_lro_1.LroEngine(lro, {
|
119
|
-
resumeFrom: options
|
120
|
-
intervalInMs: options
|
108
|
+
resumeFrom: options?.resumeFrom,
|
109
|
+
intervalInMs: options?.updateIntervalInMs
|
121
110
|
});
|
122
111
|
await poller.poll();
|
123
112
|
return poller;
|
@@ -148,14 +137,19 @@ class ServerEndpointsImpl {
|
|
148
137
|
return this.client.sendOperationRequest(args, spec);
|
149
138
|
};
|
150
139
|
const sendOperation = async (args, spec) => {
|
151
|
-
var _a;
|
152
140
|
let currentRawResponse = undefined;
|
153
|
-
const providedCallback =
|
141
|
+
const providedCallback = args.options?.onResponse;
|
154
142
|
const callback = (rawResponse, flatResponse) => {
|
155
143
|
currentRawResponse = rawResponse;
|
156
|
-
providedCallback
|
144
|
+
providedCallback?.(rawResponse, flatResponse);
|
145
|
+
};
|
146
|
+
const updatedArgs = {
|
147
|
+
...args,
|
148
|
+
options: {
|
149
|
+
...args.options,
|
150
|
+
onResponse: callback
|
151
|
+
}
|
157
152
|
};
|
158
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
159
153
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
160
154
|
return {
|
161
155
|
flatResponse,
|
@@ -174,8 +168,8 @@ class ServerEndpointsImpl {
|
|
174
168
|
options
|
175
169
|
}, updateOperationSpec);
|
176
170
|
const poller = new core_lro_1.LroEngine(lro, {
|
177
|
-
resumeFrom: options
|
178
|
-
intervalInMs: options
|
171
|
+
resumeFrom: options?.resumeFrom,
|
172
|
+
intervalInMs: options?.updateIntervalInMs
|
179
173
|
});
|
180
174
|
await poller.poll();
|
181
175
|
return poller;
|
@@ -222,14 +216,19 @@ class ServerEndpointsImpl {
|
|
222
216
|
return this.client.sendOperationRequest(args, spec);
|
223
217
|
};
|
224
218
|
const sendOperation = async (args, spec) => {
|
225
|
-
var _a;
|
226
219
|
let currentRawResponse = undefined;
|
227
|
-
const providedCallback =
|
220
|
+
const providedCallback = args.options?.onResponse;
|
228
221
|
const callback = (rawResponse, flatResponse) => {
|
229
222
|
currentRawResponse = rawResponse;
|
230
|
-
providedCallback
|
223
|
+
providedCallback?.(rawResponse, flatResponse);
|
224
|
+
};
|
225
|
+
const updatedArgs = {
|
226
|
+
...args,
|
227
|
+
options: {
|
228
|
+
...args.options,
|
229
|
+
onResponse: callback
|
230
|
+
}
|
231
231
|
};
|
232
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
233
232
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
234
233
|
return {
|
235
234
|
flatResponse,
|
@@ -248,8 +247,8 @@ class ServerEndpointsImpl {
|
|
248
247
|
options
|
249
248
|
}, deleteOperationSpec);
|
250
249
|
const poller = new core_lro_1.LroEngine(lro, {
|
251
|
-
resumeFrom: options
|
252
|
-
intervalInMs: options
|
250
|
+
resumeFrom: options?.resumeFrom,
|
251
|
+
intervalInMs: options?.updateIntervalInMs
|
253
252
|
});
|
254
253
|
await poller.poll();
|
255
254
|
return poller;
|
@@ -290,14 +289,19 @@ class ServerEndpointsImpl {
|
|
290
289
|
return this.client.sendOperationRequest(args, spec);
|
291
290
|
};
|
292
291
|
const sendOperation = async (args, spec) => {
|
293
|
-
var _a;
|
294
292
|
let currentRawResponse = undefined;
|
295
|
-
const providedCallback =
|
293
|
+
const providedCallback = args.options?.onResponse;
|
296
294
|
const callback = (rawResponse, flatResponse) => {
|
297
295
|
currentRawResponse = rawResponse;
|
298
|
-
providedCallback
|
296
|
+
providedCallback?.(rawResponse, flatResponse);
|
297
|
+
};
|
298
|
+
const updatedArgs = {
|
299
|
+
...args,
|
300
|
+
options: {
|
301
|
+
...args.options,
|
302
|
+
onResponse: callback
|
303
|
+
}
|
299
304
|
};
|
300
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
301
305
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
302
306
|
return {
|
303
307
|
flatResponse,
|
@@ -317,8 +321,8 @@ class ServerEndpointsImpl {
|
|
317
321
|
options
|
318
322
|
}, recallActionOperationSpec);
|
319
323
|
const poller = new core_lro_1.LroEngine(lro, {
|
320
|
-
resumeFrom: options
|
321
|
-
intervalInMs: options
|
324
|
+
resumeFrom: options?.resumeFrom,
|
325
|
+
intervalInMs: options?.updateIntervalInMs
|
322
326
|
});
|
323
327
|
await poller.poll();
|
324
328
|
return poller;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serverEndpoints.js","sour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ACpC,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,sBAAsB;QACjC,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ServerEndpoints } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n ServerEndpoint,\n ServerEndpointsListBySyncGroupOptionalParams,\n ServerEndpointsListBySyncGroupResponse,\n ServerEndpointCreateParameters,\n ServerEndpointsCreateOptionalParams,\n ServerEndpointsCreateResponse,\n ServerEndpointsUpdateOptionalParams,\n ServerEndpointsUpdateResponse,\n ServerEndpointsGetOptionalParams,\n ServerEndpointsGetResponse,\n ServerEndpointsDeleteOptionalParams,\n ServerEndpointsDeleteResponse,\n RecallActionParameters,\n ServerEndpointsRecallActionOptionalParams,\n ServerEndpointsRecallActionResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServerEndpoints operations. */\nexport class ServerEndpointsImpl implements ServerEndpoints {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class ServerEndpoints class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get a ServerEndpoint list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n public listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams\n ): PagedAsyncIterableIterator<ServerEndpoint> {\n const iter = this.listBySyncGroupPagingAll(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listBySyncGroupPagingPage(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<ServerEndpoint[]> {\n let result: ServerEndpointsListBySyncGroupResponse;\n result = await this._listBySyncGroup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\n yield result.value || [];\n }\n\n private async *listBySyncGroupPagingAll(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams\n ): AsyncIterableIterator<ServerEndpoint> {\n for await (const page of this.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Create a new ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: ServerEndpointCreateParameters,\n options?: ServerEndpointsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsCreateResponse>,\n ServerEndpointsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: ServerEndpointCreateParameters,\n options?: ServerEndpointsCreateOptionalParams\n ): Promise<ServerEndpointsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patch a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsUpdateResponse>,\n ServerEndpointsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Patch a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsUpdateOptionalParams\n ): Promise<ServerEndpointsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsGetOptionalParams\n ): Promise<ServerEndpointsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Delete a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsDeleteResponse>,\n ServerEndpointsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsDeleteOptionalParams\n ): Promise<ServerEndpointsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a ServerEndpoint list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n private _listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams\n ): Promise<ServerEndpointsListBySyncGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, syncGroupName, options },\n listBySyncGroupOperationSpec\n );\n }\n\n /**\n * Recall a server endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Recall Action object.\n * @param options The options parameters.\n */\n async beginRecallAction(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: RecallActionParameters,\n options?: ServerEndpointsRecallActionOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsRecallActionResponse>,\n ServerEndpointsRecallActionResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsRecallActionResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n },\n recallActionOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Recall a server endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Recall Action object.\n * @param options The options parameters.\n */\n async beginRecallActionAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: RecallActionParameters,\n options?: ServerEndpointsRecallActionOptionalParams\n ): Promise<ServerEndpointsRecallActionResponse> {\n const poller = await this.beginRecallAction(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n 201: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n 202: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n 204: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n 201: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n 202: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n 204: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySyncGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpointArray,\n headersMapper: Mappers.ServerEndpointsListBySyncGroupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst recallActionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n 201: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n 202: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n 204: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"serverEndpoints.js","sourceRoot":"","sources":["../../../src/operations/serverEndpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAmBxC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IACb,MAAM,CAAuB;IAE9C;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,eAAe,CACpB,iBAAyB,EACzB,sBAA8B,EAC9B,aAAqB,EACrB,OAAsD;QAEtD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;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;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,GAAG,EAAE;YACH,aAAa,EAAE,OAAO,CAAC,kCAAkC;SAC1D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,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,sBAAsB;QACjC,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { ServerEndpoints } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n ServerEndpoint,\n ServerEndpointsListBySyncGroupOptionalParams,\n ServerEndpointsListBySyncGroupResponse,\n ServerEndpointCreateParameters,\n ServerEndpointsCreateOptionalParams,\n ServerEndpointsCreateResponse,\n ServerEndpointsUpdateOptionalParams,\n ServerEndpointsUpdateResponse,\n ServerEndpointsGetOptionalParams,\n ServerEndpointsGetResponse,\n ServerEndpointsDeleteOptionalParams,\n ServerEndpointsDeleteResponse,\n RecallActionParameters,\n ServerEndpointsRecallActionOptionalParams,\n ServerEndpointsRecallActionResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServerEndpoints operations. */\nexport class ServerEndpointsImpl implements ServerEndpoints {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class ServerEndpoints class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get a ServerEndpoint list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n public listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams\n ): PagedAsyncIterableIterator<ServerEndpoint> {\n const iter = this.listBySyncGroupPagingAll(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listBySyncGroupPagingPage(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<ServerEndpoint[]> {\n let result: ServerEndpointsListBySyncGroupResponse;\n result = await this._listBySyncGroup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\n yield result.value || [];\n }\n\n private async *listBySyncGroupPagingAll(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams\n ): AsyncIterableIterator<ServerEndpoint> {\n for await (const page of this.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Create a new ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: ServerEndpointCreateParameters,\n options?: ServerEndpointsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsCreateResponse>,\n ServerEndpointsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: ServerEndpointCreateParameters,\n options?: ServerEndpointsCreateOptionalParams\n ): Promise<ServerEndpointsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patch a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsUpdateResponse>,\n ServerEndpointsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Patch a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsUpdateOptionalParams\n ): Promise<ServerEndpointsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsGetOptionalParams\n ): Promise<ServerEndpointsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Delete a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsDeleteResponse>,\n ServerEndpointsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a given ServerEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n options?: ServerEndpointsDeleteOptionalParams\n ): Promise<ServerEndpointsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a ServerEndpoint list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n private _listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: ServerEndpointsListBySyncGroupOptionalParams\n ): Promise<ServerEndpointsListBySyncGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, syncGroupName, options },\n listBySyncGroupOperationSpec\n );\n }\n\n /**\n * Recall a server endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Recall Action object.\n * @param options The options parameters.\n */\n async beginRecallAction(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: RecallActionParameters,\n options?: ServerEndpointsRecallActionOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServerEndpointsRecallActionResponse>,\n ServerEndpointsRecallActionResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServerEndpointsRecallActionResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n },\n recallActionOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Recall a server endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param serverEndpointName Name of Server Endpoint object.\n * @param parameters Body of Recall Action object.\n * @param options The options parameters.\n */\n async beginRecallActionAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n serverEndpointName: string,\n parameters: RecallActionParameters,\n options?: ServerEndpointsRecallActionOptionalParams\n ): Promise<ServerEndpointsRecallActionResponse> {\n const poller = await this.beginRecallAction(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n serverEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n 201: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n 202: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n 204: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n 201: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n 202: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n 204: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsUpdateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpoint,\n headersMapper: Mappers.ServerEndpointsGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.ServerEndpointsDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySyncGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerEndpointArray,\n headersMapper: Mappers.ServerEndpointsListBySyncGroupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst recallActionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/serverEndpoints/{serverEndpointName}/recallAction\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n 201: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n 202: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n 204: {\n headersMapper: Mappers.ServerEndpointsRecallActionHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.serverEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|