@azure/arm-communication 5.0.0-beta.1 → 5.0.0
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/api/communicationServiceManagementContext.js +1 -1
- package/dist/browser/api/communicationServiceManagementContext.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/communicationServiceManagementContext.js +1 -1
- package/dist/commonjs/api/communicationServiceManagementContext.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js.map +2 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/communicationServiceManagementContext.js +1 -1
- package/dist/esm/api/communicationServiceManagementContext.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/package.json +19 -60
- package/dist/react-native/api/communicationServiceManagementContext.d.ts +0 -22
- package/dist/react-native/api/communicationServiceManagementContext.js +0 -24
- package/dist/react-native/api/communicationServiceManagementContext.js.map +0 -1
- package/dist/react-native/api/communicationServices/index.d.ts +0 -3
- package/dist/react-native/api/communicationServices/index.js +0 -4
- package/dist/react-native/api/communicationServices/index.js.map +0 -1
- package/dist/react-native/api/communicationServices/operations.d.ts +0 -52
- package/dist/react-native/api/communicationServices/operations.js +0 -305
- package/dist/react-native/api/communicationServices/operations.js.map +0 -1
- package/dist/react-native/api/communicationServices/options.d.ts +0 -39
- package/dist/react-native/api/communicationServices/options.js +0 -4
- package/dist/react-native/api/communicationServices/options.js.map +0 -1
- package/dist/react-native/api/domains/index.d.ts +0 -3
- package/dist/react-native/api/domains/index.js +0 -4
- package/dist/react-native/api/domains/index.js.map +0 -1
- package/dist/react-native/api/domains/operations.d.ts +0 -40
- package/dist/react-native/api/domains/operations.js +0 -242
- package/dist/react-native/api/domains/operations.js.map +0 -1
- package/dist/react-native/api/domains/options.d.ts +0 -33
- package/dist/react-native/api/domains/options.js +0 -4
- package/dist/react-native/api/domains/options.js.map +0 -1
- package/dist/react-native/api/emailServices/index.d.ts +0 -3
- package/dist/react-native/api/emailServices/index.js +0 -4
- package/dist/react-native/api/emailServices/index.js.map +0 -1
- package/dist/react-native/api/emailServices/operations.d.ts +0 -40
- package/dist/react-native/api/emailServices/operations.js +0 -222
- package/dist/react-native/api/emailServices/operations.js.map +0 -1
- package/dist/react-native/api/emailServices/options.d.ts +0 -29
- package/dist/react-native/api/emailServices/options.js +0 -4
- package/dist/react-native/api/emailServices/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -31
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js +0 -4
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/senderUsernames/index.d.ts +0 -3
- package/dist/react-native/api/senderUsernames/index.js +0 -4
- package/dist/react-native/api/senderUsernames/index.js.map +0 -1
- package/dist/react-native/api/senderUsernames/operations.d.ts +0 -27
- package/dist/react-native/api/senderUsernames/operations.js +0 -129
- package/dist/react-native/api/senderUsernames/operations.js.map +0 -1
- package/dist/react-native/api/senderUsernames/options.d.ts +0 -14
- package/dist/react-native/api/senderUsernames/options.js +0 -4
- package/dist/react-native/api/senderUsernames/options.js.map +0 -1
- package/dist/react-native/api/smtpUsernames/index.d.ts +0 -3
- package/dist/react-native/api/smtpUsernames/index.js +0 -4
- package/dist/react-native/api/smtpUsernames/index.js.map +0 -1
- package/dist/react-native/api/smtpUsernames/operations.d.ts +0 -27
- package/dist/react-native/api/smtpUsernames/operations.js +0 -125
- package/dist/react-native/api/smtpUsernames/operations.js.map +0 -1
- package/dist/react-native/api/smtpUsernames/options.d.ts +0 -14
- package/dist/react-native/api/smtpUsernames/options.js +0 -4
- package/dist/react-native/api/smtpUsernames/options.js.map +0 -1
- package/dist/react-native/api/suppressionListAddresses/index.d.ts +0 -3
- package/dist/react-native/api/suppressionListAddresses/index.js +0 -4
- package/dist/react-native/api/suppressionListAddresses/index.js.map +0 -1
- package/dist/react-native/api/suppressionListAddresses/operations.d.ts +0 -27
- package/dist/react-native/api/suppressionListAddresses/operations.js +0 -133
- package/dist/react-native/api/suppressionListAddresses/operations.js.map +0 -1
- package/dist/react-native/api/suppressionListAddresses/options.d.ts +0 -14
- package/dist/react-native/api/suppressionListAddresses/options.js +0 -4
- package/dist/react-native/api/suppressionListAddresses/options.js.map +0 -1
- package/dist/react-native/api/suppressionLists/index.d.ts +0 -3
- package/dist/react-native/api/suppressionLists/index.js +0 -4
- package/dist/react-native/api/suppressionLists/index.js.map +0 -1
- package/dist/react-native/api/suppressionLists/operations.d.ts +0 -27
- package/dist/react-native/api/suppressionLists/operations.js +0 -129
- package/dist/react-native/api/suppressionLists/operations.js.map +0 -1
- package/dist/react-native/api/suppressionLists/options.d.ts +0 -14
- package/dist/react-native/api/suppressionLists/options.js +0 -4
- package/dist/react-native/api/suppressionLists/options.js.map +0 -1
- package/dist/react-native/classic/communicationServices/index.d.ts +0 -44
- package/dist/react-native/classic/communicationServices/index.js +0 -40
- package/dist/react-native/classic/communicationServices/index.js.map +0 -1
- package/dist/react-native/classic/domains/index.d.ts +0 -50
- package/dist/react-native/classic/domains/index.js +0 -61
- package/dist/react-native/classic/domains/index.js.map +0 -1
- package/dist/react-native/classic/emailServices/index.d.ts +0 -42
- package/dist/react-native/classic/emailServices/index.js +0 -45
- package/dist/react-native/classic/emailServices/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -9
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -14
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/senderUsernames/index.d.ts +0 -22
- package/dist/react-native/classic/senderUsernames/index.js +0 -17
- package/dist/react-native/classic/senderUsernames/index.js.map +0 -1
- package/dist/react-native/classic/smtpUsernames/index.d.ts +0 -22
- package/dist/react-native/classic/smtpUsernames/index.js +0 -17
- package/dist/react-native/classic/smtpUsernames/index.js.map +0 -1
- package/dist/react-native/classic/suppressionListAddresses/index.d.ts +0 -22
- package/dist/react-native/classic/suppressionListAddresses/index.js +0 -17
- package/dist/react-native/classic/suppressionListAddresses/index.js.map +0 -1
- package/dist/react-native/classic/suppressionLists/index.d.ts +0 -22
- package/dist/react-native/classic/suppressionLists/index.js +0 -17
- package/dist/react-native/classic/suppressionLists/index.js.map +0 -1
- package/dist/react-native/communicationServiceManagementClient.d.ts +0 -36
- package/dist/react-native/communicationServiceManagementClient.js +0 -53
- package/dist/react-native/communicationServiceManagementClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -23
- package/dist/react-native/index.js +0 -8
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -3
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -991
- package/dist/react-native/models/models.js +0 -979
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -111
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +0 -8
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +0 -17
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +0 -1
- package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +0 -73
- package/dist/react-native/static-helpers/simplePollerHelpers.js +0 -44
- package/dist/react-native/static-helpers/simplePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -200
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/emailServices/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,gCAAgC,EAChC,oCAAoC,EACpC,qCAAqC,GACtC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAWxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAG/F,MAAM,UAAU,sCAAsC,CACpD,OAAe,EACf,UAAwE,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9F,MAAM,IAAI,GAAG,iBAAiB,CAC5B,qHAAqH,EACrH;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,YAAY;KACpD,EAC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oft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationServiceManagementContext as Client } from \"../index.js\";\nimport type {\n EmailServiceResource,\n EmailServiceResourceUpdate,\n _EmailServiceResourceList,\n EmailServicesListVerifiedExchangeOnlineDomainsResponse,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n emailServiceResourceSerializer,\n emailServiceResourceDeserializer,\n emailServiceResourceUpdateSerializer,\n _emailServiceResourceListDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams,\n EmailServicesListBySubscriptionOptionalParams,\n EmailServicesListByResourceGroupOptionalParams,\n EmailServicesDeleteOptionalParams,\n EmailServicesUpdateOptionalParams,\n EmailServicesCreateOrUpdateOptionalParams,\n EmailServicesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listVerifiedExchangeOnlineDomainsSend(\n context: Client,\n options: EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/listVerifiedExchangeOnlineDomains{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listVerifiedExchangeOnlineDomainsDeserialize(\n result: PathUncheckedResponse,\n): Promise<EmailServicesListVerifiedExchangeOnlineDomainsResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return {\n body: result.body.map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Get a list of domains that are fully verified in Exchange Online. */\nexport async function listVerifiedExchangeOnlineDomains(\n context: Client,\n options: EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams = { requestOptions: {} },\n): Promise<EmailServicesListVerifiedExchangeOnlineDomainsResponse> {\n const result = await _listVerifiedExchangeOnlineDomainsSend(context, options);\n return _listVerifiedExchangeOnlineDomainsDeserialize(result);\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: EmailServicesListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/emailServices{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_EmailServiceResourceList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _emailServiceResourceListDeserializer(result.body);\n}\n\n/** Handles requests to list all resources in a subscription. */\nexport function listBySubscription(\n context: Client,\n options: EmailServicesListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<EmailServiceResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-18\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: EmailServicesListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_EmailServiceResourceList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _emailServiceResourceListDeserializer(result.body);\n}\n\n/** Handles requests to list all resources in a resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: EmailServicesListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<EmailServiceResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-18\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n options: EmailServicesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Operation to delete a EmailService. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n options: EmailServicesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"202\", \"204\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, emailServiceName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-03-18\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResourceUpdate,\n options: EmailServicesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: emailServiceResourceUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EmailServiceResource> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return emailServiceResourceDeserializer(result.body);\n}\n\n/** Operation to update an existing EmailService. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResourceUpdate,\n options: EmailServicesUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<EmailServiceResource>, EmailServiceResource> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, emailServiceName, parameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-03-18\",\n }) as PollerLike<OperationState<EmailServiceResource>, EmailServiceResource>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResource,\n options: EmailServicesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: emailServiceResourceSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<EmailServiceResource> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return emailServiceResourceDeserializer(result.body);\n}\n\n/** Create a new EmailService or update an existing EmailService. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResource,\n options: EmailServicesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<EmailServiceResource>, EmailServiceResource> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, emailServiceName, parameters, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-03-18\",\n }) as PollerLike<OperationState<EmailServiceResource>, EmailServiceResource>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n options: EmailServicesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<EmailServiceResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return emailServiceResourceDeserializer(result.body);\n}\n\n/** Get the EmailService and its properties. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n options: EmailServicesGetOptionalParams = { requestOptions: {} },\n): Promise<EmailServiceResource> {\n const result = await _getSend(context, resourceGroupName, emailServiceName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
-
/** Optional parameters. */
|
|
3
|
-
export interface EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams extends OperationOptions {
|
|
4
|
-
}
|
|
5
|
-
/** Optional parameters. */
|
|
6
|
-
export interface EmailServicesListBySubscriptionOptionalParams extends OperationOptions {
|
|
7
|
-
}
|
|
8
|
-
/** Optional parameters. */
|
|
9
|
-
export interface EmailServicesListByResourceGroupOptionalParams extends OperationOptions {
|
|
10
|
-
}
|
|
11
|
-
/** Optional parameters. */
|
|
12
|
-
export interface EmailServicesDeleteOptionalParams extends OperationOptions {
|
|
13
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
14
|
-
updateIntervalInMs?: number;
|
|
15
|
-
}
|
|
16
|
-
/** Optional parameters. */
|
|
17
|
-
export interface EmailServicesUpdateOptionalParams extends OperationOptions {
|
|
18
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
19
|
-
updateIntervalInMs?: number;
|
|
20
|
-
}
|
|
21
|
-
/** Optional parameters. */
|
|
22
|
-
export interface EmailServicesCreateOrUpdateOptionalParams extends OperationOptions {
|
|
23
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
24
|
-
updateIntervalInMs?: number;
|
|
25
|
-
}
|
|
26
|
-
/** Optional parameters. */
|
|
27
|
-
export interface EmailServicesGetOptionalParams extends OperationOptions {
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/emailServices/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface EmailServicesListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface EmailServicesListByResourceGroupOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface EmailServicesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface EmailServicesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface EmailServicesCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface EmailServicesGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type { CommunicationServiceManagementContext, CommunicationServiceManagementClientOptionalParams, } from "./communicationServiceManagementContext.js";
|
|
2
|
-
export { createCommunicationServiceManagement } from "./communicationServiceManagementContext.js";
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n CommunicationServiceManagementContext,\n CommunicationServiceManagementClientOptionalParams,\n} from \"./communicationServiceManagementContext.js\";\nexport { createCommunicationServiceManagement } from \"./communicationServiceManagementContext.js\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport type { OperationsListOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CommunicationServiceManagementContext as Client } from "../index.js";
|
|
2
|
-
import type { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
-
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import type { OperationsListOptionalParams } from "./options.js";
|
|
5
|
-
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
-
export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
8
|
-
/** Lists all of the available REST API operations of the Microsoft.Communication provider. */
|
|
9
|
-
export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { _operationListResultDeserializer, errorResponseDeserializer, } from "../../models/models.js";
|
|
4
|
-
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
7
|
-
export function _listSend(context, options = { requestOptions: {} }) {
|
|
8
|
-
const path = expandUrlTemplate("/providers/Microsoft.Communication/operations{?api%2Dversion}", {
|
|
9
|
-
"api%2Dversion": context.apiVersion ?? "2026-03-18",
|
|
10
|
-
}, {
|
|
11
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
12
|
-
});
|
|
13
|
-
return context.path(path).get({
|
|
14
|
-
...operationOptionsToRequestParameters(options),
|
|
15
|
-
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
export async function _listDeserialize(result) {
|
|
19
|
-
const expectedStatuses = ["200"];
|
|
20
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
21
|
-
const error = createRestError(result);
|
|
22
|
-
error.details = errorResponseDeserializer(result.body);
|
|
23
|
-
throw error;
|
|
24
|
-
}
|
|
25
|
-
return _operationListResultDeserializer(result.body);
|
|
26
|
-
}
|
|
27
|
-
/** Lists all of the available REST API operations of the Microsoft.Communication provider. */
|
|
28
|
-
export function list(context, options = { requestOptions: {} }) {
|
|
29
|
-
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-03-18" });
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EACL,gCAAgC,EAChC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,y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IAAI,YAAY,EAAE,CAChG,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationServiceManagementContext as Client } from \"../index.js\";\nimport type { _OperationListResult, Operation } from \"../../models/models.js\";\nimport {\n _operationListResultDeserializer,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { OperationsListOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Communication/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** Lists all of the available REST API operations of the Microsoft.Communication provider. */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-18\" },\n );\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { listByDomains, $delete, createOrUpdate, get } from "./operations.js";
|
|
2
|
-
export type { SenderUsernamesListByDomainsOptionalParams, SenderUsernamesDeleteOptionalParams, SenderUsernamesCreateOrUpdateOptionalParams, SenderUsernamesGetOptionalParams, } from "./options.js";
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/senderUsernames/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByDomains, $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n SenderUsernamesListByDomainsOptionalParams,\n SenderUsernamesDeleteOptionalParams,\n SenderUsernamesCreateOrUpdateOptionalParams,\n SenderUsernamesGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { CommunicationServiceManagementContext as Client } from "../index.js";
|
|
2
|
-
import type { SenderUsernameResource, _SenderUsernameResourceCollection } from "../../models/models.js";
|
|
3
|
-
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import type { SenderUsernamesListByDomainsOptionalParams, SenderUsernamesDeleteOptionalParams, SenderUsernamesCreateOrUpdateOptionalParams, SenderUsernamesGetOptionalParams } from "./options.js";
|
|
5
|
-
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
-
export declare function _listByDomainsSend(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, options?: SenderUsernamesListByDomainsOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _listByDomainsDeserialize(result: PathUncheckedResponse): Promise<_SenderUsernameResourceCollection>;
|
|
8
|
-
/** List all valid sender usernames for a domains resource. */
|
|
9
|
-
export declare function listByDomains(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, options?: SenderUsernamesListByDomainsOptionalParams): PagedAsyncIterableIterator<SenderUsernameResource>;
|
|
10
|
-
export declare function _$deleteSend(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, options?: SenderUsernamesDeleteOptionalParams): StreamableMethod;
|
|
11
|
-
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
12
|
-
/** Operation to delete a SenderUsernames resource. */
|
|
13
|
-
/**
|
|
14
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
15
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
16
|
-
* to the operation to override the generated name.
|
|
17
|
-
*/
|
|
18
|
-
export declare function $delete(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, options?: SenderUsernamesDeleteOptionalParams): Promise<void>;
|
|
19
|
-
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, parameters: SenderUsernameResource, options?: SenderUsernamesCreateOrUpdateOptionalParams): StreamableMethod;
|
|
20
|
-
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<SenderUsernameResource>;
|
|
21
|
-
/** Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource. */
|
|
22
|
-
export declare function createOrUpdate(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, parameters: SenderUsernameResource, options?: SenderUsernamesCreateOrUpdateOptionalParams): Promise<SenderUsernameResource>;
|
|
23
|
-
export declare function _getSend(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, options?: SenderUsernamesGetOptionalParams): StreamableMethod;
|
|
24
|
-
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<SenderUsernameResource>;
|
|
25
|
-
/** Get a valid sender username for a domains resource. */
|
|
26
|
-
export declare function get(context: Client, resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, options?: SenderUsernamesGetOptionalParams): Promise<SenderUsernameResource>;
|
|
27
|
-
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer, senderUsernameResourceSerializer, senderUsernameResourceDeserializer, _senderUsernameResourceCollectionDeserializer, } from "../../models/models.js";
|
|
4
|
-
import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
-
import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
|
|
7
|
-
export function _listByDomainsSend(context, resourceGroupName, emailServiceName, domainName, options = { requestOptions: {} }) {
|
|
8
|
-
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames{?api%2Dversion}", {
|
|
9
|
-
subscriptionId: context.subscriptionId,
|
|
10
|
-
resourceGroupName: resourceGroupName,
|
|
11
|
-
emailServiceName: emailServiceName,
|
|
12
|
-
domainName: domainName,
|
|
13
|
-
"api%2Dversion": context.apiVersion ?? "2026-03-18",
|
|
14
|
-
}, {
|
|
15
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
|
-
});
|
|
17
|
-
return context.path(path).get({
|
|
18
|
-
...operationOptionsToRequestParameters(options),
|
|
19
|
-
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export async function _listByDomainsDeserialize(result) {
|
|
23
|
-
const expectedStatuses = ["200"];
|
|
24
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
-
const error = createRestError(result);
|
|
26
|
-
error.details = errorResponseDeserializer(result.body);
|
|
27
|
-
throw error;
|
|
28
|
-
}
|
|
29
|
-
return _senderUsernameResourceCollectionDeserializer(result.body);
|
|
30
|
-
}
|
|
31
|
-
/** List all valid sender usernames for a domains resource. */
|
|
32
|
-
export function listByDomains(context, resourceGroupName, emailServiceName, domainName, options = { requestOptions: {} }) {
|
|
33
|
-
return buildPagedAsyncIterator(context, () => _listByDomainsSend(context, resourceGroupName, emailServiceName, domainName, options), _listByDomainsDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-03-18" });
|
|
34
|
-
}
|
|
35
|
-
export function _$deleteSend(context, resourceGroupName, emailServiceName, domainName, senderUsername, options = { requestOptions: {} }) {
|
|
36
|
-
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}{?api%2Dversion}", {
|
|
37
|
-
subscriptionId: context.subscriptionId,
|
|
38
|
-
resourceGroupName: resourceGroupName,
|
|
39
|
-
emailServiceName: emailServiceName,
|
|
40
|
-
domainName: domainName,
|
|
41
|
-
senderUsername: senderUsername,
|
|
42
|
-
"api%2Dversion": context.apiVersion ?? "2026-03-18",
|
|
43
|
-
}, {
|
|
44
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
45
|
-
});
|
|
46
|
-
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
47
|
-
}
|
|
48
|
-
export async function _$deleteDeserialize(result) {
|
|
49
|
-
const expectedStatuses = ["200", "204"];
|
|
50
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
51
|
-
const error = createRestError(result);
|
|
52
|
-
error.details = errorResponseDeserializer(result.body);
|
|
53
|
-
throw error;
|
|
54
|
-
}
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
/** Operation to delete a SenderUsernames resource. */
|
|
58
|
-
/**
|
|
59
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
60
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
61
|
-
* to the operation to override the generated name.
|
|
62
|
-
*/
|
|
63
|
-
export async function $delete(context, resourceGroupName, emailServiceName, domainName, senderUsername, options = { requestOptions: {} }) {
|
|
64
|
-
const result = await _$deleteSend(context, resourceGroupName, emailServiceName, domainName, senderUsername, options);
|
|
65
|
-
return _$deleteDeserialize(result);
|
|
66
|
-
}
|
|
67
|
-
export function _createOrUpdateSend(context, resourceGroupName, emailServiceName, domainName, senderUsername, parameters, options = { requestOptions: {} }) {
|
|
68
|
-
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}{?api%2Dversion}", {
|
|
69
|
-
subscriptionId: context.subscriptionId,
|
|
70
|
-
resourceGroupName: resourceGroupName,
|
|
71
|
-
emailServiceName: emailServiceName,
|
|
72
|
-
domainName: domainName,
|
|
73
|
-
senderUsername: senderUsername,
|
|
74
|
-
"api%2Dversion": context.apiVersion ?? "2026-03-18",
|
|
75
|
-
}, {
|
|
76
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
77
|
-
});
|
|
78
|
-
return context.path(path).put({
|
|
79
|
-
...operationOptionsToRequestParameters(options),
|
|
80
|
-
contentType: "application/json",
|
|
81
|
-
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
82
|
-
body: senderUsernameResourceSerializer(parameters),
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
export async function _createOrUpdateDeserialize(result) {
|
|
86
|
-
const expectedStatuses = ["200", "201"];
|
|
87
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
88
|
-
const error = createRestError(result);
|
|
89
|
-
error.details = errorResponseDeserializer(result.body);
|
|
90
|
-
throw error;
|
|
91
|
-
}
|
|
92
|
-
return senderUsernameResourceDeserializer(result.body);
|
|
93
|
-
}
|
|
94
|
-
/** Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource. */
|
|
95
|
-
export async function createOrUpdate(context, resourceGroupName, emailServiceName, domainName, senderUsername, parameters, options = { requestOptions: {} }) {
|
|
96
|
-
const result = await _createOrUpdateSend(context, resourceGroupName, emailServiceName, domainName, senderUsername, parameters, options);
|
|
97
|
-
return _createOrUpdateDeserialize(result);
|
|
98
|
-
}
|
|
99
|
-
export function _getSend(context, resourceGroupName, emailServiceName, domainName, senderUsername, options = { requestOptions: {} }) {
|
|
100
|
-
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}{?api%2Dversion}", {
|
|
101
|
-
subscriptionId: context.subscriptionId,
|
|
102
|
-
resourceGroupName: resourceGroupName,
|
|
103
|
-
emailServiceName: emailServiceName,
|
|
104
|
-
domainName: domainName,
|
|
105
|
-
senderUsername: senderUsername,
|
|
106
|
-
"api%2Dversion": context.apiVersion ?? "2026-03-18",
|
|
107
|
-
}, {
|
|
108
|
-
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
109
|
-
});
|
|
110
|
-
return context.path(path).get({
|
|
111
|
-
...operationOptionsToRequestParameters(options),
|
|
112
|
-
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
export async function _getDeserialize(result) {
|
|
116
|
-
const expectedStatuses = ["200"];
|
|
117
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
118
|
-
const error = createRestError(result);
|
|
119
|
-
error.details = errorResponseDeserializer(result.body);
|
|
120
|
-
throw error;
|
|
121
|
-
}
|
|
122
|
-
return senderUsernameResourceDeserializer(result.body);
|
|
123
|
-
}
|
|
124
|
-
/** Get a valid sender username for a domains resource. */
|
|
125
|
-
export async function get(context, resourceGroupName, emailServiceName, domainName, senderUsername, options = { requestOptions: {} }) {
|
|
126
|
-
const result = await _getSend(context, resourceGroupName, emailServiceName, domainName, senderUsername, options);
|
|
127
|
-
return _getDeserialize(result);
|
|
128
|
-
}
|
|
129
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/senderUsernames/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,EACL,yBAAyB,EACzB,gCAAgC,EAChC,kCAAkC,EAClC,6CAA6C,GAC9C,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAQxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,UAAU,kBAAkB,CAChC,OAAe,EACf,iBAAyB,EACzB,gBAAwB,EACxB,UAAkB,EAClB,UAAsD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5E,MAAM,IAAI,GAAG,iBAAiB,CAC5B,4LAA4L,EAC5L;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,gBAAgB,EAAE,gBAAgB;QAClC,UAAU,EAAE,UAAU;QACtB,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,YAAY;KACpD,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAA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AAC,CAAC;QAEvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACzD,CAAC;AAED,0DAA0D;AAC1D,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,gBAAwB,EACxB,UAAkB,EAClB,cAAsB,EACtB,UAA4C,EAAE,cAAc,EAAE,EAAE,EAAE;IAElE,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationServiceManagementContext as Client } from \"../index.js\";\nimport type {\n SenderUsernameResource,\n _SenderUsernameResourceCollection,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n senderUsernameResourceSerializer,\n senderUsernameResourceDeserializer,\n _senderUsernameResourceCollectionDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n SenderUsernamesListByDomainsOptionalParams,\n SenderUsernamesDeleteOptionalParams,\n SenderUsernamesCreateOrUpdateOptionalParams,\n SenderUsernamesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listByDomainsSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options: SenderUsernamesListByDomainsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n domainName: domainName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByDomainsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_SenderUsernameResourceCollection> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _senderUsernameResourceCollectionDeserializer(result.body);\n}\n\n/** List all valid sender usernames for a domains resource. */\nexport function listByDomains(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options: SenderUsernamesListByDomainsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<SenderUsernameResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByDomainsSend(context, resourceGroupName, emailServiceName, domainName, options),\n _listByDomainsDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-03-18\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options: SenderUsernamesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n domainName: domainName,\n senderUsername: senderUsername,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Operation to delete a SenderUsernames resource. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport async function $delete(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options: SenderUsernamesDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(\n context,\n resourceGroupName,\n emailServiceName,\n domainName,\n senderUsername,\n options,\n );\n return _$deleteDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n parameters: SenderUsernameResource,\n options: SenderUsernamesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n domainName: domainName,\n senderUsername: senderUsername,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: senderUsernameResourceSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<SenderUsernameResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return senderUsernameResourceDeserializer(result.body);\n}\n\n/** Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource. */\nexport async function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n parameters: SenderUsernameResource,\n options: SenderUsernamesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<SenderUsernameResource> {\n const result = await _createOrUpdateSend(\n context,\n resourceGroupName,\n emailServiceName,\n domainName,\n senderUsername,\n parameters,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options: SenderUsernamesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n emailServiceName: emailServiceName,\n domainName: domainName,\n senderUsername: senderUsername,\n \"api%2Dversion\": context.apiVersion ?? \"2026-03-18\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<SenderUsernameResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return senderUsernameResourceDeserializer(result.body);\n}\n\n/** Get a valid sender username for a domains resource. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options: SenderUsernamesGetOptionalParams = { requestOptions: {} },\n): Promise<SenderUsernameResource> {\n const result = await _getSend(\n context,\n resourceGroupName,\n emailServiceName,\n domainName,\n senderUsername,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
-
/** Optional parameters. */
|
|
3
|
-
export interface SenderUsernamesListByDomainsOptionalParams extends OperationOptions {
|
|
4
|
-
}
|
|
5
|
-
/** Optional parameters. */
|
|
6
|
-
export interface SenderUsernamesDeleteOptionalParams extends OperationOptions {
|
|
7
|
-
}
|
|
8
|
-
/** Optional parameters. */
|
|
9
|
-
export interface SenderUsernamesCreateOrUpdateOptionalParams extends OperationOptions {
|
|
10
|
-
}
|
|
11
|
-
/** Optional parameters. */
|
|
12
|
-
export interface SenderUsernamesGetOptionalParams extends OperationOptions {
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=options.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/senderUsernames/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface SenderUsernamesListByDomainsOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface SenderUsernamesDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface SenderUsernamesCreateOrUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface SenderUsernamesGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { list, $delete, createOrUpdate, get } from "./operations.js";
|
|
2
|
-
export type { SmtpUsernamesListOptionalParams, SmtpUsernamesDeleteOptionalParams, SmtpUsernamesCreateOrUpdateOptionalParams, SmtpUsernamesGetOptionalParams, } from "./options.js";
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/smtpUsernames/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list, $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n SmtpUsernamesListOptionalParams,\n SmtpUsernamesDeleteOptionalParams,\n SmtpUsernamesCreateOrUpdateOptionalParams,\n SmtpUsernamesGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { CommunicationServiceManagementContext as Client } from "../index.js";
|
|
2
|
-
import type { SmtpUsernameResource, _SmtpUsernameResourceCollection } from "../../models/models.js";
|
|
3
|
-
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
-
import type { SmtpUsernamesListOptionalParams, SmtpUsernamesDeleteOptionalParams, SmtpUsernamesCreateOrUpdateOptionalParams, SmtpUsernamesGetOptionalParams } from "./options.js";
|
|
5
|
-
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
-
export declare function _listSend(context: Client, resourceGroupName: string, communicationServiceName: string, options?: SmtpUsernamesListOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_SmtpUsernameResourceCollection>;
|
|
8
|
-
/** Get all SmtpUsernameResources for a Communication resource. */
|
|
9
|
-
export declare function list(context: Client, resourceGroupName: string, communicationServiceName: string, options?: SmtpUsernamesListOptionalParams): PagedAsyncIterableIterator<SmtpUsernameResource>;
|
|
10
|
-
export declare function _$deleteSend(context: Client, resourceGroupName: string, communicationServiceName: string, smtpUsername: string, options?: SmtpUsernamesDeleteOptionalParams): StreamableMethod;
|
|
11
|
-
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
12
|
-
/** Operation to delete a single SmtpUsername resource. */
|
|
13
|
-
/**
|
|
14
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
15
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
16
|
-
* to the operation to override the generated name.
|
|
17
|
-
*/
|
|
18
|
-
export declare function $delete(context: Client, resourceGroupName: string, communicationServiceName: string, smtpUsername: string, options?: SmtpUsernamesDeleteOptionalParams): Promise<void>;
|
|
19
|
-
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, communicationServiceName: string, smtpUsername: string, parameters: SmtpUsernameResource, options?: SmtpUsernamesCreateOrUpdateOptionalParams): StreamableMethod;
|
|
20
|
-
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<SmtpUsernameResource>;
|
|
21
|
-
/** Create or update an SmtpUsernameResource. */
|
|
22
|
-
export declare function createOrUpdate(context: Client, resourceGroupName: string, communicationServiceName: string, smtpUsername: string, parameters: SmtpUsernameResource, options?: SmtpUsernamesCreateOrUpdateOptionalParams): Promise<SmtpUsernameResource>;
|
|
23
|
-
export declare function _getSend(context: Client, resourceGroupName: string, communicationServiceName: string, smtpUsername: string, options?: SmtpUsernamesGetOptionalParams): StreamableMethod;
|
|
24
|
-
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<SmtpUsernameResource>;
|
|
25
|
-
/** Get a SmtpUsernameResource. */
|
|
26
|
-
export declare function get(context: Client, resourceGroupName: string, communicationServiceName: string, smtpUsername: string, options?: SmtpUsernamesGetOptionalParams): Promise<SmtpUsernameResource>;
|
|
27
|
-
//# sourceMappingURL=operations.d.ts.map
|