Skip to content

Commit

Permalink
Migrate Communication from generation to main (#25682)
Browse files Browse the repository at this point in the history
* Move Communication to main

* Update ChangeLog.md

---------

Co-authored-by: azure-powershell-bot <[email protected]>
Co-authored-by: Yabo Hu <[email protected]>
  • Loading branch information
3 people authored Jul 30, 2024
1 parent 37f7d98 commit ea15b28
Show file tree
Hide file tree
Showing 229 changed files with 36,445 additions and 6 deletions.
6 changes: 6 additions & 0 deletions src/Communication/Communication.sln
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Communication", "Communicat
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EmailService", "EmailService.Autorest\Az.EmailService.csproj", "{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.EmailServicedata", "EmailServicedata.Autorest\Az.EmailServicedata.csproj", "{695CDAA1-885B-48EA-B42C-E4B74620FE00}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -68,6 +70,10 @@ Global
{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC1241C9-8A04-4E0D-9C8E-658CCD5C0B23}.Release|Any CPU.Build.0 = Release|Any CPU
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{695CDAA1-885B-48EA-B42C-E4B74620FE00}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BDECA744-485E-4FBF-BDBC-D58635179F45} = {8C6025CF-0F63-49CE-8FBE-8275AFC0AD14}
Expand Down
16 changes: 10 additions & 6 deletions src/Communication/Communication/Az.Communication.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 7/23/2024
# Generated on: 7/30/2024
#

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

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'Communication.Autorest/bin/Az.Communication.private.dll',
'EmailService.Autorest/bin/Az.EmailService.private.dll'
'EmailService.Autorest/bin/Az.EmailService.private.dll',
'EmailServicedata.Autorest/bin/Az.EmailServicedata.private.dll'

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

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'Communication.Autorest/Az.Communication.format.ps1xml',
'EmailService.Autorest/Az.EmailService.format.ps1xml'
'EmailService.Autorest/Az.EmailService.format.ps1xml',
'EmailServicedata.Autorest/Az.EmailServicedata.format.ps1xml'

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
NestedModules = @('Communication.Autorest/Az.Communication.psm1',
'EmailService.Autorest/Az.EmailService.psm1')
'EmailService.Autorest/Az.EmailService.psm1',
'EmailServicedata.Autorest/Az.EmailServicedata.psm1')

# 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.
FunctionsToExport = 'Get-AzCommunicationService', 'Get-AzCommunicationServiceKey',
'Get-AzEmailService', 'Get-AzEmailServiceDomain',
'Get-AzEmailServiceSenderUsername',
'Get-AzEmailService', 'Get-AzEmailServicedataEmailSendResult',
'Get-AzEmailServiceDomain', 'Get-AzEmailServiceSenderUsername',
'Invoke-AzEmailServiceInitiateDomainVerification',
'New-AzCommunicationService', 'New-AzCommunicationServiceKey',
'New-AzEmailService', 'New-AzEmailServiceDomain',
'New-AzEmailServiceSenderUsername', 'Remove-AzCommunicationService',
'Remove-AzEmailService', 'Remove-AzEmailServiceDomain',
'Remove-AzEmailServiceSenderUsername',
'Send-AzEmailServicedataEmail',
'Set-AzCommunicationServiceNotificationHub',
'Stop-AzEmailServiceDomainVerification',
'Test-AzCommunicationServiceNameAvailability',
Expand Down
3 changes: 3 additions & 0 deletions src/Communication/Communication/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
- Additional information about change #1
-->
## Upcoming Release
* Added dataplane cmdlets:
* `Get-AzEmailServicedataEmailSendResult`
* `Send-AzEmailServicedataEmail`
* Upgraded API version to 2023-06-01-preview

## Version 0.3.1
Expand Down
6 changes: 6 additions & 0 deletions src/Communication/Communication/help/Az.Communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Get the access keys of the CommunicationService resource.
### [Get-AzEmailService](Get-AzEmailService.md)
Get the EmailService and its properties.

### [Get-AzEmailServicedataEmailSendResult](Get-AzEmailServicedataEmailSendResult.md)
Gets the status of the email send operation.

### [Get-AzEmailServiceDomain](Get-AzEmailServiceDomain.md)
Get the Domains resource and its properties.

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

### [Send-AzEmailServicedataEmail](Send-AzEmailServicedataEmail.md)
Queues an email message to be sent to one or more recipients

### [Set-AzCommunicationServiceNotificationHub](Set-AzCommunicationServiceNotificationHub.md)
Links an Azure Notification Hub to this communication service.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
---
external help file: Az.Communication-help.xml
Module Name: Az.Communication
online version: https://learn.microsoft.com/powershell/module/az.communication/get-azemailservicedataemailsendresult
schema: 2.0.0
---

# Get-AzEmailServicedataEmailSendResult

## SYNOPSIS
Gets the status of the email send operation.

## SYNTAX

### Get (Default)
```
Get-AzEmailServicedataEmailSendResult -Endpoint <String> -OperationId <String> [-DefaultProfile <PSObject>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### GetViaIdentity
```
Get-AzEmailServicedataEmailSendResult -Endpoint <String> -InputObject <IEmailServicedataIdentity>
[-DefaultProfile <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Gets the status of the email send operation.

## EXAMPLES

### Example 1: Gets the status and operation id of the email send operation.
```powershell
Get-AzEmailServicedataEmailSendResult -Endpoint "https://contoso.unitedstates.communication.azure.com" -OperationId 1111c0de-899f-5cce-acb5-3ec493af3800
```

```output
AdditionalInfo :
Code :
Detail :
Id : 1111c0de-899f-5cce-acb5-3ec493af3800
Message :
ResourceGroupName :
RetryAfter :
Status : Succeeded
Target :
```

Returns a status and operation id of the email send operation.

## PARAMETERS

### -DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

```yaml
Type: System.Management.Automation.PSObject
Parameter Sets: (All)
Aliases: AzureRMContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Endpoint
The communication resource, for example https://my-resource.communication.azure.com
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -InputObject
Identity Parameter
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailServicedataIdentity
Parameter Sets: GetViaIdentity
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### -OperationId
ID of the long running operation (GUID) returned from a previous call to send email
```yaml
Type: System.String
Parameter Sets: Get
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: System.Management.Automation.ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
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).
## INPUTS
### Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailServicedataIdentity
## OUTPUTS
### Microsoft.Azure.PowerShell.Cmdlets.EmailServicedata.Models.IEmailSendResult
## NOTES
## RELATED LINKS
Loading

0 comments on commit ea15b28

Please sign in to comment.