AzureRmProfile Constructors
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.
Overloads
AzureRmProfile() |
Creates new instance of AzureRMProfile. |
AzureRmProfile(IFileProvider) |
Initializes a new instance of AzureRmProfile using a specialized file provider |
AzureRmProfile(IDictionary<String,IAzureEnvironment>) |
Creates new instance of AzureRMProfile with other EnvironmentTable.. |
AzureRmProfile(String) | |
AzureRmProfile(String, Boolean) |
Initializes a new instance of AzureRMProfile and loads its content from specified path. |
AzureRmProfile()
Creates new instance of AzureRMProfile.
public AzureRmProfile ();
Public Sub New ()
Applies to
AzureRmProfile(IFileProvider)
Initializes a new instance of AzureRmProfile using a specialized file provider
public AzureRmProfile (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IFileProvider provider);
new Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IFileProvider -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Sub New (provider As IFileProvider)
Parameters
- provider
- IFileProvider
The file provider that allows retrieving profile contents
Applies to
AzureRmProfile(IDictionary<String,IAzureEnvironment>)
Creates new instance of AzureRMProfile with other EnvironmentTable..
public AzureRmProfile (System.Collections.Generic.IDictionary<string,Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment> otherEnvironmentTable);
new Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile : System.Collections.Generic.IDictionary<string, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment> -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Sub New (otherEnvironmentTable As IDictionary(Of String, IAzureEnvironment))
Parameters
- otherEnvironmentTable
- IDictionary<String,IAzureEnvironment>
Applies to
AzureRmProfile(String)
public AzureRmProfile (string path);
new Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile : string -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Sub New (path As String)
Parameters
- path
- String
Applies to
AzureRmProfile(String, Boolean)
Initializes a new instance of AzureRMProfile and loads its content from specified path.
public AzureRmProfile (string path, bool shouldRefreshContextsFromCache = true);
new Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile : string * bool -> Microsoft.Azure.Commands.Common.Authentication.Models.AzureRmProfile
Public Sub New (path As String, Optional shouldRefreshContextsFromCache As Boolean = true)
Parameters
- path
- String
The location of profile file on disk.
- shouldRefreshContextsFromCache
- Boolean