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

Inheritance: IAzureProfile
Mostra file Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AzureSMProfile ( ) : Hyak.Common

Initializes a new instance of AzureSMProfile

AzureSMProfile ( string path ) : Hyak.Common

Initializes a new instance of AzureSMProfile and loads its content from specified path. Any errors generated in the process are stored in ProfileLoadErrors collection.

Save ( ) : void

Writes profile to a ProfilePath

Save ( string path ) : void

Writes profile to a specified path.

ToString ( ) : string

Method Details

AzureSMProfile() public method

Initializes a new instance of AzureSMProfile
public AzureSMProfile ( ) : Hyak.Common
return Hyak.Common

AzureSMProfile() public method

Initializes a new instance of AzureSMProfile and loads its content from specified path. Any errors generated in the process are stored in ProfileLoadErrors collection.
public AzureSMProfile ( string path ) : Hyak.Common
path string Location of profile file on disk.
return Hyak.Common

Save() public method

Writes profile to a ProfilePath
public Save ( ) : void
return void

Save() public method

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

ToString() public method

public ToString ( ) : string
return string