New-AzPeeringContactDetailObject
Create an in-memory object for ContactDetail.
Syntax
New-AzPeeringContactDetailObject
[-Email <String>]
[-Phone <String>]
[-Role <Role>]
[<CommonParameters>]
Description
Create an in-memory object for ContactDetail.
Examples
Example 1: Create a Contact Detail object
New-AzPeeringContactDetailObject -Email "abc@xyz.com" -Phone 1234567890 -Role "Noc"
Email Phone Role
----- ----- ----
abc@xyz.com 1234567890 Noc
Creates a ContactDetail object with the specified email phone and role stores it in memory
Parameters
The e-mail address of the contact.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Phone
The phone number of the contact.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Role
The role of the contact.
Type: | Role |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell