Share via


PSAzureTenant Class

Definition

Azure subscription details.

public class PSAzureTenant : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTenant
type PSAzureTenant = class
    interface IAzureTenant
    interface IExtensibleModel
Public Class PSAzureTenant
Implements IAzureTenant
Inheritance
PSAzureTenant
Implements

Constructors

PSAzureTenant()

Default Constructor

PSAzureTenant(IAzureTenant)

Copy Constructor

PSAzureTenant(PSObject)

Properties

Country
CountryCode
DefaultDomain
Directory
Domains
ExtendedProperties

Extended proeprties of the tenant

Id

The tenant id.

Name
TenantBrandingLogoUrl
TenantCategory
TenantId

For legacy support - the tenant id

TenantType

Methods

ToString()

Operators

Implicit(AzureTenant to PSAzureTenant)

Convert between formats of AzureSubscription information.

Implicit(PSAzureTenant to AzureTenant)

Convert between formats of AzureSubscription information.

Extension Methods

CopyFrom(IAzureTenant, IAzureTenant)
GetId(IAzureTenant)
Update(IAzureTenant, IAzureTenant)
CopyPropertiesFrom(IExtensibleModel, IExtensibleModel)
GetProperty(IExtensibleModel, String)
GetPropertyAsArray(IExtensibleModel, String)
IsPropertySet(IExtensibleModel, String)
SetOrAppendProperty(IExtensibleModel, String, String[])
SetProperty(IExtensibleModel, String, String[])
UpdateProperties(IExtensibleModel, IExtensibleModel)
PopulateExtensions(IExtensibleModel, PSObject)

Populate the model extensions from a PSObject

Applies to