@azure/arm-communication 4.0.0-beta.3 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -3
- package/README.md +1 -1
- package/dist/index.js +561 -256
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesCheckNameAvailabilitySample.js +6 -4
- package/dist-esm/samples-dev/communicationServicesCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/communicationServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesDeleteSample.js +3 -2
- package/dist-esm/samples-dev/communicationServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesGetSample.js +3 -2
- package/dist-esm/samples-dev/communicationServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesLinkNotificationHubSample.js +4 -3
- package/dist-esm/samples-dev/communicationServicesLinkNotificationHubSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesListByResourceGroupSample.js +3 -2
- package/dist-esm/samples-dev/communicationServicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesListBySubscriptionSample.js +3 -2
- package/dist-esm/samples-dev/communicationServicesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesListKeysSample.js +3 -2
- package/dist-esm/samples-dev/communicationServicesListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesRegenerateKeySample.js +4 -3
- package/dist-esm/samples-dev/communicationServicesRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/communicationServicesUpdateSample.js +4 -3
- package/dist-esm/samples-dev/communicationServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsCancelVerificationSample.js +3 -2
- package/dist-esm/samples-dev/domainsCancelVerificationSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsDeleteSample.js +3 -2
- package/dist-esm/samples-dev/domainsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsGetSample.js +3 -2
- package/dist-esm/samples-dev/domainsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsInitiateVerificationSample.js +3 -2
- package/dist-esm/samples-dev/domainsInitiateVerificationSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsListByEmailServiceResourceSample.js +3 -2
- package/dist-esm/samples-dev/domainsListByEmailServiceResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/domainsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesDeleteSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesGetSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesListByResourceGroupSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesListBySubscriptionSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesListVerifiedExchangeOnlineDomainsSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesListVerifiedExchangeOnlineDomainsSample.js.map +1 -1
- package/dist-esm/samples-dev/emailServicesUpdateSample.js +3 -2
- package/dist-esm/samples-dev/emailServicesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/senderUsernamesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/senderUsernamesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesDeleteSample.js +41 -0
- package/dist-esm/samples-dev/senderUsernamesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/senderUsernamesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesGetSample.js +41 -0
- package/dist-esm/samples-dev/senderUsernamesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.d.ts +2 -0
- package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.js +54 -0
- package/dist-esm/samples-dev/senderUsernamesListByDomainsSample.js.map +1 -0
- package/dist-esm/src/communicationServiceManagementClient.d.ts +3 -2
- package/dist-esm/src/communicationServiceManagementClient.d.ts.map +1 -1
- package/dist-esm/src/communicationServiceManagementClient.js +5 -4
- package/dist-esm/src/communicationServiceManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +87 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +56 -20
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +22 -7
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/communicationServices.d.ts +5 -22
- package/dist-esm/src/operations/communicationServices.d.ts.map +1 -1
- package/dist-esm/src/operations/communicationServices.js +29 -123
- package/dist-esm/src/operations/communicationServices.js.map +1 -1
- package/dist-esm/src/operations/domains.d.ts +6 -6
- package/dist-esm/src/operations/domains.d.ts.map +1 -1
- package/dist-esm/src/operations/domains.js +71 -27
- package/dist-esm/src/operations/domains.js.map +1 -1
- package/dist-esm/src/operations/emailServices.d.ts +4 -4
- package/dist-esm/src/operations/emailServices.d.ts.map +1 -1
- package/dist-esm/src/operations/emailServices.js +29 -17
- package/dist-esm/src/operations/emailServices.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/senderUsernames.d.ts +70 -0
- package/dist-esm/src/operations/senderUsernames.d.ts.map +1 -0
- package/dist-esm/src/operations/senderUsernames.js +280 -0
- package/dist-esm/src/operations/senderUsernames.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/communicationServices.d.ts +5 -22
- package/dist-esm/src/operationsInterfaces/communicationServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/domains.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/emailServices.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/emailServices.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/senderUsernames.d.ts +43 -0
- package/dist-esm/src/operationsInterfaces/senderUsernames.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/senderUsernames.js +9 -0
- package/dist-esm/src/operationsInterfaces/senderUsernames.js.map +1 -0
- package/dist-esm/test/communication_examples.d.ts.map +1 -1
- package/dist-esm/test/communication_examples.js +3 -1
- package/dist-esm/test/communication_examples.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-communication.api.md +90 -31
- package/src/communicationServiceManagementClient.ts +9 -5
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +101 -21
- package/src/models/mappers.ts +62 -18
- package/src/models/parameters.ts +25 -7
- package/src/operations/communicationServices.ts +41 -196
- package/src/operations/domains.ts +98 -55
- package/src/operations/emailServices.ts +44 -34
- package/src/operations/index.ts +1 -0
- package/src/operations/senderUsernames.ts +383 -0
- package/src/operationsInterfaces/communicationServices.ts +6 -43
- package/src/operationsInterfaces/domains.ts +12 -9
- package/src/operationsInterfaces/emailServices.ts +6 -6
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/senderUsernames.ts +84 -0
- package/types/arm-communication.d.ts +159 -55
- package/types/tsdoc-metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Defines values for ActionType. \
|
|
@@ -60,7 +60,7 @@ export declare class CommunicationServiceManagementClient extends coreClient.Ser
|
|
|
60
60
|
/**
|
|
61
61
|
* Initializes a new instance of the CommunicationServiceManagementClient class.
|
|
62
62
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
63
|
-
* @param subscriptionId The ID of the target subscription.
|
|
63
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
64
64
|
* @param options The parameter options
|
|
65
65
|
*/
|
|
66
66
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CommunicationServiceManagementClientOptionalParams);
|
|
@@ -70,6 +70,7 @@ export declare class CommunicationServiceManagementClient extends coreClient.Ser
|
|
|
70
70
|
communicationServices: CommunicationServices;
|
|
71
71
|
domains: Domains;
|
|
72
72
|
emailServices: EmailServices;
|
|
73
|
+
senderUsernames: SenderUsernames;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
/** Optional parameters. */
|
|
@@ -165,15 +166,7 @@ export declare interface CommunicationServices {
|
|
|
165
166
|
* @param parameters Parameters for the update operation
|
|
166
167
|
* @param options The options parameters.
|
|
167
168
|
*/
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Operation to update an existing CommunicationService.
|
|
171
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
172
|
-
* @param communicationServiceName The name of the CommunicationService resource.
|
|
173
|
-
* @param parameters Parameters for the update operation
|
|
174
|
-
* @param options The options parameters.
|
|
175
|
-
*/
|
|
176
|
-
beginUpdateAndWait(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResourceUpdate, options?: CommunicationServicesUpdateOptionalParams): Promise<CommunicationServicesUpdateResponse>;
|
|
169
|
+
update(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResourceUpdate, options?: CommunicationServicesUpdateOptionalParams): Promise<CommunicationServicesUpdateResponse>;
|
|
177
170
|
/**
|
|
178
171
|
* Get the CommunicationService and its properties.
|
|
179
172
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -188,7 +181,7 @@ export declare interface CommunicationServices {
|
|
|
188
181
|
* @param parameters Parameters for the create or update operation
|
|
189
182
|
* @param options The options parameters.
|
|
190
183
|
*/
|
|
191
|
-
beginCreateOrUpdate(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResource, options?: CommunicationServicesCreateOrUpdateOptionalParams): Promise<
|
|
184
|
+
beginCreateOrUpdate(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResource, options?: CommunicationServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CommunicationServicesCreateOrUpdateResponse>, CommunicationServicesCreateOrUpdateResponse>>;
|
|
192
185
|
/**
|
|
193
186
|
* Create a new CommunicationService or update an existing CommunicationService.
|
|
194
187
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -203,7 +196,7 @@ export declare interface CommunicationServices {
|
|
|
203
196
|
* @param communicationServiceName The name of the CommunicationService resource.
|
|
204
197
|
* @param options The options parameters.
|
|
205
198
|
*/
|
|
206
|
-
beginDelete(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesDeleteOptionalParams): Promise<
|
|
199
|
+
beginDelete(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
207
200
|
/**
|
|
208
201
|
* Operation to delete a CommunicationService.
|
|
209
202
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -226,16 +219,7 @@ export declare interface CommunicationServices {
|
|
|
226
219
|
* @param parameters Parameter that describes the Regenerate Key Operation.
|
|
227
220
|
* @param options The options parameters.
|
|
228
221
|
*/
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the
|
|
232
|
-
* same time.
|
|
233
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
234
|
-
* @param communicationServiceName The name of the CommunicationService resource.
|
|
235
|
-
* @param parameters Parameter that describes the Regenerate Key Operation.
|
|
236
|
-
* @param options The options parameters.
|
|
237
|
-
*/
|
|
238
|
-
beginRegenerateKeyAndWait(resourceGroupName: string, communicationServiceName: string, parameters: RegenerateKeyParameters, options?: CommunicationServicesRegenerateKeyOptionalParams): Promise<CommunicationServicesRegenerateKeyResponse>;
|
|
222
|
+
regenerateKey(resourceGroupName: string, communicationServiceName: string, parameters: RegenerateKeyParameters, options?: CommunicationServicesRegenerateKeyOptionalParams): Promise<CommunicationServicesRegenerateKeyResponse>;
|
|
239
223
|
}
|
|
240
224
|
|
|
241
225
|
/** Optional parameters. */
|
|
@@ -346,27 +330,13 @@ export declare type CommunicationServicesProvisioningState = string;
|
|
|
346
330
|
|
|
347
331
|
/** Optional parameters. */
|
|
348
332
|
export declare interface CommunicationServicesRegenerateKeyOptionalParams extends coreClient.OperationOptions {
|
|
349
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
350
|
-
updateIntervalInMs?: number;
|
|
351
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
352
|
-
resumeFrom?: string;
|
|
353
333
|
}
|
|
354
334
|
|
|
355
335
|
/** Contains response data for the regenerateKey operation. */
|
|
356
336
|
export declare type CommunicationServicesRegenerateKeyResponse = CommunicationServiceKeys;
|
|
357
337
|
|
|
358
|
-
/** Defines headers for CommunicationServices_update operation. */
|
|
359
|
-
export declare interface CommunicationServicesUpdateHeaders {
|
|
360
|
-
/** URL to query for status of the operation. */
|
|
361
|
-
azureAsyncOperation?: string;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
338
|
/** Optional parameters. */
|
|
365
339
|
export declare interface CommunicationServicesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
366
|
-
/** Delay to wait until next poll, in milliseconds. */
|
|
367
|
-
updateIntervalInMs?: number;
|
|
368
|
-
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
369
|
-
resumeFrom?: string;
|
|
370
340
|
}
|
|
371
341
|
|
|
372
342
|
/** Contains response data for the update operation. */
|
|
@@ -481,10 +451,6 @@ export declare interface DomainResource extends TrackedResource {
|
|
|
481
451
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
482
452
|
*/
|
|
483
453
|
readonly verificationRecords?: DomainPropertiesVerificationRecords;
|
|
484
|
-
/** Collection of valid sender usernames. This is a key-value pair where key=username and value=display name. */
|
|
485
|
-
validSenderUsernames?: {
|
|
486
|
-
[propertyName: string]: string;
|
|
487
|
-
};
|
|
488
454
|
/** Describes whether user engagement tracking is enabled or disabled. */
|
|
489
455
|
userEngagementTracking?: UserEngagementTracking;
|
|
490
456
|
}
|
|
@@ -526,7 +492,7 @@ export declare interface Domains {
|
|
|
526
492
|
* @param parameters Parameters for the create or update operation
|
|
527
493
|
* @param options The options parameters.
|
|
528
494
|
*/
|
|
529
|
-
beginCreateOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: DomainResource, options?: DomainsCreateOrUpdateOptionalParams): Promise<
|
|
495
|
+
beginCreateOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: DomainResource, options?: DomainsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DomainsCreateOrUpdateResponse>, DomainsCreateOrUpdateResponse>>;
|
|
530
496
|
/**
|
|
531
497
|
* Add a new Domains resource under the parent EmailService resource or update an existing Domains
|
|
532
498
|
* resource.
|
|
@@ -544,7 +510,7 @@ export declare interface Domains {
|
|
|
544
510
|
* @param domainName The name of the Domains resource.
|
|
545
511
|
* @param options The options parameters.
|
|
546
512
|
*/
|
|
547
|
-
beginDelete(resourceGroupName: string, emailServiceName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise<
|
|
513
|
+
beginDelete(resourceGroupName: string, emailServiceName: string, domainName: string, options?: DomainsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
548
514
|
/**
|
|
549
515
|
* Operation to delete a Domains resource.
|
|
550
516
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -561,7 +527,7 @@ export declare interface Domains {
|
|
|
561
527
|
* @param parameters Parameters for the update operation
|
|
562
528
|
* @param options The options parameters.
|
|
563
529
|
*/
|
|
564
|
-
beginUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: UpdateDomainRequestParameters, options?: DomainsUpdateOptionalParams): Promise<
|
|
530
|
+
beginUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: UpdateDomainRequestParameters, options?: DomainsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DomainsUpdateResponse>, DomainsUpdateResponse>>;
|
|
565
531
|
/**
|
|
566
532
|
* Operation to update an existing Domains resource.
|
|
567
533
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -579,7 +545,7 @@ export declare interface Domains {
|
|
|
579
545
|
* @param parameters Type of verification to be initiated.
|
|
580
546
|
* @param options The options parameters.
|
|
581
547
|
*/
|
|
582
|
-
beginInitiateVerification(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: VerificationParameter, options?: DomainsInitiateVerificationOptionalParams): Promise<
|
|
548
|
+
beginInitiateVerification(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: VerificationParameter, options?: DomainsInitiateVerificationOptionalParams): Promise<SimplePollerLike<OperationState<DomainsInitiateVerificationResponse>, DomainsInitiateVerificationResponse>>;
|
|
583
549
|
/**
|
|
584
550
|
* Initiate verification of DNS record.
|
|
585
551
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -597,7 +563,7 @@ export declare interface Domains {
|
|
|
597
563
|
* @param parameters Type of verification to be canceled.
|
|
598
564
|
* @param options The options parameters.
|
|
599
565
|
*/
|
|
600
|
-
beginCancelVerification(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: VerificationParameter, options?: DomainsCancelVerificationOptionalParams): Promise<
|
|
566
|
+
beginCancelVerification(resourceGroupName: string, emailServiceName: string, domainName: string, parameters: VerificationParameter, options?: DomainsCancelVerificationOptionalParams): Promise<SimplePollerLike<OperationState<DomainsCancelVerificationResponse>, DomainsCancelVerificationResponse>>;
|
|
601
567
|
/**
|
|
602
568
|
* Cancel verification of DNS record.
|
|
603
569
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -782,7 +748,7 @@ export declare interface EmailServices {
|
|
|
782
748
|
* @param parameters Parameters for the create or update operation
|
|
783
749
|
* @param options The options parameters.
|
|
784
750
|
*/
|
|
785
|
-
beginCreateOrUpdate(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResource, options?: EmailServicesCreateOrUpdateOptionalParams): Promise<
|
|
751
|
+
beginCreateOrUpdate(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResource, options?: EmailServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<EmailServicesCreateOrUpdateResponse>, EmailServicesCreateOrUpdateResponse>>;
|
|
786
752
|
/**
|
|
787
753
|
* Create a new EmailService or update an existing EmailService.
|
|
788
754
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -797,7 +763,7 @@ export declare interface EmailServices {
|
|
|
797
763
|
* @param emailServiceName The name of the EmailService resource.
|
|
798
764
|
* @param options The options parameters.
|
|
799
765
|
*/
|
|
800
|
-
beginDelete(resourceGroupName: string, emailServiceName: string, options?: EmailServicesDeleteOptionalParams): Promise<
|
|
766
|
+
beginDelete(resourceGroupName: string, emailServiceName: string, options?: EmailServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
801
767
|
/**
|
|
802
768
|
* Operation to delete a EmailService.
|
|
803
769
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -812,7 +778,7 @@ export declare interface EmailServices {
|
|
|
812
778
|
* @param parameters Parameters for the update operation
|
|
813
779
|
* @param options The options parameters.
|
|
814
780
|
*/
|
|
815
|
-
beginUpdate(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResourceUpdate, options?: EmailServicesUpdateOptionalParams): Promise<
|
|
781
|
+
beginUpdate(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResourceUpdate, options?: EmailServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<EmailServicesUpdateResponse>, EmailServicesUpdateResponse>>;
|
|
816
782
|
/**
|
|
817
783
|
* Operation to update an existing EmailService.
|
|
818
784
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -1112,6 +1078,28 @@ export declare enum KnownOrigin {
|
|
|
1112
1078
|
UserSystem = "user,system"
|
|
1113
1079
|
}
|
|
1114
1080
|
|
|
1081
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1082
|
+
export declare enum KnownProvisioningState {
|
|
1083
|
+
/** Unknown */
|
|
1084
|
+
Unknown = "Unknown",
|
|
1085
|
+
/** Succeeded */
|
|
1086
|
+
Succeeded = "Succeeded",
|
|
1087
|
+
/** Failed */
|
|
1088
|
+
Failed = "Failed",
|
|
1089
|
+
/** Canceled */
|
|
1090
|
+
Canceled = "Canceled",
|
|
1091
|
+
/** Running */
|
|
1092
|
+
Running = "Running",
|
|
1093
|
+
/** Creating */
|
|
1094
|
+
Creating = "Creating",
|
|
1095
|
+
/** Updating */
|
|
1096
|
+
Updating = "Updating",
|
|
1097
|
+
/** Deleting */
|
|
1098
|
+
Deleting = "Deleting",
|
|
1099
|
+
/** Moving */
|
|
1100
|
+
Moving = "Moving"
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1115
1103
|
/** Known values of {@link UserEngagementTracking} that the service accepts. */
|
|
1116
1104
|
export declare enum KnownUserEngagementTracking {
|
|
1117
1105
|
/** Disabled */
|
|
@@ -1266,6 +1254,27 @@ export declare type OperationsListResponse = OperationListResult;
|
|
|
1266
1254
|
*/
|
|
1267
1255
|
export declare type Origin = string;
|
|
1268
1256
|
|
|
1257
|
+
/**
|
|
1258
|
+
* Defines values for ProvisioningState. \
|
|
1259
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
1260
|
+
* this enum contains the known values that the service supports.
|
|
1261
|
+
* ### Known values supported by the service
|
|
1262
|
+
* **Unknown** \
|
|
1263
|
+
* **Succeeded** \
|
|
1264
|
+
* **Failed** \
|
|
1265
|
+
* **Canceled** \
|
|
1266
|
+
* **Running** \
|
|
1267
|
+
* **Creating** \
|
|
1268
|
+
* **Updating** \
|
|
1269
|
+
* **Deleting** \
|
|
1270
|
+
* **Moving**
|
|
1271
|
+
*/
|
|
1272
|
+
export declare type ProvisioningState = string;
|
|
1273
|
+
|
|
1274
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1275
|
+
export declare interface ProxyResource extends Resource {
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1269
1278
|
/** Parameters describes the request to regenerate access keys */
|
|
1270
1279
|
export declare interface RegenerateKeyParameters {
|
|
1271
1280
|
/** The keyType to regenerate. Must be either 'primary' or 'secondary'(case-insensitive). */
|
|
@@ -1275,7 +1284,7 @@ export declare interface RegenerateKeyParameters {
|
|
|
1275
1284
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1276
1285
|
export declare interface Resource {
|
|
1277
1286
|
/**
|
|
1278
|
-
* Fully qualified resource ID for the resource.
|
|
1287
|
+
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
1279
1288
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1280
1289
|
*/
|
|
1281
1290
|
readonly id?: string;
|
|
@@ -1296,6 +1305,105 @@ export declare interface Resource {
|
|
|
1296
1305
|
readonly systemData?: SystemData;
|
|
1297
1306
|
}
|
|
1298
1307
|
|
|
1308
|
+
/** A class representing a SenderUsername resource. */
|
|
1309
|
+
export declare interface SenderUsernameResource extends ProxyResource {
|
|
1310
|
+
/**
|
|
1311
|
+
* The location where the SenderUsername resource data is stored at rest.
|
|
1312
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1313
|
+
*/
|
|
1314
|
+
readonly dataLocation?: string;
|
|
1315
|
+
/** A sender senderUsername to be used when sending emails. */
|
|
1316
|
+
username?: string;
|
|
1317
|
+
/** The display name for the senderUsername. */
|
|
1318
|
+
displayName?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* Provisioning state of the resource. Unknown is the default state for Communication Services.
|
|
1321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1322
|
+
*/
|
|
1323
|
+
readonly provisioningState?: ProvisioningState;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/** A class representing a Domains SenderUsernames collection. */
|
|
1327
|
+
export declare interface SenderUsernameResourceCollection {
|
|
1328
|
+
/** List of SenderUsernames */
|
|
1329
|
+
value?: SenderUsernameResource[];
|
|
1330
|
+
/** The URL the client should use to fetch the next page (per server side paging). */
|
|
1331
|
+
nextLink?: string;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/** Interface representing a SenderUsernames. */
|
|
1335
|
+
export declare interface SenderUsernames {
|
|
1336
|
+
/**
|
|
1337
|
+
* List all valid sender usernames for a domains resource.
|
|
1338
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1339
|
+
* @param emailServiceName The name of the EmailService resource.
|
|
1340
|
+
* @param domainName The name of the Domains resource.
|
|
1341
|
+
* @param options The options parameters.
|
|
1342
|
+
*/
|
|
1343
|
+
listByDomains(resourceGroupName: string, emailServiceName: string, domainName: string, options?: SenderUsernamesListByDomainsOptionalParams): PagedAsyncIterableIterator<SenderUsernameResource>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Get a valid sender username for a domains resource.
|
|
1346
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1347
|
+
* @param emailServiceName The name of the EmailService resource.
|
|
1348
|
+
* @param domainName The name of the Domains resource.
|
|
1349
|
+
* @param senderUsername The valid sender Username.
|
|
1350
|
+
* @param options The options parameters.
|
|
1351
|
+
*/
|
|
1352
|
+
get(resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, options?: SenderUsernamesGetOptionalParams): Promise<SenderUsernamesGetResponse>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Add a new SenderUsername resource under the parent Domains resource or update an existing
|
|
1355
|
+
* SenderUsername resource.
|
|
1356
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1357
|
+
* @param emailServiceName The name of the EmailService resource.
|
|
1358
|
+
* @param domainName The name of the Domains resource.
|
|
1359
|
+
* @param senderUsername The valid sender Username.
|
|
1360
|
+
* @param parameters Parameters for the create or update operation
|
|
1361
|
+
* @param options The options parameters.
|
|
1362
|
+
*/
|
|
1363
|
+
createOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, parameters: SenderUsernameResource, options?: SenderUsernamesCreateOrUpdateOptionalParams): Promise<SenderUsernamesCreateOrUpdateResponse>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Operation to delete a SenderUsernames resource.
|
|
1366
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1367
|
+
* @param emailServiceName The name of the EmailService resource.
|
|
1368
|
+
* @param domainName The name of the Domains resource.
|
|
1369
|
+
* @param senderUsername The valid sender Username.
|
|
1370
|
+
* @param options The options parameters.
|
|
1371
|
+
*/
|
|
1372
|
+
delete(resourceGroupName: string, emailServiceName: string, domainName: string, senderUsername: string, options?: SenderUsernamesDeleteOptionalParams): Promise<void>;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
/** Optional parameters. */
|
|
1376
|
+
export declare interface SenderUsernamesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1380
|
+
export declare type SenderUsernamesCreateOrUpdateResponse = SenderUsernameResource;
|
|
1381
|
+
|
|
1382
|
+
/** Optional parameters. */
|
|
1383
|
+
export declare interface SenderUsernamesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/** Optional parameters. */
|
|
1387
|
+
export declare interface SenderUsernamesGetOptionalParams extends coreClient.OperationOptions {
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/** Contains response data for the get operation. */
|
|
1391
|
+
export declare type SenderUsernamesGetResponse = SenderUsernameResource;
|
|
1392
|
+
|
|
1393
|
+
/** Optional parameters. */
|
|
1394
|
+
export declare interface SenderUsernamesListByDomainsNextOptionalParams extends coreClient.OperationOptions {
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/** Contains response data for the listByDomainsNext operation. */
|
|
1398
|
+
export declare type SenderUsernamesListByDomainsNextResponse = SenderUsernameResourceCollection;
|
|
1399
|
+
|
|
1400
|
+
/** Optional parameters. */
|
|
1401
|
+
export declare interface SenderUsernamesListByDomainsOptionalParams extends coreClient.OperationOptions {
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
/** Contains response data for the listByDomains operation. */
|
|
1405
|
+
export declare type SenderUsernamesListByDomainsResponse = SenderUsernameResourceCollection;
|
|
1406
|
+
|
|
1299
1407
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1300
1408
|
export declare interface SystemData {
|
|
1301
1409
|
/** The identity that created the resource. */
|
|
@@ -1332,10 +1440,6 @@ export declare interface TrackedResource extends Resource {
|
|
|
1332
1440
|
|
|
1333
1441
|
/** A class that describes the PATCH request parameters of a Domains resource. */
|
|
1334
1442
|
export declare interface UpdateDomainRequestParameters extends TaggedResource {
|
|
1335
|
-
/** Collection of valid sender usernames. This is a key-value pair where key=username and value=display name. */
|
|
1336
|
-
validSenderUsernames?: {
|
|
1337
|
-
[propertyName: string]: string;
|
|
1338
|
-
};
|
|
1339
1443
|
/** Describes whether user engagement tracking is enabled or disabled. */
|
|
1340
1444
|
userEngagementTracking?: UserEngagementTracking;
|
|
1341
1445
|
}
|