Dela via


ResourceManagerModelFactory.TenantResourceProvider Method

Definition

Initializes a new instance of 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

Parameters

namespace
String

The namespace of the resource provider.

resourceTypes
IEnumerable<ProviderResourceType>

The collection of provider resource types.

Returns

A new TenantResourceProvider instance for mocking.

Applies to