Skip to content
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

Update Doc Issue #20625 #21563

Merged
merged 2 commits into from
Apr 18, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/ApiManagement/ApiManagement/help/Restore-AzApiManagement.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ This command restores an API Management service from Azure storage blob.

### Example 2: Restore an API Management service using Managed Identity Credentials
```powershell
PS D:> $storageContext=New-AzStorageContext -StorageAccountName apimbackupmsi
PS D:> $resourceGroupName="ContosoGroup02";
PS D:> $apiManagementName="contosoapi";
PS D:> $containerName="apimbackupcontainer";
PS D:> $backupName="test-sdk-backup-1";
PS D:> $msiClientId="a6270d0c-7d86-478b-8cbe-dc9047ba54f7"
PS D:> Restore-AzApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -AccessType "UserAssignedManagedIdentity" -IdentityClientId $msiClientId -PassThru
$storageContext=New-AzStorageContext -StorageAccountName apimbackupmsi
$resourceGroupName="ContosoGroup02";
$apiManagementName="contosoapi";
$containerName="apimbackupcontainer";
$backupName="test-sdk-backup-1";
$msiClientId="a6270d0c-7d86-478b-8cbe-dc9047ba54f7"
Restore-AzApiManagement -ResourceGroupName $resourceGroupName -Name $apiManagementName -StorageContext $storageContext -SourceContainerName $containerName -SourceBlobName $backupName -AccessType "UserAssignedManagedIdentity" -IdentityClientId $msiClientId -PassThru
```

```output
Expand Down
2 changes: 1 addition & 1 deletion src/Batch/Batch/help/Get-AzBatchTaskSlotCount.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Task slot counts provide a count of slots by active, running or completed task s

### Example 1: Get task counts by ID
```powershell
Get-AzBatchTaskSlotCounts -JobId "Job01" -BatchContext $Context
Get-AzBatchTaskSlotCount -JobId "Job01" -BatchContext $Context
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ New-AzFrontDoorBackendPoolsSettingObject [-EnforceCertificateNameCheck <PSEnable
```

## DESCRIPTION
The **New-AzFrontDoorBackendpoolsSettingObject** cmdlet creates a new PSBackendPoolsSettings object for Front Door creation.
The **New-AzFrontDoorBackendPoolsSettingObject** cmdlet creates a new PSBackendPoolsSettings object for Front Door creation.

## EXAMPLES

### Example 1: Create BackendPoolsSettings object using defaults
```powershell
New-AzFrontDoorBackendpoolsSettingObject
New-AzFrontDoorBackendPoolsSettingObject
```

```output
Expand All @@ -37,7 +37,7 @@ Type :

### Example 2: Create BackendPoolsSettings object with user specified values
```powershell
New-AzFrontDoorBackendpoolsSettingObject -SendRecvTimeoutInSeconds 60 -EnforceCertificateNameCheck Enabled
New-AzFrontDoorBackendPoolsSettingObject -SendRecvTimeoutInSeconds 60 -EnforceCertificateNameCheck Enabled
```

```output
Expand Down
6 changes: 3 additions & 3 deletions src/HPCCache/HPCCache/help/Get-AzHpcCache.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ The **Get-AzHpcCache** cmdlet gets a single cache, cache(s) in a specific resour

### Example 1
```powershell
Get-AzHPCCache -ResourceGroupName rgtest -CacheName cachetest
Get-AzHpcCache -ResourceGroupName rgtest -CacheName cachetest
```

### Example 2
```powershell
Get-AzHPCCache -ResourceGroupName rgtest
Get-AzHpcCache -ResourceGroupName rgtest
```

### Example 3
```powershell
Get-AzHPCCache
Get-AzHpcCache
```

## PARAMETERS
Expand Down
2 changes: 2 additions & 0 deletions tools/StaticAnalysis/Exceptions/Az.Batch/ExampleIssues.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"Module","Cmdlet","Example","Line","RuleName","ProblemId","Severity","Description","Extent","Remediation"
"Az.Batch","Remove-AzBatchJob","3","10","Unbinded_Expression","5014","1","Write-Host $element.Id is not explicitly assigned to a parameter.","$element.Id","Assign $element.Id explicitly to the parameter."