Advertisement
Guest User

PowerShell Error - Creating Linux App Service Plan

a guest
Jul 15th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PS C:\Users\User> New-AzureRmResource -ResourceGroupName "contosops" -Location "South Central US" -ResourceType microsoft.web/serverfarms -ResourceName "c
  2. ontosops-linux-asp" -kind linux -Properties @{reserved="true"} -Sku @{name="S1";tier="Standard"; size="S1"; family="S"; capacity="1"} -Force
  3. New-AzureRmResource : {"Code":"Conflict","Message":"Not enough available reserved instance servers to satisfy this request. Currently 0 instances are
  4. available. If you are changing instance size you can reserve up to 0 instances at this moment. If you are increasing instance count then you can add extra 0
  5. instances at this moment. Please get available machines and retry later.","Target":null,"Details":[{"Message":"Not enough available reserved instance servers
  6. to satisfy this request. Currently 0 instances are available. If you are changing instance size you can reserve up to 0 instances at this moment. If you are
  7. increasing instance count then you can add extra 0 instances at this moment. Please get available machines and retry
  8. later."},{"Code":"Conflict"},{"ErrorEntity":{"ExtendedCode":"03009","MessageTemplate":"Not enough available reserved instance servers to satisfy this request.
  9. Currently {0} instances are available. If you are changing instance size you can reserve up to {0} instances at this moment. If you are increasing instance
  10. count then you can add extra {0} instances at this moment. Please get available machines and retry later.","Parameters":["0"],"Code":"Conflict","Message":"Not
  11. enough available reserved instance servers to satisfy this request. Currently 0 instances are available. If you are changing instance size you can reserve up
  12. to 0 instances at this moment. If you are increasing instance count then you can add extra 0 instances at this moment. Please get available machines and retry
  13. later."}}],"Innererror":null}
  14. At line:1 char:1
  15. + New-AzureRmResource -ResourceGroupName "contosops" -Location "South C ...
  16. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17.    + CategoryInfo          : CloseError: (:) [New-AzureRmResource], ErrorResponseMessageException
  18.    + FullyQualifiedErrorId : Conflict,Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceCmdlet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement