Share via


VoiceServicesTestLineCollection Class

Definition

A class representing a collection of VoiceServicesTestLineResource and their operations. Each VoiceServicesTestLineResource in the collection will belong to the same instance of VoiceServicesCommunicationsGatewayResource. To get a VoiceServicesTestLineCollection instance call the GetVoiceServicesTestLines method from an instance of VoiceServicesCommunicationsGatewayResource.

public class VoiceServicesTestLineCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.VoiceServices.VoiceServicesTestLineResource>
type VoiceServicesTestLineCollection = class
    inherit ArmCollection
    interface seq<VoiceServicesTestLineResource>
    interface IEnumerable
    interface IAsyncEnumerable<VoiceServicesTestLineResource>
Public Class VoiceServicesTestLineCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of VoiceServicesTestLineResource), IEnumerable(Of VoiceServicesTestLineResource)
Inheritance
VoiceServicesTestLineCollection
Implements

Constructors

VoiceServicesTestLineCollection()

Initializes a new instance of the VoiceServicesTestLineCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, VoiceServicesTestLineData, CancellationToken)

Create a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, VoiceServicesTestLineData, CancellationToken)

Create a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
Get(String, CancellationToken)

Get a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
GetAll(CancellationToken)

List TestLine resources by CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines
  • Operation Id: TestLines_ListByCommunicationsGateway
GetAllAsync(CancellationToken)

List TestLine resources by CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines
  • Operation Id: TestLines_ListByCommunicationsGateway
GetAsync(String, CancellationToken)

Get a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<VoiceServicesTestLineResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VoiceServicesTestLineResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to