LinkedSubscription interface

Provides information about subscription that was found during the authentication process. The structure of this type is different from the subscription object that one gets by making a request to the ResourceManager API.

Properties

authorizationSource

The authorization source of the subscription: "RoleBased", "Legacy", "Bypassed"," Direct", "Management". It could also be a comma separated string containing more values "Bypassed, Direct, Management".

environmentName

The environment name in which the subscription exists. Possible values: "AzureCloud", "AzureChinaCloud", "AzureUSGovernment", "AzureGermanCloud" or some other custom/internal environment name like "Dogfood".

id

The subscription id, usually a GUID.

name

The display name of the subscription.

state

The state of the subscription. Example values: "Enabled", "Disabled", "Warned", "PastDue", "Deleted".

tenantId

The tenant that the subscription belongs to.

user

The user associated with the subscription. This could be a user or a serviceprincipal.

Property Details

authorizationSource

The authorization source of the subscription: "RoleBased", "Legacy", "Bypassed"," Direct", "Management". It could also be a comma separated string containing more values "Bypassed, Direct, Management".

authorizationSource: string

Property Value

string

environmentName

The environment name in which the subscription exists. Possible values: "AzureCloud", "AzureChinaCloud", "AzureUSGovernment", "AzureGermanCloud" or some other custom/internal environment name like "Dogfood".

environmentName: string

Property Value

string

id

The subscription id, usually a GUID.

id: string

Property Value

string

name

The display name of the subscription.

name: string

Property Value

string

state

The state of the subscription. Example values: "Enabled", "Disabled", "Warned", "PastDue", "Deleted".

state: string

Property Value

string

tenantId

The tenant that the subscription belongs to.

tenantId: string

Property Value

string

user

The user associated with the subscription. This could be a user or a serviceprincipal.

user: LinkedUser

Property Value