Freigeben über


ResourceManagerModelFactory.TenantResourceProvider Methode

Definition

Initialisiert eine neue instance von TenantResourceProvider.

public static Azure.ResourceManager.Resources.Models.TenantResourceProvider TenantResourceProvider (string namespace = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ProviderResourceType> resourceTypes = default);
static member TenantResourceProvider : string * seq<Azure.ResourceManager.Resources.Models.ProviderResourceType> -> Azure.ResourceManager.Resources.Models.TenantResourceProvider
Public Shared Function TenantResourceProvider (Optional namespace As String = Nothing, Optional resourceTypes As IEnumerable(Of ProviderResourceType) = Nothing) As TenantResourceProvider

Parameter

namespace
String

Der Namespace des Ressourcenanbieters.

resourceTypes
IEnumerable<ProviderResourceType>

Die Auflistung der Anbieterressourcentypen.

Gibt zurück

Eine neue TenantResourceProvider instance zum Mocking.

Gilt für: