AzureContextModificationCmdlet.GetDefaultProfile Method
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.
Get the default profile for the current cmdlet invocation
protected virtual Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations GetDefaultProfile ();
override this.GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
abstract member GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
override this.GetDefaultProfile : unit -> Microsoft.Azure.Commands.Common.Authentication.ResourceManager.IProfileOperations
Protected Overridable Function GetDefaultProfile () As IProfileOperations
Returns
The default profile, whether it is a process-specific profile, ot a profile for the current user