Bearbeiten

Freigeben über


New-AzDataBoxContactDetailsObject

Create an in-memory object for ContactDetails.

Syntax

New-AzDataBoxContactDetailsObject
   -ContactName <String>
   -EmailList <String[]>
   -Phone <String>
   [-Mobile <String>]
   [-NotificationPreference <INotificationPreference[]>]
   [-PhoneExtension <String>]
   [<CommonParameters>]

Description

Create an in-memory object for ContactDetails.

Examples

Example 1: Create a in-memory object for ContactDetails

New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"

ContactName EmailList            Mobile Phone      PhoneExtension
----------- ---------            ------ -----      --------------
random      {emailId}        1234567891

Create a in-memory object for ContactDetails

Parameters

-ContactName

Contact name of the person.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EmailList

List of Email-ids to be notified about job progress.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Mobile

Mobile number of the contact person.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NotificationPreference

Notification preference for a job stage. To construct, see NOTES section for NOTIFICATIONPREFERENCE properties and create a hash table.

Type:INotificationPreference[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Phone

Phone number of the contact person.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PhoneExtension

Phone extension number of the contact person.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ContactDetails