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

Inheritance: IAzureProfile
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Свойство Type Description
Load void

Méthodes publiques

Méthode Description
AzureRMProfile ( ) : Newtonsoft.Json

Creates new instance of AzureRMProfile.

AzureRMProfile ( string path ) : Newtonsoft.Json

Initializes a new instance of AzureRMProfile and loads its content from specified path.

Save ( ) : void

Writes profile to the disk it was opened from disk.

Save ( string path ) : void

Writes profile to a specified path.

ToString ( ) : string

Serializes the current profile and return its contents.

Private Methods

Méthode Description
Load ( string path ) : void

Method Details

AzureRMProfile() public méthode

Creates new instance of AzureRMProfile.
public AzureRMProfile ( ) : Newtonsoft.Json
Résultat Newtonsoft.Json

AzureRMProfile() public méthode

Initializes a new instance of AzureRMProfile and loads its content from specified path.
public AzureRMProfile ( string path ) : Newtonsoft.Json
path string The location of profile file on disk.
Résultat Newtonsoft.Json

Save() public méthode

Writes profile to the disk it was opened from disk.
public Save ( ) : void
Résultat void

Save() public méthode

Writes profile to a specified path.
public Save ( string path ) : void
path string File path on disk to save profile to
Résultat void

ToString() public méthode

Serializes the current profile and return its contents.
public ToString ( ) : string
Résultat string