C# Class Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount

Show file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
AzureAccount ( ) : Microsoft.Azure.Commands.Common.Authentication.Utilities
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetProperty ( System.Property property ) : string
GetPropertyAsArray ( System.Property property ) : string[]
GetSubscriptions ( AzureSMProfile profile ) : List
HasSubscription ( System.Guid subscriptionId ) : bool
IsPropertySet ( System.Property property ) : bool
RemoveSubscription ( System.Guid id ) : void
SetOrAppendProperty ( System.Property property ) : void
SetProperty ( System.Property property ) : void
SetSubscriptions ( List subscriptions ) : void

Method Details

AzureAccount() public method

public AzureAccount ( ) : Microsoft.Azure.Commands.Common.Authentication.Utilities
return Microsoft.Azure.Commands.Common.Authentication.Utilities

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetProperty() public method

public GetProperty ( System.Property property ) : string
property System.Property
return string

GetPropertyAsArray() public method

public GetPropertyAsArray ( System.Property property ) : string[]
property System.Property
return string[]

GetSubscriptions() public method

public GetSubscriptions ( AzureSMProfile profile ) : List
profile AzureSMProfile
return List

HasSubscription() public method

public HasSubscription ( System.Guid subscriptionId ) : bool
subscriptionId System.Guid
return bool

IsPropertySet() public method

public IsPropertySet ( System.Property property ) : bool
property System.Property
return bool

RemoveSubscription() public method

public RemoveSubscription ( System.Guid id ) : void
id System.Guid
return void

SetOrAppendProperty() public method

public SetOrAppendProperty ( System.Property property ) : void
property System.Property
return void

SetProperty() public method

public SetProperty ( System.Property property ) : void
property System.Property
return void

SetSubscriptions() public method

public SetSubscriptions ( List subscriptions ) : void
subscriptions List
return void