Lezen in het Engels

Delen via


CommunicationServiceResourceCollection Klas

Definitie

Een klasse die een verzameling van CommunicationServiceResource en hun bewerkingen vertegenwoordigt. Elke CommunicationServiceResource in de verzameling behoort tot hetzelfde exemplaar van ResourceGroupResource. Als u een CommunicationServiceResourceCollection exemplaar wilt ophalen, roept u de methode GetCommunicationServiceResources aan vanuit een exemplaar van ResourceGroupResource.

public class CommunicationServiceResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Communication.CommunicationServiceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Communication.CommunicationServiceResource>
type CommunicationServiceResourceCollection = class
    inherit ArmCollection
    interface seq<CommunicationServiceResource>
    interface IEnumerable
    interface IAsyncEnumerable<CommunicationServiceResource>
Public Class CommunicationServiceResourceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of CommunicationServiceResource), IEnumerable(Of CommunicationServiceResource)
Overname
CommunicationServiceResourceCollection
Implementeringen

Constructors

CommunicationServiceResourceCollection()

Initialiseert een nieuw exemplaar van de CommunicationServiceResourceCollection klasse voor mocking.

Eigenschappen

Client

Hiermee haalt u de ArmClient resourceclient op van waaruit is gemaakt.

(Overgenomen van ArmCollection)
Diagnostics

Hiermee haalt u de diagnostische opties voor deze resourceclient op.

(Overgenomen van ArmCollection)
Endpoint

Hiermee haalt u de basis-URI voor deze resourceclient op.

(Overgenomen van ArmCollection)
Id

Hiermee haalt u de resource-id op.

(Overgenomen van ArmCollection)
Pipeline

Hiermee haalt u de pijplijn voor deze resourceclient op.

(Overgenomen van ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, CommunicationServiceResourceData, CancellationToken)

Maak een nieuwe CommunicationService of werk een bestaande CommunicationService bij.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Bewerkings IdCommunicationServices_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, CommunicationServiceResourceData, CancellationToken)

Maak een nieuwe CommunicationService of werk een bestaande CommunicationService bij.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Bewerkings IdCommunicationServices_CreateOrUpdate
Exists(String, CancellationToken)

Controleert of de resource bestaat in Azure.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Bewerkings IdCommunicationServices_Get
ExistsAsync(String, CancellationToken)

Controleert of de resource bestaat in Azure.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Bewerkings IdCommunicationServices_Get
Get(String, CancellationToken)

Haal de CommunicationService en de bijbehorende eigenschappen op.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Bewerkings IdCommunicationServices_Get
GetAll(CancellationToken)

Verwerkt aanvragen om alle resources in een resourcegroep weer te geven.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices
  • Bewerkings IdCommunicationServices_ListByResourceGroup
GetAllAsync(CancellationToken)

Verwerkt aanvragen om alle resources in een resourcegroep weer te geven.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices
  • Bewerkings IdCommunicationServices_ListByResourceGroup
GetAsync(String, CancellationToken)

Haal de CommunicationService en de bijbehorende eigenschappen op.

  • Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Bewerkings IdCommunicationServices_Get
TryGetApiVersion(ResourceType, String)

Hiermee wordt de API-versie overschreven als deze is ingesteld voor de huidige clientopties.

(Overgenomen van ArmCollection)

Expliciete interface-implementaties

IAsyncEnumerable<CommunicationServiceResource>.GetAsyncEnumerator(CancellationToken)

Retourneert een enumerator die asynchroon door de verzameling wordt herhaald.

IEnumerable.GetEnumerator()

Retourneert een enumerator die een verzameling doorloopt.

IEnumerable<CommunicationServiceResource>.GetEnumerator()

Retourneert een enumerator die de verzameling doorloopt.

Extensiemethoden

ToCommaSeparatedString<T>(IEnumerable<T>)

Converteert de elementen van een verzameling naar tekenreeksen en voegt deze samen in een door komma's gescheiden lijst of retourneert null voor null- of lege verzamelingen.

Van toepassing op

Product Versies
Azure SDK for .NET Latest, Preview