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
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
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
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
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
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
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
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
Get(String, CancellationToken)

Get a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
GetAll(CancellationToken)

List TestLine resources by CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines
  • Operation Id: TestLines_ListByCommunicationsGateway
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
GetAllAsync(CancellationToken)

List TestLine resources by CommunicationsGateway

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines
  • Operation Id: TestLines_ListByCommunicationsGateway
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
GetAsync(String, CancellationToken)

Get a TestLine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}/testLines/{testLineName}
  • Operation Id: TestLines_Get
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
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
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
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
  • Default Api Version: 2023-01-31
  • Resource: VoiceServicesTestLineResource
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