Query for MongoLab In Azure

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of thom schumacher thom schumacher 6 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36324
    Profile photo of thom schumacher
    thom schumacher
    Participant

    I'm looking for the cmdlet to query and find a MongoLab instance that a developer setup in Azure.

    I can't seem to find the correct cmdlet for this type of thing? I don't see cmdlets in the Azure ASM modules for this resource type: App Service

    If anyone can steer me in the correct direction I'd be grateful.

    I'd first like to do a "inventory/audit" of what I have so that I can then explore how to create it.

    #36371
    Profile photo of Don Jones
    Don Jones
    Keymaster

    A lot of Azure isn't directly exposed in cmdlets; you're meant to fall back to their REST API in those cases.

    #36377
    Profile photo of thom schumacher
    thom schumacher
    Participant

    Ok thank you. I did get an answer from the Azure Marketplace team at Microsoft they informed me they had an example of what you are describing in this article.

    https://github.com/Azure/azure-powershell/issues/1064

    Example of what you are talking about:

    $allGalleryItems = Invoke-WebRequest -Uri "https://gallery.azure.com/Microsoft.Gallery/GalleryItems?api-version=2015-04-01&includePreview=true" | ConvertFrom-Json
    

    Thanx for your reply Don.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.