Skip to content

Commit ea15b28

Browse files
azure-pipelines[bot]azure-powershell-botVeryEarly
authored
Migrate Communication from generation to main (#25682)
* Move Communication to main * Update ChangeLog.md --------- Co-authored-by: azure-powershell-bot <[email protected]> Co-authored-by: Yabo Hu <[email protected]>
1 parent 37f7d98 commit ea15b28

File tree

229 files changed

+36445
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+36445
-6
lines changed

src/Communication/Communication.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Communication", "Communicat
2323
EndProject
2424
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EmailService", "EmailService.Autorest\Az.EmailService.csproj", "{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}"
2525
EndProject
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EmailServicedata", "EmailServicedata.Autorest\Az.EmailServicedata.csproj", "{695CDAA1-885B-48EA-B42C-E4B74620FE00}"
27+
EndProject
2628
Global
2729
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2830
Debug|Any CPU = Debug|Any CPU
@@ -68,6 +70,10 @@ Global
6870
{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}.Debug|Any CPU.Build.0 = Debug|Any CPU
6971
{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}.Release|Any CPU.ActiveCfg = Release|Any CPU
7072
{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}.Release|Any CPU.Build.0 = Release|Any CPU
73+
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
74+
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Debug|Any CPU.Build.0 = Debug|Any CPU
75+
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Release|Any CPU.ActiveCfg = Release|Any CPU
76+
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Release|Any CPU.Build.0 = Release|Any CPU
7177
EndGlobalSection
7278
GlobalSection(NestedProjects) = preSolution
7379
{BDECA744-485E-4FBF-BDBC-D58635179F45} = {8C6025CF-0F63-49CE-8FBE-8275AFC0AD14}

src/Communication/Communication/Az.Communication.psd1

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 7/23/2024
6+
# Generated on: 7/30/2024
77
#
88

99
@{
@@ -55,7 +55,8 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.2'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'Communication.Autorest/bin/Az.Communication.private.dll',
58-
'EmailService.Autorest/bin/Az.EmailService.private.dll'
58+
'EmailService.Autorest/bin/Az.EmailService.private.dll',
59+
'EmailServicedata.Autorest/bin/Az.EmailServicedata.private.dll'
5960

6061
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
6162
ScriptsToProcess = @()
@@ -65,22 +66,25 @@ TypesToProcess = @()
6566

6667
# Format files (.ps1xml) to be loaded when importing this module
6768
FormatsToProcess = 'Communication.Autorest/Az.Communication.format.ps1xml',
68-
'EmailService.Autorest/Az.EmailService.format.ps1xml'
69+
'EmailService.Autorest/Az.EmailService.format.ps1xml',
70+
'EmailServicedata.Autorest/Az.EmailServicedata.format.ps1xml'
6971

7072
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
7173
NestedModules = @('Communication.Autorest/Az.Communication.psm1',
72-
'EmailService.Autorest/Az.EmailService.psm1')
74+
'EmailService.Autorest/Az.EmailService.psm1',
75+
'EmailServicedata.Autorest/Az.EmailServicedata.psm1')
7376

7477
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7578
FunctionsToExport = 'Get-AzCommunicationService', 'Get-AzCommunicationServiceKey',
76-
'Get-AzEmailService', 'Get-AzEmailServiceDomain',
77-
'Get-AzEmailServiceSenderUsername',
79+
'Get-AzEmailService', 'Get-AzEmailServicedataEmailSendResult',
80+
'Get-AzEmailServiceDomain', 'Get-AzEmailServiceSenderUsername',
7881
'Invoke-AzEmailServiceInitiateDomainVerification',
7982
'New-AzCommunicationService', 'New-AzCommunicationServiceKey',
8083
'New-AzEmailService', 'New-AzEmailServiceDomain',
8184
'New-AzEmailServiceSenderUsername', 'Remove-AzCommunicationService',
8285
'Remove-AzEmailService', 'Remove-AzEmailServiceDomain',
8386
'Remove-AzEmailServiceSenderUsername',
87+
'Send-AzEmailServicedataEmail',
8488
'Set-AzCommunicationServiceNotificationHub',
8589
'Stop-AzEmailServiceDomainVerification',
8690
'Test-AzCommunicationServiceNameAvailability',

src/Communication/Communication/ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Added dataplane cmdlets:
22+
* `Get-AzEmailServicedataEmailSendResult`
23+
* `Send-AzEmailServicedataEmail`
2124
* Upgraded API version to 2023-06-01-preview
2225

2326
## Version 0.3.1

src/Communication/Communication/help/Az.Communication.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Get the access keys of the CommunicationService resource.
2020
### [Get-AzEmailService](Get-AzEmailService.md)
2121
Get the EmailService and its properties.
2222

23+
### [Get-AzEmailServicedataEmailSendResult](Get-AzEmailServicedataEmailSendResult.md)
24+
Gets the status of the email send operation.
25+
2326
### [Get-AzEmailServiceDomain](Get-AzEmailServiceDomain.md)
2427
Get the Domains resource and its properties.
2528

@@ -57,6 +60,9 @@ Operation to delete a Domains resource.
5760
### [Remove-AzEmailServiceSenderUsername](Remove-AzEmailServiceSenderUsername.md)
5861
Operation to delete a SenderUsernames resource.
5962

63+
### [Send-AzEmailServicedataEmail](Send-AzEmailServicedataEmail.md)
64+
Queues an email message to be sent to one or more recipients
65+
6066
### [Set-AzCommunicationServiceNotificationHub](Set-AzCommunicationServiceNotificationHub.md)
6167
Links an Azure Notification Hub to this communication service.
6268

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
---
2+
external help file: Az.Communication-help.xml
3+
Module Name: Az.Communication
4+
online version: https://learn.microsoft.com/powershell/module/az.communication/get-azemailservicedataemailsendresult
5+
schema: 2.0.0
6+
---
7+
8+
# Get-AzEmailServicedataEmailSendResult
9+
10+
## SYNOPSIS
11+
Gets the status of the email send operation.
12+
13+
## SYNTAX
14+
15+
### Get (Default)
16+
```
17+
Get-AzEmailServicedataEmailSendResult -Endpoint <String> -OperationId <String> [-DefaultProfile <PSObject>]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
19+
```
20+
21+
### GetViaIdentity
22+
```
23+
Get-AzEmailServicedataEmailSendResult -Endpoint <String> -InputObject <IEmailServicedataIdentity>
24+
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
25+
```
26+
27+
## DESCRIPTION
28+
Gets the status of the email send operation.
29+
30+
## EXAMPLES
31+
32+
### Example 1: Gets the status and operation id of the email send operation.
33+
```powershell
34+
Get-AzEmailServicedataEmailSendResult -Endpoint "https://contoso.unitedstates.communication.azure.com" -OperationId 1111c0de-899f-5cce-acb5-3ec493af3800
35+
```
36+
37+
```output
38+
AdditionalInfo :
39+
Code :
40+
Detail :
41+
Id : 1111c0de-899f-5cce-acb5-3ec493af3800
42+
Message :
43+
ResourceGroupName :
44+
RetryAfter :
45+
Status : Succeeded
46+
Target :
47+
```
48+
49+
Returns a status and operation id of the email send operation.
50+
51+
## PARAMETERS
52+
53+
### -DefaultProfile
54+
The DefaultProfile parameter is not functional.
55+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
56+
57+
```yaml
58+
Type: System.Management.Automation.PSObject
59+
Parameter Sets: (All)
60+
Aliases: AzureRMContext, AzureCredential
61+
62+
Required: False
63+
Position: Named
64+
Default value: None
65+
Accept pipeline input: False
66+
Accept wildcard characters: False
67+
```
68+
69+
### -Endpoint
70+
The communication resource, for example https://my-resource.communication.azure.com
71+
72+
```yaml
73+
Type: System.String
74+
Parameter Sets: (All)
75+
Aliases:
76+
77+
Required: True
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
84+
### -InputObject
85+
Identity Parameter
86+
87+
```yaml
88+
Type: Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailServicedataIdentity
89+
Parameter Sets: GetViaIdentity
90+
Aliases:
91+
92+
Required: True
93+
Position: Named
94+
Default value: None
95+
Accept pipeline input: True (ByValue)
96+
Accept wildcard characters: False
97+
```
98+
99+
### -OperationId
100+
ID of the long running operation (GUID) returned from a previous call to send email
101+
102+
```yaml
103+
Type: System.String
104+
Parameter Sets: Get
105+
Aliases:
106+
107+
Required: True
108+
Position: Named
109+
Default value: None
110+
Accept pipeline input: False
111+
Accept wildcard characters: False
112+
```
113+
114+
### -ProgressAction
115+
{{ Fill ProgressAction Description }}
116+
117+
```yaml
118+
Type: System.Management.Automation.ActionPreference
119+
Parameter Sets: (All)
120+
Aliases: proga
121+
122+
Required: False
123+
Position: Named
124+
Default value: None
125+
Accept pipeline input: False
126+
Accept wildcard characters: False
127+
```
128+
129+
### CommonParameters
130+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
131+
132+
## INPUTS
133+
134+
### Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailServicedataIdentity
135+
136+
## OUTPUTS
137+
138+
### Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResult
139+
140+
## NOTES
141+
142+
## RELATED LINKS

0 commit comments

Comments
 (0)