ResourceManagerModelFactory.ManagedByTenant(Nullable<Guid>) Method

Definition

Initializes a new instance of ManagedByTenant.

public static Azure.ResourceManager.Resources.Models.ManagedByTenant ManagedByTenant (Guid? tenantId = default);
static member ManagedByTenant : Nullable<Guid> -> Azure.ResourceManager.Resources.Models.ManagedByTenant
Public Shared Function ManagedByTenant (Optional tenantId As Nullable(Of Guid) = Nothing) As ManagedByTenant

Parameters

tenantId
Nullable<Guid>

The tenant ID of the managing tenant. This is a GUID.

Returns

A new ManagedByTenant instance for mocking.

Applies to