Skip to content

Spelling Fixes #28050

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Test-AzIotDpsEnrollmentLifeCycle
Assert-ThrowsContains { Add-AzIoTDeviceProvisioningServiceEnrollment -ResourceGroupName $ResourceGroupName -DpsName $IotDpsName -RegistrationId $symEnroll -AttestationType SymmetricKey -PrimaryKey "123456" } $errorMessage

# Expecting error while creating device enrollment with TPM attestation mechanism
$errorMessage = "Endorsement key is requried"
$errorMessage = "Endorsement key is required"
Assert-ThrowsContains { Add-AzIoTDeviceProvisioningServiceEnrollment -ResourceGroupName $ResourceGroupName -DpsName $IotDpsName -RegistrationId $tpmEnroll -AttestationType Tpm } $errorMessage

# Expecting error while creating device enrollment with X509 attestation mechanism
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Removed the outdated deps.json file.

## Version 0.10.0
* Allowed update of attestation information (e.g. keys, certificates) for exsting device enrollments and enrollment groups
* Allowed update of attestation information (e.g. keys, certificates) for existing device enrollments and enrollment groups

## Version 0.9.0
* Allow tags in IoT Device Provisioning Service create cmdlet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public override void ExecuteCmdlet()
}
else
{
throw new ArgumentException("Endorsement key is requried.");
throw new ArgumentException("Endorsement key is required.");
}
break;
case PSAttestationMechanismType.X509:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Management.DeviceProvisioningServices.Models
using Newtonsoft.Json;

/// <summary>
/// the service specific properties of a provisoning service, including
/// the service specific properties of a provisioning service, including
/// keys, linked iot hubs, current state, and system generated properties
/// such as hostname and idScope
/// </summary>
Expand All @@ -42,7 +42,7 @@ public partial class PSIotDpsPropertiesDescription
public string ProvisioningState { get; set; }

