PSAzureSubscription Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure subscription details.
public class PSAzureSubscription : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription
type PSAzureSubscription = class
interface IAzureSubscription
interface IExtensibleModel
Public Class PSAzureSubscription
Implements IAzureSubscription
- Inheritance
-
PSAzureSubscription
- Implements
Constructors
PSAzureSubscription() |
Default constructor |
PSAzureSubscription(IAzureSubscription) |
Copy constructor |
PSAzureSubscription(PSObject) |
Convert a subscription from a PSObject |
Properties
AuthorizationSource | |
CurrentStorageAccount | |
CurrentStorageAccountName | |
ExtendedProperties | |
HomeTenantId | |
Id | System.Object.Id |
ManagedByTenantIds | |
Name | System.Object.Name |
State | System.Object.State |
SubscriptionId |
For legacy support - return the subscription Id |
SubscriptionPolicies | |
Tags | |
TenantId |
The tenant home for the subscription. |
Methods
GetAccountName(String) | |
ToString() |
Operators
Implicit(AzureSubscription to PSAzureSubscription) |
Convert between formats of AzureSubscription information. |
Implicit(PSAzureSubscription to AzureSubscription) |
Convert between formats of AzureSubscription information. |