@azure/arm-dns 5.2.0-alpha.20250718.1 → 5.2.0-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/dnsManagementClient.js +17 -5
- package/dist/browser/dnsManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +23 -11
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/dnsResourceReferenceOperations.js +1 -0
- package/dist/browser/operations/dnsResourceReferenceOperations.js.map +1 -1
- package/dist/browser/operations/dnssecConfigs.js +45 -52
- package/dist/browser/operations/dnssecConfigs.js.map +1 -1
- package/dist/browser/operations/recordSets.js +67 -118
- package/dist/browser/operations/recordSets.js.map +1 -1
- package/dist/browser/operations/zones.js +56 -85
- package/dist/browser/operations/zones.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dnsManagementClient.js +17 -5
- package/dist/commonjs/dnsManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +23 -11
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/dnsResourceReferenceOperations.js +1 -0
- package/dist/commonjs/operations/dnsResourceReferenceOperations.js.map +1 -1
- package/dist/commonjs/operations/dnssecConfigs.js +45 -51
- package/dist/commonjs/operations/dnssecConfigs.js.map +1 -1
- package/dist/commonjs/operations/recordSets.js +67 -117
- package/dist/commonjs/operations/recordSets.js.map +1 -1
- package/dist/commonjs/operations/zones.js +56 -84
- package/dist/commonjs/operations/zones.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/dnsManagementClient.js +17 -5
- package/dist/esm/dnsManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +23 -11
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/dnsResourceReferenceOperations.js +1 -0
- package/dist/esm/operations/dnsResourceReferenceOperations.js.map +1 -1
- package/dist/esm/operations/dnssecConfigs.js +45 -52
- package/dist/esm/operations/dnssecConfigs.js.map +1 -1
- package/dist/esm/operations/recordSets.js +67 -118
- package/dist/esm/operations/recordSets.js.map +1 -1
- package/dist/esm/operations/zones.js +56 -85
- package/dist/esm/operations/zones.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dnsManagementClient.js +17 -5
- package/dist/react-native/dnsManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +23 -11
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/dnsResourceReferenceOperations.js +1 -0
- package/dist/react-native/operations/dnsResourceReferenceOperations.js.map +1 -1
- package/dist/react-native/operations/dnssecConfigs.js +45 -52
- package/dist/react-native/operations/dnssecConfigs.js.map +1 -1
- package/dist/react-native/operations/recordSets.js +67 -118
- package/dist/react-native/operations/recordSets.js.map +1 -1
- package/dist/react-native/operations/zones.js +56 -85
- package/dist/react-native/operations/zones.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-dns-node.api.md +541 -541
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnssecConfigs.js","sourceRoot":"","sources":["../../../src/operations/dnssecConfigs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAI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;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DnssecConfigs } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n DnssecConfig,\n DnssecConfigsListByDnsZoneNextOptionalParams,\n DnssecConfigsListByDnsZoneOptionalParams,\n DnssecConfigsListByDnsZoneResponse,\n DnssecConfigsCreateOrUpdateOptionalParams,\n DnssecConfigsCreateOrUpdateResponse,\n DnssecConfigsDeleteOptionalParams,\n DnssecConfigsGetOptionalParams,\n DnssecConfigsGetResponse,\n DnssecConfigsListByDnsZoneNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DnssecConfigs operations. */\nexport class DnssecConfigsImpl implements DnssecConfigs {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class DnssecConfigs class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the DNSSEC configurations in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<DnssecConfig> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DnssecConfig[]> {\n let result: DnssecConfigsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): AsyncIterableIterator<DnssecConfig> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates the DNSSEC configuration on a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DnssecConfigsCreateOrUpdateResponse>,\n DnssecConfigsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DnssecConfigsCreateOrUpdateResponse> => {\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 =\n 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: { resourceGroupName, zoneName, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DnssecConfigsCreateOrUpdateResponse,\n OperationState<DnssecConfigsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates the DNSSEC configuration on a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsCreateOrUpdateOptionalParams,\n ): Promise<DnssecConfigsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n zoneName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 =\n 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: { resourceGroupName, zoneName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, zoneName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the DNSSEC configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsGetOptionalParams,\n ): Promise<DnssecConfigsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the DNSSEC configurations in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): Promise<DnssecConfigsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec,\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: DnssecConfigsListByDnsZoneNextOptionalParams,\n ): Promise<DnssecConfigsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 201: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 202: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 204: {\n bodyMapper: Mappers.DnssecConfig,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfig,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfigListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfigListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"dnssecConfigs.js","sourceRoot":"","sources":["../../../src/operations/dnssecConfigs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAAiB;IACX,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,QAAgB,EAChB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,QAAQ,EACR,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,QAAQ,EACR,OAAO,E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6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DnssecConfigs } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n DnssecConfig,\n DnssecConfigsListByDnsZoneNextOptionalParams,\n DnssecConfigsListByDnsZoneOptionalParams,\n DnssecConfigsListByDnsZoneResponse,\n DnssecConfigsCreateOrUpdateOptionalParams,\n DnssecConfigsCreateOrUpdateResponse,\n DnssecConfigsDeleteOptionalParams,\n DnssecConfigsGetOptionalParams,\n DnssecConfigsGetResponse,\n DnssecConfigsListByDnsZoneNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DnssecConfigs operations. */\nexport class DnssecConfigsImpl implements DnssecConfigs {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class DnssecConfigs class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the DNSSEC configurations in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<DnssecConfig> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DnssecConfig[]> {\n let result: DnssecConfigsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): AsyncIterableIterator<DnssecConfig> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates the DNSSEC configuration on a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DnssecConfigsCreateOrUpdateResponse>,\n DnssecConfigsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DnssecConfigsCreateOrUpdateResponse> => {\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 =\n 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: { resourceGroupName, zoneName, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n DnssecConfigsCreateOrUpdateResponse,\n OperationState<DnssecConfigsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates the DNSSEC configuration on a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsCreateOrUpdateOptionalParams,\n ): Promise<DnssecConfigsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n zoneName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\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 =\n 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: { resourceGroupName, zoneName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the DNSSEC configuration on a DNS zone. This operation cannot be undone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, zoneName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the DNSSEC configuration.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsGetOptionalParams,\n ): Promise<DnssecConfigsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the DNSSEC configurations in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: DnssecConfigsListByDnsZoneOptionalParams,\n ): Promise<DnssecConfigsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec,\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: DnssecConfigsListByDnsZoneNextOptionalParams,\n ): Promise<DnssecConfigsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 201: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 202: {\n bodyMapper: Mappers.DnssecConfig,\n },\n 204: {\n bodyMapper: Mappers.DnssecConfig,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfig,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/dnssecConfigs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfigListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DnssecConfigListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing RecordSets operations. */
|
|
18
18
|
class RecordSetsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class RecordSets class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -40,52 +41,35 @@ class RecordSetsImpl {
|
|
|
40
41
|
return this;
|
|
41
42
|
},
|
|
42
43
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
44
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
46
|
}
|
|
46
47
|
return this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings);
|
|
47
48
|
},
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
51
|
+
async *listByTypePagingPage(resourceGroupName, zoneName, recordType, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._listByType(resourceGroupName, zoneName, recordType, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listByTypeNext(resourceGroupName, zoneName, recordType, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
69
68
|
}
|
|
70
|
-
listByTypePagingAll(resourceGroupName, zoneName, recordType, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
69
|
+
async *listByTypePagingAll(resourceGroupName, zoneName, recordType, options) {
|
|
70
|
+
for await (const page of this.listByTypePagingPage(resourceGroupName, zoneName, recordType, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
89
73
|
}
|
|
90
74
|
/**
|
|
91
75
|
* Lists all record sets in a DNS zone.
|
|
@@ -103,52 +87,35 @@ class RecordSetsImpl {
|
|
|
103
87
|
return this;
|
|
104
88
|
},
|
|
105
89
|
byPage: (settings) => {
|
|
106
|
-
if (settings
|
|
90
|
+
if (settings?.maxPageSize) {
|
|
107
91
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
108
92
|
}
|
|
109
93
|
return this.listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings);
|
|
110
94
|
},
|
|
111
95
|
};
|
|
112
96
|
}
|
|
113
|
-
listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
});
|
|
97
|
+
async *listByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
98
|
+
let result;
|
|
99
|
+
let continuationToken = settings?.continuationToken;
|
|
100
|
+
if (!continuationToken) {
|
|
101
|
+
result = await this._listByDnsZone(resourceGroupName, zoneName, options);
|
|
102
|
+
let page = result.value || [];
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
105
|
+
yield page;
|
|
106
|
+
}
|
|
107
|
+
while (continuationToken) {
|
|
108
|
+
result = await this._listByDnsZoneNext(resourceGroupName, zoneName, continuationToken, options);
|
|
109
|
+
continuationToken = result.nextLink;
|
|
110
|
+
let page = result.value || [];
|
|
111
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
112
|
+
yield page;
|
|
113
|
+
}
|
|
132
114
|
}
|
|
133
|
-
listByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByDnsZonePagingPage(resourceGroupName, zoneName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
138
|
-
_c = _f.value;
|
|
139
|
-
_d = false;
|
|
140
|
-
const page = _c;
|
|
141
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
145
|
-
finally {
|
|
146
|
-
try {
|
|
147
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
148
|
-
}
|
|
149
|
-
finally { if (e_2) throw e_2.error; }
|
|
150
|
-
}
|
|
151
|
-
});
|
|
115
|
+
async *listByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
116
|
+
for await (const page of this.listByDnsZonePagingPage(resourceGroupName, zoneName, options)) {
|
|
117
|
+
yield* page;
|
|
118
|
+
}
|
|
152
119
|
}
|
|
153
120
|
/**
|
|
154
121
|
* Lists all record sets in a DNS zone.
|
|
@@ -166,52 +133,35 @@ class RecordSetsImpl {
|
|
|
166
133
|
return this;
|
|
167
134
|
},
|
|
168
135
|
byPage: (settings) => {
|
|
169
|
-
if (settings
|
|
136
|
+
if (settings?.maxPageSize) {
|
|
170
137
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
171
138
|
}
|
|
172
139
|
return this.listAllByDnsZonePagingPage(resourceGroupName, zoneName, options, settings);
|
|
173
140
|
},
|
|
174
141
|
};
|
|
175
142
|
}
|
|
176
|
-
listAllByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
});
|
|
143
|
+
async *listAllByDnsZonePagingPage(resourceGroupName, zoneName, options, settings) {
|
|
144
|
+
let result;
|
|
145
|
+
let continuationToken = settings?.continuationToken;
|
|
146
|
+
if (!continuationToken) {
|
|
147
|
+
result = await this._listAllByDnsZone(resourceGroupName, zoneName, options);
|
|
148
|
+
let page = result.value || [];
|
|
149
|
+
continuationToken = result.nextLink;
|
|
150
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
151
|
+
yield page;
|
|
152
|
+
}
|
|
153
|
+
while (continuationToken) {
|
|
154
|
+
result = await this._listAllByDnsZoneNext(resourceGroupName, zoneName, continuationToken, options);
|
|
155
|
+
continuationToken = result.nextLink;
|
|
156
|
+
let page = result.value || [];
|
|
157
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
158
|
+
yield page;
|
|
159
|
+
}
|
|
195
160
|
}
|
|
196
|
-
listAllByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listAllByDnsZonePagingPage(resourceGroupName, zoneName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
201
|
-
_c = _f.value;
|
|
202
|
-
_d = false;
|
|
203
|
-
const page = _c;
|
|
204
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
208
|
-
finally {
|
|
209
|
-
try {
|
|
210
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
211
|
-
}
|
|
212
|
-
finally { if (e_3) throw e_3.error; }
|
|
213
|
-
}
|
|
214
|
-
});
|
|
161
|
+
async *listAllByDnsZonePagingAll(resourceGroupName, zoneName, options) {
|
|
162
|
+
for await (const page of this.listAllByDnsZonePagingPage(resourceGroupName, zoneName, options)) {
|
|
163
|
+
yield* page;
|
|
164
|
+
}
|
|
215
165
|
}
|
|
216
166
|
/**
|
|
217
167
|
* Updates a record set within a DNS zone.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA0BtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,UAAU,CACf,iBAAyB,EACzB,QAAgB,EAChB,UAAsB,EACtB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CACnC,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAi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,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { RecordSets } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n RecordSet,\n RecordType,\n RecordSetsListByTypeNextOptionalParams,\n RecordSetsListByTypeOptionalParams,\n RecordSetsListByTypeResponse,\n RecordSetsListByDnsZoneNextOptionalParams,\n RecordSetsListByDnsZoneOptionalParams,\n RecordSetsListByDnsZoneResponse,\n RecordSetsListAllByDnsZoneNextOptionalParams,\n RecordSetsListAllByDnsZoneOptionalParams,\n RecordSetsListAllByDnsZoneResponse,\n RecordSetsUpdateOptionalParams,\n RecordSetsUpdateResponse,\n RecordSetsCreateOrUpdateOptionalParams,\n RecordSetsCreateOrUpdateResponse,\n RecordSetsDeleteOptionalParams,\n RecordSetsGetOptionalParams,\n RecordSetsGetResponse,\n RecordSetsListByTypeNextResponse,\n RecordSetsListByDnsZoneNextResponse,\n RecordSetsListAllByDnsZoneNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RecordSets operations. */\nexport class RecordSetsImpl implements RecordSets {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class RecordSets class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n public listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByTypePagingAll(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByTypePagingPage(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByTypeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByType(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByTypeNext(\n resourceGroupName,\n zoneName,\n recordType,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByTypePagingAll(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listAllByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listAllByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAllByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAllByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListAllByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAllByDnsZone(\n resourceGroupName,\n zoneName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAllByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAllByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listAllByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Updates a record set within a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsUpdateOptionalParams,\n ): Promise<RecordSetsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Creates or updates a record set within a DNS zone. Record sets of type SOA can be updated but not\n * created (they are created when the DNS zone is created).\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsCreateOrUpdateOptionalParams,\n ): Promise<RecordSetsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a record set from a DNS zone. This operation cannot be undone. Record sets of type SOA\n * cannot be deleted (they are deleted when the DNS zone is deleted).\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a record set.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsGetOptionalParams,\n ): Promise<RecordSetsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n private _listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): Promise<RecordSetsListByTypeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, options },\n listByTypeOperationSpec,\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): Promise<RecordSetsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec,\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listAllByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): Promise<RecordSetsListAllByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listAllByDnsZoneOperationSpec,\n );\n }\n\n /**\n * ListByTypeNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param nextLink The nextLink from the previous successful call to the ListByType method.\n * @param options The options parameters.\n */\n private _listByTypeNext(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n nextLink: string,\n options?: RecordSetsListByTypeNextOptionalParams,\n ): Promise<RecordSetsListByTypeNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, nextLink, options },\n listByTypeNextOperationSpec,\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListByDnsZoneNextOptionalParams,\n ): Promise<RecordSetsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec,\n );\n }\n\n /**\n * ListAllByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListAllByDnsZone method.\n * @param options The options parameters.\n */\n private _listAllByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListAllByDnsZoneNextOptionalParams,\n ): Promise<RecordSetsListAllByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listAllByDnsZoneNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n 201: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByTypeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordSetNameSuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByTypeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"recordSets.js","sourceRoot":"","sources":["../../../src/operations/recordSets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA0BtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAAsB;IAE7C;;;OAGG;IACH,YAAY,MAA2B;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,UAAU,CACf,iBAAyB,EACzB,QAAgB,EAChB,UAAsB,EACtB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,mBAAmB,CACnC,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,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AC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { RecordSets } 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 { DnsManagementClient } from \"../dnsManagementClient.js\";\nimport {\n RecordSet,\n RecordType,\n RecordSetsListByTypeNextOptionalParams,\n RecordSetsListByTypeOptionalParams,\n RecordSetsListByTypeResponse,\n RecordSetsListByDnsZoneNextOptionalParams,\n RecordSetsListByDnsZoneOptionalParams,\n RecordSetsListByDnsZoneResponse,\n RecordSetsListAllByDnsZoneNextOptionalParams,\n RecordSetsListAllByDnsZoneOptionalParams,\n RecordSetsListAllByDnsZoneResponse,\n RecordSetsUpdateOptionalParams,\n RecordSetsUpdateResponse,\n RecordSetsCreateOrUpdateOptionalParams,\n RecordSetsCreateOrUpdateResponse,\n RecordSetsDeleteOptionalParams,\n RecordSetsGetOptionalParams,\n RecordSetsGetResponse,\n RecordSetsListByTypeNextResponse,\n RecordSetsListByDnsZoneNextResponse,\n RecordSetsListAllByDnsZoneNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing RecordSets operations. */\nexport class RecordSetsImpl implements RecordSets {\n private readonly client: DnsManagementClient;\n\n /**\n * Initialize a new instance of the class RecordSets class.\n * @param client Reference to the service client\n */\n constructor(client: DnsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n public listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByTypePagingAll(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByTypePagingPage(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByTypeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByType(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByTypeNext(\n resourceGroupName,\n zoneName,\n recordType,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByTypePagingAll(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByTypePagingPage(\n resourceGroupName,\n zoneName,\n recordType,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDnsZone(resourceGroupName, zoneName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n public listAllByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): PagedAsyncIterableIterator<RecordSet> {\n const iter = this.listAllByDnsZonePagingAll(\n resourceGroupName,\n zoneName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAllByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAllByDnsZonePagingPage(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<RecordSet[]> {\n let result: RecordSetsListAllByDnsZoneResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAllByDnsZone(\n resourceGroupName,\n zoneName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAllByDnsZoneNext(\n resourceGroupName,\n zoneName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAllByDnsZonePagingAll(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): AsyncIterableIterator<RecordSet> {\n for await (const page of this.listAllByDnsZonePagingPage(\n resourceGroupName,\n zoneName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Updates a record set within a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsUpdateOptionalParams,\n ): Promise<RecordSetsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Creates or updates a record set within a DNS zone. Record sets of type SOA can be updated but not\n * created (they are created when the DNS zone is created).\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param parameters Parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n parameters: RecordSet,\n options?: RecordSetsCreateOrUpdateOptionalParams,\n ): Promise<RecordSetsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes a record set from a DNS zone. This operation cannot be undone. Record sets of type SOA\n * cannot be deleted (they are deleted when the DNS zone is deleted).\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a record set.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param relativeRecordSetName The name of the record set, relative to the name of the zone.\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n zoneName: string,\n relativeRecordSetName: string,\n recordType: RecordType,\n options?: RecordSetsGetOptionalParams,\n ): Promise<RecordSetsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n zoneName,\n relativeRecordSetName,\n recordType,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Lists the record sets of a specified type in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param options The options parameters.\n */\n private _listByType(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n options?: RecordSetsListByTypeOptionalParams,\n ): Promise<RecordSetsListByTypeResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, options },\n listByTypeOperationSpec,\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListByDnsZoneOptionalParams,\n ): Promise<RecordSetsListByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listByDnsZoneOperationSpec,\n );\n }\n\n /**\n * Lists all record sets in a DNS zone.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param options The options parameters.\n */\n private _listAllByDnsZone(\n resourceGroupName: string,\n zoneName: string,\n options?: RecordSetsListAllByDnsZoneOptionalParams,\n ): Promise<RecordSetsListAllByDnsZoneResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, options },\n listAllByDnsZoneOperationSpec,\n );\n }\n\n /**\n * ListByTypeNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param recordType The type of DNS record in this record set.\n * @param nextLink The nextLink from the previous successful call to the ListByType method.\n * @param options The options parameters.\n */\n private _listByTypeNext(\n resourceGroupName: string,\n zoneName: string,\n recordType: RecordType,\n nextLink: string,\n options?: RecordSetsListByTypeNextOptionalParams,\n ): Promise<RecordSetsListByTypeNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, recordType, nextLink, options },\n listByTypeNextOperationSpec,\n );\n }\n\n /**\n * ListByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListByDnsZone method.\n * @param options The options parameters.\n */\n private _listByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListByDnsZoneNextOptionalParams,\n ): Promise<RecordSetsListByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listByDnsZoneNextOperationSpec,\n );\n }\n\n /**\n * ListAllByDnsZoneNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param zoneName The name of the DNS zone (without a terminating dot).\n * @param nextLink The nextLink from the previous successful call to the ListAllByDnsZone method.\n * @param options The options parameters.\n */\n private _listAllByDnsZoneNext(\n resourceGroupName: string,\n zoneName: string,\n nextLink: string,\n options?: RecordSetsListAllByDnsZoneNextOptionalParams,\n ): Promise<RecordSetsListAllByDnsZoneNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, zoneName, nextLink, options },\n listAllByDnsZoneNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n 201: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept, Parameters.ifMatch],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSet,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.relativeRecordSetName,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByTypeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordsetnamesuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllByDnsZoneOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.top,\n Parameters.recordSetNameSuffix,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByTypeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.recordType,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllByDnsZoneNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RecordSetListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.zoneName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|