Share via


ArmCommunicationModelFactory.SenderUsernameResourceData Method

Definition

Initializes a new instance of SenderUsernameResourceData.

public static Azure.ResourceManager.Communication.SenderUsernameResourceData SenderUsernameResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string dataLocation = default, string username = default, string displayName = default, Azure.ResourceManager.Communication.Models.CommunicationServiceProvisioningState? provisioningState = default);
static member SenderUsernameResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Azure.ResourceManager.Communication.Models.CommunicationServiceProvisioningState> -> Azure.ResourceManager.Communication.SenderUsernameResourceData
Public Shared Function SenderUsernameResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional dataLocation As String = Nothing, Optional username As String = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of CommunicationServiceProvisioningState) = Nothing) As SenderUsernameResourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

dataLocation
String

The location where the SenderUsername resource data is stored at rest.

username
String

A sender senderUsername to be used when sending emails.

displayName
String

The display name for the senderUsername.

provisioningState
Nullable<CommunicationServiceProvisioningState>

Provisioning state of the resource. Unknown is the default state for Communication Services.

Returns

A new SenderUsernameResourceData instance for mocking.

Applies to