File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,13 +180,7 @@ while ($runCount -le $NumberOfIterations)
180180 $asToken = NewAzureStackToken - AADTenantId $AADTenantId - EnvironmentDomainFQDN $EnvironmentDomainFQDN - Credentials $ServiceAdminCredentials - ArmEndPoint $AdminArmEndpoint
181181 $defaultSubscription = Get-AzureRmSubscription - SubscriptionName " Default Provider Subscription" - ErrorAction Stop
182182 $asCanaryQuotas = NewAzureStackDefaultQuotas - ResourceLocation $ResourceLocation - SubscriptionId $defaultSubscription.SubscriptionId - AADTenantID $AADTenantID - EnvironmentDomainFQDN $EnvironmentDomainFQDN - Credentials $ServiceAdminCredentials - ArmEndPoint $AdminArmEndPoint
183- if ((Get-Module AzureStack).Version -ge [System.Version ] " 1.2.9" )
184- {
185- New-AzureRMPlan - Name $tenantPlanName - DisplayName $tenantPlanName - ArmLocation $ResourceLocation - ResourceGroup $subscriptionRGName - QuotaIds $asCanaryQuotas - ErrorAction Stop
186- }
187- else {
188- New-AzureRMPlan - Name $tenantPlanName - DisplayName $tenantPlanName - ArmLocation $ResourceLocation - ResourceGroup $subscriptionRGName - SubscriptionId $defaultSubscription.SubscriptionId - AdminUri $AdminArmEndPoint - Token $asToken - QuotaIds $asCanaryQuotas - ErrorAction Stop
189- }
183+ New-AzureRMPlan - Name $tenantPlanName - DisplayName $tenantPlanName - ArmLocation $ResourceLocation - ResourceGroup $subscriptionRGName - QuotaIds $asCanaryQuotas - ErrorAction Stop
190184 }
191185
192186 Invoke-Usecase - Name ' CreateTenantOffer' - Description " Create a tenant offer" - UsecaseBlock `
You can’t perform that action at this time.
0 commit comments