-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Communication from generation to main (#25617)
* Move Communication to main * Update ChangeLog.md --------- Co-authored-by: Yabo Hu <[email protected]>
- Loading branch information
1 parent
8ae4a70
commit 510d1f7
Showing
211 changed files
with
8,653 additions
and
2,898 deletions.
There are no files selected for viewing
354 changes: 280 additions & 74 deletions
354
src/Communication/Communication.Autorest/Az.Communication.format.ps1xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ommunication/Communication.Autorest/UX/Microsoft.Communication/communicationServices.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 12 additions & 11 deletions
23
src/Communication/Communication.Autorest/examples/Get-AzCommunicationService.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
### Example 1: List existing CommunicationServices for a Subscription | ||
|
||
```powershell | ||
Get-AzCommunicationService -SubscriptionId 73fc3592-3cef-4300-5e19-8d18b65ce0e8 | ||
Get-AzCommunicationService -SubscriptionId 632ec9eb-fad7-4cbd-993a-e72973ba2acc | ||
``` | ||
|
||
```output | ||
Location Name Type AzureAsyncOperation | ||
-------- ---- ---- ------------------- | ||
global ContosoResource1 Microsoft.Communication/communicationServices | ||
global ContosoResource4 Microsoft.Communication/communicationServices | ||
global ContosoResource3 Microsoft.Communication/communicationServices | ||
global ContosoResource5 Microsoft.Communication/communicationServices | ||
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType | ||
-------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- | ||
Global ContosoAcsResource1 7/09/2024 4:41:40 AM [email protected] User 7/09/2024 4:41:40 AM [email protected] User | ||
Global ContosoAcsResource2 4/10/2024 2:41:40 AM [email protected] User 4/10/2024 2:41:40 AM [email protected] User | ||
Global ContosoAcsResource3 5/01/2024 1:41:40 AM [email protected] User 5/01/2024 1:41:40 AM [email protected] User | ||
Global ContosoAcsResource4 6/08/2024 5:41:40 AM [email protected] User 6/08/2024 5:41:40 AM [email protected] User | ||
Global ContosoAcsResource5 6/09/2024 4:41:40 AM [email protected] User 6/09/2024 4:41:40 AM [email protected] User | ||
``` | ||
|
||
Returns a list of all ACS resources under that subscription. | ||
|
||
### Example 2: Get infomation on specified Azure Communication resource | ||
|
||
```powershell | ||
Get-AzCommunicationService -Name ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 | ||
Get-AzCommunicationService -Name ContosoAcsResource34 -ResourceGroupName ContosoResourceProvider1 | ||
``` | ||
|
||
```output | ||
Location Name Type AzureAsyncOperation | ||
-------- ---- ---- ------------------- | ||
Global ContosoAcsResource1 Microsoft.Communication/communicationServices | ||
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType | ||
-------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- | ||
Global ContosoAcsResource1 7/10/2024 4:41:40 AM [email protected] User 7/10/2024 9:02:15 AM [email protected] User | ||
``` | ||
|
||
Returns the information on an ACS resource, if one matching provided parameters is found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,27 @@ New-AzCommunicationService -ResourceGroupName ContosoResourceProvider1 -Name Con | |
``` | ||
|
||
```output | ||
Location Name Type AzureAsyncOperation | ||
-------- ---- ---- ------------------- | ||
Global ContosoAcsResource1 Microsoft.Communication/communicationServices | ||
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType | ||
-------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- | ||
Global ContosoAcsResource1 7/10/2024 4:41:40 AM [email protected] User 7/10/2024 4:41:40 AM [email protected] User | ||
``` | ||
|
||
Creates a ACS resource using the specified parameters. | ||
|
||
### Example 2: Create a ACS resource with Linked domain and managed identity | ||
|
||
```powershell | ||
$linkedDomains = @( | ||
"/subscriptions/653983b8-683a-427c-8c27-9e9624ce9176/resourceGroups/tcsacstest/providers/Microsoft.Communication/emailServices/tcsacstestECSps/domains/AzureManagedDomain" | ||
) | ||
New-AzCommunicationService -ResourceGroupName ContosoResourceProvider -Name ContosoAcsResource2 -DataLocation UnitedStates -Location Global -LinkedDomain @linkedDomains | ||
``` | ||
|
||
```output | ||
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType | ||
-------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- | ||
Global ContosoAcsResource2 7/10/2024 5:41:40 AM [email protected] User 7/10/2024 5:41:40 AM [email protected] User | ||
``` | ||
|
||
Creates a ACS resource using the specified parameters. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 22 additions & 4 deletions
26
src/Communication/Communication.Autorest/examples/Update-AzCommunicationService.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,31 @@ | ||
### Example 1: Update an existing ACS resource to have tags | ||
|
||
```powershell | ||
Update-AzCommunicationService -Name ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"} | ||
Update-AzCommunicationService -Name ContosoAcsResource2 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"} | ||
``` | ||
|
||
```output | ||
Location Name Type AzureAsyncOperation | ||
-------- ---- ---- ------------------- | ||
Global ContosoAcsResource1 Microsoft.Communication/communicationServices | ||
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType | ||
-------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- | ||
Global ContosoAcsResource2 7/10/2024 5:41:40 AM [email protected] User 7/16/2024 3:40:40 AM [email protected] User | ||
``` | ||
|
||
Attaches the given tags to the specified ACS resource. | ||
|
||
### Example 2: Update an existing ACS resource to have tags and link the domain | ||
|
||
```powershell | ||
$linkedDomains = @( | ||
"/subscriptions/653983b8-683a-427c-8c27-9e9624ce9176/resourceGroups/tcsacstest/providers/Microsoft.Communication/emailServices/tcsacstestECSps/domains/AzureManagedDomain" | ||
) | ||
Update-AzCommunicationService -Name ContosoAcsResource1 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"} -LinkedDomain @linkedDomains | ||
``` | ||
|
||
```output | ||
Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType | ||
-------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- | ||
Global ContosoAcsResource1 7/10/2024 5:41:40 AM [email protected] User 7/16/2024 3:40:40 AM [email protected] User | ||
``` | ||
|
||
Attaches the given tags and links the doamin to the specified ACS resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.