Closed daiplusplus closed 7 years ago
@Jehoel Azure PowerShell has two sets of modules as well. RDFE aka ServiceManagement cmdlets and ARM aka ResourceManager cmdlets. You can browse them here - https://github.com/Azure/azure-powershell/tree/dev/src
@Jehoel your usage depends on your scenarios, but we strongly suggest considering ARM (which is ResourceManager and has [verb]-AzureRM[cmdlet] syntax in Powershell) and AutoRest generated SDKs
But how do I use the AutoRest-generated clients to manipulate Cloud Services then? There's no HostedServicesOperations
type available in that library.
The
AutoRest
branch in this repo no-longer includes theServiceManagement
client and types, only theResourceManagement
REST client, while it still exists in themaster
branch.I appreciate that Cloud Services (
HostedServices
) are almost-deprecated and only accessible through the older ServiceManagement API, but there doesn't seem to be any maintained client for that API - NuGet hasMicrosoft.WindowsAzure.Management.Compute
- which is based on the oldMicrosoft.WindowsAzure.*
code instead of the newerMicrosoft.Azure.*
code.I see the Azure PowerShell module still references the older
Microsoft.WindowsAzure.Management.Compute
assembly for its tasks - what will the PowerShell module - and my own projects - use to manage Cloud Services if they want to use the latest SDKs?