Skip to content

Commit befc03f

Browse files
authored
Merge pull request #101020 from rwallerms/release-ga-immersive-reader
Make params mandatory & clarify using name property for ResourceGroup…
2 parents d9f58b7 + 79f01fc commit befc03f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/cognitive-services/immersive-reader/how-to-create-immersive-reader.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ The script is designed to be flexible. It will first look for existing Immersive
3333
function Create-ImmersiveReaderResource(
3434
[Parameter(Mandatory=$true, Position=0)] [String] $SubscriptionName,
3535
[Parameter(Mandatory=$true)] [String] $ResourceName,
36-
[Parameter(Mandatory=$false)] [String] $ResourceSubdomain,
37-
[Parameter(Mandatory=$false)] [String] $ResourceSKU,
38-
[Parameter(Mandatory=$false)] [String] $ResourceLocation,
36+
[Parameter(Mandatory=$true)] [String] $ResourceSubdomain,
37+
[Parameter(Mandatory=$true)] [String] $ResourceSKU,
38+
[Parameter(Mandatory=$true)] [String] $ResourceLocation,
3939
[Parameter(Mandatory=$true)] [String] $ResourceGroupName,
40-
[Parameter(Mandatory=$false)] [String] $ResourceGroupLocation,
41-
[Parameter(Mandatory=$false)] [String] $AADAppDisplayName="ImmersiveReaderAAD",
40+
[Parameter(Mandatory=$true)] [String] $ResourceGroupLocation,
41+
[Parameter(Mandatory=$true)] [String] $AADAppDisplayName="ImmersiveReaderAAD",
4242
[Parameter(Mandatory=$true)] [String] $AADAppIdentifierUri,
4343
[Parameter(Mandatory=$true)] [String] $AADAppClientSecret
4444
)
@@ -152,7 +152,7 @@ The script is designed to be flexible. It will first look for existing Immersive
152152
| ResourceSKU |Options: `S0` or `S1`. Visit our [Cognitive Services pricing page](https://azure.microsoft.com/pricing/details/cognitive-services/immersive-reader/) to learn more about each available SKU. This parameter is optional if the resource already exists. |
153153
| ResourceLocation |Options: `eastus`, `eastus2`, `southcentralus`, `westus`, `westus2`, `australiaeast`, `southeastasia`, `centralindia`, `japaneast`, `northeurope`, `uksouth`, `westeurope`. This parameter is optional if the resource already exists. |
154154
| ResourceGroupName |Resources are created in resource groups within subscriptions. Supply the name of an existing resource group. If the resource group does not already exist, a new one with this name will be created. |
155-
| ResourceGroupLocation |If your resource group doesn't exist, you need to supply a location in which to create the group. To find a list of locations, run `az account list-locations`. This parameter is optional if your resource group already exists. |
155+
| ResourceGroupLocation |If your resource group doesn't exist, you need to supply a location in which to create the group. To find a list of locations, run `az account list-locations`. Use the *name* property (without spaces) of the returned result. This parameter is optional if your resource group already exists. |
156156
| AADAppDisplayName |The Azure Active Directory application display name. If an existing Azure AD application is not found, a new one with this name will be created. This parameter is optional if the Azure AD application already exists. |
157157
| AADAppIdentifierUri |The URI for the Azure AD app. If an existing Azure AD app is not found, a new one with this URI will be created. For example, `https://immersivereaderaad-mycompany`. |
158158
| AADAppClientSecret |A password you create that will be used later to authenticate when acquiring a token to launch the Immersive Reader. The password must be at least 16 characters long, contain at least 1 special character, and contain at least 1 numeric character. |

0 commit comments

Comments
 (0)