ArmVoiceServicesModelFactory.VoiceServicesTestLineData Method

Definition

Initializes a new instance of VoiceServicesTestLineData.

public static Azure.ResourceManager.VoiceServices.VoiceServicesTestLineData VoiceServicesTestLineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.VoiceServices.Models.VoiceServicesProvisioningState? provisioningState = default, string phoneNumber = default, Azure.ResourceManager.VoiceServices.Models.VoiceServicesTestLinePurpose? purpose = default);
static member VoiceServicesTestLineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.VoiceServices.Models.VoiceServicesProvisioningState> * string * Nullable<Azure.ResourceManager.VoiceServices.Models.VoiceServicesTestLinePurpose> -> Azure.ResourceManager.VoiceServices.VoiceServicesTestLineData
Public Shared Function VoiceServicesTestLineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional provisioningState As Nullable(Of VoiceServicesProvisioningState) = Nothing, Optional phoneNumber As String = Nothing, Optional purpose As Nullable(Of VoiceServicesTestLinePurpose) = Nothing) As VoiceServicesTestLineData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

provisioningState
Nullable<VoiceServicesProvisioningState>

Resource provisioning state.

phoneNumber
String

The phone number.

purpose
Nullable<VoiceServicesTestLinePurpose>

Purpose of this test line, e.g. automated or manual testing.

Returns

A new VoiceServicesTestLineData instance for mocking.

Applies to