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

-Email

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

ContactDetail