Skip to content

Ci for az-2.1.0 #1073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
574 changes: 574 additions & 0 deletions azps-2.1.0/Az.Accounts/Add-AzEnvironment.md

Large diffs are not rendered by default.

109 changes: 109 additions & 0 deletions azps-2.1.0/Az.Accounts/Az.Accounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
Module Name: Az.Accounts
Module Guid: 342714fc-4009-4863-8afb-a9067e3db04b
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.accounts
Help Version: 4.6.0.0
Locale: en-US
content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Az.Accounts.md
original_content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Az.Accounts.md
---

# Az.Accounts Module
## Description
Manages credentials and common configuration for all Azure modules.

## Az.Accounts Cmdlets
### [Add-AzEnvironment](Add-AzEnvironment.md)
Adds endpoints and metadata for an instance of Azure Resource Manager.

### [Clear-AzContext](Clear-AzContext.md)
Remove all Azure credentials, account, and subscription information.

### [Clear-AzDefault](Clear-AzDefault.md)
Clears the defaults set by the user in the current context.

### [Connect-AzAccount](Connect-AzAccount.md)
Connect to Azure with an authenticated account for use with Azure Resource Manager cmdlet requests.

### [Disable-AzContextAutosave](Disable-AzContextAutosave.md)
Turn off autosaving Azure credentials. Your login information will be forgotten the next time you open a PowerShell window

### [Disable-AzDataCollection](Disable-AzDataCollection.md)
Opts out of collecting data to improve the AzurePowerShell cmdlets.
Data is not collected unless you explicitly opt in.

### [Disable-AzureRmAlias](Disable-AzureRmAlias.md)
Disables AzureRm prefix aliases for Az modules.

### [Disconnect-AzAccount](Disconnect-AzAccount.md)
Disconnects a connected Azure account and removes all credentials and contexts associated with that account.

### [Enable-AzContextAutosave](Enable-AzContextAutosave.md)
Allow the azure credential, account and subscription information to be saved and automatically loaded when you open a PowerShell window.

### [Enable-AzDataCollection](Enable-AzDataCollection.md)
Enables Azure PowerShell to collect data to improve the user experience with AzurePowerShell cmdlets.
Executing this cmdlet opts in to data collection for the current user on the current machine.
No data is collected unless you explicitly opt in.

### [Enable-AzureRmAlias](Enable-AzureRmAlias.md)
Enables AzureRm prefix aliases for Az modules.

### [Get-AzContext](Get-AzContext.md)
Gets the metadata used to authenticate Azure Resource Manager requests.

### [Get-AzContextAutosaveSetting](Get-AzContextAutosaveSetting.md)
Display metadata about the context autosave feature, including whether the context is
automatically saved, and where saved context and credential information can be found.

### [Get-AzDefault](Get-AzDefault.md)
Get the defaults set by the user in the current context.

### [Get-AzEnvironment](Get-AzEnvironment.md)
Get endpoints and metadata for an instance of Azure services.

### [Get-AzSubscription](Get-AzSubscription.md)
Get subscriptions that the current account can access.

### [Get-AzTenant](Get-AzTenant.md)
Gets tenants that are authorized for the current user.

### [Import-AzContext](Import-AzContext.md)
Loads Azure authentication information from a file.

### [Register-AzModule](Register-AzModule.md)
Internal-only cmdlet that provides runtime support for AUtoRest generated cmdlets.

### [Remove-AzContext](Remove-AzContext.md)
Remove a context from the set of available contexts

### [Remove-AzEnvironment](Remove-AzEnvironment.md)
Removes endpoints and metadata for connecting to a given Azure instance.

### [Rename-AzContext](Rename-AzContext.md)
Rename an Azure context. By default contexts are named by user account and subscription.

### [Resolve-AzError](Resolve-AzError.md)
Display detailed information about PowerShell errors, with extended details for Azure PowerShell errors.

### [Save-AzContext](Save-AzContext.md)
Saves the current authentication information for use in other PowerShell sessions.

### [Select-AzContext](Select-AzContext.md)
Select a subscription and account to target in Azure PowerShell cmdlets

### [Send-Feedback](Send-Feedback.md)
Sends feedback to the Azure PowerShell team via a set of guided prompts.

### [Set-AzContext](Set-AzContext.md)
Sets the tenant, subscription, and environment for cmdlets to use in the current session.

### [Set-AzDefault](Set-AzDefault.md)
Sets a default in the current context

### [Set-AzEnvironment](Set-AzEnvironment.md)
Sets properties for an Azure environment.

### [Uninstall-AzureRm](Uninstall-AzureRm.md)
Removes all AzureRm modules from a machine.

141 changes: 141 additions & 0 deletions azps-2.1.0/Az.Accounts/Clear-AzContext.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
---
external help file: Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
Module Name: Az.Accounts
online version: https://docs.microsoft.com/en-us/powershell/module/az.accounts/clear-azcontext
schema: 2.0.0
content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Clear-AzContext.md
original_content_git_url: https://github.com/Azure/azure-powershell/blob/master/src/Accounts/Accounts/help/Clear-AzContext.md
---

# Clear-AzContext

## SYNOPSIS
Remove all Azure credentials, account, and subscription information.

## SYNTAX

```
Clear-AzContext [-PassThru] [-Force] [-Scope <ContextModificationScope>]
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Remove all Azure Credentials, account, and subscription information.

## EXAMPLES

### Clear global context
```
PS C:\> Clear-AzContext -Scope CurrentUser
```

Remove all account, subscription, and credential information for any powershell session.

## PARAMETERS

### -DefaultProfile
The credentials, tenant and subscription used for communication with azure

```yaml
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Force
Delete all users and groups from the global scope without prompting

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -PassThru
Return a value indicating success or failure

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Scope
Clear the context only for the current PowerShell session, or for all sessions.

```yaml
Type: Microsoft.Azure.Commands.Profile.Common.ContextModificationScope
Parameter Sets: (All)
Aliases:
Accepted values: Process, CurrentUser

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
Prompts you for confirmation before running the cmdlet.

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### System.Boolean

## NOTES

## RELATED LINKS
Loading