/// <summary>
/// Gets or sets list of IoT hubs assosciated with this provisioning
/// Gets or sets list of IoT hubs associated with this provisioning
/// service.
/// </summary>
[JsonProperty(PropertyName = "iotHubs")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Microsoft.Azure.Commands.Management.DeviceProvisioningServices.Models
using Newtonsoft.Json;

/// <summary>
/// List of possible provisoning service SKUs.
/// List of possible provisioning service SKUs.
/// </summary>
public partial class PSIotDpsSkuInfo
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
<value>Create a new shared access policy in an Azure IoT Hub Device Provisioning Service</value>
</data>
<data name="AddCertificate" xml:space="preserve">
<value>Create /upload an Azure IoT Hub Device Provisioing Service certificate</value>
<value>Create /upload an Azure IoT Hub Device Provisioning Service certificate</value>
</data>
<data name="AddDeviceProvisioningService" xml:space="preserve">
<value>Add a Device Provisioning Service</value>
Expand All @@ -136,7 +136,7 @@
<value>Create a linked IoT Hub in an Azure IoT Hub Device Provisioning Service</value>
</data>
<data name="NewCertificateVerificationCode" xml:space="preserve">
<value>Create new an Azure IoT Hub Device Provisioing Service certificate verification code</value>
<value>Create new an Azure IoT Hub Device Provisioning Service certificate verification code</value>
</data>
<data name="RemoveAccessPolicy" xml:space="preserve">
<value>Delete a shared access policies in an Azure IoT Hub Device Provisioning Service</value>
Expand Down
2 changes: 1 addition & 1 deletion src/Dns/Dns/Models/DnsRecordSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ public override object Clone()
public class SoaRecord : DnsRecordBase
{
/// <summary>
/// Gets or sets the domain name of the authoritative name server for this SOA record, without a temrinating dot.
/// Gets or sets the domain name of the authoritative name server for this SOA record, without a terminating dot.
/// </summary>
public string Host { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Dns/Dns/Records/GetAzureDnsRecordSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.Dns
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "DnsRecordSet"), OutputType(typeof(DnsRecordSet))]
public class GetAzureDnsRecordSet : DnsBaseCmdlet
{
[Parameter(Mandatory = false, ParameterSetName = "Fields", ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records inthis record set (relative to the name of the zone and without a terminating dot).")]
[Parameter(Mandatory = false, ParameterSetName = "Fields", ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records in this record set (relative to the name of the zone and without a terminating dot).")]
[Parameter(Mandatory = false, ParameterSetName = "Object")]
[ValidateNotNullOrEmpty]
public string Name { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion src/Dns/Dns/Records/NewAzureDnsRecordSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class NewAzureDnsRecordSet : DnsBaseCmdlet
{
private uint? ttl_value;

[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records inthis record set (relative to the name of the zone and without a terminating dot).")]
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the records in this record set (relative to the name of the zone and without a terminating dot).")]
[ValidateNotNullOrEmpty]
public string Name { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Describe 'Get-AzDnsForwardingRuleset' {
$dnsForwardingRuleset | Should -BeSuccessfullyCreatedDnsForwardingRuleset
}

It 'List all DNS forwarding ruleset under the resouce group, expect all DNS forwarding rulesets retrieved' {
It 'List all DNS forwarding ruleset under the resource group, expect all DNS forwarding rulesets retrieved' {
# ARRANGE
$dnsResolverName = "psdnsresolvername29";
$outboundEndpointName = "psoutboundendpointname29";
Expand Down
2 changes: 1 addition & 1 deletion src/DnsResolver/DnsResolver.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function setupEnv() {
$null = $env.Add("NRP_SIMULATOR_URI", $nrpSimulatorUri);
}

# Provison of virtual network and generating DNS Resolver names.
# Provision of virtual network and generating DNS Resolver names.
# New-cmdlet uses 0 - 12
# Get-cmdlet uses 13 - 21
# Remove-cmdlet uses 22-32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ directive:
- where:
subject: ^MonitorAccountCredential$
remove: true
# remove varinat
# remove variant
- where:
subject: ^MonitorSSODetail$
variant: ^Get$|^GetViaIdentity$|^GetViaIdentityExpanded$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Get a MonitorResource

## EXAMPLES

### Example 1: List all dynatrace monitors under a subsciption
### Example 1: List all dynatrace monitors under a subscription
```powershell
Get-AzDynatraceMonitor
```
Expand All @@ -51,7 +51,7 @@ Name ProvisioningState Location MonitoringStatus SingleSignOnPropertyA
dyob-pwsh01 Succeeded eastus2euap Enabled {mpliftrlogz20210811outlook.onmicrosoft.com}
```

This command lists all dynatrace monitors under a subsciption.
This command lists all dynatrace monitors under a subscription.

### Example 2: List all dynatrace monitors under the resource group
```powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EnvironmentId IngestionKey
ihx78752 dt0c01.C3A5JBXDZ4C3SCZDRBJ3D23I.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

This coammnd gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
This command gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.

## PARAMETERS

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: List all dynatrace monitors under a subsciption
### Example 1: List all dynatrace monitors under a subscription
```powershell
Get-AzDynatraceMonitor
```
Expand All @@ -9,7 +9,7 @@ Name ProvisioningState Location MonitoringStatus SingleSignOnPropertyA
dyob-pwsh01 Succeeded eastus2euap Enabled {mpliftrlogz20210811outlook.onmicrosoft.com}
```

This command lists all dynatrace monitors under a subsciption.
This command lists all dynatrace monitors under a subscription.

### Example 2: List all dynatrace monitors under the resource group
```powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ EnvironmentId IngestionKey
ihx78752 dt0c01.C3A5JBXDZ4C3SCZDRBJ3D23I.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```

This coammnd gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
This command gets the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gets an order item.
### Example 1: Get orderItem details
```powershell
$orderItem = Get-AzEdgeOrderItem -Name examplePowershell -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName"
$ordderItem | Format-List
$orderItem | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Example 1: Get orderItem details
```powershell
$orderItem = Get-AzEdgeOrderItem -Name examplePowershell -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName"
$ordderItem | Format-List
$orderItem | Format-List
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Describe 'Update-AzEdgeOrderAddress' {
It 'UpdateExpanded' {
$contactDetail = New-AzEdgeOrderContactDetailsObject -ContactName $env.ContactName -EmailList $env.EmailList -Phone $env.Phone
$ShippingDetails = New-AzEdgeOrderShippingAddressObject -StreetAddress1 $env.StreetAddress1 -StateOrProvince $env.StateOrProvince -Country $env.Country -City $env.City -PostalCode $env.PostalCode -AddressType $env.AddressType
Update-AzEdgeOrderAddress -Name $env.AddressNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ContactDetail $contactDetail -ShippingAddres $ShippingDetails
Update-AzEdgeOrderAddress -Name $env.AddressNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ContactDetail $contactDetail -ShippingAddress $ShippingDetails
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ Describe 'Update-AzEdgeOrderItem' {
It 'UpdateExpanded' {
$contactDetail = New-AzEdgeOrderContactDetailsObject -ContactName $env.ContactName -EmailList $env.EmailList -Phone $env.Phone
$ShippingDetails = New-AzEdgeOrderShippingAddressObject -StreetAddress1 $env.StreetAddress1 -StateOrProvince $env.StateOrProvince -Country $env.Country -City $env.City -PostalCode $env.PostalCode -AddressType $env.AddressType
Update-AzEdgeOrderItem -Name $env.OrderItemNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ForwardAddressContactDetail $contactDetail -ForwardAddressShippingAddres $ShippingDetails
Update-AzEdgeOrderItem -Name $env.OrderItemNameTest -ResourceGroupName $env.ResourceGroup -SubscriptionId $env.SubscriptionId -ForwardAddressContactDetail $contactDetail -ForwardAddressShippingAddress $ShippingDetails
}
}
2 changes: 1 addition & 1 deletion src/Elastic/Elastic.Autorest/docs/Get-AzElasticVersion.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Get-AzElasticVersion -Region westus2
```output
version
---------
8.15.2 (Lattest)
8.15.2 (Latest)
8.14.3
7.17.24
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Get-AzElasticVersion -Region westus2
```output
version
---------
8.15.2 (Lattest)
8.15.2 (Latest)
8.14.3
7.17.24
```
Expand Down
2 changes: 1 addition & 1 deletion src/ElasticSan/ElasticSan.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ directive:
model-name: ElasticSan|Volume|VolumeGroup|Snapshot
set:
suppress-format: true
# Set alias for Name paramaters
# Set alias for Name parameters
- where:
subject: ElasticSan
parameter-name: Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Add-AzElasticSanVolumeGroupNe

Describe 'Add-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleResourceId' {
# Clear exsiting rules
# Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()

$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkResourceId $env.vnetResourceId1,$env.vnetResourceId2
Expand All @@ -26,7 +26,7 @@ Describe 'Add-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleObject' {
$vnetRule1 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId1 -Action "Allow"
$vnetRule2 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId2 -Action "Allow"
# Clear exsiting rules
# Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkRule $vnetRule1,$vnetRule2
$rules.Count | Should -Be 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzElasticSanVolumeGrou

Describe 'Remove-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleResourceId' {
# Clear exsiting rules
# Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
# Add rules
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkResourceId $env.vnetResourceId1,$env.vnetResourceId2
Expand All @@ -29,7 +29,7 @@ Describe 'Remove-AzElasticSanVolumeGroupNetworkRule' {
It 'NetworkRuleObject' {
$vnetRule1 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId1 -Action "Allow"
$vnetRule2 = New-AzElasticSanVirtualNetworkRuleObject -VirtualNetworkResourceId $env.vnetResourceId2 -Action "Allow"
# Clear exsiting rules
# Clear existing rules
Update-AzElasticSanVolumeGroup -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -Name $env.VolumeGroupName -NetworkAclsVirtualNetworkRule @()
# Add rules
$rules = Add-AzElasticSanVolumeGroupNetworkRule -ResourceGroupName $env.ResourceGroupName -ElasticSanName $env.ElasticSanName1 -VolumeGroupName $env.VolumeGroupName -NetworkAclsVirtualNetworkRule $vnetRule1,$vnetRule2
Expand Down
Loading