Udostępnij za pośrednictwem


ResourceManagerModelFactory.TenantData Method

Definition

Initializes a new instance of TenantData.

public static Azure.ResourceManager.Resources.TenantData TenantData (string id = default, Guid? tenantId = default, Azure.ResourceManager.Resources.Models.TenantCategory? tenantCategory = default, string country = default, string countryCode = default, string displayName = default, System.Collections.Generic.IEnumerable<string> domains = default, string defaultDomain = default, string tenantType = default, Uri tenantBrandingLogoUri = default);
static member TenantData : string * Nullable<Guid> * Nullable<Azure.ResourceManager.Resources.Models.TenantCategory> * string * string * string * seq<string> * string * string * Uri -> Azure.ResourceManager.Resources.TenantData
Public Shared Function TenantData (Optional id As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional tenantCategory As Nullable(Of TenantCategory) = Nothing, Optional country As String = Nothing, Optional countryCode As String = Nothing, Optional displayName As String = Nothing, Optional domains As IEnumerable(Of String) = Nothing, Optional defaultDomain As String = Nothing, Optional tenantType As String = Nothing, Optional tenantBrandingLogoUri As Uri = Nothing) As TenantData

Parameters

id
String

The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74.

tenantId
Nullable<Guid>

The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74.

tenantCategory
Nullable<TenantCategory>

Category of the tenant.

country
String

Country/region name of the address for the tenant.

countryCode
String

Country/region abbreviation for the tenant.

displayName
String

The display name of the tenant.

domains
IEnumerable<String>

The list of domains for the tenant.

defaultDomain
String

The default domain for the tenant.

tenantType
String

The tenant type. Only available for 'Home' tenant category.

tenantBrandingLogoUri
Uri

The tenant's branding logo URL. Only available for 'Home' tenant category.

Returns

A new TenantData instance for mocking.

Applies to