@azure/arm-appcontainers 3.0.0-alpha.20251201.1 → 3.0.0-alpha.20251203.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/operations/connectedEnvironmentsDaprComponents.d.ts.map +1 -1
- package/dist/browser/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/managedEnvironmentPrivateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/managedEnvironmentPrivateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.d.ts.map +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.js.map +1 -1
- package/dist/esm/operations/connectedEnvironmentsDaprComponents.d.ts.map +1 -1
- package/dist/esm/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/managedEnvironmentPrivateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/managedEnvironmentPrivateLinkResources.js.map +1 -1
- package/dist/react-native/operations/connectedEnvironmentsDaprComponents.d.ts.map +1 -1
- package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedEnvironmentPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateEndpointConnections.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAe9C,4CAA4C;AAC5C,gFAAgF;AAChF,MAAa,gDAAgD;IAG1C,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAwE;QAExE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;QAC7E,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACpF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,eAAuB,EACvB,OAAwE,EACxE,QAAuB;QAEvB,IAAI,M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ClC;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,gBAAgB;QAC3B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedEnvironmentPrivateEndpointConnections } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnection,\n ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListResponse,\n ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsGetResponse,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n ManagedEnvironmentPrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedEnvironmentPrivateEndpointConnections operations. */\nexport class ManagedEnvironmentPrivateEndpointConnectionsImpl\n implements ManagedEnvironmentPrivateEndpointConnections\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ManagedEnvironmentPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, environmentName, options);\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.listPagingPage(resourceGroupName, environmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: ManagedEnvironmentPrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, environmentName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(resourceGroupName, environmentName, options)) {\n yield* page;\n }\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.privateEndpointConnectionEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateEndpointConnections.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAe9C,4CAA4C;AAC5C,gFAAgF;AAChF,MAAa,gDAAgD;IAC1C,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAwE;QAExE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;QAC7E,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACpF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,eAAuB,EACvB,OAAwE,EACxE,QAAuB;QAEvB,IAAI,MAAgE,CAAC;QACrE,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IA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U,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedEnvironmentPrivateEndpointConnections } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnection,\n ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListResponse,\n ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsGetResponse,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n ManagedEnvironmentPrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedEnvironmentPrivateEndpointConnections operations. */\nexport class ManagedEnvironmentPrivateEndpointConnectionsImpl implements ManagedEnvironmentPrivateEndpointConnections {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ManagedEnvironmentPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, environmentName, options);\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.listPagingPage(resourceGroupName, environmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: ManagedEnvironmentPrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, environmentName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(resourceGroupName, environmentName, options)) {\n yield* page;\n }\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.privateEndpointConnectionEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedEnvironmentPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EAEnB,wDAAwD,EAGzD,MAAM,oBAAoB,CAAC;AAG5B,0EAA0E;AAC1E,qBAAa,
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EAEnB,wDAAwD,EAGzD,MAAM,oBAAoB,CAAC;AAG5B,0EAA0E;AAC1E,qBAAa,0CAA2C,YAAW,sCAAsC;IACvG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedEnvironmentPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAa,0CAA0C;
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAa,0CAA0C;IACpC,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;QAC7E,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACpF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,eAAuB,EACvB,OAAkE,EAClE,QAAuB;QAEvB,IAAI,MAA0D,CAAC;QAC/D,IAAI,iBAAiB,GAAG,QAAQ,E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\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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedEnvironmentPrivateLinkResources } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type {\n PrivateLinkResource,\n ManagedEnvironmentPrivateLinkResourcesListNextOptionalParams,\n ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ManagedEnvironmentPrivateLinkResourcesListResponse,\n ManagedEnvironmentPrivateLinkResourcesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedEnvironmentPrivateLinkResources operations. */\nexport class ManagedEnvironmentPrivateLinkResourcesImpl implements ManagedEnvironmentPrivateLinkResources {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ManagedEnvironmentPrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * List private link resources for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listPagingAll(resourceGroupName, environmentName, options);\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.listPagingPage(resourceGroupName, environmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: ManagedEnvironmentPrivateLinkResourcesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, environmentName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listPagingPage(resourceGroupName, environmentName, options)) {\n yield* page;\n }\n }\n\n /**\n * List private link resources for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ): Promise<ManagedEnvironmentPrivateLinkResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListNextOptionalParams,\n ): Promise<ManagedEnvironmentPrivateLinkResourcesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironmentsDaprComponents.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAI5F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,aAAa,EAEb,qDAAqD,EAErD,oDAAoD,EACpD,8CAA8C,EAC9C,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACvD,iDAAiD,EACjD,4DAA4D,EAC5D,sDAAsD,EAEvD,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,qBAAa,
|
|
1
|
+
{"version":3,"file":"connectedEnvironmentsDaprComponents.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAI5F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,aAAa,EAEb,qDAAqD,EAErD,oDAAoD,EACpD,8CAA8C,EAC9C,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACvD,iDAAiD,EACjD,4DAA4D,EAC5D,sDAAsD,EAEvD,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,qBAAa,uCAAwC,YAAW,mCAAmC;IACjG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,aAAa,CAAC;YAkB7B,cAAc;YA6Bd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC;IAO1D;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,aAAa,EACpC,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yDAAyD,CAAC,EACzE,yDAAyD,CAC1D,CACF;IA6DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,aAAa,EAAE,MAAM,EACrB,qBAAqB,EAAE,aAAa,EACpC,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC;IAWrE;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iDAAiD,CAAC,EACjE,iDAAiD,CAClD,CACF;IA4DD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;IAU7D;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC;IAOlE;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironmentsDaprComponents.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MA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["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ConnectedEnvironmentsDaprComponents } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n DaprComponent,\n ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ConnectedEnvironmentsDaprComponentsListResponse,\n ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ConnectedEnvironmentsDaprComponentsGetResponse,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ConnectedEnvironmentsDaprComponentsDeleteResponse,\n ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsResponse,\n ConnectedEnvironmentsDaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsDaprComponents operations. */\nexport class ConnectedEnvironmentsDaprComponentsImpl\n implements ConnectedEnvironmentsDaprComponents\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsDaprComponents class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\n const iter = this.listPagingAll(resourceGroupName, connectedEnvironmentName, options);\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.listPagingPage(resourceGroupName, connectedEnvironmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: ConnectedEnvironmentsDaprComponentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, connectedEnvironmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a dapr component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse>,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n OperationState<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsDaprComponentsDeleteResponse>,\n ConnectedEnvironmentsDaprComponentsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsDaprComponentsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsDaprComponentsDeleteResponse,\n OperationState<ConnectedEnvironmentsDaprComponentsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List secrets for a dapr component\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n 201: {\n bodyMapper: Mappers.DaprComponent,\n },\n 202: {\n bodyMapper: Mappers.DaprComponent,\n },\n 204: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.daprComponentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprSecretsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"connectedEnvironmentsDaprComponents.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,K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,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ConnectedEnvironmentsDaprComponents } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n DaprComponent,\n ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ConnectedEnvironmentsDaprComponentsListResponse,\n ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ConnectedEnvironmentsDaprComponentsGetResponse,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ConnectedEnvironmentsDaprComponentsDeleteResponse,\n ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsResponse,\n ConnectedEnvironmentsDaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsDaprComponents operations. */\nexport class ConnectedEnvironmentsDaprComponentsImpl implements ConnectedEnvironmentsDaprComponents {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsDaprComponents class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\n const iter = this.listPagingAll(resourceGroupName, connectedEnvironmentName, options);\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.listPagingPage(resourceGroupName, connectedEnvironmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: ConnectedEnvironmentsDaprComponentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, connectedEnvironmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a dapr component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse>,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n OperationState<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsDaprComponentsDeleteResponse>,\n ConnectedEnvironmentsDaprComponentsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsDaprComponentsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsDaprComponentsDeleteResponse,\n OperationState<ConnectedEnvironmentsDaprComponentsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List secrets for a dapr component\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n 201: {\n bodyMapper: Mappers.DaprComponent,\n },\n 202: {\n bodyMapper: Mappers.DaprComponent,\n },\n 204: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.daprComponentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ConnectedEnvironmentsDaprComponentsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprSecretsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedEnvironmentPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AAIrG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,yBAAyB,EAEzB,8DAA8D,EAE9D,6DAA6D,EAC7D,uDAAuD,EACvD,wEAAwE,EACxE,kEAAkE,EAClE,gEAAgE,EAChE,0DAA0D,EAE3D,MAAM,oBAAoB,CAAC;AAG5B,gFAAgF;AAChF,qBAAa,
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateEndpointConnections.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,kCAAkC,CAAC;AAIrG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,yBAAyB,EAEzB,8DAA8D,EAE9D,6DAA6D,EAC7D,uDAAuD,EACvD,wEAAwE,EACxE,kEAAkE,EAClE,gEAAgE,EAChE,0DAA0D,EAE3D,MAAM,oBAAoB,CAAC;AAG5B,gFAAgF;AAChF,qBAAa,gDAAiD,YAAW,4CAA4C;IACnH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,8DAA8D,GACvE,0BA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ironmentPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateEndpointConnections.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,gFAAgF;AAChF,MAAM,OAAO,gDAAgD;IAG1C,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAwE;QAExE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;QAC7E,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACpF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,eAAuB,EACvB,OAA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AE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedEnvironmentPrivateEndpointConnections } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnection,\n ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListResponse,\n ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsGetResponse,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n ManagedEnvironmentPrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedEnvironmentPrivateEndpointConnections operations. */\nexport class ManagedEnvironmentPrivateEndpointConnectionsImpl\n implements ManagedEnvironmentPrivateEndpointConnections\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ManagedEnvironmentPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, environmentName, options);\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.listPagingPage(resourceGroupName, environmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: ManagedEnvironmentPrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, environmentName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(resourceGroupName, environmentName, options)) {\n yield* page;\n }\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.privateEndpointConnectionEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateEndpointConnections.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,gFAAgF;AAChF,MAAM,OAAO,gDAAgD;IAC1C,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAwE;QAExE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;QAC7E,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACpF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACz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;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,gBAAgB;QAC3B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedEnvironmentPrivateEndpointConnections } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n PrivateEndpointConnection,\n ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsListResponse,\n ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsGetResponse,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n ManagedEnvironmentPrivateEndpointConnectionsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedEnvironmentPrivateEndpointConnections operations. */\nexport class ManagedEnvironmentPrivateEndpointConnectionsImpl implements ManagedEnvironmentPrivateEndpointConnections {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ManagedEnvironmentPrivateEndpointConnections class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection> {\n const iter = this.listPagingAll(resourceGroupName, environmentName, options);\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.listPagingPage(resourceGroupName, environmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateEndpointConnection[]> {\n let result: ManagedEnvironmentPrivateEndpointConnectionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, environmentName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): AsyncIterableIterator<PrivateEndpointConnection> {\n for await (const page of this.listPagingPage(resourceGroupName, environmentName, options)) {\n yield* page;\n }\n }\n\n /**\n * List private endpoint connections for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsGetOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update the state of a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param privateEndpointConnectionEnvelope The resource of private endpoint and its properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnectionEnvelope: PrivateEndpointConnection,\n options?: ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n privateEndpointConnectionEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>,\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse,\n OperationState<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a private endpoint connection for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param privateEndpointConnectionName The name of the private endpoint connection associated with the\n * Azure resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n environmentName: string,\n privateEndpointConnectionName: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n environmentName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: ManagedEnvironmentPrivateEndpointConnectionsListNextOptionalParams,\n ): Promise<ManagedEnvironmentPrivateEndpointConnectionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.privateEndpointConnectionEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ManagedEnvironmentPrivateEndpointConnectionsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedEnvironmentPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EAEnB,wDAAwD,EAGzD,MAAM,oBAAoB,CAAC;AAG5B,0EAA0E;AAC1E,qBAAa,
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,mBAAmB,EAEnB,wDAAwD,EAGzD,MAAM,oBAAoB,CAAC;AAG5B,0EAA0E;AAC1E,qBAAa,0CAA2C,YAAW,sCAAsC;IACvG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managedEnvironmentPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAM,OAAO,0CAA0C;
|
|
1
|
+
{"version":3,"file":"managedEnvironmentPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/managedEnvironmentPrivateLinkResources.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAM,OAAO,0CAA0C;IACpC,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,eAAe,EAAE,OAAO,CAAC,CAAC;QAC7E,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,EAA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OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ManagedEnvironmentPrivateLinkResources } 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 type { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport type {\n PrivateLinkResource,\n ManagedEnvironmentPrivateLinkResourcesListNextOptionalParams,\n ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ManagedEnvironmentPrivateLinkResourcesListResponse,\n ManagedEnvironmentPrivateLinkResourcesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedEnvironmentPrivateLinkResources operations. */\nexport class ManagedEnvironmentPrivateLinkResourcesImpl implements ManagedEnvironmentPrivateLinkResources {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ManagedEnvironmentPrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * List private link resources for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource> {\n const iter = this.listPagingAll(resourceGroupName, environmentName, options);\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.listPagingPage(resourceGroupName, environmentName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PrivateLinkResource[]> {\n let result: ManagedEnvironmentPrivateLinkResourcesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, environmentName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ): AsyncIterableIterator<PrivateLinkResource> {\n for await (const page of this.listPagingPage(resourceGroupName, environmentName, options)) {\n yield* page;\n }\n }\n\n /**\n * List private link resources for a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListOptionalParams,\n ): Promise<ManagedEnvironmentPrivateLinkResourcesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: ManagedEnvironmentPrivateLinkResourcesListNextOptionalParams,\n ): Promise<ManagedEnvironmentPrivateLinkResourcesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/privateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironmentsDaprComponents.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAI5F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,aAAa,EAEb,qDAAqD,EAErD,oDAAoD,EACpD,8CAA8C,EAC9C,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACvD,iDAAiD,EACjD,4DAA4D,EAC5D,sDAAsD,EAEvD,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,qBAAa,
|
|
1
|
+
{"version":3,"file":"connectedEnvironmentsDaprComponents.d.ts","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAI5F,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,aAAa,EAEb,qDAAqD,EAErD,oDAAoD,EACpD,8CAA8C,EAC9C,+DAA+D,EAC/D,yDAAyD,EACzD,uDAAuD,EACvD,iDAAiD,EACjD,4DAA4D,EAC5D,sDAAsD,EAEvD,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,qBAAa,uCAAwC,YAAW,mCAAmC;IACjG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,aAAa,CAAC;YAkB7B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