Share via


AzureRmProfile.Save Method

Definition

Overloads

Save(String, Boolean)

Writes profile to a specified path.

Save(IFileProvider, Boolean)

Writes the profile using the specified file provider

Save(String)
Save()

Writes profile to the disk it was opened from disk.

Save(String, Boolean)

Writes profile to a specified path.

public void Save (string path, bool serializeCache = true);
member this.Save : string * bool -> unit
Public Sub Save (path As String, Optional serializeCache As Boolean = true)

Parameters

path
String

File path on disk to save profile to

serializeCache
Boolean

true if the TokenCache should be serialized, false otherwise

Applies to

Save(IFileProvider, Boolean)

Writes the profile using the specified file provider

public void Save (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IFileProvider provider, bool serializeCache = true);
member this.Save : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IFileProvider * bool -> unit
Public Sub Save (provider As IFileProvider, Optional serializeCache As Boolean = true)

Parameters

provider
IFileProvider

The file provider used to save the profile

serializeCache
Boolean

true if the TokenCache should be serialized, false otherwise

Applies to

Save(String)

public void Save (string path);
member this.Save : string -> unit
Public Sub Save (path As String)

Parameters

path
String

Applies to

Save()

Writes profile to the disk it was opened from disk.

public void Save ();
member this.Save : unit -> unit
Public Sub Save ()

Applies to