@azure/arm-communication 2.0.0 → 3.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -70
  4. package/dist/index.js +1489 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/communicationServiceManagementClient.d.ts +19 -0
  9. package/dist-esm/src/communicationServiceManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/communicationServiceManagementClient.js +52 -0
  11. package/dist-esm/src/communicationServiceManagementClient.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +422 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +41 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +22 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +201 -379
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +14 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +122 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/communicationService.d.ts +124 -0
  33. package/dist-esm/src/operations/communicationService.d.ts.map +1 -0
  34. package/dist-esm/src/operations/communicationService.js +570 -0
  35. package/dist-esm/src/operations/communicationService.js.map +1 -0
  36. package/dist-esm/src/operations/index.d.ts +3 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +1 -3
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/communicationService.d.ts +88 -0
  45. package/dist-esm/src/operationsInterfaces/communicationService.d.ts.map +1 -0
  46. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/communicationService.js} +2 -9
  47. package/dist-esm/src/operationsInterfaces/communicationService.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  53. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  54. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  55. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  56. package/dist-esm/test/communication_examples.d.ts +4 -0
  57. package/dist-esm/test/communication_examples.d.ts.map +1 -0
  58. package/dist-esm/test/communication_examples.js +106 -0
  59. package/dist-esm/test/communication_examples.js.map +1 -0
  60. package/package.json +65 -31
  61. package/review/arm-communication.api.md +363 -0
  62. package/rollup.config.js +181 -30
  63. package/src/communicationServiceManagementClient.ts +62 -30
  64. package/{esm/models/operationStatusesMappers.js → src/index.ts} +5 -2
  65. package/src/lroImpl.ts +34 -0
  66. package/src/models/index.ts +338 -738
  67. package/src/models/mappers.ts +207 -387
  68. package/src/models/parameters.ts +81 -45
  69. package/src/operations/communicationService.ts +517 -506
  70. package/src/operations/index.ts +1 -3
  71. package/src/operations/operations.ts +85 -75
  72. package/src/operationsInterfaces/communicationService.ts +166 -0
  73. package/src/{models/operationStatusesMappers.ts → operationsInterfaces/index.ts} +2 -6
  74. package/src/operationsInterfaces/operations.ts +22 -0
  75. package/tsconfig.json +3 -3
  76. package/types/arm-communication.d.ts +594 -0
  77. package/types/tsdoc-metadata.json +11 -0
  78. package/dist/arm-communication.js +0 -1663
  79. package/dist/arm-communication.js.map +0 -1
  80. package/dist/arm-communication.min.js +0 -1
  81. package/dist/arm-communication.min.js.map +0 -1
  82. package/esm/communicationServiceManagementClient.d.ts +0 -20
  83. package/esm/communicationServiceManagementClient.d.ts.map +0 -1
  84. package/esm/communicationServiceManagementClient.js +0 -34
  85. package/esm/communicationServiceManagementClient.js.map +0 -1
  86. package/esm/communicationServiceManagementClientContext.d.ts +0 -16
  87. package/esm/communicationServiceManagementClientContext.d.ts.map +0 -1
  88. package/esm/communicationServiceManagementClientContext.js +0 -55
  89. package/esm/communicationServiceManagementClientContext.js.map +0 -1
  90. package/esm/models/communicationServiceMappers.d.ts +0 -2
  91. package/esm/models/communicationServiceMappers.d.ts.map +0 -1
  92. package/esm/models/communicationServiceMappers.js +0 -9
  93. package/esm/models/communicationServiceMappers.js.map +0 -1
  94. package/esm/models/index.d.ts +0 -823
  95. package/esm/models/index.d.ts.map +0 -1
  96. package/esm/models/index.js.map +0 -1
  97. package/esm/models/mappers.d.ts +0 -28
  98. package/esm/models/mappers.d.ts.map +0 -1
  99. package/esm/models/mappers.js.map +0 -1
  100. package/esm/models/operationStatusesMappers.d.ts +0 -2
  101. package/esm/models/operationStatusesMappers.d.ts.map +0 -1
  102. package/esm/models/operationStatusesMappers.js.map +0 -1
  103. package/esm/models/operationsMappers.d.ts +0 -2
  104. package/esm/models/operationsMappers.d.ts.map +0 -1
  105. package/esm/models/operationsMappers.js +0 -9
  106. package/esm/models/operationsMappers.js.map +0 -1
  107. package/esm/models/parameters.d.ts +0 -10
  108. package/esm/models/parameters.d.ts.map +0 -1
  109. package/esm/models/parameters.js +0 -106
  110. package/esm/models/parameters.js.map +0 -1
  111. package/esm/operations/communicationService.d.ts +0 -253
  112. package/esm/operations/communicationService.d.ts.map +0 -1
  113. package/esm/operations/communicationService.js +0 -471
  114. package/esm/operations/communicationService.js.map +0 -1
  115. package/esm/operations/index.d.ts +0 -4
  116. package/esm/operations/index.d.ts.map +0 -1
  117. package/esm/operations/index.js.map +0 -1
  118. package/esm/operations/operationStatuses.d.ts +0 -35
  119. package/esm/operations/operationStatuses.d.ts.map +0 -1
  120. package/esm/operations/operationStatuses.js +0 -56
  121. package/esm/operations/operationStatuses.js.map +0 -1
  122. package/esm/operations/operations.d.ts +0 -48
  123. package/esm/operations/operations.d.ts.map +0 -1
  124. package/esm/operations/operations.js +0 -79
  125. package/esm/operations/operations.js.map +0 -1
  126. package/src/communicationServiceManagementClientContext.ts +0 -61
  127. package/src/models/communicationServiceMappers.ts +0 -24
  128. package/src/operations/operationStatuses.ts +0 -86
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/lroImpl.ts","../src/operations/communicationService.ts","../src/communicationServiceManagementClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface OperationListResult {\n /**\n * List of operations supported by the resource provider\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Operation[];\n /**\n * URL to get the next set of operation list results (if there are any).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /**\n * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: Origin;\n /**\n * Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly actionType?: ActionType;\n}\n\n/** Localized display information for this particular operation. */\nexport interface OperationDisplay {\n /**\n * The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n /**\n * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The short, localized friendly description of the operation; suitable for tool tips and detailed views.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Data POST-ed to the nameAvailability action */\nexport interface NameAvailabilityParameters {\n /** The resource type. Should be always \"Microsoft.Communication/CommunicationServices\". */\n type: string;\n /** The CommunicationService name to validate. e.g.\"my-CommunicationService-name-here\" */\n name: string;\n}\n\n/** Result of the request to check name availability. It contains a flag and possible reason of failure. */\nexport interface NameAvailability {\n /** Indicates whether the name is available or not. */\n nameAvailable?: boolean;\n /** The reason of the availability. Required if name is not available. */\n reason?: string;\n /** The message of the operation. */\n message?: string;\n}\n\n/** Description of an Azure Notification Hub to link to the communication service */\nexport interface LinkNotificationHubParameters {\n /** The resource ID of the notification hub */\n resourceId: string;\n /** Connection string for the notification hub */\n connectionString: string;\n}\n\n/** A notification hub that has been linked to the communication service */\nexport interface LinkedNotificationHub {\n /** The resource ID of the notification hub */\n resourceId?: string;\n}\n\n/** Object that includes an array of CommunicationServices and a possible link for next set. */\nexport interface CommunicationServiceResourceList {\n /** List of CommunicationService */\n value?: CommunicationServiceResource[];\n /**\n * The URL the client should use to fetch the next page (per server side paging).\n * It's null for now, added for future use.\n */\n nextLink?: string;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** An ARM resource with its own location (not a global or an inherited location). */\nexport interface LocationResource {\n /** The Azure location where the CommunicationService is running. */\n location?: string;\n}\n\n/** An ARM resource with that can accept tags */\nexport interface TaggedResource {\n /** Tags of the service which is a list of key value pairs that describe the resource. */\n tags?: { [propertyName: string]: string };\n}\n\n/** A class representing the access keys of a CommunicationService. */\nexport interface CommunicationServiceKeys {\n /** The primary access key. */\n primaryKey?: string;\n /** The secondary access key. */\n secondaryKey?: string;\n /** CommunicationService connection string constructed via the primaryKey */\n primaryConnectionString?: string;\n /** CommunicationService connection string constructed via the secondaryKey */\n secondaryConnectionString?: string;\n}\n\n/** Parameters describes the request to regenerate access keys */\nexport interface RegenerateKeyParameters {\n /** The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). */\n keyType?: KeyType;\n}\n\n/** A class representing a CommunicationService resource. */\nexport type CommunicationServiceResource = Resource &\n LocationResource &\n TaggedResource & {\n /**\n * Metadata pertaining to creation and last modification of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /**\n * Provisioning state of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n /**\n * FQDN of the CommunicationService instance.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hostName?: string;\n /** The location where the communication service stores its data at rest. */\n dataLocation?: string;\n /**\n * Resource ID of an Azure Notification Hub linked to this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly notificationHubId?: string;\n /**\n * Version of the CommunicationService resource. Probably you need the same or higher version of client SDKs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly version?: string;\n /**\n * The immutable resource Id of the communication service.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly immutableResourceId?: string;\n };\n\n/** Defines headers for CommunicationService_createOrUpdate operation. */\nexport interface CommunicationServiceCreateOrUpdateHeaders {\n /** URL to query for status of the operation. */\n azureAsyncOperation?: string;\n}\n\n/** Defines headers for CommunicationService_delete operation. */\nexport interface CommunicationServiceDeleteHeaders {\n /** URL to query for status of the operation. */\n location?: string;\n}\n\n/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n User = \"user\",\n System = \"system\",\n UserSystem = \"user,system\"\n}\n\n/**\n * Defines values for Origin. \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n Internal = \"Internal\"\n}\n\n/**\n * Defines values for ActionType. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n Unknown = \"Unknown\",\n Succeeded = \"Succeeded\",\n Failed = \"Failed\",\n Canceled = \"Canceled\",\n Running = \"Running\",\n Creating = \"Creating\",\n Updating = \"Updating\",\n Deleting = \"Deleting\",\n Moving = \"Moving\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unknown** \\\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Running** \\\n * **Creating** \\\n * **Updating** \\\n * **Deleting** \\\n * **Moving**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n User = \"User\",\n Application = \"Application\",\n ManagedIdentity = \"ManagedIdentity\",\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n/** Defines values for KeyType. */\nexport type KeyType = \"Primary\" | \"Secondary\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface CommunicationServiceCheckNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters supplied to the operation. */\n nameAvailabilityParameters?: NameAvailabilityParameters;\n}\n\n/** Contains response data for the checkNameAvailability operation. */\nexport type CommunicationServiceCheckNameAvailabilityResponse = NameAvailability;\n\n/** Optional parameters. */\nexport interface CommunicationServiceLinkNotificationHubOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters supplied to the operation. */\n linkNotificationHubParameters?: LinkNotificationHubParameters;\n}\n\n/** Contains response data for the linkNotificationHub operation. */\nexport type CommunicationServiceLinkNotificationHubResponse = LinkedNotificationHub;\n\n/** Optional parameters. */\nexport interface CommunicationServiceListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type CommunicationServiceListBySubscriptionResponse = CommunicationServiceResourceList;\n\n/** Optional parameters. */\nexport interface CommunicationServiceListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type CommunicationServiceListByResourceGroupResponse = CommunicationServiceResourceList;\n\n/** Optional parameters. */\nexport interface CommunicationServiceUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters for the update operation */\n parameters?: CommunicationServiceResource;\n}\n\n/** Contains response data for the update operation. */\nexport type CommunicationServiceUpdateResponse = CommunicationServiceResource;\n\n/** Optional parameters. */\nexport interface CommunicationServiceGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CommunicationServiceGetResponse = CommunicationServiceResource;\n\n/** Optional parameters. */\nexport interface CommunicationServiceCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters for the create or update operation */\n parameters?: CommunicationServiceResource;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type CommunicationServiceCreateOrUpdateResponse = CommunicationServiceResource;\n\n/** Optional parameters. */\nexport interface CommunicationServiceDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface CommunicationServiceListKeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listKeys operation. */\nexport type CommunicationServiceListKeysResponse = CommunicationServiceKeys;\n\n/** Optional parameters. */\nexport interface CommunicationServiceRegenerateKeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the regenerateKey operation. */\nexport type CommunicationServiceRegenerateKeyResponse = CommunicationServiceKeys;\n\n/** Optional parameters. */\nexport interface CommunicationServiceListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type CommunicationServiceListBySubscriptionNextResponse = CommunicationServiceResourceList;\n\n/** Optional parameters. */\nexport interface CommunicationServiceListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type CommunicationServiceListByResourceGroupNextResponse = CommunicationServiceResourceList;\n\n/** Optional parameters. */\nexport interface CommunicationServiceManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n actionType: {\n serializedName: \"actionType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const NameAvailabilityParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NameAvailabilityParameters\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const NameAvailability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"NameAvailability\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LinkNotificationHubParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LinkNotificationHubParameters\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n connectionString: {\n serializedName: \"connectionString\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LinkedNotificationHub: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LinkedNotificationHub\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommunicationServiceResourceList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationServiceResourceList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationServiceResource\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LocationResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LocationResource\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TaggedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TaggedResource\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const CommunicationServiceKeys: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationServiceKeys\",\n modelProperties: {\n primaryKey: {\n serializedName: \"primaryKey\",\n type: {\n name: \"String\"\n }\n },\n secondaryKey: {\n serializedName: \"secondaryKey\",\n type: {\n name: \"String\"\n }\n },\n primaryConnectionString: {\n serializedName: \"primaryConnectionString\",\n type: {\n name: \"String\"\n }\n },\n secondaryConnectionString: {\n serializedName: \"secondaryConnectionString\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RegenerateKeyParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RegenerateKeyParameters\",\n modelProperties: {\n keyType: {\n serializedName: \"keyType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Primary\", \"Secondary\"]\n }\n }\n }\n }\n};\n\nexport const CommunicationServiceResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationServiceResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n ...LocationResource.type.modelProperties,\n ...TaggedResource.type.modelProperties,\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n hostName: {\n serializedName: \"properties.hostName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n dataLocation: {\n serializedName: \"properties.dataLocation\",\n type: {\n name: \"String\"\n }\n },\n notificationHubId: {\n serializedName: \"properties.notificationHubId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"properties.version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n immutableResourceId: {\n serializedName: \"properties.immutableResourceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommunicationServiceCreateOrUpdateHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationServiceCreateOrUpdateHeaders\",\n modelProperties: {\n azureAsyncOperation: {\n serializedName: \"azure-asyncoperation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CommunicationServiceDeleteHeaders: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationServiceDeleteHeaders\",\n modelProperties: {\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n NameAvailabilityParameters as NameAvailabilityParametersMapper,\n LinkNotificationHubParameters as LinkNotificationHubParametersMapper,\n CommunicationServiceResource as CommunicationServiceResourceMapper,\n RegenerateKeyParameters as RegenerateKeyParametersMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2020-08-20\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nameAvailabilityParameters: OperationParameter = {\n parameterPath: [\"options\", \"nameAvailabilityParameters\"],\n mapper: NameAvailabilityParametersMapper\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const linkNotificationHubParameters: OperationParameter = {\n parameterPath: [\"options\", \"linkNotificationHubParameters\"],\n mapper: LinkNotificationHubParametersMapper\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const communicationServiceName: OperationURLParameter = {\n parameterPath: \"communicationServiceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w]+$\"),\n MaxLength: 63,\n MinLength: 1\n },\n serializedName: \"communicationServiceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: CommunicationServiceResourceMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: RegenerateKeyParametersMapper\n};\n","/*\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 } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { CommunicationServiceManagementClient } from \"../communicationServiceManagementClient\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: CommunicationServiceManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: CommunicationServiceManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available REST API operations of the Microsoft.Communication provider.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available REST API operations of the Microsoft.Communication provider.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Communication/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\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 } from \"@azure/core-paging\";\nimport { CommunicationService } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { CommunicationServiceManagementClient } from \"../communicationServiceManagementClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n CommunicationServiceResource,\n CommunicationServiceListBySubscriptionNextOptionalParams,\n CommunicationServiceListBySubscriptionOptionalParams,\n CommunicationServiceListByResourceGroupNextOptionalParams,\n CommunicationServiceListByResourceGroupOptionalParams,\n CommunicationServiceCheckNameAvailabilityOptionalParams,\n CommunicationServiceCheckNameAvailabilityResponse,\n CommunicationServiceLinkNotificationHubOptionalParams,\n CommunicationServiceLinkNotificationHubResponse,\n CommunicationServiceListBySubscriptionResponse,\n CommunicationServiceListByResourceGroupResponse,\n CommunicationServiceUpdateOptionalParams,\n CommunicationServiceUpdateResponse,\n CommunicationServiceGetOptionalParams,\n CommunicationServiceGetResponse,\n CommunicationServiceCreateOrUpdateOptionalParams,\n CommunicationServiceCreateOrUpdateResponse,\n CommunicationServiceDeleteOptionalParams,\n CommunicationServiceListKeysOptionalParams,\n CommunicationServiceListKeysResponse,\n RegenerateKeyParameters,\n CommunicationServiceRegenerateKeyOptionalParams,\n CommunicationServiceRegenerateKeyResponse,\n CommunicationServiceListBySubscriptionNextResponse,\n CommunicationServiceListByResourceGroupNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CommunicationService operations. */\nexport class CommunicationServiceImpl implements CommunicationService {\n private readonly client: CommunicationServiceManagementClient;\n\n /**\n * Initialize a new instance of the class CommunicationService class.\n * @param client Reference to the service client\n */\n constructor(client: CommunicationServiceManagementClient) {\n this.client = client;\n }\n\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: CommunicationServiceListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<CommunicationServiceResource> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: CommunicationServiceListBySubscriptionOptionalParams\n ): AsyncIterableIterator<CommunicationServiceResource[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: CommunicationServiceListBySubscriptionOptionalParams\n ): AsyncIterableIterator<CommunicationServiceResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Handles requests to list all resources in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: CommunicationServiceListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<CommunicationServiceResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByResourceGroupPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CommunicationServiceListByResourceGroupOptionalParams\n ): AsyncIterableIterator<CommunicationServiceResource[]> {\n let result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CommunicationServiceListByResourceGroupOptionalParams\n ): AsyncIterableIterator<CommunicationServiceResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks that the CommunicationService name is valid and is not already in use.\n * @param options The options parameters.\n */\n checkNameAvailability(\n options?: CommunicationServiceCheckNameAvailabilityOptionalParams\n ): Promise<CommunicationServiceCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * Links an Azure Notification Hub to this communication service.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n linkNotificationHub(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceLinkNotificationHubOptionalParams\n ): Promise<CommunicationServiceLinkNotificationHubResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n linkNotificationHubOperationSpec\n );\n }\n\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: CommunicationServiceListBySubscriptionOptionalParams\n ): Promise<CommunicationServiceListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Handles requests to list all resources in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: CommunicationServiceListByResourceGroupOptionalParams\n ): Promise<CommunicationServiceListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Operation to update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceUpdateOptionalParams\n ): Promise<CommunicationServiceUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Get the CommunicationService and its properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceGetOptionalParams\n ): Promise<CommunicationServiceGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CommunicationServiceCreateOrUpdateResponse>,\n CommunicationServiceCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CommunicationServiceCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, communicationServiceName, options },\n createOrUpdateOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n }\n\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceCreateOrUpdateOptionalParams\n ): Promise<CommunicationServiceCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n communicationServiceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, communicationServiceName, options },\n deleteOperationSpec\n );\n return new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n }\n\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n communicationServiceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the access keys of the CommunicationService resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServiceListKeysOptionalParams\n ): Promise<CommunicationServiceListKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n listKeysOperationSpec\n );\n }\n\n /**\n * Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the\n * same time.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameter that describes the Regenerate Key Operation.\n * @param options The options parameters.\n */\n regenerateKey(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: RegenerateKeyParameters,\n options?: CommunicationServiceRegenerateKeyOptionalParams\n ): Promise<CommunicationServiceRegenerateKeyResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, parameters, options },\n regenerateKeyOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: CommunicationServiceListBySubscriptionNextOptionalParams\n ): Promise<CommunicationServiceListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: CommunicationServiceListByResourceGroupNextOptionalParams\n ): Promise<CommunicationServiceListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NameAvailability\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.nameAvailabilityParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst linkNotificationHubOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkedNotificationHub\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.linkNotificationHubParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResource\n },\n 201: {\n bodyMapper: Mappers.CommunicationServiceResource\n },\n 202: {\n bodyMapper: Mappers.CommunicationServiceResource\n },\n 204: {\n bodyMapper: Mappers.CommunicationServiceResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceKeys\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst regenerateKeyOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceKeys\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, CommunicationServiceImpl } from \"./operations\";\nimport { Operations, CommunicationService } from \"./operationsInterfaces\";\nimport { CommunicationServiceManagementClientOptionalParams } from \"./models\";\n\nexport class CommunicationServiceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CommunicationServiceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CommunicationServiceManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CommunicationServiceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-communication/3.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2020-08-20\";\n this.operations = new OperationsImpl(this);\n this.communicationService = new CommunicationServiceImpl(this);\n }\n\n operations: Operations;\n communicationService: CommunicationService;\n}\n"],"names":["KnownOrigin","KnownActionType","KnownProvisioningState","KnownCreatedByType","NameAvailabilityParametersMapper","LinkNotificationHubParametersMapper","CommunicationServiceResourceMapper","RegenerateKeyParametersMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.OperationListResult","Mappers.ErrorResponse","Parameters.apiVersion","Parameters.$host","Parameters.accept","Parameters.nextLink","LroEngine","serializer","Mappers.NameAvailability","Parameters.nameAvailabilityParameters","Parameters.subscriptionId","Parameters.contentType","Mappers.LinkedNotificationHub","Parameters.linkNotificationHubParameters","Parameters.resourceGroupName","Parameters.communicationServiceName","Mappers.CommunicationServiceResourceList","Mappers.CommunicationServiceResource","Parameters.parameters","Mappers.CommunicationServiceKeys","Parameters.parameters1","coreClient.ServiceClient"],"mappings":";;;;;;;;AAAA;;;;;;;AA0RA,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,yCAA0B,CAAA;AAC5B,CAAC,EAJWA,mBAAW,KAAXA,mBAAW,QAItB;AAcD,WAAY,eAAe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C,eAAe,IAAI,cAAc,EAAE;cAC/D,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;;QAE3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;KAChE;CAIF;;;;"}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib"),coreLro=require("@azure/core-lro");!function(e){e.User="user",e.System="system",e.UserSystem="user,system"}(exports.KnownOrigin||(exports.KnownOrigin={})),(exports.KnownActionType||(exports.KnownActionType={})).Internal="Internal",function(e){e.Unknown="Unknown",e.Succeeded="Succeeded",e.Failed="Failed",e.Canceled="Canceled",e.Running="Running",e.Creating="Creating",e.Updating="Updating",e.Deleting="Deleting",e.Moving="Moving"}(exports.KnownProvisioningState||(exports.KnownProvisioningState={})),function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={}));const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},isDataAction:{serializedName:"isDataAction",readOnly:!0,type:{name:"Boolean"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},actionType:{serializedName:"actionType",readOnly:!0,type:{name:"String"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"resource",readOnly:!0,type:{name:"String"}},operation:{serializedName:"operation",readOnly:!0,type:{name:"String"}},description:{serializedName:"description",readOnly:!0,type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDetail"}}}}},ErrorDetail={type:{name:"Composite",className:"ErrorDetail",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorDetail"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},NameAvailabilityParameters={type:{name:"Composite",className:"NameAvailabilityParameters",modelProperties:{type:{serializedName:"type",required:!0,type:{name:"String"}},name:{serializedName:"name",required:!0,type:{name:"String"}}}}},NameAvailability={type:{name:"Composite",className:"NameAvailability",modelProperties:{nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},LinkNotificationHubParameters={type:{name:"Composite",className:"LinkNotificationHubParameters",modelProperties:{resourceId:{serializedName:"resourceId",required:!0,type:{name:"String"}},connectionString:{serializedName:"connectionString",required:!0,type:{name:"String"}}}}},LinkedNotificationHub={type:{name:"Composite",className:"LinkedNotificationHub",modelProperties:{resourceId:{serializedName:"resourceId",type:{name:"String"}}}}},CommunicationServiceResourceList={type:{name:"Composite",className:"CommunicationServiceResourceList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"CommunicationServiceResource"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},LocationResource={type:{name:"Composite",className:"LocationResource",modelProperties:{location:{serializedName:"location",type:{name:"String"}}}}},TaggedResource={type:{name:"Composite",className:"TaggedResource",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},CommunicationServiceKeys={type:{name:"Composite",className:"CommunicationServiceKeys",modelProperties:{primaryKey:{serializedName:"primaryKey",type:{name:"String"}},secondaryKey:{serializedName:"secondaryKey",type:{name:"String"}},primaryConnectionString:{serializedName:"primaryConnectionString",type:{name:"String"}},secondaryConnectionString:{serializedName:"secondaryConnectionString",type:{name:"String"}}}}},RegenerateKeyParameters={type:{name:"Composite",className:"RegenerateKeyParameters",modelProperties:{keyType:{serializedName:"keyType",type:{name:"Enum",allowedValues:["Primary","Secondary"]}}}}},CommunicationServiceResource={type:{name:"Composite",className:"CommunicationServiceResource",modelProperties:Object.assign(Object.assign(Object.assign(Object.assign({},Resource.type.modelProperties),LocationResource.type.modelProperties),TaggedResource.type.modelProperties),{systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},hostName:{serializedName:"properties.hostName",readOnly:!0,type:{name:"String"}},dataLocation:{serializedName:"properties.dataLocation",type:{name:"String"}},notificationHubId:{serializedName:"properties.notificationHubId",readOnly:!0,type:{name:"String"}},version:{serializedName:"properties.version",readOnly:!0,type:{name:"String"}},immutableResourceId:{serializedName:"properties.immutableResourceId",readOnly:!0,type:{name:"String"}}})}},CommunicationServiceCreateOrUpdateHeaders={type:{name:"Composite",className:"CommunicationServiceCreateOrUpdateHeaders",modelProperties:{azureAsyncOperation:{serializedName:"azure-asyncoperation",type:{name:"String"}}}}},CommunicationServiceDeleteHeaders={type:{name:"Composite",className:"CommunicationServiceDeleteHeaders",modelProperties:{location:{serializedName:"location",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ErrorResponse:ErrorResponse,ErrorDetail:ErrorDetail,ErrorAdditionalInfo:ErrorAdditionalInfo,NameAvailabilityParameters:NameAvailabilityParameters,NameAvailability:NameAvailability,LinkNotificationHubParameters:LinkNotificationHubParameters,LinkedNotificationHub:LinkedNotificationHub,CommunicationServiceResourceList:CommunicationServiceResourceList,SystemData:SystemData,Resource:Resource,LocationResource:LocationResource,TaggedResource:TaggedResource,CommunicationServiceKeys:CommunicationServiceKeys,RegenerateKeyParameters:RegenerateKeyParameters,CommunicationServiceResource:CommunicationServiceResource,CommunicationServiceCreateOrUpdateHeaders:CommunicationServiceCreateOrUpdateHeaders,CommunicationServiceDeleteHeaders:CommunicationServiceDeleteHeaders});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2020-08-20",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},nameAvailabilityParameters={parameterPath:["options","nameAvailabilityParameters"],mapper:NameAvailabilityParameters},subscriptionId={parameterPath:"subscriptionId",mapper:{constraints:{MinLength:1},serializedName:"subscriptionId",required:!0,type:{name:"String"}}},linkNotificationHubParameters={parameterPath:["options","linkNotificationHubParameters"],mapper:LinkNotificationHubParameters},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},communicationServiceName={parameterPath:"communicationServiceName",mapper:{constraints:{Pattern:new RegExp("^[-\\w]+$"),MaxLength:63,MinLength:1},serializedName:"communicationServiceName",required:!0,type:{name:"String"}}},parameters={parameterPath:["options","parameters"],mapper:CommunicationServiceResource},parameters1={parameterPath:"parameters",mapper:RegenerateKeyParameters};class OperationsImpl{constructor(e){this.client=e}list(e){const i=this.listPagingAll(e);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r));yield yield tslib.__await(e.value||[]);let i=e.nextLink;for(;i;)e=yield tslib.__await(this._listNext(i,r)),i=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(o){return tslib.__asyncGenerator(this,arguments,function*(){var i,e;try{for(var r,t=tslib.__asyncValues(this.listPagingPage(o));!(r=yield tslib.__await(t.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){i={error:e}}finally{try{r&&!r.done&&(e=t.return)&&(yield tslib.__await(e.call(t)))}finally{if(i)throw i.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,i){return this.client.sendOperationRequest({nextLink:e,options:i},listNextOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Communication/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};class LroImpl{constructor(e,i,r,t=r.path,a=r.httpMethod){this.sendOperationFn=e,this.args=i,this.spec=r,this.requestPath=t,this.requestMethod=a}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(i){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:i,httpMethod:"GET"}))})}}class CommunicationServiceImpl{constructor(e){this.client=e}listBySubscription(e){const i=this.listBySubscriptionPagingAll(e);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r));yield yield tslib.__await(e.value||[]);let i=e.nextLink;for(;i;)e=yield tslib.__await(this._listBySubscriptionNext(i,r)),i=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(o){return tslib.__asyncGenerator(this,arguments,function*(){var i,e;try{for(var r,t=tslib.__asyncValues(this.listBySubscriptionPagingPage(o));!(r=yield tslib.__await(t.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){i={error:e}}finally{try{r&&!r.done&&(e=t.return)&&(yield tslib.__await(e.call(t)))}finally{if(i)throw i.error}}})}listByResourceGroup(e,i){const r=this.listByResourceGroupPagingAll(e,i);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,i)}}listByResourceGroupPagingPage(r,t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(r,t));yield yield tslib.__await(e.value||[]);let i=e.nextLink;for(;i;)e=yield tslib.__await(this._listByResourceGroupNext(r,i,t)),i=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(o,s){return tslib.__asyncGenerator(this,arguments,function*(){var i,e;try{for(var r,t=tslib.__asyncValues(this.listByResourceGroupPagingPage(o,s));!(r=yield tslib.__await(t.next())).done;){var a=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){i={error:e}}finally{try{r&&!r.done&&(e=t.return)&&(yield tslib.__await(e.call(t)))}finally{if(i)throw i.error}}})}checkNameAvailability(e){return this.client.sendOperationRequest({options:e},checkNameAvailabilityOperationSpec)}linkNotificationHub(e,i,r){return this.client.sendOperationRequest({resourceGroupName:e,communicationServiceName:i,options:r},linkNotificationHubOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroup(e,i){return this.client.sendOperationRequest({resourceGroupName:e,options:i},listByResourceGroupOperationSpec)}update(e,i,r){return this.client.sendOperationRequest({resourceGroupName:e,communicationServiceName:i,options:r},updateOperationSpec)}get(e,i,r){return this.client.sendOperationRequest({resourceGroupName:e,communicationServiceName:i,options:r},getOperationSpec)}beginCreateOrUpdate(i,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,i)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,i)});var e=new LroImpl((i,a)=>tslib.__awaiter(this,void 0,void 0,function*(){let r=void 0;const t=null===(e=i.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},i),{options:Object.assign(Object.assign({},i.options),{onResponse:(e,i)=>{r=e,null!==t&&void 0!==t&&t(e,i)}})});return{flatResponse:yield o(e,a),rawResponse:{statusCode:r.status,body:r.parsedBody,headers:r.headers.toJSON()}}}),{resourceGroupName:i,communicationServiceName:r,options:t},createOrUpdateOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==t?void 0:t.resumeFrom,intervalInMs:null==t?void 0:t.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"})})}beginCreateOrUpdateAndWait(i,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(i,r,t);return e.pollUntilDone()})}beginDelete(i,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,i)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,i)});var e=new LroImpl((i,a)=>tslib.__awaiter(this,void 0,void 0,function*(){let r=void 0;const t=null===(e=i.options)||void 0===e?void 0:e.onResponse;var e=Object.assign(Object.assign({},i),{options:Object.assign(Object.assign({},i.options),{onResponse:(e,i)=>{r=e,null!==t&&void 0!==t&&t(e,i)}})});return{flatResponse:yield o(e,a),rawResponse:{statusCode:r.status,body:r.parsedBody,headers:r.headers.toJSON()}}}),{resourceGroupName:i,communicationServiceName:r,options:t},deleteOperationSpec);return new coreLro.LroEngine(e,{resumeFrom:null==t?void 0:t.resumeFrom,intervalInMs:null==t?void 0:t.updateIntervalInMs,lroResourceLocationConfig:"location"})})}beginDeleteAndWait(i,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(i,r,t);return e.pollUntilDone()})}listKeys(e,i,r){return this.client.sendOperationRequest({resourceGroupName:e,communicationServiceName:i,options:r},listKeysOperationSpec)}regenerateKey(e,i,r,t){return this.client.sendOperationRequest({resourceGroupName:e,communicationServiceName:i,parameters:r,options:t},regenerateKeyOperationSpec)}_listBySubscriptionNext(e,i){return this.client.sendOperationRequest({nextLink:e,options:i},listBySubscriptionNextOperationSpec)}_listByResourceGroupNext(e,i,r){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:i,options:r},listByResourceGroupNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),checkNameAvailabilityOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/checkNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:NameAvailability},default:{bodyMapper:ErrorResponse}},requestBody:nameAvailabilityParameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},linkNotificationHubOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub",httpMethod:"POST",responses:{200:{bodyMapper:LinkedNotificationHub},default:{bodyMapper:ErrorResponse}},requestBody:linkNotificationHubParameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices",httpMethod:"GET",responses:{200:{bodyMapper:CommunicationServiceResourceList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices",httpMethod:"GET",responses:{200:{bodyMapper:CommunicationServiceResourceList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$1},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:CommunicationServiceResource},default:{bodyMapper:ErrorResponse}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",httpMethod:"GET",responses:{200:{bodyMapper:CommunicationServiceResource},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",httpMethod:"PUT",responses:{200:{bodyMapper:CommunicationServiceResource},201:{bodyMapper:CommunicationServiceResource},202:{bodyMapper:CommunicationServiceResource},204:{bodyMapper:CommunicationServiceResource},default:{bodyMapper:ErrorResponse}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept],serializer:serializer$1},listKeysOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/listKeys",httpMethod:"POST",responses:{200:{bodyMapper:CommunicationServiceKeys},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept],serializer:serializer$1},regenerateKeyOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey",httpMethod:"POST",responses:{200:{bodyMapper:CommunicationServiceKeys},default:{bodyMapper:ErrorResponse}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,communicationServiceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:CommunicationServiceResourceList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:CommunicationServiceResourceList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$1};class CommunicationServiceManagementClient extends coreClient.ServiceClient{constructor(e,i,r){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===i)throw new Error("'subscriptionId' cannot be null");var t={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-communication/3.0.0",e=(r=r||{}).userAgentOptions&&r.userAgentOptions.userAgentPrefix?r.userAgentOptions.userAgentPrefix+" "+e:e;r.credentialScopes||(r.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},t),r),{userAgentOptions:{userAgentPrefix:e},baseUri:r.endpoint||"https://management.azure.com"})),this.subscriptionId=i,this.$host=r.$host||"https://management.azure.com",this.apiVersion=r.apiVersion||"2020-08-20",this.operations=new OperationsImpl(this),this.communicationService=new CommunicationServiceImpl(this)}}exports.CommunicationServiceManagementClient=CommunicationServiceManagementClient;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/lroImpl.ts","../src/operations/communicationService.ts","../src/communicationServiceManagementClient.ts"],"names":["KnownOrigin","KnownActionType","KnownProvisioningState","KnownCreatedByType","OperationListResult","type","name","className","modelProperties","value","serializedName","readOnly","element","nextLink","Operation","isDataAction","display","origin","actionType","OperationDisplay","provider","resource","operation","description","ErrorResponse","error","ErrorDetail","code","message","target","details","additionalInfo","ErrorAdditionalInfo","info","NameAvailabilityParameters","required","NameAvailability","nameAvailable","reason","LinkNotificationHubParameters","resourceId","connectionString","LinkedNotificationHub","CommunicationServiceResourceList","SystemData","createdBy","createdByType","createdAt","lastModifiedBy","lastModifiedByType","lastModifiedAt","Resource","id","LocationResource","location","TaggedResource","tags","CommunicationServiceKeys","primaryKey","secondaryKey","primaryConnectionString","secondaryConnectionString","RegenerateKeyParameters","keyType","allowedValues","CommunicationServiceResource","Object","assign","systemData","provisioningState","hostName","dataLocation","notificationHubId","version","immutableResourceId","CommunicationServiceCreateOrUpdateHeaders","azureAsyncOperation","CommunicationServiceDeleteHeaders","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","contentType","nameAvailabilityParameters","NameAvailabilityParametersMapper","subscriptionId","constraints","MinLength","linkNotificationHubParameters","LinkNotificationHubParametersMapper","resourceGroupName","MaxLength","communicationServiceName","Pattern","RegExp","parameters","CommunicationServiceResourceMapper","parameters1","RegenerateKeyParametersMapper","OperationsImpl","constructor","client","this","list","options","iter","listPagingAll","next","Symbol","asyncIterator","byPage","listPagingPage","let","result","tslib","__await","_list","continuationToken","_listNext","_c","_b","__asyncValues","done","page","__asyncDelegator","sendOperationRequest","listOperationSpec","listNextOperationSpec","serializer","coreClient.createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.OperationListResult","default","Mappers.ErrorResponse","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","headerParameters","Parameters.accept","Parameters.nextLink","LroImpl","sendOperationFn","args","spec","requestPath","requestMethod","sendInitialRequest","sendPollRequest","_a","restSpec","__rest","CommunicationServiceImpl","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","_listBySubscriptionNext","listByResourceGroup","listByResourceGroupPagingAll","listByResourceGroupPagingPage","_listByResourceGroup","_listByResourceGroupNext","checkNameAvailability","checkNameAvailabilityOperationSpec","linkNotificationHub","linkNotificationHubOperationSpec","listBySubscriptionOperationSpec","listByResourceGroupOperationSpec","update","updateOperationSpec","get","getOperationSpec","beginCreateOrUpdate","directSendOperation","__awaiter","lro","currentRawResponse","undefined","providedCallback","onResponse","updatedArgs","rawResponse","flatResponse","statusCode","status","body","parsedBody","headers","toJSON","createOrUpdateOperationSpec","LroEngine","resumeFrom","intervalInMs","updateIntervalInMs","lroResourceLocationConfig","beginCreateOrUpdateAndWait","poller","pollUntilDone","beginDelete","deleteOperationSpec","beginDeleteAndWait","listKeys","listKeysOperationSpec","regenerateKey","regenerateKeyOperationSpec","listBySubscriptionNextOperationSpec","listByResourceGroupNextOperationSpec","Mappers.NameAvailability","requestBody","Parameters.nameAvailabilityParameters","Parameters.subscriptionId","Parameters.contentType","mediaType","Mappers.LinkedNotificationHub","Parameters.linkNotificationHubParameters","Parameters.resourceGroupName","Parameters.communicationServiceName","Mappers.CommunicationServiceResourceList","Mappers.CommunicationServiceResource","Parameters.parameters","201","202","204","Mappers.CommunicationServiceKeys","Parameters.parameters1","CommunicationServiceManagementClient","coreClient.ServiceClient","credentials","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","baseUri","endpoint","operations","communicationService"],"mappings":"4KA0RA,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,OAAA,SACAA,EAAA,WAAA,cAHF,CAAYA,QAAAA,cAAAA,QAAAA,YAAW,MAkBXC,QAAAA,kBAAAA,QAAAA,g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q,WACnBhB,oBCjuBWuG,6CAA6CC,WAAAA,cAWxDpI,YACEqI,EACApJ,EACAmB,GAEA,QAAoB+E,IAAhBkD,EACF,MAAM,IAAIC,MAAM,gCAElB,QAAuBnD,IAAnBlG,EACF,MAAM,IAAIqJ,MAAM,mCAOlB,IAAMC,EAA+D,CACnEC,mBAAoB,kCACpBC,WAAYJ,GAGRK,EAAiB,mCACjBC,GARJvI,EADGA,GACO,IASFwI,kBAAoBxI,EAAQwI,iBAAiBD,gBAC9CvI,EAAQwI,iBAAiBD,gBAA5B,IAA+CD,EAC5CA,EAEJtI,EAAQyI,mBACXzI,EAAQyI,iBAAmB,CAAC,0CAU9BC,MARyBpL,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpB4K,GACAnI,GAAO,CACVwI,iBAAkB,CAChBD,gBAAAA,GAEFI,QAAS3I,EAAQ4I,UAAY,kCAI/B9I,KAAKjB,eAAiBA,EAGtBiB,KAAKvB,MAAQyB,EAAQzB,OAAS,+BAC9BuB,KAAKrB,WAAauB,EAAQvB,YAAc,aACxCqB,KAAK+I,WAAa,IAAIlJ,eAAeG,MACrCA,KAAKgJ,qBAAuB,IAAIzF,yBAAyBvD,O"}
@@ -0,0 +1,19 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, CommunicationService } from "./operationsInterfaces";
4
+ import { CommunicationServiceManagementClientOptionalParams } from "./models";
5
+ export declare class CommunicationServiceManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the CommunicationServiceManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The ID of the target subscription.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CommunicationServiceManagementClientOptionalParams);
16
+ operations: Operations;
17
+ communicationService: CommunicationService;
18
+ }
19
+ //# sourceMappingURL=communicationServiceManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"communicationServiceManagementClient.d.ts","sourceRoot":"","sources":["../../src/communicationServiceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,kDAAkD,EAAE,MAAM,UAAU,CAAC;AAE9E,qBAAa,oCAAqC,SAAQ,UAAU,CAAC,aAAa;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kDAAkD;IA8C9D,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import { OperationsImpl, CommunicationServiceImpl } from "./operations";
10
+ export class CommunicationServiceManagementClient extends coreClient.ServiceClient {
11
+ /**
12
+ * Initializes a new instance of the CommunicationServiceManagementClient class.
13
+ * @param credentials Subscription credentials which uniquely identify client subscription.
14
+ * @param subscriptionId The ID of the target subscription.
15
+ * @param options The parameter options
16
+ */
17
+ constructor(credentials, subscriptionId, options) {
18
+ if (credentials === undefined) {
19
+ throw new Error("'credentials' cannot be null");
20
+ }
21
+ if (subscriptionId === undefined) {
22
+ throw new Error("'subscriptionId' cannot be null");
23
+ }
24
+ // Initializing default values for options
25
+ if (!options) {
26
+ options = {};
27
+ }
28
+ const defaults = {
29
+ requestContentType: "application/json; charset=utf-8",
30
+ credential: credentials
31
+ };
32
+ const packageDetails = `azsdk-js-arm-communication/3.0.0`;
33
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
34
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
35
+ : `${packageDetails}`;
36
+ if (!options.credentialScopes) {
37
+ options.credentialScopes = ["https://management.azure.com/.default"];
38
+ }
39
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ userAgentPrefix
41
+ }, baseUri: options.endpoint || "https://management.azure.com" });
42
+ super(optionsWithDefaults);
43
+ // Parameter assignments
44
+ this.subscriptionId = subscriptionId;
45
+ // Assigning values to Constant parameters
46
+ this.$host = options.$host || "https://management.azure.com";
47
+ this.apiVersion = options.apiVersion || "2020-08-20";
48
+ this.operations = new OperationsImpl(this);
49
+ this.communicationService = new CommunicationServiceImpl(this);
50
+ }
51
+ }
52
+ //# sourceMappingURL=communicationServiceManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"communicationServiceManagementClient.js","sourceRoot":"","sources":["../../src/communicationServiceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAIxE,MAAM,OAAO,oCAAqC,SAAQ,UAAU,CAAC,aAAa;IAKhF;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA4D;QAE5D,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAuD;YACnE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,kCAAkC,CAAC;QAC1D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACjE,CAAC;CAIF"}
@@ -0,0 +1,5 @@
1
+ /// <reference lib="esnext.asynciterable" />
2
+ export * from "./models";
3
+ export { CommunicationServiceManagementClient } from "./communicationServiceManagementClient";
4
+ export * from "./operationsInterfaces";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ /// <reference lib="esnext.asynciterable" />
9
+ export * from "./models";
10
+ export { CommunicationServiceManagementClient } from "./communicationServiceManagementClient";
11
+ export * from "./operationsInterfaces";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare class LroImpl<T> implements LongRunningOperation<T> {
3
+ private sendOperationFn;
4
+ private args;
5
+ private spec;
6
+ requestPath: string;
7
+ requestMethod: string;
8
+ constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
9
+ readonly requestBody?: unknown;
10
+ readonly path?: string;
11
+ readonly httpMethod: string;
12
+ } & Record<string, any>, requestPath?: string, requestMethod?: string);
13
+ sendInitialRequest(): Promise<LroResponse<T>>;
14
+ sendPollRequest(path: string): Promise<LroResponse<T>>;
15
+ }
16
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
@@ -0,0 +1,29 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter, __rest } from "tslib";
9
+ export class LroImpl {
10
+ constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
11
+ this.sendOperationFn = sendOperationFn;
12
+ this.args = args;
13
+ this.spec = spec;
14
+ this.requestPath = requestPath;
15
+ this.requestMethod = requestMethod;
16
+ }
17
+ sendInitialRequest() {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ return this.sendOperationFn(this.args, this.spec);
20
+ });
21
+ }
22
+ sendPollRequest(path) {
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
25
+ return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
26
+ });
27
+ }
28
+ }
29
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,MAAM,OAAO,OAAO;IAClB,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACS,kBAAkB;;YAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpD,CAAC;KAAA;IACY,eAAe,CAAC,IAAY;;YACvC,MAAM,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;YAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;QACL,CAAC;KAAA;CACF"}